Comp mysql 5.5. Add show alien config. Fix upload globally. Better the install process.
This commit is contained in:
1 parent
64ca363f96
commit
e8a5a4a60b
31 files changed
+68
-55
No files matched your search
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"ServerPort": 6010,
|
||||||
|
"MatterPath": ""
|
||||||
|
}
|
||||||
@@ -1 +1 @@
|
|||||||
<!DOCTYPE html><html><head><title>蓝眼云盘</title><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=renderer content=webkit><meta name=viewport content="user-scalable=no,width=device-width,initial-scale=1,maximum-scale=1"><meta name=msapplication-tap-highlight content=no><meta name=apple-mobile-web-app-capable content=yes><link rel="shortcut icon" href=/favicon.ico><link href=/static/css/app.8f25c40ccf3b41a15359de6f3ba1cf6e.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.40273dbea93c564c558d.js></script><script type=text/javascript src=/static/js/app.c417733a892cd77dbffb.js></script></body></html>
|
<!DOCTYPE html><html><head><title>蓝眼云盘</title><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=renderer content=webkit><meta name=viewport content="user-scalable=no,width=device-width,initial-scale=1,maximum-scale=1"><meta name=msapplication-tap-highlight content=no><meta name=apple-mobile-web-app-capable content=yes><link rel="shortcut icon" href=/favicon.ico><link href=/static/css/app.d2d5042e8c39ebc5341e323cd9d451c9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.28b2a104c5c31556c9b7.js></script><script type=text/javascript src=/static/js/app.3d9457a26b0397abb3e4.js></script></body></html>
|
||||||
+1
-1
@@ -14,4 +14,4 @@
|
|||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
*/
|
*/
|
||||||
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
|
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
|
||||||
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}*,:after,:before{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#676a6c;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{text-decoration:none}a:focus,a:hover{color:#00334d;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail>img,.thumbnail a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}a.text-primary:focus,a.text-primary:hover{color:#046}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}a.bg-primary:focus,a.bg-primary:hover{background-color:#046}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #7Line truncated
|
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}*,:after,:before{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#676a6c;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{text-decoration:none}a:focus,a:hover{color:#00334d;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail>img,.thumbnail a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}a.text-primary:focus,a.text-primary:hover{color:#046}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}a.bg-primary:focus,a.bg-primary:hover{background-color:#046}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #7Line truncated
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
webpackJsonp([1],{"++SM":function(t,e,a){"use strict";var i=a("V/yA"),s=a("s5XI"),n=a("8sBg"),r=a("p+5i"),o=a("QifV"),l=a("w/yL"),c=a("togH"),u=a("OIiJ");e.a={data:function(){return{UserGender:o.a,UserGenderList:o.b,UserGenderMap:o.c,UserRole:l.a,UserRoleList:l.b,UserRoleMap:l.c,UserStatus:c.a,UserStatusList:c.b,UserStatusMap:c.c,pager:new n.a(r.a),user:this.$store.state.user}},components:{NbPlainFilter:i.a,NbPager:s.a},methods:{handleImageUrl:u.a,search:function(){this.pager.page=0,this.refresh()},refresh:function(){this.pager.httpFastPage()},changeStatus:function(t){var e=this;t.httpChangeStatus(function(){e.refresh()})}},mounted:function(){this.pager.enableHistory(),this.refresh()}}},"+6RN":function(t,exports){},"+iqS":function(t,e,a){"use strict";function injectStyle(t){a("qqKf")}var i=a("7rRQ"),s=a("ANbz"),n=a("VU/8"),r=injectStyle,o=n(i.a,s.a,!1,r,null,null);e.a=o.exports},"+lHQ":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"backyard-user-change-password animated fadeIn"},[t._m(0),t._v(" "),a("div",{staticClass:"password-block"},[a("div",[a("div",{staticClass:"row mt10"},[a("label",{staticClass:"col-md-2 control-label mt5 compulsory"},[t._v("旧密码")]),t._v(" "),a("div",{staticClass:"col-md-10"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.oldPassword,expression:"oldPassword"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.oldPassword},on:{input:function(e){e.target.composing||(t.oldPassword=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"row mt10"},[a("label",{staticClass:"col-md-2 control-label mt5 compulsory"},[t._v("新密码")]),t._v(" "),a("div",{staticClass:"col-md-10"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"row mt10"},[a("label",{staticClass:"col-md-2 control-label mt5 compulsory"},[t._v("确认新密码")]),t._v(" "),a("div",{staticClass:"col-md-10"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.repeatPassword,expression:"repeatPassword"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.repeatPassword},on:{input:function(e){e.target.composing||(t.repeatPassword=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"mt10 text-right"},[a("button",{staticClass:"btn btn-sm btn-primary mr10",on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.$router.go(-1)}}},[a("span",{staticClass:"fa fa-reply"}),t._v("\n 返回\n ")]),t._v(" "),a("button",{staticClass:"btn btn-sm btn-primary pull-right",on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.save(e)}}},[a("i",{staticClass:"fa fa-save"}),t._v("\n 保存\n ")])])])])])},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-12"},[a("div",{staticClass:"pedia-navigation"},[a("span",{staticClass:"item active"},[a("span",[t._v("修改密码")])])])])])}],n={render:i,staticRenderFns:s};e.a=n},"/4Mj":function(t,e,a){"use strict";function injectStyle(t){a("XFdu")}var i=a("Nv3w"),s=a("E+yW"),n=a("VU/8"),r=injectStyle,o=n(i.a,s.a,!1,r,null,null);e.a=o.exports},"/Emv":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showFlag?a("div",{staticClass:"previewer-video-panel"},[a("iframe",{attrs:{width:"100%",height:"100%",src:t.url}})]):t._e()},s=[],n={render:i,staticRenderFns:s};e.a=n},"/HLE":function(t,e,a){"use strict";function injectStyle(t){a("iVRc")}var i=a("6/7T"),s=a("B7p3"),n=a("VU/8"),r=injectStyle,o=n(i.a,s.a,!1,r,null,null);e.a=o.exports},"/cRY":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("NbBtnDropdown",{directives:[{name:"show",rawName:"v-show",value:t.filter.visible,expression:"filter.visible"}],attrs:{name:t.current.name,size:"sm",color:t.currentStyle}},[a("ul",[a("li",[a("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){t.select(-1)}}},[t._v("所有")])]),t._v(" "),t._l(t.filter.options,function(e,i){return a("li",[a("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){t.select(i)}}},[t._v(t._s(e.name))])])})],2)])},s=[],n={render:i,staticRenderFns:s};e.a=n},"/rYH":function(t,exports){},"/vof":function(t,e,a){"use strict";var i=a("5gxB"),s=a("/4Mj");e.a={data:function(){return{courses:[]}},props:{filter:{type:i.a,required:!0,validator:function(t){return"MULTI_SELECTION"!==t.type?(console.error("type must be `MULTI_SELECTION`."),!1):(t.value||(t.value=[]),!0)}},disabled:{type:Boolean,required:!1,default:!1}},watch:{"filter.value":function(){this.$emit("change")}},computed:{},components:{NbCheckbox:s.a},methods:{}}},0:function(t,exports){},"05xr":function(t,e,a){"use strict";var i=Line truncated
|
||||||
|
* iCheck v1.0.2, http://git.io/arlzeA
|
||||||
|
* ===================================
|
||||||
|
* Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization
|
||||||
|
*
|
||||||
|
* (c) 2013 Damir Sultanov, http://fronteed.com
|
||||||
|
* MIT Licensed
|
||||||
|
*/
|
||||||
|
function iCheck($){function operate(t,e,s){var n=t[0],p=/er/.test(s)?l:/bl/.test(s)?r:i,d=s==c?{checked:n[i],disabled:n[r],indeterminate:"true"==t.attr(l)||"false"==t.attr(o)}:n[p];if(/^(ch|di|in)/.test(s)&&!d)on(t,p);else if(/^(un|en|de)/.test(s)&&d)off(t,p);else if(s==c)for(var m in d)d[m]?on(t,m,!0):off(t,m,!0);else e&&"toggle"!=s||(e||t[v]("ifClicked"),d?n[u]!==a&&off(t,p):on(t,p))}function on(s,c,p){var v=s[0],f=s.parent(),g=c==i,_=c==l,b=c==r,w=_?o:g?n:"enabled",C=option(s,w+capitalize(v[u])),y=option(s,c+capitalize(v[u]));if(!0!==v[c]){if(!p&&c==i&&v[u]==a&&v.name){var x=s.closest("form"),S='input[name="'+v.name+'"]';S=x.length?x.find(S):$(S),S.each(function(){this!==v&&$(this).data(t)&&off($(this),c)})}_?(v[c]=!0,v[i]&&off(s,i,"force")):(p||(v[c]=!0),g&&v[l]&&off(s,l,!1)),callbacks(s,g,c,p)}v[r]&&option(s,h,!0)&&f.find("."+e).css(h,"default"),f[d](y||option(s,c)||""),f.attr("role")&&!_&&f.attr("aria-"+(b?r:i),"true"),f[m](C||option(s,w)||"")}function off(t,a,s){var c=t[0],p=t.parent(),v=a==i,f=a==l,g=a==r,_=f?o:v?n:"enabled",b=option(t,_+capitalize(c[u])),w=option(t,a+capitalize(c[u]));!1!==c[a]&&(!f&&s&&"force"!=s||(c[a]=!1),callbacks(t,v,_,s)),!c[r]&&option(t,h,!0)&&p.find("."+e).css(h,"pointer"),p[m](w||option(t,a)||""),p.attr("role")&&!f&&p.attr("aria-"+(g?r:i),"false"),p[d](b||option(t,_)||"")}function tidy(e,a){e.data(t)&&(e.parent().html(e.attr("style",e.data(t).s||"")),a&&e[v](a),e.off(".i").unwrap(),$(f+'[for="'+e[0].id+'"]').add(e.closest(f)).off(".i"))}function option(e,a,i){if(e.data(t))return e.data(t).o[a+(i?"":"Class")]}function capitalize(t){return t.charAt(0).toUpperCase()+t.slice(1)}function callbacks(t,e,a,i){i||(e&&t[v]("ifToggled"),t[v]("ifChanged")[v]("if"+capitalize(a)))}var t="iCheck",e=t+"-helper",a="radio",i="checked",n="un"+i,r="disabled",o="determinate",l="in"+o,c="update",u="type",p="touchbegin.i touchend.i",d="addClass",m="removeClass",v="trigger",f="label",h="cursor",g=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);$.fn[t]=function(n,o){var h='input[type="checkbox"], input[type="'+a+'"]',_=$(),b=function(t){t.each(function(){var t=$(this);_=t.is(h)?_.add(t):_.add(t.find(h))})};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(n))return n=n.toLowerCase(),b(this),_.each(function(){var t=$(this);"destroy"==n?tidy(t,"ifDestroyed"):operate(t,!0,n),$.isFunction(o)&&o()});if("object"!=(void 0===n?"undefined":s()(n))&&n)return this;var w=$.extend({checkedClass:i,disabledClass:r,indeterminateClass:l,labelHover:!0},n),C=w.handle,y=w.hoverClass||"hover",x=w.focusClass||"focus",S=w.activeClass||"active",k=!!w.labelHover,E=w.labelHoverClass||"hover",U=0|(""+w.increaseArea).replace("%","");return"checkbox"!=C&&C!=a||(h='input[type="'+C+'"]'),U<-50&&(U=-50),b(this),_.each(function(){var s=$(this);tidy(s);var n,o=this,l=o.id,h=-U+"%",_=100+2*U+"%",b={position:"absolute",top:h,left:h,display:"block",width:_,height:_,margin:0,padding:0,background:"#fff",border:0,opacity:0},C=g?{position:"absolute",visibility:"hidden"}:U?b:{position:"absolute",opacity:0},A="checkbox"==o[u]?w.checkboxClass||"icheckbox":w.radioClass||"i"+a,T=$(f+'[for="'+l+'"]').add(s.closest(f)),P=!!w.aria,N=t+"-"+Math.random().toString(36).substr(2,6),D='<div class="'+A+'" '+(P?'role="'+o[u]+'" ':"");P&&T.each(function(){D+='aria-labelledby="',this.id?D+=this.id:(this.id=N,D+=N),D+='"'}),D=s.wrap(D+"/>")[v]("ifCreated").parent().append(w.insert),n=$('<ins class="'+e+'"/>').css(b).appendTo(D),s.data(t,{o:w,s:s.attr("style")}).css(C),!!w.inheritClass&&D[d](o.className||""),!!w.inheritID&&l&&D.attr("id",t+"-"+l),"static"==D.css("position")&&D.css("position","relative"),operate(s,!0,c),T.length&&T.on("click.i mouseover.i mouseout.i "+p,function(t){var e=t[u],a=$(this);if(!o[r]){if("click"==e){if($(t.target).is("a"))return;operate(s,!1,!0)}else k&&(/ut|nd/.test(e)?(D[m](y),a[m](E)):(D[d](y),a[d](E)));if(!g)return!1;t.stopPropagation()}}),s.on("click.i focus.i blur.i keyup.i keydown.i keypress.i",function(t){var e=t[u],n=t.keyCode;return"click"!=e&&("keydown"==e&&32==n?(o[u]==a&&o[i]||(o[i]?off(s,i):on(s,i)),!1):void("keyup"==e&&o[u]==a?!o[i]&&on(s,i):/us|ur/.test(e)&&D["blur"==e?m:d](x)))}),n.on("click mousedown mouseup mouseover mouseout "+p,function(t){var e=t[u],a=/wn|up/.test(e)?S:y;if(!o[r]){if("click"==e?operate(s,!1,!0):(/wn|er|in/.test(e)?D[d](a):D[m](a+" "+S),T.length&&k&&a==y&&T[/ut|nd/.test(e)?m:d](E)),!g)return!1;t.stopPropagation()}})})}}e.a=iCheck;var i=a("pFYg"),s=a.n(i)},"3Xro":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"bottom-navigation text-center"},[i("span",{staticClass:"mr10"},[i("span",{domProps:{innerHTML:t._s(t.preference.footerLine1)}})]),t._v(" "),i("span",{staticClass:"mr10"},[i("span",{domProps:{innerHTML:t._s(t.preference.footerLine2)}})]),t._v(" "),i("span",[t._v("\n\t\t\tPowered by "),i("a",{attrs:{target:"_blank",href:"https://g
Line truncated
|
||||||
|
//# sourceMappingURL=app.3d9457a26b0397abb3e4.js.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["webpack:///static/js/app.3d9457a26b0397abb3e4.js","webpack:///src/backyard/user/List.vue","webpack:///./src/backyard/image/cache/widget/ImageCacheList.vue","webpack:///./src/backyard/user/ChangePassword.vue?8294","webpack:///./src/common/widget/NbCheckbox.vue","webpack:///./src/common/plugin/previewer/panels/VideoPanel.vue?fe13","webpack:///./src/backyard/image/cache/List.vue","webpack:///./src/common/widget/filter/NbFilterSelection.vue?e4b3","webpack:///src/common/widget/filter/NbFilterMultiSelection.vue","webpack:///./src/common/plugin/previewer/PreviewerLayout.vue?20ba","webpack:///./src/common/widget/NbBtnDropdown.vue","webpack:///./src/backyard/matter/widget/FolderTree.vue?278d","webpack:///./src/backyard/layout/NotFound.vue?4a06","webpack:///./src/common/filter/time.js","webpack:///src/common/widget/NbSwitcher.vue","webpack:///./src/backyard/install/Index.vue","webpack:///./src/backyard/preference/Edit.vue","webpack:///./src/common/widget/filter/NbFilter.vue","webpack:///./src/common/model/base/ResultCode.js","webpack:///./src/common/widget/filter/NbFilterSelection.vue","webpack:///./src/common/vuex/index.js","webpack:///./src/common/fork/icheck/icheck-vue.js","webpack:///./src/backyard/layout/BottomNavigation.vue?52f5","webpack:///./src/backyard/layout/NotFound.vue","webpack:///./src/common/widget/filter/NbFilterMultiSelection.vue?1f72","webpack:///./src/common/widget/filter/NbFilterDateTime.vue?46ec","webpack:///./src/backyard/matter/widget/MoveBatchPanel.vue","webpack:///./src/common/model/base/BaseEntity.js","webpack:///./src/backyard/install/Index.vue?c3c6","webpack:///./src/backyard/user/Detail.vue","webpack:///./src/backyard/matter/widget/FolderTree.vue","webpack:///src/common/widget/NbExpanding.vue","webpack:///./src/common/model/base/Filter.js","webpack:///src/backyard/image/cache/List.vue","webpack:///./src/common/model/image/cache/ImageCache.js","webpack:///./src/backyard/image/cache/widget/ImageCachePanel.vue","webpack:///./src/common/widget/NbRadio.vue?dd57","webpack:///./src/assets/img/error.png","webpack:///src/backyard/image/cache/widget/ImageCacheList.vue","webpack:///./src/backyard/preference/Edit.vue?561f","webpack:///./src/backyard/widget/CreateSaveButton.vue","webpack:///./src/common/widget/NbRadio.vue","webpack:///./src/common/plugin/previewer/PreviewerLayout.vue","webpack:///./src/common/model/base/Pager.js","webpack:///src/backyard/preference/Index.vue","webpack:///./src/backyard/image/cache/widget/ImageCacheList.vue?ec9f","webpack:///./src/backyard/matter/widget/MatterImage.vue","webpack:///./src/backyard/user/List.vue","webpack:///./src/backyard/image/cache/List.vue?5c78","webpack:///./src/common/plugin/copy/CopyPlguinLayout.vue","webpack:///src/common/widget/filter/NbFilterHttpSelection.vue","webpack:///./src/common/plugin/previewer/panels/AudioPanel.vue","webpack:///./src/common/widget/NbSwitcher.vue","webpack:///./node_modules/vue-nprogress/src/NprogressContainer.vue","webpack:///src/common/widget/NbRadio.vue","webpack:///./src/common/widget/NbSlidePanel.vue","webpack:///./src/common/widget/NbCheckbox.vue?6897","webpack:///./src/common/plugin/previewer/panels/TextPanel.vue?14e2","webpack:///./src/common/model/preference/Preference.js","webpack:///./src/assets/img/success.svg","webpack:///./src/backyard/layout/SideNavigation.vue?d3a8","webpack:///./src/backyard/matter/List.vue","webpack:///./src/backyard/user/Login.vue","webpack:///./src/backyard/matter/widget/MatterPanel.vue","webpack:///./src/common/plugin/previewer/panels/TextPanel.vue","webpack:///./src/common/model/feature/FeatureType.js","webpack:///./src/common/plugin/previewer/panels/OfficePanel.vue","webpack:///src/backyard/layout/NotFound.vue","webpack:///src/backyard/matter/widget/MatterImage.vue","webpack:///./src/common/model/install/Install.js","webpack:///src/common/widget/NbBtnDropdown.vue","webpack:///src/common/plugin/previewer/panels/OfficePanel.vue","webpack:///./src/common/widget/NbBtnDropdown.vue?7664","webpack:///src/common/plugin/previewer/panels/AudioPanel.vue","webpack:///./src/backyard/dashboard/Index.vue?0257","webpack:///./src/common/model/matter/Matter.js","webpack:///src/common/plugin/previewer/panels/VideoPanel.vue","webpack:///node_modules/vue-nprogress/src/NprogressContainer.vue","webpack:///./src/common/widget/filter/NbFilterCheck.vue","webpack:///src/backyard/user/Detail.vue","webpack:///src/backyard/matter/widget/UploadMatterPanel.vue","webpack:///./src/backyard/image/cache/widget/ImageCachePanel.vue?9c30","webpack:///./src/common/filter/index.js","webpack:///./src/App.vue","webpack:///./src/common/plugin/previewer/panels/OfficePanel.vue?9764","webpack:///./src/common/model/download/token/DownloadToken.js","webpack:///./src/backyard/matter/widget/UploadMatterPanel.vue?6fff","webpack:///./src/backyard/user/ChangePassword.vue","webpack:///./src/main.js","webpack:///./src/common/util/MimeUtil.js","webpack:///src/common/widget/NbCheckbox.vue","webpack:///./src/commoLine truncated
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
webpackJsonp([1],{"++SM":function(t,e,a){"use strict";var i=a("V/yA"),s=a("s5XI"),n=a("8sBg"),r=a("p+5i"),o=a("QifV"),l=a("w/yL"),c=a("togH"),u=a("OIiJ");e.a={data:function(){return{UserGender:o.a,UserGenderList:o.b,UserGenderMap:o.c,UserRole:l.a,UserRoleList:l.b,UserRoleMap:l.c,UserStatus:c.a,UserStatusList:c.b,UserStatusMap:c.c,pager:new n.a(r.a),user:this.$store.state.user}},components:{NbPlainFilter:i.a,NbPager:s.a},methods:{handleImageUrl:u.a,search:function(){this.pager.page=0,this.refresh()},refresh:function(){this.pager.httpFastPage()},changeStatus:function(t){var e=this;t.httpChangeStatus(function(){e.refresh()})}},mounted:function(){this.pager.enableHistory(),this.refresh()}}},"+6RN":function(t,exports){},"+iqS":function(t,e,a){"use strict";function injectStyle(t){a("qqKf")}var i=a("7rRQ"),s=a("ANbz"),n=a("VU/8"),r=injectStyle,o=n(i.a,s.a,!1,r,null,null);e.a=o.exports},"/4Mj":function(t,e,a){"use strict";function injectStyle(t){a("XFdu")}var i=a("Nv3w"),s=a("E+yW"),n=a("VU/8"),r=injectStyle,o=n(i.a,s.a,!1,r,null,null);e.a=o.exports},"/Emv":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showFlag?a("div",{staticClass:"previewer-video-panel"},[a("iframe",{attrs:{width:"100%",height:"100%",src:t.url}})]):t._e()},s=[],n={render:i,staticRenderFns:s};e.a=n},"/HLE":function(t,e,a){"use strict";function injectStyle(t){a("iVRc")}var i=a("6/7T"),s=a("B7p3"),n=a("VU/8"),r=injectStyle,o=n(i.a,s.a,!1,r,null,null);e.a=o.exports},"/cRY":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("NbBtnDropdown",{directives:[{name:"show",rawName:"v-show",value:t.filter.visible,expression:"filter.visible"}],attrs:{name:t.current.name,size:"sm",color:t.currentStyle}},[a("ul",[a("li",[a("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){t.select(-1)}}},[t._v("所有")])]),t._v(" "),t._l(t.filter.options,function(e,i){return a("li",[a("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){t.select(i)}}},[t._v(t._s(e.name))])])})],2)])},s=[],n={render:i,staticRenderFns:s};e.a=n},"/rYH":function(t,exports){},"/vof":function(t,e,a){"use strict";var i=a("5gxB"),s=a("/4Mj");e.a={data:function(){return{courses:[]}},props:{filter:{type:i.a,required:!0,validator:function(t){return"MULTI_SELECTION"!==t.type?(console.error("type must be `MULTI_SELECTION`."),!1):(t.value||(t.value=[]),!0)}},disabled:{type:Boolean,required:!1,default:!1}},watch:{"filter.value":function(){this.$emit("change")}},computed:{},components:{NbCheckbox:s.a},methods:{}}},0:function(t,exports){},"05xr":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},s=[],n={render:i,staticRenderFns:s};e.a=n},"0DdG":function(t,e,a){"use strict";function injectStyle(t){a("Szlc")}var i=a("IGFS"),s=a("IwDB"),n=a("VU/8"),r=injectStyle,o=n(i.a,s.a,!1,r,null,null);e.a=o.exports},"0H1O":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"folder-tree"},[a("div",{staticClass:"h50 cursor folder-block",class:{"bg-silver-white":t.targetMatter.uuid===t.matter.uuid},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.clickItem(e)}}},[t.pager.data.length&&t.showSubFolder?a("span",{staticClass:"fa fa-chevron-down mr5 w14"}):t._e(),t._v(" "),t.pager.data.length&&!t.showSubFolder?a("span",{staticClass:"fa fa-chevron-right mr5 w14"}):t._e(),t._v(" "),a("span",{class:{ml23:!t.pager.data.length}},[t.matter.uuid?a("span",[a("img",{staticClass:"mr5",attrs:{src:t.matter.getIcon(),alt:"文件夹",width:"22"}}),t._v(" "),a("span",[t._v(t._s(t.matter.name))])]):a("span",[a("span",[t._v("根目录")])])])]),t._v(" "),a("NbExpanding",[t.pager.data.length&&t.showSubFolder?a("div",{staticClass:"pl20"},t._l(t.pager.data,function(e,i){return a("div",[a("FolderTree",{attrs:{matter:e,targetMatter:t.targetMatter,userUuid:t.userUuid,version:t.version,callback:t.callback,showSubFolderInit:!1}})],1)})):t._e()])],1)},s=[],n={render:i,staticRenderFns:s};e.a=n},"0JqB":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"not-found"},[t._v("\n 404 页面找不到\n")])},s=[],n={render:i,staticRenderFns:s};e.a=n},"0Nnn":function(t,e,a){"use strict";function simpleDate(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t instanceof Date?t.format("yyyy-MM-dd"):null===t?e:"Invalid Date:"+t}function simpleMiniDate(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t instanceof Date?t.format("MM-dd"):null===t?e:"Invalid Date:"+t}function simpleDateTime(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t instanceof Date?t.format("yyyy-MM-dd HH:mm:ss"):null===t?e:(console.error("时间格式错误:"+t),"Invalid Date:"+t)}function simpleDateHourMinute(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t instLine truncated
|
|
||||||
* iCheck v1.0.2, http://git.io/arlzeA
|
|
||||||
* ===================================
|
|
||||||
* Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization
|
|
||||||
*
|
|
||||||
* (c) 2013 Damir Sultanov, http://fronteed.com
|
|
||||||
* MIT Licensed
|
|
||||||
*/
|
|
||||||
function iCheck($){function operate(t,e,s){var n=t[0],p=/er/.test(s)?l:/bl/.test(s)?r:i,d=s==c?{checked:n[i],disabled:n[r],indeterminate:"true"==t.attr(l)||"false"==t.attr(o)}:n[p];if(/^(ch|di|in)/.test(s)&&!d)on(t,p);else if(/^(un|en|de)/.test(s)&&d)off(t,p);else if(s==c)for(var m in d)d[m]?on(t,m,!0):off(t,m,!0);else e&&"toggle"!=s||(e||t[v]("ifClicked"),d?n[u]!==a&&off(t,p):on(t,p))}function on(s,c,p){var v=s[0],f=s.parent(),g=c==i,_=c==l,b=c==r,w=_?o:g?n:"enabled",y=option(s,w+capitalize(v[u])),C=option(s,c+capitalize(v[u]));if(!0!==v[c]){if(!p&&c==i&&v[u]==a&&v.name){var x=s.closest("form"),S='input[name="'+v.name+'"]';S=x.length?x.find(S):$(S),S.each(function(){this!==v&&$(this).data(t)&&off($(this),c)})}_?(v[c]=!0,v[i]&&off(s,i,"force")):(p||(v[c]=!0),g&&v[l]&&off(s,l,!1)),callbacks(s,g,c,p)}v[r]&&option(s,h,!0)&&f.find("."+e).css(h,"default"),f[d](C||option(s,c)||""),f.attr("role")&&!_&&f.attr("aria-"+(b?r:i),"true"),f[m](y||option(s,w)||"")}function off(t,a,s){var c=t[0],p=t.parent(),v=a==i,f=a==l,g=a==r,_=f?o:v?n:"enabled",b=option(t,_+capitalize(c[u])),w=option(t,a+capitalize(c[u]));!1!==c[a]&&(!f&&s&&"force"!=s||(c[a]=!1),callbacks(t,v,_,s)),!c[r]&&option(t,h,!0)&&p.find("."+e).css(h,"pointer"),p[m](w||option(t,a)||""),p.attr("role")&&!f&&p.attr("aria-"+(g?r:i),"false"),p[d](b||option(t,_)||"")}function tidy(e,a){e.data(t)&&(e.parent().html(e.attr("style",e.data(t).s||"")),a&&e[v](a),e.off(".i").unwrap(),$(f+'[for="'+e[0].id+'"]').add(e.closest(f)).off(".i"))}function option(e,a,i){if(e.data(t))return e.data(t).o[a+(i?"":"Class")]}function capitalize(t){return t.charAt(0).toUpperCase()+t.slice(1)}function callbacks(t,e,a,i){i||(e&&t[v]("ifToggled"),t[v]("ifChanged")[v]("if"+capitalize(a)))}var t="iCheck",e=t+"-helper",a="radio",i="checked",n="un"+i,r="disabled",o="determinate",l="in"+o,c="update",u="type",p="touchbegin.i touchend.i",d="addClass",m="removeClass",v="trigger",f="label",h="cursor",g=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);$.fn[t]=function(n,o){var h='input[type="checkbox"], input[type="'+a+'"]',_=$(),b=function(t){t.each(function(){var t=$(this);_=t.is(h)?_.add(t):_.add(t.find(h))})};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(n))return n=n.toLowerCase(),b(this),_.each(function(){var t=$(this);"destroy"==n?tidy(t,"ifDestroyed"):operate(t,!0,n),$.isFunction(o)&&o()});if("object"!=(void 0===n?"undefined":s()(n))&&n)return this;var w=$.extend({checkedClass:i,disabledClass:r,indeterminateClass:l,labelHover:!0},n),y=w.handle,C=w.hoverClass||"hover",x=w.focusClass||"focus",S=w.activeClass||"active",k=!!w.labelHover,E=w.labelHoverClass||"hover",U=0|(""+w.increaseArea).replace("%","");return"checkbox"!=y&&y!=a||(h='input[type="'+y+'"]'),U<-50&&(U=-50),b(this),_.each(function(){var s=$(this);tidy(s);var n,o=this,l=o.id,h=-U+"%",_=100+2*U+"%",b={position:"absolute",top:h,left:h,display:"block",width:_,height:_,margin:0,padding:0,background:"#fff",border:0,opacity:0},y=g?{position:"absolute",visibility:"hidden"}:U?b:{position:"absolute",opacity:0},T="checkbox"==o[u]?w.checkboxClass||"icheckbox":w.radioClass||"i"+a,A=$(f+'[for="'+l+'"]').add(s.closest(f)),P=!!w.aria,N=t+"-"+Math.random().toString(36).substr(2,6),D='<div class="'+T+'" '+(P?'role="'+o[u]+'" ':"");P&&A.each(function(){D+='aria-labelledby="',this.id?D+=this.id:(this.id=N,D+=N),D+='"'}),D=s.wrap(D+"/>")[v]("ifCreated").parent().append(w.insert),n=$('<ins class="'+e+'"/>').css(b).appendTo(D),s.data(t,{o:w,s:s.attr("style")}).css(y),!!w.inheritClass&&D[d](o.className||""),!!w.inheritID&&l&&D.attr("id",t+"-"+l),"static"==D.css("position")&&D.css("position","relative"),operate(s,!0,c),A.length&&A.on("click.i mouseover.i mouseout.i "+p,function(t){var e=t[u],a=$(this);if(!o[r]){if("click"==e){if($(t.target).is("a"))return;operate(s,!1,!0)}else k&&(/ut|nd/.test(e)?(D[m](C),a[m](E)):(D[d](C),a[d](E)));if(!g)return!1;t.stopPropagation()}}),s.on("click.i focus.i blur.i keyup.i keydown.i keypress.i",function(t){var e=t[u],n=t.keyCode;return"click"!=e&&("keydown"==e&&32==n?(o[u]==a&&o[i]||(o[i]?off(s,i):on(s,i)),!1):void("keyup"==e&&o[u]==a?!o[i]&&on(s,i):/us|ur/.test(e)&&D["blur"==e?m:d](x)))}),n.on("click mousedown mouseup mouseover mouseout "+p,function(t){var e=t[u],a=/wn|up/.test(e)?S:C;if(!o[r]){if("click"==e?operate(s,!1,!0):(/wn|er|in/.test(e)?D[d](a):D[m](a+" "+S),A.length&&k&&a==C&&A[/ut|nd/.test(e)?m:d](E)),!g)return!1;t.stopPropagation()}})})}}e.a=iCheck;var i=a("pFYg"),s=a.n(i)},"3Xro":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"bottom-navigation text-center"},[i("span",{staticClass:"mr10"},[i("span",{domProps:{innerHTML:t._s(t.preference.footerLine1)}})]),t._v(" "),i("span",{staticClass:"mr10"},[i("span",{domProps:{innerHTML:t._s(t.preference.footerLine2)}})]),t._v(" "),i("span",[t._v("\n\t\t\tPowered by "),i("a",{attrs:{target:"_blank",href:"https://g
Line truncated
|
|
||||||
//# sourceMappingURL=app.c417733a892cd77dbffb.js.map
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"version":3,"sources":["webpack:///static/js/app.c417733a892cd77dbffb.js","webpack:///src/backyard/user/List.vue","webpack:///./src/backyard/image/cache/widget/ImageCacheList.vue","webpack:///./src/common/widget/NbCheckbox.vue","webpack:///./src/common/plugin/previewer/panels/VideoPanel.vue?fe13","webpack:///./src/backyard/image/cache/List.vue","webpack:///./src/common/widget/filter/NbFilterSelection.vue?e4b3","webpack:///src/common/widget/filter/NbFilterMultiSelection.vue","webpack:///./src/common/plugin/previewer/PreviewerLayout.vue?20ba","webpack:///./src/common/widget/NbBtnDropdown.vue","webpack:///./src/backyard/matter/widget/FolderTree.vue?278d","webpack:///./src/backyard/layout/NotFound.vue?4a06","webpack:///./src/common/filter/time.js","webpack:///src/common/widget/NbSwitcher.vue","webpack:///./src/backyard/install/Index.vue","webpack:///./src/backyard/preference/Edit.vue","webpack:///./src/common/widget/filter/NbFilter.vue","webpack:///./src/common/model/base/ResultCode.js","webpack:///./src/common/widget/filter/NbFilterSelection.vue","webpack:///./src/common/vuex/index.js","webpack:///./src/common/fork/icheck/icheck-vue.js","webpack:///./src/backyard/layout/BottomNavigation.vue?52f5","webpack:///./src/backyard/layout/NotFound.vue","webpack:///./src/common/widget/filter/NbFilterMultiSelection.vue?1f72","webpack:///./src/common/widget/filter/NbFilterDateTime.vue?46ec","webpack:///./src/backyard/matter/widget/MoveBatchPanel.vue","webpack:///./src/common/model/base/BaseEntity.js","webpack:///./src/backyard/install/Index.vue?c3c6","webpack:///./src/backyard/user/Detail.vue","webpack:///./src/backyard/matter/widget/FolderTree.vue","webpack:///src/common/widget/NbExpanding.vue","webpack:///./src/common/model/base/Filter.js","webpack:///src/backyard/image/cache/List.vue","webpack:///./src/common/model/image/cache/ImageCache.js","webpack:///./src/backyard/image/cache/widget/ImageCachePanel.vue","webpack:///./src/common/widget/NbRadio.vue?dd57","webpack:///./src/assets/img/error.png","webpack:///src/backyard/image/cache/widget/ImageCacheList.vue","webpack:///./src/backyard/widget/CreateSaveButton.vue","webpack:///./src/common/widget/NbRadio.vue","webpack:///./src/common/plugin/previewer/PreviewerLayout.vue","webpack:///./src/common/model/base/Pager.js","webpack:///src/backyard/preference/Index.vue","webpack:///./src/backyard/user/Detail.vue?e315","webpack:///./src/backyard/image/cache/widget/ImageCacheList.vue?ec9f","webpack:///./src/backyard/matter/widget/MatterImage.vue","webpack:///./src/backyard/user/List.vue","webpack:///./src/backyard/image/cache/List.vue?5c78","webpack:///./src/common/plugin/copy/CopyPlguinLayout.vue","webpack:///src/common/widget/filter/NbFilterHttpSelection.vue","webpack:///./src/common/plugin/previewer/panels/AudioPanel.vue","webpack:///./src/common/widget/NbSwitcher.vue","webpack:///./node_modules/vue-nprogress/src/NprogressContainer.vue","webpack:///src/common/widget/NbRadio.vue","webpack:///./src/common/widget/NbSlidePanel.vue","webpack:///./src/common/widget/NbCheckbox.vue?6897","webpack:///./src/common/plugin/previewer/panels/TextPanel.vue?14e2","webpack:///./src/common/model/preference/Preference.js","webpack:///./src/assets/img/success.svg","webpack:///./src/backyard/matter/List.vue","webpack:///./src/backyard/user/Login.vue","webpack:///./src/backyard/matter/widget/MatterPanel.vue","webpack:///./src/common/plugin/previewer/panels/TextPanel.vue","webpack:///./src/common/model/feature/FeatureType.js","webpack:///./src/common/plugin/previewer/panels/OfficePanel.vue","webpack:///src/backyard/layout/NotFound.vue","webpack:///src/backyard/matter/widget/MatterImage.vue","webpack:///./src/common/model/install/Install.js","webpack:///src/common/widget/NbBtnDropdown.vue","webpack:///src/common/plugin/previewer/panels/OfficePanel.vue","webpack:///./src/common/widget/NbBtnDropdown.vue?7664","webpack:///src/common/plugin/previewer/panels/AudioPanel.vue","webpack:///./src/backyard/dashboard/Index.vue?0257","webpack:///./src/common/model/matter/Matter.js","webpack:///src/common/plugin/previewer/panels/VideoPanel.vue","webpack:///node_modules/vue-nprogress/src/NprogressContainer.vue","webpack:///./src/common/widget/filter/NbFilterCheck.vue","webpack:///src/backyard/user/Detail.vue","webpack:///src/backyard/matter/widget/UploadMatterPanel.vue","webpack:///./src/backyard/image/cache/widget/ImageCachePanel.vue?9c30","webpack:///./src/common/filter/index.js","webpack:///./src/App.vue","webpack:///./src/common/plugin/previewer/panels/OfficePanel.vue?9764","webpack:///./src/common/model/download/token/DownloadToken.js","webpack:///./src/backyard/matter/widget/UploadMatterPanel.vue?6fff","webpack:///./src/backyard/user/ChangePassword.vue","webpack:///./src/main.js","webpack:///./src/common/util/MimeUtil.js","webpack:///src/common/widget/NbCheckbox.vue","webpack:///./src/common/util/NumberUtil.js","webpack:///src/common/plugin/previewer/PreviewerLayout.vue","webpack:///./src/backyard/preferenceLine truncated
|
|
||||||
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["webpack:///static/js/manifest.2ae2e69a05c33dfc65f8.js","webpack:///webpack/bootstrap 753ac2556d13f04007e6"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","parentJsonpFunction","window","chunkIds","moreModules","executeModules","chunkId","result","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","shift","s","2","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"CAAS,SAAUA,GCuCnB,QAAAC,qBAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,qBAGAI,EAAAE,GAAA,EAGAF,EAAAD,QA1DA,GAAAK,GAAAC,OAAA,YACAA,QAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,GAAAX,GAAAY,EAAAC,EAAAT,EAAA,EAAAU,KACQV,EAAAK,EAAAM,OAAoBX,IAC5BQ,EAAAH,EAAAL,GACAY,EAAAJ,IACAE,EAAAG,KAAAD,EAAAJ,GAAA,IAEAI,EAAAJ,GAAA,CAEA,KAAAZ,IAAAU,GACAQ,OAAAC,UAAAC,eAAAd,KAAAI,EAAAV,KACAF,EAAAE,GAAAU,EAAAV,GAIA,KADAO,KAAAE,EAAAC,EAAAC,GACAG,EAAAC,QACAD,EAAAO,SAEA,IAAAV,EACA,IAAAP,EAAA,EAAYA,EAAAO,EAAAI,OAA2BX,IACvCS,EAAAd,wCAAAuB,EAAAX,EAAAP,GAGA,OAAAS,GAIA,IAAAZ,MAGAe,GACAO,EAAA,EA6BAxB,qBAAAyB,EAAA1B,EAGAC,oBAAA0B,EAAAxB,EAGAF,oBAAA2B,EAAA,SAAAxB,QAAAyB,EAAAC,GACA7B,oBAAA8B,EAAA3B,QAAAyB,IACAT,OAAAY,eAAA5B,QAAAyB,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMA7B,oBAAAmC,EAAA,SAAA/B,GACA,GAAAyB,GAAAzB,KAAAgC,WACA,WAA2B,MAAAhC,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,qBAAA2B,EAAAE,EAAA,IAAAA,GACAA,GAIA7B,oBAAA8B,EAAA,SAAAO,EAAAC,GAAsD,MAAAnB,QAAAC,UAAAC,eAAAd,KAAA8B,EAAAC,IAGtDtC,oBAAAuC,EAAA,IAGAvC,oBAAAwC,GAAA,SAAAC,GAA8D,KAApBC,SAAAC,MAAAF,GAAoBA","file":"static/js/manifest.2ae2e69a05c33dfc65f8.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// install a JSONP callback for chunk loading\n/******/ \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n/******/ \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n/******/ \t\t// add \"moreModules\" to the modules object,\n/******/ \t\t// then flag all \"chunkIds\" as loaded and fire callback\n/******/ \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n/******/ \t\tfor(;i < chunkIds.length; i++) {\n/******/ \t\t\tchunkId = chunkIds[i];\n/******/ \t\t\tif(installedChunks[chunkId]) {\n/******/ \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n/******/ \t\t\t}\n/******/ \t\t\tinstalledChunks[chunkId] = 0;\n/******/ \t\t}\n/******/ \t\tfor(moduleId in moreModules) {\n/******/ \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n/******/ \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n/******/ \t\twhile(resolves.length) {\n/******/ \t\t\tresolves.shift()();\n/******/ \t\t}\n/******/ \t\tif(executeModules) {\n/******/ \t\t\tfor(i=0; i < executeModules.length; i++) {\n/******/ \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t\treturn result;\n/******/ \t};\n/******/\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// objects to store loaded and loading chunks\n/******/ \tvar installedChunks = {\n/******/ \t\t2: 0\n/******/ \t};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility withLine truncated
|
{"version":3,"sources":["webpack:///static/js/manifest.2ae2e69a05c33dfc65f8.js","webpack:///webpack/bootstrap 67e579be061fa552faba"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","parentJsonpFunction","window","chunkIds","moreModules","executeModules","chunkId","result","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","shift","s","2","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"CAAS,SAAUA,GCuCnB,QAAAC,qBAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,qBAGAI,EAAAE,GAAA,EAGAF,EAAAD,QA1DA,GAAAK,GAAAC,OAAA,YACAA,QAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,GAAAX,GAAAY,EAAAC,EAAAT,EAAA,EAAAU,KACQV,EAAAK,EAAAM,OAAoBX,IAC5BQ,EAAAH,EAAAL,GACAY,EAAAJ,IACAE,EAAAG,KAAAD,EAAAJ,GAAA,IAEAI,EAAAJ,GAAA,CAEA,KAAAZ,IAAAU,GACAQ,OAAAC,UAAAC,eAAAd,KAAAI,EAAAV,KACAF,EAAAE,GAAAU,EAAAV,GAIA,KADAO,KAAAE,EAAAC,EAAAC,GACAG,EAAAC,QACAD,EAAAO,SAEA,IAAAV,EACA,IAAAP,EAAA,EAAYA,EAAAO,EAAAI,OAA2BX,IACvCS,EAAAd,wCAAAuB,EAAAX,EAAAP,GAGA,OAAAS,GAIA,IAAAZ,MAGAe,GACAO,EAAA,EA6BAxB,qBAAAyB,EAAA1B,EAGAC,oBAAA0B,EAAAxB,EAGAF,oBAAA2B,EAAA,SAAAxB,QAAAyB,EAAAC,GACA7B,oBAAA8B,EAAA3B,QAAAyB,IACAT,OAAAY,eAAA5B,QAAAyB,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMA7B,oBAAAmC,EAAA,SAAA/B,GACA,GAAAyB,GAAAzB,KAAAgC,WACA,WAA2B,MAAAhC,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAJ,qBAAA2B,EAAAE,EAAA,IAAAA,GACAA,GAIA7B,oBAAA8B,EAAA,SAAAO,EAAAC,GAAsD,MAAAnB,QAAAC,UAAAC,eAAAd,KAAA8B,EAAAC,IAGtDtC,oBAAAuC,EAAA,IAGAvC,oBAAAwC,GAAA,SAAAC,GAA8D,KAApBC,SAAAC,MAAAF,GAAoBA","file":"static/js/manifest.2ae2e69a05c33dfc65f8.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// install a JSONP callback for chunk loading\n/******/ \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n/******/ \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n/******/ \t\t// add \"moreModules\" to the modules object,\n/******/ \t\t// then flag all \"chunkIds\" as loaded and fire callback\n/******/ \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n/******/ \t\tfor(;i < chunkIds.length; i++) {\n/******/ \t\t\tchunkId = chunkIds[i];\n/******/ \t\t\tif(installedChunks[chunkId]) {\n/******/ \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n/******/ \t\t\t}\n/******/ \t\t\tinstalledChunks[chunkId] = 0;\n/******/ \t\t}\n/******/ \t\tfor(moduleId in moreModules) {\n/******/ \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n/******/ \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n/******/ \t\twhile(resolves.length) {\n/******/ \t\t\tresolves.shift()();\n/******/ \t\t}\n/******/ \t\tif(executeModules) {\n/******/ \t\t\tfor(i=0; i < executeModules.length; i++) {\n/******/ \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t\treturn result;\n/******/ \t};\n/******/\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// objects to store loaded and loading chunks\n/******/ \tvar installedChunks = {\n/******/ \t\t2: 0\n/******/ \t};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility withLine truncated
|
||||||
+1
-1
@@ -74,4 +74,4 @@ function isEventSupported(e,t){if(!i.canUseDOM||t&&!("addEventListener"in docume
|
|||||||
* http://photoswipe.com
|
* http://photoswipe.com
|
||||||
* Copyright (c) 2017 Dmitry Semenov; */
|
* Copyright (c) 2017 Dmitry Semenov; */
|
||||||
!function(r,o){n=o,void 0!==(i="function"==typeof n?n.call(exports,t,exports,e):n)&&(e.exports=i)}(0,function(){"use strict";return function(e,t,n,i){var r={features:null,bind:function(e,t,n,i){var r=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[r](t[o],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){r.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){r.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(r.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var i=e.length;i--;)if(e[i][n]===t)return i;return-1},extend:function(e,t,n){for(var i in t)if(t.hasOwnProperty(i)){if(n&&e.hasOwnProperty(i))continue;e[i]=t[i]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(r.features)return r.features;var e=r.createEl(),t=e.style,n="",i={};if(i.oldIE=document.all&&!document.addEventListener,i.touch="ontouchstart"in window,window.requestAnimationFrame&&(i.raf=window.requestAnimationFrame,i.caf=window.cancelAnimationFrame),i.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!i.pointerEvent){var o=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var a=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);a&&a.length>0&&(a=parseInt(a[1],10))>=1&&a<8&&(i.isOldIOSPhone=!0)}var s=o.match(/Android\s([0-9\.]*)/),l=s?s[1]:0;l=parseFloat(l),l>=1&&(l<4.4&&(i.isOldAndroid=!0),i.androidVersion=l),i.isMobileOpera=/opera mini|opera mobi/i.test(o)}for(var u,c,d=["transform","perspective","animationName"],h=["","webkit","Moz","ms","O"],f=0;f<4;f++){n=h[f];for(var p=0;p<3;p++)u=d[p],c=n+(n?u.charAt(0).toUpperCase()+u.slice(1):u),!i[u]&&c in t&&(i[u]=c);n&&!i.raf&&(n=n.toLowerCase(),i.raf=window[n+"RequestAnimationFrame"],i.raf&&(i.caf=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]))}if(!i.raf){var m=0;i.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-m)),i=window.setTimeout(function(){e(t+n)},n);return m=t+n,i},i.caf=function(e){clearTimeout(e)}}return i.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r.features=i,i}};r.detectFeatures(),r.features.oldIE&&(r.bind=function(e,t,n,i){t=t.split(" ");for(var r,o=(i?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(r=t[s])if("object"==typeof n&&n.handleEvent){if(i){if(!n["oldIE"+r])return!1}else n["oldIE"+r]=a;e[o]("on"+r,n["oldIE"+r])}else e[o]("on"+r,n)});var o=this,a={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e?1:t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};r.extend(a,i);var s,l,u,c,d,h,f,p,m,g,v,y,x,_,b,w,S,C,k,M,T,D,P,I,A,O,E,N,L,R,F,z,V,B,q,H,j,W,G,U,Y,K,X,Z,Q,J,ee,te,ne,ie,re,oe,ae,se,le,ue,ce,de=function(){return{x:0,y:0}},he=de(),fe=de(),pe=de(),me={},ge=0,ve={},ye=de(),xe=0,_e=!0,be=[],we={},Se=!1,Ce=function(e,t){r.extend(o,t.publicMethods),be.push(e)},ke=function(e){var t=Zt();return e>t-1?e-t:e<0?t+e:e},Me={},Te=function(e,t){return Me[e]||(Me[e]=[]),Me[e].push(t)},De=function(e){var t=Me[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<t.length;i++)t[i].apply(o,n)}},Pe=function(){return(new Date).getTime()},Ie=function(e){le=e,o.bg.style.opacity=e*a.bgOpacity},Ae=function(e,t,n,i,r){(!Se||r&&r!==o.currItem)&&(i/=r?r.fitRatio:o.currItem.fitRatio),e[D]=y+t+"px, "+n+"px"+x+" scale("+i+")"},Oe=function(e){ie&&(e&&(g>o.currItem.fitRatio?Se||(cn(o.currItem,!1,!0),Se=!0):Se&&(cn(o.currItem),Se=!1)),Ae(ie,pe.x,pe.y,g))},Ee=function(e){e.container&&Ae(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Ne=function(e,t){t[D]=y+e+"px, 0px"+x},Le=function(e,t){if(!a.loop&&t){var n=c+(ye.x*ge-e)/ye.x,i=Math.round(e-gt.x);(n<0&&i>0||n>=Zt()-1&&i<0)&&(e=gt.x+i*a.mainScrollEndFriction)}gt.x=e,Ne(e,d)},Re=function(e,t){var n=vt[e]-ve[e];return fe[e]+he[e]+n-n*(t/v)},Fe=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},ze=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},Ve=null,Be=function(){Ve&&(r.unbind(docLine truncated
|
!function(r,o){n=o,void 0!==(i="function"==typeof n?n.call(exports,t,exports,e):n)&&(e.exports=i)}(0,function(){"use strict";return function(e,t,n,i){var r={features:null,bind:function(e,t,n,i){var r=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[r](t[o],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){r.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){r.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(r.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var i=e.length;i--;)if(e[i][n]===t)return i;return-1},extend:function(e,t,n){for(var i in t)if(t.hasOwnProperty(i)){if(n&&e.hasOwnProperty(i))continue;e[i]=t[i]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(r.features)return r.features;var e=r.createEl(),t=e.style,n="",i={};if(i.oldIE=document.all&&!document.addEventListener,i.touch="ontouchstart"in window,window.requestAnimationFrame&&(i.raf=window.requestAnimationFrame,i.caf=window.cancelAnimationFrame),i.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!i.pointerEvent){var o=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var a=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);a&&a.length>0&&(a=parseInt(a[1],10))>=1&&a<8&&(i.isOldIOSPhone=!0)}var s=o.match(/Android\s([0-9\.]*)/),l=s?s[1]:0;l=parseFloat(l),l>=1&&(l<4.4&&(i.isOldAndroid=!0),i.androidVersion=l),i.isMobileOpera=/opera mini|opera mobi/i.test(o)}for(var u,c,d=["transform","perspective","animationName"],h=["","webkit","Moz","ms","O"],f=0;f<4;f++){n=h[f];for(var p=0;p<3;p++)u=d[p],c=n+(n?u.charAt(0).toUpperCase()+u.slice(1):u),!i[u]&&c in t&&(i[u]=c);n&&!i.raf&&(n=n.toLowerCase(),i.raf=window[n+"RequestAnimationFrame"],i.raf&&(i.caf=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]))}if(!i.raf){var m=0;i.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-m)),i=window.setTimeout(function(){e(t+n)},n);return m=t+n,i},i.caf=function(e){clearTimeout(e)}}return i.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r.features=i,i}};r.detectFeatures(),r.features.oldIE&&(r.bind=function(e,t,n,i){t=t.split(" ");for(var r,o=(i?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(r=t[s])if("object"==typeof n&&n.handleEvent){if(i){if(!n["oldIE"+r])return!1}else n["oldIE"+r]=a;e[o]("on"+r,n["oldIE"+r])}else e[o]("on"+r,n)});var o=this,a={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e?1:t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};r.extend(a,i);var s,l,u,c,d,h,f,p,m,g,v,y,x,_,b,w,S,C,k,M,T,D,P,I,A,O,E,N,L,R,F,z,V,B,q,H,j,W,G,U,Y,K,X,Z,Q,J,ee,te,ne,ie,re,oe,ae,se,le,ue,ce,de=function(){return{x:0,y:0}},he=de(),fe=de(),pe=de(),me={},ge=0,ve={},ye=de(),xe=0,_e=!0,be=[],we={},Se=!1,Ce=function(e,t){r.extend(o,t.publicMethods),be.push(e)},ke=function(e){var t=Zt();return e>t-1?e-t:e<0?t+e:e},Me={},Te=function(e,t){return Me[e]||(Me[e]=[]),Me[e].push(t)},De=function(e){var t=Me[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<t.length;i++)t[i].apply(o,n)}},Pe=function(){return(new Date).getTime()},Ie=function(e){le=e,o.bg.style.opacity=e*a.bgOpacity},Ae=function(e,t,n,i,r){(!Se||r&&r!==o.currItem)&&(i/=r?r.fitRatio:o.currItem.fitRatio),e[D]=y+t+"px, "+n+"px"+x+" scale("+i+")"},Oe=function(e){ie&&(e&&(g>o.currItem.fitRatio?Se||(cn(o.currItem,!1,!0),Se=!0):Se&&(cn(o.currItem),Se=!1)),Ae(ie,pe.x,pe.y,g))},Ee=function(e){e.container&&Ae(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Ne=function(e,t){t[D]=y+e+"px, 0px"+x},Le=function(e,t){if(!a.loop&&t){var n=c+(ye.x*ge-e)/ye.x,i=Math.round(e-gt.x);(n<0&&i>0||n>=Zt()-1&&i<0)&&(e=gt.x+i*a.mainScrollEndFriction)}gt.x=e,Ne(e,d)},Re=function(e,t){var n=vt[e]-ve[e];return fe[e]+he[e]+n-n*(t/v)},Fe=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},ze=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},Ve=null,Be=function(){Ve&&(r.unbind(docLine truncated
|
||||||
//# sourceMappingURL=vendor.40273dbea93c564c558d.js.map
|
//# sourceMappingURL=vendor.28b2a104c5c31556c9b7.js.map
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
{"version":3,"sources":["webpack:///static/js/vendor.40273dbea93c564c558d.js","webpack:///./node_modules/normalize-wheel/src/UserAgent_DEPRECATED.js","webpack:///./node_modules/core-js/modules/es7.string.at.js","webpack:///./node_modules/echarts/lib/data/helper/sourceType.js","webpack:///./node_modules/lodash/_objectToString.js","webpack:///./node_modules/core-js/modules/es6.array.index-of.js","webpack:///./node_modules/echarts/lib/component/dataset.js","webpack:///./node_modules/core-js/library/modules/_descriptors.js","webpack:///./node_modules/core-js/modules/es7.promise.finally.js","webpack:///./node_modules/echarts/lib/component/toolbox/ToolboxView.js","webpack:///./node_modules/zrender/lib/graphic/shape/Polygon.js","webpack:///./node_modules/zrender/lib/graphic/helper/image.js","webpack:///./node_modules/core-js/library/modules/_ctx.js","webpack:///./node_modules/echarts/lib/chart/parallel/ParallelSeries.js","webpack:///./node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js","webpack:///./node_modules/echarts/lib/data/Tree.js","webpack:///./node_modules/echarts/lib/chart/treemap/treemapAction.js","webpack:///./node_modules/core-js/library/modules/web.dom.iterable.js","webpack:///./node_modules/echarts/lib/chart/sankey/SankeySeries.js","webpack:///./node_modules/core-js/modules/es6.typed.float64-array.js","webpack:///./node_modules/core-js/modules/es6.object.is-sealed.js","webpack:///./node_modules/echarts/lib/scale/Scale.js","webpack:///./node_modules/async-validator/es/validator/boolean.js","webpack:///./node_modules/zrender/lib/graphic/Text.js","webpack:///./node_modules/echarts/lib/component/calendar.js","webpack:///./node_modules/echarts/lib/coord/parallel/ParallelAxis.js","webpack:///./node_modules/zrender/lib/mixin/Transformable.js","webpack:///./node_modules/core-js/library/modules/_iterators.js","webpack:///./node_modules/echarts/lib/chart/helper/createListSimply.js","webpack:///./node_modules/zrender/lib/core/util.js","webpack:///./node_modules/echarts/lib/data/helper/completeDimensions.js","webpack:///./node_modules/core-js/library/fn/symbol/iterator.js","webpack:///./node_modules/vue-router/dist/vue-router.esm.js","webpack:///./node_modules/echarts/lib/chart/pie/PieSeries.js","webpack:///./node_modules/core-js/modules/_defined.js","webpack:///./node_modules/echarts/lib/theme/light.js","webpack:///./node_modules/element-ui/lib/utils/resize-event.js","webpack:///./node_modules/core-js/library/modules/_meta.js","webpack:///./node_modules/core-js/modules/_typed.js","webpack:///./node_modules/echarts/lib/component/axis/AngleAxisView.js","webpack:///./node_modules/echarts/lib/coord/calendar/Calendar.js","webpack:///./node_modules/echarts/lib/component/visualMapPiecewise.js","webpack:///./node_modules/core-js/modules/_collection.js","webpack:///./node_modules/zrender/lib/core/arrayDiff2.js","webpack:///./node_modules/core-js/modules/_set-collection-of.js","webpack:///./node_modules/zrender/lib/vml/Painter.js","webpack:///./node_modules/element-ui/lib/input-number.js","webpack:///./node_modules/echarts/lib/chart/graph/GraphView.js","webpack:///./node_modules/core-js/modules/_flags.js","webpack:///./node_modules/echarts/lib/component/toolbox/feature/Brush.js","webpack:///./node_modules/echarts/lib/util/graphic.js","webpack:///./node_modules/timers-browserify/main.js","webpack:///./node_modules/core-js/modules/es6.string.iterator.js","webpack:///./node_modules/echarts/lib/chart/pie/PieView.js","webpack:///./node_modules/core-js/modules/_fails-is-regexp.js","webpack:///./node_modules/echarts/lib/chart/graph.js","webpack:///./node_modules/echarts/lib/data/DataDiffer.js","webpack:///./node_modules/echarts/lib/layout/points.js","webpack:///./node_modules/echarts/lib/chart/candlestick/CandlestickView.js","webpack:///./node_modules/echarts/lib/util/layout.js","webpack:///./node_modules/core-js/modules/_meta.js","webpack:///./node_modules/echarts/lib/chart/helper/Symbol.js","webpack:///./node_modules/echarts/lib/component/radiusAxis.js","webpack:///./node_modules/core-js/modules/es6.math.log10.js","webpack:///./node_modules/core-js/library/modules/_object-gops.js","webpack:///./node_modules/element-ui/lib/mixins/focus.js","webpack:///./node_modules/core-js/modules/es6.typed.data-view.js","webpack:///./node_modules/echarts/lib/data/Graph.js","webpack:///./node_modules/async-validator/es/validator/enum.js","webpack:///./node_modules/echarts/lib/coord/Axis.js","webpack:///./node_modules/zrender/lib/contain/arc.js","webpack:///./node_modules/zrender/lib/contain/path.js","webpack:///./node_modules/echarts/lib/chart/parallel/ParallelView.js","webpack:///./node_modules/core-js/modules/_string-pad.js","webpack:///./node_modules/echarts/lib/chart/map/mapVisual.js","webpack:///./node_modules/zrender/lib/graphic/helper/smoothSpline.js","webpack:///./node_modules/element-ui/lib/utils/dom.js","webpack:///./node_modules/echarts/lib/chart/bar/BaseBarSeries.js","webpack:///./node_modules/core-js/modules/_hiLine truncated
|
{"version":3,"sources":["webpack:///static/js/vendor.28b2a104c5c31556c9b7.js","webpack:///./node_modules/normalize-wheel/src/UserAgent_DEPRECATED.js","webpack:///./node_modules/core-js/modules/es7.string.at.js","webpack:///./node_modules/echarts/lib/data/helper/sourceType.js","webpack:///./node_modules/lodash/_objectToString.js","webpack:///./node_modules/core-js/modules/es6.array.index-of.js","webpack:///./node_modules/echarts/lib/component/dataset.js","webpack:///./node_modules/core-js/library/modules/_descriptors.js","webpack:///./node_modules/core-js/modules/es7.promise.finally.js","webpack:///./node_modules/echarts/lib/component/toolbox/ToolboxView.js","webpack:///./node_modules/zrender/lib/graphic/shape/Polygon.js","webpack:///./node_modules/zrender/lib/graphic/helper/image.js","webpack:///./node_modules/core-js/library/modules/_ctx.js","webpack:///./node_modules/echarts/lib/chart/parallel/ParallelSeries.js","webpack:///./node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js","webpack:///./node_modules/echarts/lib/data/Tree.js","webpack:///./node_modules/echarts/lib/chart/treemap/treemapAction.js","webpack:///./node_modules/core-js/library/modules/web.dom.iterable.js","webpack:///./node_modules/echarts/lib/chart/sankey/SankeySeries.js","webpack:///./node_modules/core-js/modules/es6.typed.float64-array.js","webpack:///./node_modules/core-js/modules/es6.object.is-sealed.js","webpack:///./node_modules/echarts/lib/scale/Scale.js","webpack:///./node_modules/async-validator/es/validator/boolean.js","webpack:///./node_modules/zrender/lib/graphic/Text.js","webpack:///./node_modules/echarts/lib/component/calendar.js","webpack:///./node_modules/echarts/lib/coord/parallel/ParallelAxis.js","webpack:///./node_modules/zrender/lib/mixin/Transformable.js","webpack:///./node_modules/core-js/library/modules/_iterators.js","webpack:///./node_modules/echarts/lib/chart/helper/createListSimply.js","webpack:///./node_modules/zrender/lib/core/util.js","webpack:///./node_modules/echarts/lib/data/helper/completeDimensions.js","webpack:///./node_modules/core-js/library/fn/symbol/iterator.js","webpack:///./node_modules/vue-router/dist/vue-router.esm.js","webpack:///./node_modules/echarts/lib/chart/pie/PieSeries.js","webpack:///./node_modules/core-js/modules/_defined.js","webpack:///./node_modules/echarts/lib/theme/light.js","webpack:///./node_modules/element-ui/lib/utils/resize-event.js","webpack:///./node_modules/core-js/library/modules/_meta.js","webpack:///./node_modules/core-js/modules/_typed.js","webpack:///./node_modules/echarts/lib/component/axis/AngleAxisView.js","webpack:///./node_modules/echarts/lib/coord/calendar/Calendar.js","webpack:///./node_modules/echarts/lib/component/visualMapPiecewise.js","webpack:///./node_modules/core-js/modules/_collection.js","webpack:///./node_modules/zrender/lib/core/arrayDiff2.js","webpack:///./node_modules/core-js/modules/_set-collection-of.js","webpack:///./node_modules/zrender/lib/vml/Painter.js","webpack:///./node_modules/element-ui/lib/input-number.js","webpack:///./node_modules/echarts/lib/chart/graph/GraphView.js","webpack:///./node_modules/core-js/modules/_flags.js","webpack:///./node_modules/echarts/lib/component/toolbox/feature/Brush.js","webpack:///./node_modules/echarts/lib/util/graphic.js","webpack:///./node_modules/timers-browserify/main.js","webpack:///./node_modules/core-js/modules/es6.string.iterator.js","webpack:///./node_modules/echarts/lib/chart/pie/PieView.js","webpack:///./node_modules/core-js/modules/_fails-is-regexp.js","webpack:///./node_modules/echarts/lib/chart/graph.js","webpack:///./node_modules/echarts/lib/data/DataDiffer.js","webpack:///./node_modules/echarts/lib/layout/points.js","webpack:///./node_modules/echarts/lib/chart/candlestick/CandlestickView.js","webpack:///./node_modules/echarts/lib/util/layout.js","webpack:///./node_modules/core-js/modules/_meta.js","webpack:///./node_modules/echarts/lib/chart/helper/Symbol.js","webpack:///./node_modules/echarts/lib/component/radiusAxis.js","webpack:///./node_modules/core-js/modules/es6.math.log10.js","webpack:///./node_modules/core-js/library/modules/_object-gops.js","webpack:///./node_modules/element-ui/lib/mixins/focus.js","webpack:///./node_modules/core-js/modules/es6.typed.data-view.js","webpack:///./node_modules/echarts/lib/data/Graph.js","webpack:///./node_modules/async-validator/es/validator/enum.js","webpack:///./node_modules/echarts/lib/coord/Axis.js","webpack:///./node_modules/zrender/lib/contain/arc.js","webpack:///./node_modules/zrender/lib/contain/path.js","webpack:///./node_modules/echarts/lib/chart/parallel/ParallelView.js","webpack:///./node_modules/core-js/modules/_string-pad.js","webpack:///./node_modules/echarts/lib/chart/map/mapVisual.js","webpack:///./node_modules/zrender/lib/graphic/helper/smoothSpline.js","webpack:///./node_modules/element-ui/lib/utils/dom.js","webpack:///./node_modules/echarts/lib/chart/bar/BaseBarSeries.js","webpack:///./node_modules/core-js/modules/_hiLine truncated
|
||||||
@@ -1,9 +1,5 @@
|
|||||||
package rest
|
package rest
|
||||||
|
|
||||||
import (
|
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
|
||||||
)
|
|
||||||
|
|
||||||
type BaseDao struct {
|
type BaseDao struct {
|
||||||
Bean
|
Bean
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-2
@@ -13,11 +13,12 @@ type IBase interface {
|
|||||||
TableName() string
|
TableName() string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Mysql 5.5只支持一个CURRENT_TIMESTAMP的默认值,因此时间的默认值都使用蓝眼云盘第一个发布版本时间 2018-01-01 00:00:00
|
||||||
type Base struct {
|
type Base struct {
|
||||||
Uuid string `json:"uuid" gorm:"type:char(36);primary_key;unique"`
|
Uuid string `json:"uuid" gorm:"type:char(36);primary_key;unique"`
|
||||||
Sort int64 `json:"sort" gorm:"type:bigint(20) not null"`
|
Sort int64 `json:"sort" gorm:"type:bigint(20) not null"`
|
||||||
UpdateTime time.Time `json:"updateTime" gorm:"type:timestamp not null;default:CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"`
|
UpdateTime time.Time `json:"updateTime" gorm:"type:timestamp not null;default:CURRENT_TIMESTAMP"`
|
||||||
CreateTime time.Time `json:"createTime" gorm:"type:timestamp not null;default:CURRENT_TIMESTAMP"`
|
CreateTime time.Time `json:"createTime" gorm:"type:timestamp not null;default:'2018-01-01 00:00:00'"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//将 Struct 转换成map[string]interface{}类型
|
//将 Struct 转换成map[string]interface{}类型
|
||||||
|
|||||||
+6
-2
@@ -65,6 +65,9 @@ func (this *ConfigItem) validate() bool {
|
|||||||
if this.ServerPort == 0 {
|
if this.ServerPort == 0 {
|
||||||
LOGGER.Error("ServerPort 未配置")
|
LOGGER.Error("ServerPort 未配置")
|
||||||
return false
|
return false
|
||||||
|
} else {
|
||||||
|
//只要配置文件中有配置端口,就使用。
|
||||||
|
CONFIG.ServerPort = this.ServerPort
|
||||||
}
|
}
|
||||||
|
|
||||||
if this.MysqlUsername == "" {
|
if this.MysqlUsername == "" {
|
||||||
@@ -134,9 +137,10 @@ func (this *Config) ReadFromConfigFile() {
|
|||||||
this.Installed = false
|
this.Installed = false
|
||||||
} else {
|
} else {
|
||||||
this.Item = &ConfigItem{}
|
this.Item = &ConfigItem{}
|
||||||
|
LOGGER.Warn("读取配置文件:%s", filePath)
|
||||||
err := jsoniter.ConfigCompatibleWithStandardLibrary.Unmarshal(content, this.Item)
|
err := jsoniter.ConfigCompatibleWithStandardLibrary.Unmarshal(content, this.Item)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
LOGGER.Error("配置文件格式错误!")
|
LOGGER.Error("配置文件格式错误! 即将进入安装过程!")
|
||||||
this.Installed = false
|
this.Installed = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -144,7 +148,7 @@ func (this *Config) ReadFromConfigFile() {
|
|||||||
//验证项是否齐全
|
//验证项是否齐全
|
||||||
itemValidate := this.Item.validate()
|
itemValidate := this.Item.validate()
|
||||||
if !itemValidate {
|
if !itemValidate {
|
||||||
LOGGER.Error("配置文件信息不齐全!")
|
LOGGER.Error("配置文件信息不齐全! 即将进入安装过程!")
|
||||||
this.Installed = false
|
this.Installed = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ package rest
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/jinzhu/gorm"
|
"github.com/jinzhu/gorm"
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
|
||||||
"github.com/nu7hatch/gouuid"
|
"github.com/nu7hatch/gouuid"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package rest
|
package rest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
|
||||||
"github.com/nu7hatch/gouuid"
|
"github.com/nu7hatch/gouuid"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ type DownloadToken struct {
|
|||||||
Base
|
Base
|
||||||
UserUuid string `json:"userUuid" gorm:"type:char(36) not null"`
|
UserUuid string `json:"userUuid" gorm:"type:char(36) not null"`
|
||||||
MatterUuid string `json:"matterUuid" gorm:"type:char(36) not null;index:idx_mu"`
|
MatterUuid string `json:"matterUuid" gorm:"type:char(36) not null;index:idx_mu"`
|
||||||
ExpireTime time.Time `json:"expireTime" gorm:"type:timestamp not null;default:CURRENT_TIMESTAMP"`
|
ExpireTime time.Time `json:"expireTime" gorm:"type:timestamp not null;default:'2018-01-01 00:00:00'"`
|
||||||
Ip string `json:"ip" gorm:"type:varchar(128) not null"`
|
Ip string `json:"ip" gorm:"type:varchar(128) not null"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package rest
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/jinzhu/gorm"
|
"github.com/jinzhu/gorm"
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
|
||||||
"github.com/nu7hatch/gouuid"
|
"github.com/nu7hatch/gouuid"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -3,11 +3,10 @@ package rest
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/jinzhu/gorm"
|
"github.com/jinzhu/gorm"
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
|
||||||
"github.com/nu7hatch/gouuid"
|
"github.com/nu7hatch/gouuid"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
|
||||||
"strings"
|
"strings"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ImageCacheDao struct {
|
type ImageCacheDao struct {
|
||||||
@@ -114,7 +113,6 @@ func (this *ImageCacheDao) Page(page int, pageSize int, userUuid string, matterU
|
|||||||
return pager
|
return pager
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//创建
|
//创建
|
||||||
func (this *ImageCacheDao) Create(imageCache *ImageCache) *ImageCache {
|
func (this *ImageCacheDao) Create(imageCache *ImageCache) *ImageCache {
|
||||||
|
|
||||||
@@ -150,17 +148,16 @@ func (this *ImageCacheDao) deleteFileAndDir(imageCache *ImageCache) {
|
|||||||
//删除文件
|
//删除文件
|
||||||
err := os.Remove(filePath)
|
err := os.Remove(filePath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
this.logger.Error(fmt.Sprintf("删除磁盘上的文件%s出错,不做任何处理 %s", filePath, err.Error()))
|
this.logger.Error(fmt.Sprintf("删除磁盘上的文件%s出错 %s", filePath, err.Error()))
|
||||||
}
|
}
|
||||||
|
|
||||||
//删除这一层文件夹
|
//删除这一层文件夹
|
||||||
err = os.Remove(dirPath)
|
err = os.Remove(dirPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
this.logger.Error(fmt.Sprintf("删除磁盘上的文件夹%s出错,不做任何处理 %s", dirPath, err.Error()))
|
this.logger.Error(fmt.Sprintf("删除磁盘上的文件夹%s出错 %s", dirPath, err.Error()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//删除一个文件,数据库中删除,物理磁盘上删除。
|
//删除一个文件,数据库中删除,物理磁盘上删除。
|
||||||
func (this *ImageCacheDao) Delete(imageCache *ImageCache) {
|
func (this *ImageCacheDao) Delete(imageCache *ImageCache) {
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
package rest
|
package rest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"fmt"
|
||||||
|
"github.com/disintegration/imaging"
|
||||||
"image"
|
"image"
|
||||||
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
"github.com/disintegration/imaging"
|
|
||||||
"strings"
|
"strings"
|
||||||
"fmt"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
//@Service
|
//@Service
|
||||||
|
|||||||
@@ -444,12 +444,12 @@ func (this *InstallController) Finish(writer http.ResponseWriter, request *http.
|
|||||||
MysqlPassword: mysqlPassword,
|
MysqlPassword: mysqlPassword,
|
||||||
}
|
}
|
||||||
|
|
||||||
//用json的方式输出返回值。
|
//用json的方式输出返回值。为了让格式更好看。
|
||||||
jsonStr, _ := jsoniter.ConfigCompatibleWithStandardLibrary.Marshal(configItem)
|
jsonStr, _ := jsoniter.ConfigCompatibleWithStandardLibrary.MarshalIndent(configItem, "", " ")
|
||||||
|
|
||||||
//写入到配置文件中
|
//写入到配置文件中(不能使用os.O_APPEND 否则会追加)
|
||||||
filePath := GetConfPath() + "/tank.json"
|
filePath := GetConfPath() + "/tank.json"
|
||||||
f, err := os.OpenFile(filePath, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0777)
|
f, err := os.OpenFile(filePath, os.O_RDWR|os.O_CREATE, 0777)
|
||||||
this.PanicError(err)
|
this.PanicError(err)
|
||||||
_, err = f.Write(jsonStr)
|
_, err = f.Write(jsonStr)
|
||||||
this.PanicError(err)
|
this.PanicError(err)
|
||||||
|
|||||||
@@ -169,6 +169,7 @@ func (this *MatterController) Page(writer http.ResponseWriter, request *http.Req
|
|||||||
userUuid := request.FormValue("userUuid")
|
userUuid := request.FormValue("userUuid")
|
||||||
name := request.FormValue("name")
|
name := request.FormValue("name")
|
||||||
dir := request.FormValue("dir")
|
dir := request.FormValue("dir")
|
||||||
|
alien := request.FormValue("alien")
|
||||||
orderDir := request.FormValue("orderDir")
|
orderDir := request.FormValue("orderDir")
|
||||||
orderSize := request.FormValue("orderSize")
|
orderSize := request.FormValue("orderSize")
|
||||||
orderName := request.FormValue("orderName")
|
orderName := request.FormValue("orderName")
|
||||||
@@ -229,7 +230,7 @@ func (this *MatterController) Page(writer http.ResponseWriter, request *http.Req
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
pager := this.matterDao.Page(page, pageSize, puuid, userUuid, name, dir, extensions, sortArray)
|
pager := this.matterDao.Page(page, pageSize, puuid, userUuid, name, dir, alien, extensions, sortArray)
|
||||||
|
|
||||||
return this.Success(pager)
|
return this.Success(pager)
|
||||||
}
|
}
|
||||||
|
|||||||
+9
-3
@@ -3,7 +3,7 @@ package rest
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/jinzhu/gorm"
|
"github.com/jinzhu/gorm"
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
|
||||||
"github.com/nu7hatch/gouuid"
|
"github.com/nu7hatch/gouuid"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
@@ -146,7 +146,7 @@ func (this *MatterDao) List(puuid string, userUuid string, sortArray []OrderPair
|
|||||||
}
|
}
|
||||||
|
|
||||||
//获取某个文件夹下所有的文件和子文件
|
//获取某个文件夹下所有的文件和子文件
|
||||||
func (this *MatterDao) Page(page int, pageSize int, puuid string, userUuid string, name string, dir string, extensions []string, sortArray []OrderPair) *Pager {
|
func (this *MatterDao) Page(page int, pageSize int, puuid string, userUuid string, name string, dir string, alien string, extensions []string, sortArray []OrderPair) *Pager {
|
||||||
|
|
||||||
var wp = &WherePair{}
|
var wp = &WherePair{}
|
||||||
|
|
||||||
@@ -168,6 +168,12 @@ func (this *MatterDao) Page(page int, pageSize int, puuid string, userUuid strin
|
|||||||
wp = wp.And(&WherePair{Query: "dir = ?", Args: []interface{}{0}})
|
wp = wp.And(&WherePair{Query: "dir = ?", Args: []interface{}{0}})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if alien == "true" {
|
||||||
|
wp = wp.And(&WherePair{Query: "alien = ?", Args: []interface{}{1}})
|
||||||
|
} else if alien == "false" {
|
||||||
|
wp = wp.And(&WherePair{Query: "alien = ?", Args: []interface{}{0}})
|
||||||
|
}
|
||||||
|
|
||||||
var conditionDB *gorm.DB
|
var conditionDB *gorm.DB
|
||||||
if extensions != nil && len(extensions) > 0 {
|
if extensions != nil && len(extensions) > 0 {
|
||||||
var orWp = &WherePair{}
|
var orWp = &WherePair{}
|
||||||
@@ -282,4 +288,4 @@ func (this *MatterDao) SizeBetweenTime(startTime time.Time, endTime time.Time) i
|
|||||||
row := db.Row()
|
row := db.Row()
|
||||||
row.Scan(&size)
|
row.Scan(&size)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
@@ -60,6 +60,7 @@ func (this *PreferenceController) Edit(writer http.ResponseWriter, request *http
|
|||||||
faviconUrl := request.FormValue("faviconUrl")
|
faviconUrl := request.FormValue("faviconUrl")
|
||||||
footerLine1 := request.FormValue("footerLine1")
|
footerLine1 := request.FormValue("footerLine1")
|
||||||
footerLine2 := request.FormValue("footerLine2")
|
footerLine2 := request.FormValue("footerLine2")
|
||||||
|
showAlienStr := request.FormValue("showAlien")
|
||||||
|
|
||||||
preference := this.preferenceDao.Fetch()
|
preference := this.preferenceDao.Fetch()
|
||||||
preference.Name = name
|
preference.Name = name
|
||||||
@@ -67,6 +68,11 @@ func (this *PreferenceController) Edit(writer http.ResponseWriter, request *http
|
|||||||
preference.FaviconUrl = faviconUrl
|
preference.FaviconUrl = faviconUrl
|
||||||
preference.FooterLine1 = footerLine1
|
preference.FooterLine1 = footerLine1
|
||||||
preference.FooterLine2 = footerLine2
|
preference.FooterLine2 = footerLine2
|
||||||
|
if showAlienStr == "true" {
|
||||||
|
preference.ShowAlien = true
|
||||||
|
} else if showAlienStr == "false" {
|
||||||
|
preference.ShowAlien = false
|
||||||
|
}
|
||||||
|
|
||||||
preference = this.preferenceDao.Save(preference)
|
preference = this.preferenceDao.Save(preference)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package rest
|
package rest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
|
||||||
"github.com/nu7hatch/gouuid"
|
"github.com/nu7hatch/gouuid"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@@ -20,7 +19,7 @@ func (this *PreferenceDao) Fetch() *Preference {
|
|||||||
|
|
||||||
if db.Error.Error() == "record not found" {
|
if db.Error.Error() == "record not found" {
|
||||||
preference.Name = "蓝眼云盘"
|
preference.Name = "蓝眼云盘"
|
||||||
preference.Version = VERSION
|
preference.ShowAlien = true
|
||||||
this.Create(preference)
|
this.Create(preference)
|
||||||
return preference
|
return preference
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ type Preference struct {
|
|||||||
FaviconUrl string `json:"faviconUrl" gorm:"type:varchar(255)"`
|
FaviconUrl string `json:"faviconUrl" gorm:"type:varchar(255)"`
|
||||||
FooterLine1 string `json:"footerLine1" gorm:"type:varchar(1024)"`
|
FooterLine1 string `json:"footerLine1" gorm:"type:varchar(1024)"`
|
||||||
FooterLine2 string `json:"footerLine2" gorm:"type:varchar(1024)"`
|
FooterLine2 string `json:"footerLine2" gorm:"type:varchar(1024)"`
|
||||||
Version string `json:"version" gorm:"type:varchar(45)"`
|
ShowAlien bool `json:"showAlien" gorm:"type:tinyint(1) not null;default:1"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// set File's table name to be `profiles`
|
// set File's table name to be `profiles`
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
package rest
|
package rest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
|
||||||
"github.com/nu7hatch/gouuid"
|
"github.com/nu7hatch/gouuid"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ type Session struct {
|
|||||||
Base
|
Base
|
||||||
UserUuid string `json:"userUuid" gorm:"type:char(36)"`
|
UserUuid string `json:"userUuid" gorm:"type:char(36)"`
|
||||||
Ip string `json:"ip" gorm:"type:varchar(128) not null"`
|
Ip string `json:"ip" gorm:"type:varchar(128) not null"`
|
||||||
ExpireTime time.Time `json:"expireTime" gorm:"type:timestamp not null;default:CURRENT_TIMESTAMP"`
|
ExpireTime time.Time `json:"expireTime" gorm:"type:timestamp not null;default:'2018-01-01 00:00:00'"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// set User's table name to be `profiles`
|
// set User's table name to be `profiles`
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package rest
|
package rest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
|
||||||
"github.com/nu7hatch/gouuid"
|
"github.com/nu7hatch/gouuid"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
package rest
|
package rest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
_ "github.com/jinzhu/gorm/dialects/mysql"
|
|
||||||
"github.com/nu7hatch/gouuid"
|
"github.com/nu7hatch/gouuid"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ type User struct {
|
|||||||
City string `json:"city" gorm:"type:varchar(45)"`
|
City string `json:"city" gorm:"type:varchar(45)"`
|
||||||
AvatarUrl string `json:"avatarUrl" gorm:"type:varchar(255)"`
|
AvatarUrl string `json:"avatarUrl" gorm:"type:varchar(255)"`
|
||||||
LastIp string `json:"lastIp" gorm:"type:varchar(128)"`
|
LastIp string `json:"lastIp" gorm:"type:varchar(128)"`
|
||||||
LastTime time.Time `json:"lastTime" gorm:"type:timestamp not null;default:CURRENT_TIMESTAMP"`
|
LastTime time.Time `json:"lastTime" gorm:"type:timestamp not null;default:'2018-01-01 00:00:00'"`
|
||||||
SizeLimit int64 `json:"sizeLimit" gorm:"type:bigint(20) not null;default:-1"`
|
SizeLimit int64 `json:"sizeLimit" gorm:"type:bigint(20) not null;default:-1"`
|
||||||
Status string `json:"status" gorm:"type:varchar(45)"`
|
Status string `json:"status" gorm:"type:varchar(45)"`
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
package rest
|
package rest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"golang.org/x/crypto/bcrypt"
|
|
||||||
"fmt"
|
|
||||||
"crypto/md5"
|
"crypto/md5"
|
||||||
|
"fmt"
|
||||||
|
"golang.org/x/crypto/bcrypt"
|
||||||
)
|
)
|
||||||
|
|
||||||
//给密码字符串加密
|
//给密码字符串加密
|
||||||
|
|||||||
Reference in new issue
Block a user