diff --git a/web/dist/404.html b/web/dist/404.html index 82d9eba..74a492a 100644 --- a/web/dist/404.html +++ b/web/dist/404.html @@ -1 +1 @@ -ZPan
\ No newline at end of file +ZPan
\ No newline at end of file diff --git a/web/dist/css/chunk-1029f285.6a417862.css b/web/dist/css/chunk-1029f285.6a417862.css new file mode 100644 index 0000000..c91cdbe --- /dev/null +++ b/web/dist/css/chunk-1029f285.6a417862.css @@ -0,0 +1 @@ +.el-drawer__body{overflow:auto}.footer{margin-left:142px;margin-top:25px} \ No newline at end of file diff --git a/web/dist/css/chunk-251a991a.95c79dda.css b/web/dist/css/chunk-251a991a.95c79dda.css new file mode 100644 index 0000000..e69de29 diff --git a/web/dist/css/chunk-51b64701.09f4af54.css b/web/dist/css/chunk-51b64701.09f4af54.css new file mode 100644 index 0000000..2d5bcef --- /dev/null +++ b/web/dist/css/chunk-51b64701.09f4af54.css @@ -0,0 +1 @@ +.profile{width:60%} \ No newline at end of file diff --git a/web/dist/css/chunk-58993c8c.e2cd8101.css b/web/dist/css/chunk-58993c8c.e2cd8101.css new file mode 100644 index 0000000..b86a83d --- /dev/null +++ b/web/dist/css/chunk-58993c8c.e2cd8101.css @@ -0,0 +1 @@ +.file-card[data-v-770ecb5c]{width:800px;margin:0 auto;height:600px}.folder-card[data-v-770ecb5c]{min-width:800px;max-width:1200px;margin:0 auto;height:calc(100% - 120px)}.header .name[data-v-770ecb5c]{font-size:22px;font-weight:700}.header .time[data-v-770ecb5c]{font-size:12px;margin:10px 0}.time i[data-v-770ecb5c]{width:18px}.time span[data-v-770ecb5c]{margin-right:20px}.content[data-v-770ecb5c]{background:#f6f9fd;height:600px;text-align:center;padding-top:120px}.content i[data-v-770ecb5c]{font-size:90px}.content p[data-v-770ecb5c]{margin-top:30px} \ No newline at end of file diff --git a/web/dist/css/chunk-757d2a9b.94e0f332.css b/web/dist/css/chunk-757d2a9b.94e0f332.css new file mode 100644 index 0000000..69a2949 --- /dev/null +++ b/web/dist/css/chunk-757d2a9b.94e0f332.css @@ -0,0 +1 @@ +.el-header{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:60px;background-color:#fff;-webkit-box-shadow:1px 1px 8px #c9c9c9;box-shadow:1px 1px 8px #c9c9c9;margin-bottom:5px}.el-header .logo{width:150px;display:inline-block;font-size:35px;padding:0 15px;vertical-align:middle}.logo img{cursor:pointer}.el-header .navbar{font-weight:700}.el-header .storage{margin:15px 0}.copyright[data-v-2907b69d]{text-align:center;position:absolute;bottom:20px;font-size:10px}.el-main[data-v-2907b69d]{padding:10px!important}.el-aside .el-menu[data-v-2907b69d]{border-right:1px solid #fff;font-weight:500}.el-aside .el-menu-item[data-v-2907b69d]:focus,.el-aside .el-menu-item[data-v-2907b69d]:hover{outline:0;background-color:#eaeaea!important} \ No newline at end of file diff --git a/web/dist/css/chunk-77b2d504.439841c9.css b/web/dist/css/chunk-77b2d504.439841c9.css new file mode 100644 index 0000000..6ab0c01 --- /dev/null +++ b/web/dist/css/chunk-77b2d504.439841c9.css @@ -0,0 +1 @@ +.th[data-v-59aea4fa]{font-size:12px;color:#333;padding-top:5px}.matter-icon[data-v-59aea4fa]{font-size:28px}.matter-title[data-v-59aea4fa]{display:inline;margin-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;top:-4px;position:relative} \ No newline at end of file diff --git a/web/dist/css/chunk-875b66d8.c4257cb3.css b/web/dist/css/chunk-875b66d8.c4257cb3.css new file mode 100644 index 0000000..17ac0ed --- /dev/null +++ b/web/dist/css/chunk-875b66d8.c4257cb3.css @@ -0,0 +1 @@ +.toolbar[data-v-3916029e]{height:45px;border-bottom:1px solid #f2f6fd}.toolbar .tips[data-v-3916029e]{font-size:12px;color:#8a8989}.th[data-v-3916029e]{font-size:12px;color:#333;padding-top:5px}.matter-icon[data-v-3916029e]{font-size:22px}.matter-title[data-v-3916029e]{display:inline;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;top:-2px;position:relative}.el-table__row .operation[data-v-3916029e]{display:none}.el-table__row:hover .operation[data-v-3916029e]{display:block}.operation .el-link[data-v-3916029e]{font-size:20px!important;margin:0 2px} \ No newline at end of file diff --git a/web/dist/css/chunk-f1a651ee.0b6e80a4.css b/web/dist/css/chunk-f1a651ee.0b6e80a4.css new file mode 100644 index 0000000..55869b8 --- /dev/null +++ b/web/dist/css/chunk-f1a651ee.0b6e80a4.css @@ -0,0 +1 @@ +.custom-tree-node[data-v-6144c87d]{font-size:22px;line-height:25px}.el-icon-folder[data-v-6144c87d]{color:#ffc402}.cancel-confirm{vertical-align:top}.toolbar[data-v-6ccab5f8]{height:45px;border-bottom:1px solid #f2f6fd;margin-bottom:5px}.search[data-v-6ccab5f8]{width:200px}.iconfont[data-v-6ccab5f8]{font-size:30px;vertical-align:middle} \ No newline at end of file diff --git a/web/dist/index.html b/web/dist/index.html index 6aba545..5a80bb3 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -1 +1 @@ -ZPan
\ No newline at end of file +ZPan
\ No newline at end of file diff --git a/web/dist/js/404.2b1625b5.js b/web/dist/js/404.2b1625b5.js new file mode 100644 index 0000000..633268d --- /dev/null +++ b/web/dist/js/404.2b1625b5.js @@ -0,0 +1,2 @@ +(function(e){function n(n){for(var t,u,d=n[0],f=n[1],o=n[2],h=0,k=[];h0&&void 0!==arguments[0]?arguments[0]:{};console.log(e);var n=new t({i18n:r["a"],store:o["a"],router:a["a"],propsData:e}).$mount(document.createElement("div"));return new Promise((function(e,t){n.$once("completed",(function(t){return e(t)})),n.$once("cancel",(function(e){return t(e)}))}))}}},"6a72":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"topbar"},[n("el-input",{staticStyle:{width:"300px"},attrs:{size:"medium",placeholder:e.$t("admin.storage-search-placeholder"),"prefix-icon":"el-icon-search"},on:{change:e.listRefresh},model:{value:e.query.email,callback:function(t){e.$set(e.query,"email",t)},expression:"query.email"}}),n("el-button",{staticStyle:{float:"right"},attrs:{type:"primary",size:"medium"},on:{click:e.onCreate}},[e._v(e._s(e.$t("admin.btn-storage-add")))])],1),n("el-card",{staticStyle:{"margin-top":"10px","padding-bottom":"20px"},attrs:{shadow:"never"}},[n("el-table",{staticStyle:{width:"100%"},attrs:{data:e.rows,size:"medium"}},[n("el-table-column",{attrs:{prop:"id",label:"ID",width:"60"}}),n("el-table-column",{attrs:{prop:"name",label:e.$t("admin.label-name"),width:"100"}}),n("el-table-column",{attrs:{prop:"title",label:e.$t("admin.label-title"),width:"100"}}),n("el-table-column",{attrs:{prop:"bucket",label:e.$t("admin.label-bucket"),width:"150"}}),n("el-table-column",{attrs:{prop:"endpoint",label:e.$t("admin.label-endpoint")}}),n("el-table-column",{attrs:{prop:"status",label:e.$t("admin.label-status"),width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.status?n("el-tag",{attrs:{type:"success"}},[e._v("正常")]):n("el-tag",{attrs:{type:"warning"}},[e._v("已禁用")])]}}])}),n("el-table-column",{attrs:{prop:"operation",label:e.$t("admin.label-operation"),width:"280"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("el-button",{attrs:{size:"mini"},on:{click:function(n){return e.onEdit(t.$index,t.row)}}},[e._v(e._s(e.$t("admin.btn-edit")))]),n("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(n){return e.onStatusSwitch(t.$index,t.row)}}},[e._v(e._s(e.$t("op."+(1==t.row.status?"disable":"enable"))))]),n("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(n){return e.onDelete(t.$index,t.row)}}},[e._v(e._s(e.$t("op.delete")))])]}}])})],1),n("div",{staticStyle:{"margin-top":"20px"}},[n("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"prev, pager, next","current-page":e.pageNo,"page-size":e.query.limit,total:e.total},on:{"update:currentPage":function(t){e.pageNo=t},"update:current-page":function(t){e.pageNo=t},"current-change":e.listRefresh}})],1)],1)],1)},r=[],o=(n("7f7f"),n("6275")),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-drawer",{attrs:{title:e.$t("admin.label-storage-manager"),visible:e.visible,wrapperClosable:!1,size:"50%"},on:{"update:visible":function(t){e.visible=t}}},[n("el-form",{ref:"form",staticStyle:{"padding-right":"50px"},attrs:{model:e.form,rules:e.rules,size:"small"}},[n("el-tabs",{staticStyle:{"margin-left":"20px"},attrs:{value:"basic",type:"card"}},[n("el-tab-pane",{attrs:{label:"基础配置",name:"basic"}},[n("el-form-item",{attrs:{label:"类型","label-width":"120px"}},[n("el-radio-group",{attrs:{disabled:e.editMode},model:{value:e.form.mode,callback:function(t){e.$set(e.form,"mode",t)},expression:"form.mode"}},[n("el-radio",{attrs:{label:1}},[e._v("网盘")]),n("el-radio",{attrs:{label:2}},[e._v("外链盘")])],1)],1),n("el-form-item",{attrs:{prop:"name",label:e.$t("admin.label-name"),"label-width":"120px"}},[n("el-input",{attrs:{placeholder:"请输入一个名字",autofocus:""},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),n("el-form-item",{attrs:{prop:"provider",label:"云平台","label-width":"120px"}},[n("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择您的云平台",disabled:e.editMode},on:{change:e.refreshEplist},model:{value:e.form.provider,callback:function(t){e.$set(e.form,"provider",t)},expression:"form.provider"}},e._l(e.providers,(function(t){return n("el-option",{key:t.name,attrs:{label:t.name,value:t.name}},[n("span",{staticStyle:{float:"left"}},[e._v(e._s(t.name))]),n("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(t.platform))])])})),1)],1),n("el-form-item",{attrs:{prop:"bucket",label:e.$t("admin.label-bucket"),"label-width":"120px"}},[n("el-input",{attrs:{placeholder:"请输入存储桶名称",disabled:e.editMode},model:{value:e.form.bucket,callback:function(t){e.$set(e.form,"bucket",t)},expression:"form.bucket"}})],1),n("el-form-item",{attrs:{prop:"endpoint",label:e.$t("admin.label-endpoint"),"label-width":"120px"}},[n("el-autocomplete",{staticStyle:{width:"100%"},attrs:{"fetch-suggestions":e.endpointSearch,placeholder:"请输入接入点"},on:{select:e.endpointSelect},model:{value:e.form.endpoint,callback:function(t){e.$set(e.form,"endpoint",t)},expression:"form.endpoint"}})],1),n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"MINIO"==e.form.provider,expression:"form.provider == 'MINIO'"}],attrs:{prop:"region",label:e.$t("admin.label-region"),"label-width":"120px"}},[n("el-input",{attrs:{placeholder:"请输入接入点对应的区域名称"},model:{value:e.form.region,callback:function(t){e.$set(e.form,"region",t)},expression:"form.region"}})],1),n("el-form-item",{attrs:{prop:"access_key",label:e.$t("admin.label-access_key"),"label-width":"120px"}},[n("el-input",{attrs:{placeholder:"请输入用来操作存储桶的AK"},model:{value:e.form.access_key,callback:function(t){e.$set(e.form,"access_key",t)},expression:"form.access_key"}})],1),n("el-form-item",{attrs:{prop:"secret_key",label:e.$t("admin.label-secret_key"),"label-width":"120px"}},[n("el-input",{attrs:{placeholder:"请输入用来操作存储桶的SK",type:"password"},model:{value:e.form.secret_key,callback:function(t){e.$set(e.form,"secret_key",t)},expression:"form.secret_key"}})],1)],1),n("el-tab-pane",{attrs:{label:"高级配置",name:"storage"}},[n("el-form-item",{attrs:{prop:"title",label:e.$t("admin.label-title"),"label-width":"120px"}},[n("el-input",{attrs:{placeholder:"设置导航栏标题,默认使用存储名称"},model:{value:e.form.title,callback:function(t){e.$set(e.form,"title",t)},expression:"form.title"}})],1),n("el-form-item",{attrs:{prop:"custom_host",label:e.$t("admin.label-custom_host"),"label-width":"120px"}},[n("el-input",{attrs:{placeholder:"设置存储桶绑定的自定义域名,默认使用Endpoint"},model:{value:e.form.custom_host,callback:function(t){e.$set(e.form,"custom_host",t)},expression:"form.custom_host"}})],1),n("el-form-item",{attrs:{prop:"root_path",label:"存储根路径","label-width":"120px"}},[n("el-input",{attrs:{placeholder:"设置文件存储规则,不填则默认为Bucket根路径"},model:{value:e.form.root_path,callback:function(t){e.$set(e.form,"root_path",t)},expression:"form.root_path"}})],1),n("el-form-item",{attrs:{prop:"file_path",label:"文件存储路径","label-width":"120px"}},[n("el-input",{attrs:{placeholder:"设置文件存储规则,不填则使用系统默认规则"},model:{value:e.form.file_path,callback:function(t){e.$set(e.form,"file_path",t)},expression:"form.file_path"}}),n("span",{staticClass:"tips",on:{click:e.openEnvs}},[n("i",{staticClass:"el-icon-warning"}),e._v("支持的系统变量")])],1)],1)],1)],1),n("div",{staticClass:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v(e._s(e.$t("op.confirm")))]),n("el-button",{on:{click:function(t){e.visible=!1}}},[e._v(e._s(e.$t("op.cancel")))])],1),n("el-drawer",{attrs:{title:"支持的系统变量","append-to-body":!0,visible:e.envDrawerVisible,size:"35%"},on:{"update:visible":function(t){e.envDrawerVisible=t}}},[n("el-table",{staticStyle:{padding:"10px 20px"},attrs:{data:e.support_envs,size:"small"}},[n("el-table-column",{attrs:{property:"name",label:"变量",width:"150"}}),n("el-table-column",{attrs:{property:"intro",label:"介绍",width:"150"}}),n("el-table-column",{attrs:{property:"example",label:"例子"}})],1)],1)],1)},l=[];n("55dd"); +/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ +function s(e){return"undefined"===typeof e||null===e}function c(e){return"object"===typeof e&&null!==e}function u(e){return Array.isArray(e)?e:s(e)?[]:[e]}function p(e,t){var n,i,r,o;if(t)for(o=Object.keys(t),n=0,i=o.length;nl&&(o=" ... ",t=i-l+o.length),n-i>l&&(a=" ...",n=i+l-a.length),{str:o+e.slice(t,n).replace(/\t/g,"→")+a,pos:i-t+o.length}}function S(e,t){return w.repeat(" ",t-e.length)+e}function I(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!==typeof t.indent&&(t.indent=1),"number"!==typeof t.linesBefore&&(t.linesBefore=3),"number"!==typeof t.linesAfter&&(t.linesAfter=2);var n,i=/\r?\n|\r|\0/g,r=[0],o=[],a=-1;while(n=i.exec(e.buffer))o.push(n.index),r.push(n.index+n[0].length),e.position<=n.index&&a<0&&(a=r.length-2);a<0&&(a=r.length-1);var l,s,c="",u=Math.min(e.line+t.linesAfter,o.length).toString().length,p=t.maxLength-(t.indent+u+3);for(l=1;l<=t.linesBefore;l++){if(a-l<0)break;s=C(e.buffer,r[a-l],o[a-l],e.position-(r[a]-r[a-l]),p),c=w.repeat(" ",t.indent)+S((e.line-l+1).toString(),u)+" | "+s.str+"\n"+c}for(s=C(e.buffer,r[a],o[a],e.position,p),c+=w.repeat(" ",t.indent)+S((e.line+1).toString(),u)+" | "+s.str+"\n",c+=w.repeat("-",t.indent+u+3+s.pos)+"^\n",l=1;l<=t.linesAfter;l++){if(a+l>=o.length)break;s=C(e.buffer,r[a+l],o[a+l],e.position-(r[a]-r[a+l]),p),c+=w.repeat(" ",t.indent)+S((e.line+l+1).toString(),u)+" | "+s.str+"\n"}return c.replace(/\n$/,"")}var _=I,$=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],O=["scalar","sequence","mapping"];function j(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}function T(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===$.indexOf(t))throw new x('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t["kind"]||null,this.resolve=t["resolve"]||function(){return!0},this.construct=t["construct"]||function(e){return e},this.instanceOf=t["instanceOf"]||null,this.predicate=t["predicate"]||null,this.represent=t["represent"]||null,this.representName=t["representName"]||null,this.defaultStyle=t["defaultStyle"]||null,this.multi=t["multi"]||!1,this.styleAliases=j(t["styleAliases"]||null),-1===O.indexOf(this.kind))throw new x('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var N=T;function E(e,t){var n=[];return e[t].forEach((function(e){var t=n.length;n.forEach((function(n,i){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=i)})),n[t]=e})),n}function F(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(e){e.multi?(n.multi[e.kind].push(e),n.multi["fallback"].push(e)):n[e.kind][e.tag]=n["fallback"][e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),ne=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function ie(e){return null!==e&&!(!ne.test(e)||"_"===e[e.length-1])}function re(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n="-"===t[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)}var oe=/^[-+]?[0-9]+e/;function ae(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(w.isNegativeZero(e))return"-0.0";return n=e.toString(10),oe.test(n)?n.replace("e",".e"):n}function le(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!==0||w.isNegativeZero(e))}var se=new N("tag:yaml.org,2002:float",{kind:"scalar",resolve:ie,construct:re,predicate:le,represent:ae,defaultStyle:"lowercase"}),ce=R.extend({implicit:[K,G,te,se]}),ue=ce,pe=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),fe=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function de(e){return null!==e&&(null!==pe.exec(e)||null!==fe.exec(e))}function he(e){var t,n,i,r,o,a,l,s,c,u,p=0,f=null;if(t=pe.exec(e),null===t&&(t=fe.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],i=+t[2]-1,r=+t[3],!t[4])return new Date(Date.UTC(n,i,r));if(o=+t[4],a=+t[5],l=+t[6],t[7]){p=t[7].slice(0,3);while(p.length<3)p+="0";p=+p}return t[9]&&(s=+t[10],c=+(t[11]||0),f=6e4*(60*s+c),"-"===t[9]&&(f=-f)),u=new Date(Date.UTC(n,i,r,o,a,l,p)),f&&u.setTime(u.getTime()-f),u}function me(e){return e.toISOString()}var ge=new N("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:de,construct:he,instanceOf:Date,represent:me});function be(e){return"<<"===e||null===e}var ve=new N("tag:yaml.org,2002:merge",{kind:"scalar",resolve:be}),ye="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function we(e){if(null===e)return!1;var t,n,i=0,r=e.length,o=ye;for(n=0;n64)){if(t<0)return!1;i+=6}return i%8===0}function ke(e){var t,n,i=e.replace(/[\r\n=]/g,""),r=i.length,o=ye,a=0,l=[];for(t=0;t>16&255),l.push(a>>8&255),l.push(255&a)),a=a<<6|o.indexOf(i.charAt(t));return n=r%4*6,0===n?(l.push(a>>16&255),l.push(a>>8&255),l.push(255&a)):18===n?(l.push(a>>10&255),l.push(a>>2&255)):12===n&&l.push(a>>4&255),new Uint8Array(l)}function Ae(e){var t,n,i="",r=0,o=e.length,a=ye;for(t=0;t>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]),r=(r<<8)+e[t];return n=o%3,0===n?(i+=a[r>>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]):2===n?(i+=a[r>>10&63],i+=a[r>>4&63],i+=a[r<<2&63],i+=a[64]):1===n&&(i+=a[r>>2&63],i+=a[r<<4&63],i+=a[64],i+=a[64]),i}function xe(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)}var Ce=new N("tag:yaml.org,2002:binary",{kind:"scalar",resolve:we,construct:ke,predicate:xe,represent:Ae}),Se=Object.prototype.hasOwnProperty,Ie=Object.prototype.toString;function _e(e){if(null===e)return!0;var t,n,i,r,o,a=[],l=e;for(t=0,n=l.length;t>10),56320+(e-65536&1023))}for(var st=new Array(256),ct=new Array(256),ut=0;ut<256;ut++)st[ut]=at(ut)?1:0,ct[ut]=at(ut);function pt(e,t){this.input=e,this.filename=t["filename"]||null,this.schema=t["schema"]||De,this.onWarning=t["onWarning"]||null,this.legacy=t["legacy"]||!1,this.json=t["json"]||!1,this.listener=t["listener"]||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function ft(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=_(n),new x(t,n)}function dt(e,t){throw ft(e,t)}function ht(e,t){e.onWarning&&e.onWarning.call(null,ft(e,t))}var mt={YAML:function(e,t,n){var i,r,o;null!==e.version&&dt(e,"duplication of %YAML directive"),1!==n.length&&dt(e,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),null===i&&dt(e,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),o=parseInt(i[2],10),1!==r&&dt(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&ht(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,r;2!==n.length&&dt(e,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],He.test(i)||dt(e,"ill-formed tag handle (first argument) of the TAG directive"),ze.call(e.tagMap,i)&&dt(e,'there is a previously declared suffix for "'+i+'" tag handle'),Je.test(r)||dt(e,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch(o){dt(e,"tag prefix is malformed: "+r)}e.tagMap[i]=r}};function gt(e,t,n,i){var r,o,a,l;if(t1&&(e.result+=w.repeat("\n",t-1))}function xt(e,t,n){var i,r,o,a,l,s,c,u,p,f=e.kind,d=e.result;if(p=e.input.charCodeAt(e.position),tt(p)||nt(p)||35===p||38===p||42===p||33===p||124===p||62===p||39===p||34===p||37===p||64===p||96===p)return!1;if((63===p||45===p)&&(r=e.input.charCodeAt(e.position+1),tt(r)||n&&nt(r)))return!1;e.kind="scalar",e.result="",o=a=e.position,l=!1;while(0!==p){if(58===p){if(r=e.input.charCodeAt(e.position+1),tt(r)||n&&nt(r))break}else if(35===p){if(i=e.input.charCodeAt(e.position-1),tt(i))break}else{if(e.position===e.lineStart&&kt(e)||n&&nt(p))break;if(Xe(p)){if(s=e.line,c=e.lineStart,u=e.lineIndent,wt(e,!1,-1),e.lineIndent>=t){l=!0,p=e.input.charCodeAt(e.position);continue}e.position=a,e.line=s,e.lineStart=c,e.lineIndent=u;break}}l&&(gt(e,o,a,!1),At(e,e.line-s),o=a=e.position,l=!1),et(p)||(a=e.position+1),p=e.input.charCodeAt(++e.position)}return gt(e,o,a,!1),!!e.result||(e.kind=f,e.result=d,!1)}function Ct(e,t){var n,i,r;if(n=e.input.charCodeAt(e.position),39!==n)return!1;e.kind="scalar",e.result="",e.position++,i=r=e.position;while(0!==(n=e.input.charCodeAt(e.position)))if(39===n){if(gt(e,i,e.position,!0),n=e.input.charCodeAt(++e.position),39!==n)return!0;i=e.position,e.position++,r=e.position}else Xe(n)?(gt(e,i,r,!0),At(e,wt(e,!1,t)),i=r=e.position):e.position===e.lineStart&&kt(e)?dt(e,"unexpected end of the document within a single quoted scalar"):(e.position++,r=e.position);dt(e,"unexpected end of the stream within a single quoted scalar")}function St(e,t){var n,i,r,o,a,l;if(l=e.input.charCodeAt(e.position),34!==l)return!1;e.kind="scalar",e.result="",e.position++,n=i=e.position;while(0!==(l=e.input.charCodeAt(e.position))){if(34===l)return gt(e,n,e.position,!0),e.position++,!0;if(92===l){if(gt(e,n,e.position,!0),l=e.input.charCodeAt(++e.position),Xe(l))wt(e,!1,t);else if(l<256&&st[l])e.result+=ct[l],e.position++;else if((a=rt(l))>0){for(r=a,o=0;r>0;r--)l=e.input.charCodeAt(++e.position),(a=it(l))>=0?o=(o<<4)+a:dt(e,"expected hexadecimal character");e.result+=lt(o),e.position++}else dt(e,"unknown escape sequence");n=i=e.position}else Xe(l)?(gt(e,n,i,!0),At(e,wt(e,!1,t)),n=i=e.position):e.position===e.lineStart&&kt(e)?dt(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}dt(e,"unexpected end of the stream within a double quoted scalar")}function It(e,t){var n,i,r,o,a,l,s,c,u,p,f,d,h,m=!0,g=e.tag,b=e.anchor,v=Object.create(null);if(h=e.input.charCodeAt(e.position),91===h)l=93,u=!1,o=[];else{if(123!==h)return!1;l=125,u=!0,o={}}null!==e.anchor&&(e.anchorMap[e.anchor]=o),h=e.input.charCodeAt(++e.position);while(0!==h){if(wt(e,!0,t),h=e.input.charCodeAt(e.position),h===l)return e.position++,e.tag=g,e.anchor=b,e.kind=u?"mapping":"sequence",e.result=o,!0;m?44===h&&dt(e,"expected the node content, but found ','"):dt(e,"missed comma between flow collection entries"),f=p=d=null,s=c=!1,63===h&&(a=e.input.charCodeAt(e.position+1),tt(a)&&(s=c=!0,e.position++,wt(e,!0,t))),n=e.line,i=e.lineStart,r=e.position,Et(e,t,Re,!1,!0),f=e.tag,p=e.result,wt(e,!0,t),h=e.input.charCodeAt(e.position),!c&&e.line!==n||58!==h||(s=!0,h=e.input.charCodeAt(++e.position),wt(e,!0,t),Et(e,t,Re,!1,!0),d=e.result),u?vt(e,o,v,f,p,d,n,i,r):s?o.push(vt(e,null,v,f,p,d,n,i,r)):o.push(p),wt(e,!0,t),h=e.input.charCodeAt(e.position),44===h?(m=!0,h=e.input.charCodeAt(++e.position)):m=!1}dt(e,"unexpected end of the stream within a flow collection")}function _t(e,t){var n,i,r,o,a=Ke,l=!1,s=!1,c=t,u=0,p=!1;if(o=e.input.charCodeAt(e.position),124===o)i=!1;else{if(62!==o)return!1;i=!0}e.kind="scalar",e.result="";while(0!==o)if(o=e.input.charCodeAt(++e.position),43===o||45===o)Ke===a?a=43===o?Ve:Pe:dt(e,"repeat of a chomping mode identifier");else{if(!((r=ot(o))>=0))break;0===r?dt(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?dt(e,"repeat of an indentation width identifier"):(c=t+r-1,s=!0)}if(et(o)){do{o=e.input.charCodeAt(++e.position)}while(et(o));if(35===o)do{o=e.input.charCodeAt(++e.position)}while(!Xe(o)&&0!==o)}while(0!==o){yt(e),e.lineIndent=0,o=e.input.charCodeAt(e.position);while((!s||e.lineIndentc&&(c=e.lineIndent),Xe(o))u++;else{if(e.lineIndentt)&&0!==r)dt(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(b&&(a=e.line,l=e.lineStart,s=e.position),Et(e,t,Be,!0,r)&&(b?m=e.result:g=e.result),b||(vt(e,f,d,h,m,g,a,l,s),h=m=g=null),wt(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>t)&&0!==c)dt(e,"bad indentation of a mapping entry");else if(e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),s=0,c=e.implicitTypes.length;s"),null!==e.result&&p.kind!==e.kind&&dt(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):dt(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||g}function Ft(e){var t,n,i,r,o=e.position,a=!1;e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);while(0!==(r=e.input.charCodeAt(e.position))){if(wt(e,!0,-1),r=e.input.charCodeAt(e.position),e.lineIndent>0||37!==r)break;a=!0,r=e.input.charCodeAt(++e.position),t=e.position;while(0!==r&&!tt(r))r=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),i=[],n.length<1&&dt(e,"directive name must not be less than one character in length");while(0!==r){while(et(r))r=e.input.charCodeAt(++e.position);if(35===r){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&!Xe(r));break}if(Xe(r))break;t=e.position;while(0!==r&&!tt(r))r=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==r&&yt(e),ze.call(mt,n)?mt[n](e,n,i):ht(e,'unknown document directive "'+n+'"')}wt(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,wt(e,!0,-1)):a&&dt(e,"directives end mark is expected"),Et(e,e.lineIndent-1,Be,!1,!0),wt(e,!0,-1),e.checkLineBreaks&&Ge.test(e.input.slice(o,e.position))&&ht(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&kt(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,wt(e,!0,-1)):e.position=55296&&i<=56319&&t+1=56320&&n<=57343)?1024*(i-55296)+n-56320+65536:i}function En(e){var t=/^\n* /;return t.test(e)}var Fn=1,Mn=2,Ln=3,qn=4,Dn=5;function zn(e,t,n,i,r,o,a,l){var s,c=0,u=null,p=!1,f=!1,d=-1!==i,h=-1,m=jn(Nn(e,0))&&Tn(Nn(e,e.length-1));if(t||a)for(s=0;s=65536?s+=2:s++){if(c=Nn(e,s),!_n(c))return Dn;m=m&&On(c,u,l),u=c}else{for(s=0;s=65536?s+=2:s++){if(c=Nn(e,s),c===Pt)p=!0,d&&(f=f||s-h-1>i&&" "!==e[h+1],h=s);else if(!_n(c))return Dn;m=m&&On(c,u,l),u=c}f=f||d&&s-h-1>i&&" "!==e[h+1]}return p||f?n>9&&En(e)?Dn:a?o===kn?Dn:Mn:f?qn:Ln:!m||a||r(e)?o===kn?Dn:Mn:Fn}function Rn(e,t,n,i,r){e.dump=function(){if(0===t.length)return e.quotingType===kn?'""':"''";if(!e.noCompatMode&&(-1!==gn.indexOf(t)||bn.test(t)))return e.quotingType===kn?'"'+t+'"':"'"+t+"'";var o=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),l=i||e.flowLevel>-1&&n>=e.flowLevel;function s(t){return Sn(e,t)}switch(zn(t,l,e.indent,a,s,e.quotingType,e.forceQuotes&&!i,r)){case Fn:return t;case Mn:return"'"+t.replace(/'/g,"''")+"'";case Ln:return"|"+Un(t,e.indent)+Yn(xn(t,o));case qn:return">"+Un(t,e.indent)+Yn(xn(Bn(t,a),o));case Dn:return'"'+Pn(t)+'"';default:throw new x("impossible error: invalid scalar style")}}()}function Un(e,t){var n=En(e)?String(t):"",i="\n"===e[e.length-1],r=i&&("\n"===e[e.length-2]||"\n"===e),o=r?"+":i?"":"-";return n+o+"\n"}function Yn(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Bn(e,t){var n,i,r=/(\n+)([^\n]*)/g,o=function(){var n=e.indexOf("\n");return n=-1!==n?n:e.length,r.lastIndex=n,Kn(e.slice(0,n),t)}(),a="\n"===e[0]||" "===e[0];while(i=r.exec(e)){var l=i[1],s=i[2];n=" "===s[0],o+=l+(a||n||""===s?"":"\n")+Kn(s,t),a=n}return o}function Kn(e,t){if(""===e||" "===e[0])return e;var n,i,r=/ [^ ]/g,o=0,a=0,l=0,s="";while(n=r.exec(e))l=n.index,l-o>t&&(i=a>o?a:l,s+="\n"+e.slice(o,i),o=i+1),a=l;return s+="\n",e.length-o>t&&a>o?s+=e.slice(o,a)+"\n"+e.slice(a+1):s+=e.slice(o),s.slice(1)}function Pn(e){for(var t,n="",i=0,r=0;r=65536?r+=2:r++)i=Nn(e,r),t=mn[i],!t&&_n(i)?(n+=e[r],i>=65536&&(n+=e[r+1])):n+=t||yn(i);return n}function Vn(e,t,n){var i,r,o,a="",l=e.tag;for(i=0,r=n.length;i1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Jn(e,t,a,!1,!1)&&(l+=e.dump,s+=l));e.tag=c,e.dump="{"+s+"}"}function Zn(e,t,n,i){var r,o,a,l,s,c,u="",p=e.tag,f=Object.keys(n);if(!0===e.sortKeys)f.sort();else if("function"===typeof e.sortKeys)f.sort(e.sortKeys);else if(e.sortKeys)throw new x("sortKeys must be a boolean or a function");for(r=0,o=f.length;r1024,s&&(e.dump&&Pt===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,s&&(c+=Cn(e,t)),Jn(e,t+1,l,!0,s)&&(e.dump&&Pt===e.dump.charCodeAt(0)?c+=":":c+=": ",c+=e.dump,u+=c));e.tag=p,e.dump=u||"{}"}function Hn(e,t,n){var i,r,o,a,l,s;for(r=n?e.explicitTypes:e.implicitTypes,o=0,a=r.length;o tag resolver accepts not "'+s+'" style');i=l.represent[s](t,s)}e.dump=i}return!0}return!1}function Jn(e,t,n,i,r,o,a){e.tag=null,e.dump=n,Hn(e,n,!1)||Hn(e,n,!0);var l,s=Ut.call(e.dump),c=i;i&&(i=e.flowLevel<0||e.flowLevel>t);var u,p,f="[object Object]"===s||"[object Array]"===s;if(f&&(u=e.duplicates.indexOf(n),p=-1!==u),(null!==e.tag&&"?"!==e.tag||p||2!==e.indent&&t>0)&&(r=!1),p&&e.usedDuplicates[u])e.dump="*ref_"+u;else{if(f&&p&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),"[object Object]"===s)i&&0!==Object.keys(e.dump).length?(Zn(e,t,e.dump,r),p&&(e.dump="&ref_"+u+e.dump)):(Gn(e,t,e.dump),p&&(e.dump="&ref_"+u+" "+e.dump));else if("[object Array]"===s)i&&0!==e.dump.length?(e.noArrayIndent&&!a&&t>0?Wn(e,t-1,e.dump,r):Wn(e,t,e.dump,r),p&&(e.dump="&ref_"+u+e.dump)):(Vn(e,t,e.dump),p&&(e.dump="&ref_"+u+" "+e.dump));else{if("[object String]"!==s){if("[object Undefined]"===s)return!1;if(e.skipInvalid)return!1;throw new x("unacceptable kind of an object to dump "+s)}"?"!==e.tag&&Rn(e,e.dump,t,o,c)}null!==e.tag&&"?"!==e.tag&&(l=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),l="!"===e.tag[0]?"!"+l:"tag:yaml.org,2002:"===l.slice(0,18)?"!!"+l.slice(18):"!<"+l+">",e.dump=l+" "+e.dump)}return!0}function Qn(e,t){var n,i,r=[],o=[];for(Xn(e,r,o),n=0,i=o.length;n0}},methods:{openEnvs:function(){var e=this;this.envDrawerVisible=!0,this.$zpan.System.matterPathEnvs().then((function(t){e.support_envs=t.data}))},refreshEplist:function(e){var t=this;this.form.endpoint="",this.form.region="",e=e.toLowerCase(),this.$axios.get("https://raw.githubusercontent.com/eplist/eplist/main/".concat(e,".yml")).then((function(e){var n=yi.load(e);t.endpoints=n.endpoints})).catch((function(e){t.endpoints=[]}))},endpointSearch:function(e,t){if(""==e||"minio"!=this.form.provider.toLowerCase()){var n=this.endpoints.map((function(e){return{value:e.endpoint,region:e.region}})),i=e?n.filter(this.createEndpointFilter(e)):n;t(i)}else t([{value:e,region:"auto"}])},createEndpointFilter:function(e){return function(t){return-1!=t.value.toLowerCase().indexOf(e.toLowerCase())}},endpointSelect:function(e){this.form.region=e.region},onSubmit:function(){var e=this;this.$refs.form.validate((function(t){if(t){var n=e.$zpan.Storage.create;e.form.id&&(n=e.$zpan.Storage.update),n(e.form).then((function(t){e.close(),e.finish(),e.$message({type:"success",message:e.$t("msg.save-success")})}))}}))}},mounted:function(){var e=this;this.$zpan.System.providers().then((function(t){e.providers=t.data.sort().map((function(t){return{name:t,platform:e.$t("cloudplatform.".concat(t))}}))}))}},Ai=ki,xi=(n("99bc"),n("2877")),Ci=Object(xi["a"])(Ai,a,l,!1,null,null,null),Si=Ci.exports,Ii={data:function(){return{query:{offset:0,limit:20},pageNo:1,rows:[],total:0}},methods:{listRefresh:function(){var e=this;this.query.offset=(this.pageNo-1)*this.query.limit,this.$zpan.Storage.list(this.query).then((function(t){e.rows=t.data.list,e.total=t.data.total}))},onCreate:function(){var e=this;Object(o["a"])(Si)({}).then((function(){e.listRefresh()}))},onEdit:function(e,t){var n=this;t.region||(t.region="auto");var i={form:Object.assign({},t)};Object(o["a"])(Si)(i).then((function(){n.listRefresh()}))},onStatusSwitch:function(e,t){var n=this,i=1,r=2,o=Object.assign({},t),a=this.$t("op.enable"),l=a+this.$t("msg.success"),s=this.$t("tips.enable");t.status==r?o.status=i:(o.status=r,a=this.$t("op.disable"),l=a+this.$t("msg.success"),s=this.$t("tips.disable")),this.$confirm(s,"".concat(a," ").concat(t.name),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){n.$zpan.Storage.update(o).then((function(e){n.$message({type:"success",message:l}),n.listRefresh()}))}))},onDelete:function(e,t){var n=this;this.$confirm(this.$t("tips.remove"),this.$t("op.delete")+" ".concat(t.name),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){n.$zpan.Storage.delete(t.id).then((function(e){n.$message({type:"success",message:n.$t("msg.delete-success")}),n.listRefresh()}))}))}},mounted:function(){this.listRefresh()}},_i=Ii,$i=Object(xi["a"])(_i,i,r,!1,null,null,null);t["default"]=$i.exports},"99bc":function(e,t,n){"use strict";n("ca4c")},ca4c:function(e,t,n){},ebbf:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));n("7f7f"),n("ac6a");var i={data:function(){return{cs:{}}},watch:{$route:function(e,t){this.setCs()}},computed:{},methods:{setCs:function(){var e=this;this.$store.state.storages.forEach((function(t){t.name==e.$route.params.sname&&(e.cs=t)}))},getSid:function(){return this.cs.id}},mounted:function(){this.setCs()}},r=i,o={data:function(){return{visible:!1}},watch:{visible:function(e){!e&&this.$destroy()}},mounted:function(){document.body.appendChild(this.$el),this.visible=!0},destroyed:function(){this.$el.parentNode.removeChild(this.$el)},methods:{open:function(){this.visible=!0},close:function(){this.visible=!1},completed:function(){this.$emit("completed")},finish:function(){this.close(),this.completed()}}},a=o}}]); +//# sourceMappingURL=chunk-1029f285.3f3fb7ed.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-1029f285.3f3fb7ed.js.map b/web/dist/js/chunk-1029f285.3f3fb7ed.js.map new file mode 100644 index 0000000..9885736 --- /dev/null +++ b/web/dist/js/chunk-1029f285.3f3fb7ed.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_strict-method.js","webpack:///./node_modules/core-js/modules/es6.array.sort.js","webpack:///./src/helper.js","webpack:///./src/views/admin/storages/index.vue?1b56","webpack:///./src/views/admin/storages/dialog-edit.vue?615c","webpack:///./node_modules/js-yaml/dist/js-yaml.mjs","webpack:///src/views/admin/storages/dialog-edit.vue","webpack:///./src/views/admin/storages/dialog-edit.vue?f9fe","webpack:///./src/views/admin/storages/dialog-edit.vue","webpack:///src/views/admin/storages/index.vue","webpack:///./src/views/admin/storages/index.vue?a50e","webpack:///./src/views/admin/storages/index.vue","webpack:///./src/views/admin/storages/dialog-edit.vue?a25b","webpack:///./src/libs/mixin/cs.js","webpack:///./src/libs/mixin/dialog.js"],"names":["fails","module","exports","method","arg","call","$export","aFunction","toObject","$sort","sort","test","P","F","undefined","comparefn","this","transfer","component","_constructor","Vue","extend","propsData","console","log","instance","i18n","store","router","$mount","document","createElement","Promise","resolve","reject","$once","data","render","_vm","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","$t","on","listRefresh","model","value","query","callback","$$v","$set","expression","onCreate","_v","_s","rows","scopedSlots","_u","key","fn","scope","row","status","$event","onEdit","$index","onStatusSwitch","onDelete","pageNo","limit","total","staticRenderFns","visible","ref","form","rules","editMode","refreshEplist","_l","item","name","platform","endpointSearch","endpointSelect","directives","rawName","provider","openEnvs","onSubmit","envDrawerVisible","support_envs","isNothing","subject","isObject","toArray","sequence","Array","isArray","target","source","index","length","sourceKeys","Object","keys","repeat","string","count","cycle","result","isNegativeZero","number","Number","NEGATIVE_INFINITY","isNothing_1","isObject_1","toArray_1","repeat_1","isNegativeZero_1","extend_1","common","formatError","exception","compact","where","message","reason","mark","line","column","snippet","YAMLException$1","Error","captureStackTrace","constructor","stack","prototype","create","toString","getLine","buffer","lineStart","lineEnd","position","maxLineLength","head","tail","maxHalfLength","Math","floor","str","slice","replace","pos","padStart","max","makeSnippet","options","maxLength","indent","linesBefore","linesAfter","match","re","lineStarts","lineEnds","foundLineNo","exec","push","i","lineNoLength","min","TYPE_CONSTRUCTOR_OPTIONS","YAML_NODE_KINDS","compileStyleAliases","map","forEach","style","alias","String","Type$1","tag","indexOf","kind","construct","instanceOf","predicate","represent","representName","defaultStyle","multi","styleAliases","type","compileList","schema","currentType","newIndex","previousType","previousIndex","compileMap","scalar","mapping","fallback","collectType","arguments","Schema$1","definition","implicit","explicit","concat","type$1","loadKind","compiledImplicit","compiledExplicit","compiledTypeMap","seq","failsafe","resolveYamlNull","constructYamlNull","isNull","object","_null","canonical","lowercase","uppercase","camelcase","empty","resolveYamlBoolean","constructYamlBoolean","isBoolean","bool","isHexCode","c","isOctCode","isDecCode","resolveYamlInteger","ch","hasDigits","charCodeAt","constructYamlInteger","sign","parseInt","isInteger","binary","obj","octal","decimal","hexadecimal","toUpperCase","YAML_FLOAT_PATTERN","RegExp","resolveYamlFloat","constructYamlFloat","toLowerCase","POSITIVE_INFINITY","NaN","parseFloat","SCIENTIFIC_WITHOUT_DOT","representYamlFloat","res","isNaN","isFloat","json","core","YAML_DATE_REGEXP","YAML_TIMESTAMP_REGEXP","resolveYamlTimestamp","constructYamlTimestamp","year","month","day","hour","minute","second","tz_hour","tz_minute","date","fraction","delta","Date","UTC","setTime","getTime","representYamlTimestamp","toISOString","timestamp","resolveYamlMerge","merge","BASE64_MAP","resolveYamlBinary","code","idx","bitlen","charAt","constructYamlBinary","tailbits","input","bits","Uint8Array","representYamlBinary","isBinary","_hasOwnProperty$3","hasOwnProperty","_toString$2","resolveYamlOmap","pair","pairKey","pairHasKey","objectKeys","constructYamlOmap","omap","_toString$1","resolveYamlPairs","constructYamlPairs","pairs","_hasOwnProperty$2","resolveYamlSet","constructYamlSet","set","_default","_hasOwnProperty$1","CONTEXT_FLOW_IN","CONTEXT_FLOW_OUT","CONTEXT_BLOCK_IN","CONTEXT_BLOCK_OUT","CHOMPING_CLIP","CHOMPING_STRIP","CHOMPING_KEEP","PATTERN_NON_PRINTABLE","PATTERN_NON_ASCII_LINE_BREAKS","PATTERN_FLOW_INDICATORS","PATTERN_TAG_HANDLE","PATTERN_TAG_URI","_class","is_EOL","is_WHITE_SPACE","is_WS_OR_EOL","is_FLOW_INDICATOR","fromHexCode","lc","escapedHexLen","fromDecimalCode","simpleEscapeSequence","charFromCodepoint","fromCharCode","simpleEscapeCheck","simpleEscapeMap","State$1","filename","onWarning","legacy","listener","implicitTypes","typeMap","lineIndent","firstTabInLine","documents","generateError","state","throwError","throwWarning","directiveHandlers","YAML","args","major","minor","version","checkLineBreaks","TAG","handle","prefix","tagMap","decodeURIComponent","err","captureSegment","start","end","checkJson","_position","_length","_character","_result","mergeMappings","destination","overridableKeys","quantity","storeMappingPair","keyTag","keyNode","valueNode","startLine","startLineStart","startPos","defineProperty","configurable","enumerable","writable","readLineBreak","skipSeparationSpace","allowComments","checkIndent","lineBreaks","testDocumentSeparator","writeFoldedLines","readPlainScalar","nodeIndent","withinFlowCollection","preceding","following","captureStart","captureEnd","hasPendingContent","_line","_lineStart","_lineIndent","_kind","readSingleQuotedScalar","readDoubleQuotedScalar","hexLength","hexResult","tmp","readFlowCollection","_pos","terminator","isPair","isExplicitPair","isMapping","readNext","_tag","_anchor","anchor","anchorMap","composeNode","readBlockScalar","folding","chomping","didReadContent","detectedIndent","textIndent","emptyLines","atMoreIndented","readBlockSequence","detected","readBlockMapping","flowIndent","allowCompact","_keyLine","_keyLineStart","_keyPos","atExplicitKey","readTagProperty","tagHandle","tagName","isVerbatim","isNamed","readAnchorProperty","readAlias","parentIndent","nodeContext","allowToSeek","allowBlockStyles","allowBlockScalars","allowBlockCollections","typeIndex","typeQuantity","typeList","blockIndent","indentStatus","atNewLine","hasContent","readDocument","directiveName","directiveArgs","documentStart","hasDirectives","loadDocuments","nullpos","loadAll$1","iterator","load$1","loadAll_1","load_1","loader","loadAll","load","_toString","_hasOwnProperty","CHAR_BOM","CHAR_TAB","CHAR_LINE_FEED","CHAR_CARRIAGE_RETURN","CHAR_SPACE","CHAR_EXCLAMATION","CHAR_DOUBLE_QUOTE","CHAR_SHARP","CHAR_PERCENT","CHAR_AMPERSAND","CHAR_SINGLE_QUOTE","CHAR_ASTERISK","CHAR_COMMA","CHAR_MINUS","CHAR_COLON","CHAR_EQUALS","CHAR_GREATER_THAN","CHAR_QUESTION","CHAR_COMMERCIAL_AT","CHAR_LEFT_SQUARE_BRACKET","CHAR_RIGHT_SQUARE_BRACKET","CHAR_GRAVE_ACCENT","CHAR_LEFT_CURLY_BRACKET","CHAR_VERTICAL_LINE","CHAR_RIGHT_CURLY_BRACKET","ESCAPE_SEQUENCES","DEPRECATED_BOOLEANS_SYNTAX","DEPRECATED_BASE60_SYNTAX","compileStyleMap","encodeHex","character","QUOTING_TYPE_SINGLE","QUOTING_TYPE_DOUBLE","State","noArrayIndent","skipInvalid","flowLevel","styleMap","sortKeys","lineWidth","noRefs","noCompatMode","condenseFlow","quotingType","forceQuotes","replacer","explicitTypes","duplicates","usedDuplicates","indentString","spaces","ind","next","generateNextLine","level","testImplicitResolving","isWhitespace","isPrintable","isNsCharOrWhitespace","isPlainSafe","prev","inblock","cIsNsCharOrWhitespace","cIsNsChar","isPlainSafeFirst","isPlainSafeLast","codePointAt","first","needIndentIndicator","leadingSpaceRe","STYLE_PLAIN","STYLE_SINGLE","STYLE_LITERAL","STYLE_FOLDED","STYLE_DOUBLE","chooseScalarStyle","singleLineOnly","indentPerLevel","testAmbiguousType","char","prevChar","hasLineBreak","hasFoldableLine","shouldTrackWidth","previousLineBreak","plain","writeScalar","iskey","dump","testAmbiguity","blockHeader","dropEndingNewline","foldString","escapeString","indentIndicator","clip","keep","chomp","width","moreIndented","lineRe","nextLF","lastIndex","foldLine","prevMoreIndented","breakRe","curr","escapeSeq","writeFlowSequence","writeNode","writeBlockSequence","writeFlowMapping","objectKey","objectValue","pairBuffer","objectKeyList","writeBlockMapping","explicitPair","detectType","block","isblockseq","tagStr","duplicateIndex","duplicate","objectOrArray","encodeURI","getDuplicateReferences","objects","duplicatesIndexes","inspectNode","dump$1","dump_1","dumper","renamed","from","to","Type","Schema","FAILSAFE_SCHEMA","JSON_SCHEMA","CORE_SCHEMA","DEFAULT_SCHEMA","YAMLException","types","float","null","int","safeLoad","safeLoadAll","safeDump","jsYaml","mixins","props","default","mode","endpoint","region","providers","endpoints","bucket","access_key","secret_key","computed","id","methods","$zpan","System","matterPathEnvs","then","$axios","queryString","results","filter","createEndpointFilter","cb","ep","$refs","validate","valid","submit","mounted","offset","Storage","list","DISABLE","ENABLE","op","msg","tips","$confirm","confirmButtonText","cancelButtonText","Mixin","cs","watch","$route","newVal","oldVal","setCs","$store","storages","ele","params","sname","getSid","DialogMixin","val","$destroy","body","appendChild","$el","destroyed","parentNode","removeChild","open","close","completed","$emit","finish"],"mappings":"kHACA,IAAIA,EAAQ,EAAQ,QAEpBC,EAAOC,QAAU,SAAUC,EAAQC,GACjC,QAASD,GAAUH,GAAM,WAEvBI,EAAMD,EAAOE,KAAK,MAAM,cAA6B,GAAKF,EAAOE,KAAK,W,oCCL1E,IAAIC,EAAU,EAAQ,QAClBC,EAAY,EAAQ,QACpBC,EAAW,EAAQ,QACnBR,EAAQ,EAAQ,QAChBS,EAAQ,GAAGC,KACXC,EAAO,CAAC,EAAG,EAAG,GAElBL,EAAQA,EAAQM,EAAIN,EAAQO,GAAKb,GAAM,WAErCW,EAAKD,UAAKI,QACLd,GAAM,WAEXW,EAAKD,KAAK,WAEL,EAAQ,OAAR,CAA4BD,IAAS,QAAS,CAEnDC,KAAM,SAAcK,GAClB,YAAqBD,IAAdC,EACHN,EAAMJ,KAAKG,EAASQ,OACpBP,EAAMJ,KAAKG,EAASQ,MAAOT,EAAUQ,Q,kCCpB7C,sFAKaE,EAAW,SAAAC,GACpB,IAAMC,EAAeC,aAAIC,OAAOH,GAChC,OAAO,WAA0B,IAAhBI,EAAgB,uDAAJ,GACzBC,QAAQC,IAAIF,GACZ,IAAIG,EAAW,IAAIN,EAAa,CAAEO,YAAMC,aAAOC,cAAQN,cAAaO,OAAOC,SAASC,cAAc,QAElG,OAAO,IAAIC,SAAQ,SAACC,EAASC,GACzBT,EAASU,MAAM,aAAa,SAAAC,GAAI,OAAIH,EAAQG,MAC5CX,EAASU,MAAM,UAAU,SAAAC,GAAI,OAAIF,EAAOE,Y,2CCbpD,IAAIC,EAAS,WAAa,IAAIC,EAAItB,KAASuB,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,WAAW,CAACG,YAAY,CAAC,MAAQ,SAASC,MAAM,CAAC,KAAO,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,KAGZC,MAAO,CACHC,OADG,SACIC,EAAQC,GACXhqB,KAAKiqB,UAGbpC,SAAU,GACVE,QAAS,CACLkC,MADK,WACG,WACJjqB,KAAKkqB,OAAOxU,MAAMyU,SAAS/f,SAAQ,SAACggB,GAC5BA,EAAIhmB,MAAQ,EAAK0lB,OAAOO,OAAOC,QAC/B,EAAKV,GAAKQ,OAItBG,OARK,WASD,OAAOvqB,KAAK4pB,GAAG9B,KAGvBiB,QAxBU,WAyBN/oB,KAAKiqB,UAIEN,IC9BTa,EAAc,CAChBppB,KADgB,WAEZ,MAAO,CACHwC,SAAS,IAGjBimB,MAAO,CACHjmB,QADG,SACK6mB,IACHA,GAAOzqB,KAAK0qB,aAGrB3B,QAXgB,WAYZjoB,SAAS6pB,KAAKC,YAAY5qB,KAAK6qB,KAC/B7qB,KAAK4D,SAAU,GAEnBknB,UAfgB,WAgBZ9qB,KAAK6qB,IAAIE,WAAWC,YAAYhrB,KAAK6qB,MAEzC9C,QAAS,CACLkD,KADK,WAEDjrB,KAAK4D,SAAU,GAEnBsnB,MAJK,WAKDlrB,KAAK4D,SAAU,GAEnBunB,UAPK,WAQDnrB,KAAKorB,MAAM,cAEfC,OAVK,WAWDrrB,KAAKkrB,QACLlrB,KAAKmrB,eAKFX","file":"js/chunk-1029f285.3f3fb7ed.js","sourcesContent":["'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","'use strict';\nvar $export = require('./_export');\nvar aFunction = require('./_a-function');\nvar toObject = require('./_to-object');\nvar fails = require('./_fails');\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n // IE8-\n test.sort(undefined);\n}) || !fails(function () {\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn) {\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n","import Vue from 'vue'\nimport i18n from './i18n'\nimport store from './store'\nimport router from './router'\n\nexport const transfer = component => {\n const _constructor = Vue.extend(component)\n return function (propsData = {}) {\n console.log(propsData)\n let instance = new _constructor({ i18n, store, router, propsData }).$mount(document.createElement('div'))\n\n return new Promise((resolve, reject) => {\n instance.$once('completed', data => resolve(data))\n instance.$once('cancel', data => reject(data))\n })\n }\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"topbar\"},[_c('el-input',{staticStyle:{\"width\":\"300px\"},attrs:{\"size\":\"medium\",\"placeholder\":_vm.$t('admin.storage-search-placeholder'),\"prefix-icon\":\"el-icon-search\"},on:{\"change\":_vm.listRefresh},model:{value:(_vm.query.email),callback:function ($$v) {_vm.$set(_vm.query, \"email\", $$v)},expression:\"query.email\"}}),_c('el-button',{staticStyle:{\"float\":\"right\"},attrs:{\"type\":\"primary\",\"size\":\"medium\"},on:{\"click\":_vm.onCreate}},[_vm._v(_vm._s(_vm.$t(\"admin.btn-storage-add\")))])],1),_c('el-card',{staticStyle:{\"margin-top\":\"10px\",\"padding-bottom\":\"20px\"},attrs:{\"shadow\":\"never\"}},[_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.rows,\"size\":\"medium\"}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"ID\",\"width\":\"60\"}}),_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":_vm.$t('admin.label-name'),\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"title\",\"label\":_vm.$t('admin.label-title'),\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"bucket\",\"label\":_vm.$t('admin.label-bucket'),\"width\":\"150\"}}),_c('el-table-column',{attrs:{\"prop\":\"endpoint\",\"label\":_vm.$t('admin.label-endpoint')}}),_c('el-table-column',{attrs:{\"prop\":\"status\",\"label\":_vm.$t('admin.label-status'),\"width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.status == 1)?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(\"正常\")]):_c('el-tag',{attrs:{\"type\":\"warning\"}},[_vm._v(\"已禁用\")])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"operation\",\"label\":_vm.$t('admin.label-operation'),\"width\":\"280\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.onEdit(scope.$index, scope.row)}}},[_vm._v(_vm._s(_vm.$t(\"admin.btn-edit\")))]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.onStatusSwitch(scope.$index, scope.row)}}},[_vm._v(_vm._s(_vm.$t((\"op.\" + (scope.row.status == 1 ? \"disable\" : \"enable\")))))]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.onDelete(scope.$index, scope.row)}}},[_vm._v(_vm._s(_vm.$t(\"op.delete\")))])]}}])})],1),_c('div',{staticStyle:{\"margin-top\":\"20px\"}},[_c('el-pagination',{staticStyle:{\"float\":\"right\"},attrs:{\"layout\":\"prev, pager, next\",\"current-page\":_vm.pageNo,\"page-size\":_vm.query.limit,\"total\":_vm.total},on:{\"update:currentPage\":function($event){_vm.pageNo=$event},\"update:current-page\":function($event){_vm.pageNo=$event},\"current-change\":_vm.listRefresh}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-drawer',{attrs:{\"title\":_vm.$t('admin.label-storage-manager'),\"visible\":_vm.visible,\"wrapperClosable\":false,\"size\":\"50%\"},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('el-form',{ref:\"form\",staticStyle:{\"padding-right\":\"50px\"},attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"size\":\"small\"}},[_c('el-tabs',{staticStyle:{\"margin-left\":\"20px\"},attrs:{\"value\":\"basic\",\"type\":\"card\"}},[_c('el-tab-pane',{attrs:{\"label\":\"基础配置\",\"name\":\"basic\"}},[_c('el-form-item',{attrs:{\"label\":\"类型\",\"label-width\":\"120px\"}},[_c('el-radio-group',{attrs:{\"disabled\":_vm.editMode},model:{value:(_vm.form.mode),callback:function ($$v) {_vm.$set(_vm.form, \"mode\", $$v)},expression:\"form.mode\"}},[_c('el-radio',{attrs:{\"label\":1}},[_vm._v(\"网盘\")]),_c('el-radio',{attrs:{\"label\":2}},[_vm._v(\"外链盘\")])],1)],1),_c('el-form-item',{attrs:{\"prop\":\"name\",\"label\":_vm.$t('admin.label-name'),\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入一个名字\",\"autofocus\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"provider\",\"label\":\"云平台\",\"label-width\":\"120px\"}},[_c('el-select',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":\"请选择您的云平台\",\"disabled\":_vm.editMode},on:{\"change\":_vm.refreshEplist},model:{value:(_vm.form.provider),callback:function ($$v) {_vm.$set(_vm.form, \"provider\", $$v)},expression:\"form.provider\"}},_vm._l((_vm.providers),function(item){return _c('el-option',{key:item.name,attrs:{\"label\":item.name,\"value\":item.name}},[_c('span',{staticStyle:{\"float\":\"left\"}},[_vm._v(_vm._s(item.name))]),_c('span',{staticStyle:{\"float\":\"right\",\"color\":\"#8492a6\",\"font-size\":\"13px\"}},[_vm._v(_vm._s(item.platform))])])}),1)],1),_c('el-form-item',{attrs:{\"prop\":\"bucket\",\"label\":_vm.$t('admin.label-bucket'),\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入存储桶名称\",\"disabled\":_vm.editMode},model:{value:(_vm.form.bucket),callback:function ($$v) {_vm.$set(_vm.form, \"bucket\", $$v)},expression:\"form.bucket\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"endpoint\",\"label\":_vm.$t('admin.label-endpoint'),\"label-width\":\"120px\"}},[_c('el-autocomplete',{staticStyle:{\"width\":\"100%\"},attrs:{\"fetch-suggestions\":_vm.endpointSearch,\"placeholder\":\"请输入接入点\"},on:{\"select\":_vm.endpointSelect},model:{value:(_vm.form.endpoint),callback:function ($$v) {_vm.$set(_vm.form, \"endpoint\", $$v)},expression:\"form.endpoint\"}})],1),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.form.provider == 'MINIO'),expression:\"form.provider == 'MINIO'\"}],attrs:{\"prop\":\"region\",\"label\":_vm.$t('admin.label-region'),\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入接入点对应的区域名称\"},model:{value:(_vm.form.region),callback:function ($$v) {_vm.$set(_vm.form, \"region\", $$v)},expression:\"form.region\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"access_key\",\"label\":_vm.$t('admin.label-access_key'),\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入用来操作存储桶的AK\"},model:{value:(_vm.form.access_key),callback:function ($$v) {_vm.$set(_vm.form, \"access_key\", $$v)},expression:\"form.access_key\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"secret_key\",\"label\":_vm.$t('admin.label-secret_key'),\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入用来操作存储桶的SK\",\"type\":\"password\"},model:{value:(_vm.form.secret_key),callback:function ($$v) {_vm.$set(_vm.form, \"secret_key\", $$v)},expression:\"form.secret_key\"}})],1)],1),_c('el-tab-pane',{attrs:{\"label\":\"高级配置\",\"name\":\"storage\"}},[_c('el-form-item',{attrs:{\"prop\":\"title\",\"label\":_vm.$t('admin.label-title'),\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"设置导航栏标题,默认使用存储名称\"},model:{value:(_vm.form.title),callback:function ($$v) {_vm.$set(_vm.form, \"title\", $$v)},expression:\"form.title\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"custom_host\",\"label\":_vm.$t('admin.label-custom_host'),\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"设置存储桶绑定的自定义域名,默认使用Endpoint\"},model:{value:(_vm.form.custom_host),callback:function ($$v) {_vm.$set(_vm.form, \"custom_host\", $$v)},expression:\"form.custom_host\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"root_path\",\"label\":\"存储根路径\",\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"设置文件存储规则,不填则默认为Bucket根路径\"},model:{value:(_vm.form.root_path),callback:function ($$v) {_vm.$set(_vm.form, \"root_path\", $$v)},expression:\"form.root_path\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"file_path\",\"label\":\"文件存储路径\",\"label-width\":\"120px\"}},[_c('el-input',{attrs:{\"placeholder\":\"设置文件存储规则,不填则使用系统默认规则\"},model:{value:(_vm.form.file_path),callback:function ($$v) {_vm.$set(_vm.form, \"file_path\", $$v)},expression:\"form.file_path\"}}),_c('span',{staticClass:\"tips\",on:{\"click\":_vm.openEnvs}},[_c('i',{staticClass:\"el-icon-warning\"}),_vm._v(\"支持的系统变量\")])],1)],1)],1)],1),_c('div',{staticClass:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.onSubmit}},[_vm._v(_vm._s(_vm.$t(\"op.confirm\")))]),_c('el-button',{on:{\"click\":function($event){_vm.visible = false}}},[_vm._v(_vm._s(_vm.$t(\"op.cancel\")))])],1),_c('el-drawer',{attrs:{\"title\":\"支持的系统变量\",\"append-to-body\":true,\"visible\":_vm.envDrawerVisible,\"size\":\"35%\"},on:{\"update:visible\":function($event){_vm.envDrawerVisible=$event}}},[_c('el-table',{staticStyle:{\"padding\":\"10px 20px\"},attrs:{\"data\":_vm.support_envs,\"size\":\"small\"}},[_c('el-table-column',{attrs:{\"property\":\"name\",\"label\":\"变量\",\"width\":\"150\"}}),_c('el-table-column',{attrs:{\"property\":\"intro\",\"label\":\"介绍\",\"width\":\"150\"}}),_c('el-table-column',{attrs:{\"property\":\"example\",\"label\":\"例子\"}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */\nfunction isNothing(subject) {\n return (typeof subject === 'undefined') || (subject === null);\n}\n\n\nfunction isObject(subject) {\n return (typeof subject === 'object') && (subject !== null);\n}\n\n\nfunction toArray(sequence) {\n if (Array.isArray(sequence)) return sequence;\n else if (isNothing(sequence)) return [];\n\n return [ sequence ];\n}\n\n\nfunction extend(target, source) {\n var index, length, key, sourceKeys;\n\n if (source) {\n sourceKeys = Object.keys(source);\n\n for (index = 0, length = sourceKeys.length; index < length; index += 1) {\n key = sourceKeys[index];\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\n\nfunction repeat(string, count) {\n var result = '', cycle;\n\n for (cycle = 0; cycle < count; cycle += 1) {\n result += string;\n }\n\n return result;\n}\n\n\nfunction isNegativeZero(number) {\n return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number);\n}\n\n\nvar isNothing_1 = isNothing;\nvar isObject_1 = isObject;\nvar toArray_1 = toArray;\nvar repeat_1 = repeat;\nvar isNegativeZero_1 = isNegativeZero;\nvar extend_1 = extend;\n\nvar common = {\n\tisNothing: isNothing_1,\n\tisObject: isObject_1,\n\ttoArray: toArray_1,\n\trepeat: repeat_1,\n\tisNegativeZero: isNegativeZero_1,\n\textend: extend_1\n};\n\n// YAML error class. http://stackoverflow.com/questions/8458984\n\n\nfunction formatError(exception, compact) {\n var where = '', message = exception.reason || '(unknown reason)';\n\n if (!exception.mark) return message;\n\n if (exception.mark.name) {\n where += 'in \"' + exception.mark.name + '\" ';\n }\n\n where += '(' + (exception.mark.line + 1) + ':' + (exception.mark.column + 1) + ')';\n\n if (!compact && exception.mark.snippet) {\n where += '\\n\\n' + exception.mark.snippet;\n }\n\n return message + ' ' + where;\n}\n\n\nfunction YAMLException$1(reason, mark) {\n // Super constructor\n Error.call(this);\n\n this.name = 'YAMLException';\n this.reason = reason;\n this.mark = mark;\n this.message = formatError(this, false);\n\n // Include stack trace in error object\n if (Error.captureStackTrace) {\n // Chrome and NodeJS\n Error.captureStackTrace(this, this.constructor);\n } else {\n // FF, IE 10+ and Safari 6+. Fallback for others\n this.stack = (new Error()).stack || '';\n }\n}\n\n\n// Inherit from Error\nYAMLException$1.prototype = Object.create(Error.prototype);\nYAMLException$1.prototype.constructor = YAMLException$1;\n\n\nYAMLException$1.prototype.toString = function toString(compact) {\n return this.name + ': ' + formatError(this, compact);\n};\n\n\nvar exception = YAMLException$1;\n\n// get snippet for a single line, respecting maxLength\nfunction getLine(buffer, lineStart, lineEnd, position, maxLineLength) {\n var head = '';\n var tail = '';\n var maxHalfLength = Math.floor(maxLineLength / 2) - 1;\n\n if (position - lineStart > maxHalfLength) {\n head = ' ... ';\n lineStart = position - maxHalfLength + head.length;\n }\n\n if (lineEnd - position > maxHalfLength) {\n tail = ' ...';\n lineEnd = position + maxHalfLength - tail.length;\n }\n\n return {\n str: head + buffer.slice(lineStart, lineEnd).replace(/\\t/g, '→') + tail,\n pos: position - lineStart + head.length // relative position\n };\n}\n\n\nfunction padStart(string, max) {\n return common.repeat(' ', max - string.length) + string;\n}\n\n\nfunction makeSnippet(mark, options) {\n options = Object.create(options || null);\n\n if (!mark.buffer) return null;\n\n if (!options.maxLength) options.maxLength = 79;\n if (typeof options.indent !== 'number') options.indent = 1;\n if (typeof options.linesBefore !== 'number') options.linesBefore = 3;\n if (typeof options.linesAfter !== 'number') options.linesAfter = 2;\n\n var re = /\\r?\\n|\\r|\\0/g;\n var lineStarts = [ 0 ];\n var lineEnds = [];\n var match;\n var foundLineNo = -1;\n\n while ((match = re.exec(mark.buffer))) {\n lineEnds.push(match.index);\n lineStarts.push(match.index + match[0].length);\n\n if (mark.position <= match.index && foundLineNo < 0) {\n foundLineNo = lineStarts.length - 2;\n }\n }\n\n if (foundLineNo < 0) foundLineNo = lineStarts.length - 1;\n\n var result = '', i, line;\n var lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length;\n var maxLineLength = options.maxLength - (options.indent + lineNoLength + 3);\n\n for (i = 1; i <= options.linesBefore; i++) {\n if (foundLineNo - i < 0) break;\n line = getLine(\n mark.buffer,\n lineStarts[foundLineNo - i],\n lineEnds[foundLineNo - i],\n mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]),\n maxLineLength\n );\n result = common.repeat(' ', options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) +\n ' | ' + line.str + '\\n' + result;\n }\n\n line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);\n result += common.repeat(' ', options.indent) + padStart((mark.line + 1).toString(), lineNoLength) +\n ' | ' + line.str + '\\n';\n result += common.repeat('-', options.indent + lineNoLength + 3 + line.pos) + '^' + '\\n';\n\n for (i = 1; i <= options.linesAfter; i++) {\n if (foundLineNo + i >= lineEnds.length) break;\n line = getLine(\n mark.buffer,\n lineStarts[foundLineNo + i],\n lineEnds[foundLineNo + i],\n mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]),\n maxLineLength\n );\n result += common.repeat(' ', options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) +\n ' | ' + line.str + '\\n';\n }\n\n return result.replace(/\\n$/, '');\n}\n\n\nvar snippet = makeSnippet;\n\nvar TYPE_CONSTRUCTOR_OPTIONS = [\n 'kind',\n 'multi',\n 'resolve',\n 'construct',\n 'instanceOf',\n 'predicate',\n 'represent',\n 'representName',\n 'defaultStyle',\n 'styleAliases'\n];\n\nvar YAML_NODE_KINDS = [\n 'scalar',\n 'sequence',\n 'mapping'\n];\n\nfunction compileStyleAliases(map) {\n var result = {};\n\n if (map !== null) {\n Object.keys(map).forEach(function (style) {\n map[style].forEach(function (alias) {\n result[String(alias)] = style;\n });\n });\n }\n\n return result;\n}\n\nfunction Type$1(tag, options) {\n options = options || {};\n\n Object.keys(options).forEach(function (name) {\n if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {\n throw new exception('Unknown option \"' + name + '\" is met in definition of \"' + tag + '\" YAML type.');\n }\n });\n\n // TODO: Add tag format check.\n this.options = options; // keep original options in case user wants to extend this type later\n this.tag = tag;\n this.kind = options['kind'] || null;\n this.resolve = options['resolve'] || function () { return true; };\n this.construct = options['construct'] || function (data) { return data; };\n this.instanceOf = options['instanceOf'] || null;\n this.predicate = options['predicate'] || null;\n this.represent = options['represent'] || null;\n this.representName = options['representName'] || null;\n this.defaultStyle = options['defaultStyle'] || null;\n this.multi = options['multi'] || false;\n this.styleAliases = compileStyleAliases(options['styleAliases'] || null);\n\n if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {\n throw new exception('Unknown kind \"' + this.kind + '\" is specified for \"' + tag + '\" YAML type.');\n }\n}\n\nvar type = Type$1;\n\n/*eslint-disable max-len*/\n\n\n\n\n\nfunction compileList(schema, name) {\n var result = [];\n\n schema[name].forEach(function (currentType) {\n var newIndex = result.length;\n\n result.forEach(function (previousType, previousIndex) {\n if (previousType.tag === currentType.tag &&\n previousType.kind === currentType.kind &&\n previousType.multi === currentType.multi) {\n\n newIndex = previousIndex;\n }\n });\n\n result[newIndex] = currentType;\n });\n\n return result;\n}\n\n\nfunction compileMap(/* lists... */) {\n var result = {\n scalar: {},\n sequence: {},\n mapping: {},\n fallback: {},\n multi: {\n scalar: [],\n sequence: [],\n mapping: [],\n fallback: []\n }\n }, index, length;\n\n function collectType(type) {\n if (type.multi) {\n result.multi[type.kind].push(type);\n result.multi['fallback'].push(type);\n } else {\n result[type.kind][type.tag] = result['fallback'][type.tag] = type;\n }\n }\n\n for (index = 0, length = arguments.length; index < length; index += 1) {\n arguments[index].forEach(collectType);\n }\n return result;\n}\n\n\nfunction Schema$1(definition) {\n return this.extend(definition);\n}\n\n\nSchema$1.prototype.extend = function extend(definition) {\n var implicit = [];\n var explicit = [];\n\n if (definition instanceof type) {\n // Schema.extend(type)\n explicit.push(definition);\n\n } else if (Array.isArray(definition)) {\n // Schema.extend([ type1, type2, ... ])\n explicit = explicit.concat(definition);\n\n } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {\n // Schema.extend({ explicit: [ type1, type2, ... ], implicit: [ type1, type2, ... ] })\n if (definition.implicit) implicit = implicit.concat(definition.implicit);\n if (definition.explicit) explicit = explicit.concat(definition.explicit);\n\n } else {\n throw new exception('Schema.extend argument should be a Type, [ Type ], ' +\n 'or a schema definition ({ implicit: [...], explicit: [...] })');\n }\n\n implicit.forEach(function (type$1) {\n if (!(type$1 instanceof type)) {\n throw new exception('Specified list of YAML types (or a single Type object) contains a non-Type object.');\n }\n\n if (type$1.loadKind && type$1.loadKind !== 'scalar') {\n throw new exception('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.');\n }\n\n if (type$1.multi) {\n throw new exception('There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.');\n }\n });\n\n explicit.forEach(function (type$1) {\n if (!(type$1 instanceof type)) {\n throw new exception('Specified list of YAML types (or a single Type object) contains a non-Type object.');\n }\n });\n\n var result = Object.create(Schema$1.prototype);\n\n result.implicit = (this.implicit || []).concat(implicit);\n result.explicit = (this.explicit || []).concat(explicit);\n\n result.compiledImplicit = compileList(result, 'implicit');\n result.compiledExplicit = compileList(result, 'explicit');\n result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);\n\n return result;\n};\n\n\nvar schema = Schema$1;\n\nvar str = new type('tag:yaml.org,2002:str', {\n kind: 'scalar',\n construct: function (data) { return data !== null ? data : ''; }\n});\n\nvar seq = new type('tag:yaml.org,2002:seq', {\n kind: 'sequence',\n construct: function (data) { return data !== null ? data : []; }\n});\n\nvar map = new type('tag:yaml.org,2002:map', {\n kind: 'mapping',\n construct: function (data) { return data !== null ? data : {}; }\n});\n\nvar failsafe = new schema({\n explicit: [\n str,\n seq,\n map\n ]\n});\n\nfunction resolveYamlNull(data) {\n if (data === null) return true;\n\n var max = data.length;\n\n return (max === 1 && data === '~') ||\n (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL'));\n}\n\nfunction constructYamlNull() {\n return null;\n}\n\nfunction isNull(object) {\n return object === null;\n}\n\nvar _null = new type('tag:yaml.org,2002:null', {\n kind: 'scalar',\n resolve: resolveYamlNull,\n construct: constructYamlNull,\n predicate: isNull,\n represent: {\n canonical: function () { return '~'; },\n lowercase: function () { return 'null'; },\n uppercase: function () { return 'NULL'; },\n camelcase: function () { return 'Null'; },\n empty: function () { return ''; }\n },\n defaultStyle: 'lowercase'\n});\n\nfunction resolveYamlBoolean(data) {\n if (data === null) return false;\n\n var max = data.length;\n\n return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) ||\n (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'));\n}\n\nfunction constructYamlBoolean(data) {\n return data === 'true' ||\n data === 'True' ||\n data === 'TRUE';\n}\n\nfunction isBoolean(object) {\n return Object.prototype.toString.call(object) === '[object Boolean]';\n}\n\nvar bool = new type('tag:yaml.org,2002:bool', {\n kind: 'scalar',\n resolve: resolveYamlBoolean,\n construct: constructYamlBoolean,\n predicate: isBoolean,\n represent: {\n lowercase: function (object) { return object ? 'true' : 'false'; },\n uppercase: function (object) { return object ? 'TRUE' : 'FALSE'; },\n camelcase: function (object) { return object ? 'True' : 'False'; }\n },\n defaultStyle: 'lowercase'\n});\n\nfunction isHexCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||\n ((0x41/* A */ <= c) && (c <= 0x46/* F */)) ||\n ((0x61/* a */ <= c) && (c <= 0x66/* f */));\n}\n\nfunction isOctCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */));\n}\n\nfunction isDecCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */));\n}\n\nfunction resolveYamlInteger(data) {\n if (data === null) return false;\n\n var max = data.length,\n index = 0,\n hasDigits = false,\n ch;\n\n if (!max) return false;\n\n ch = data[index];\n\n // sign\n if (ch === '-' || ch === '+') {\n ch = data[++index];\n }\n\n if (ch === '0') {\n // 0\n if (index + 1 === max) return true;\n ch = data[++index];\n\n // base 2, base 8, base 16\n\n if (ch === 'b') {\n // base 2\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (ch !== '0' && ch !== '1') return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n\n if (ch === 'x') {\n // base 16\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isHexCode(data.charCodeAt(index))) return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n\n if (ch === 'o') {\n // base 8\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isOctCode(data.charCodeAt(index))) return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n }\n\n // base 10 (except 0)\n\n // value should not start with `_`;\n if (ch === '_') return false;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isDecCode(data.charCodeAt(index))) {\n return false;\n }\n hasDigits = true;\n }\n\n // Should have digits and should not end with `_`\n if (!hasDigits || ch === '_') return false;\n\n return true;\n}\n\nfunction constructYamlInteger(data) {\n var value = data, sign = 1, ch;\n\n if (value.indexOf('_') !== -1) {\n value = value.replace(/_/g, '');\n }\n\n ch = value[0];\n\n if (ch === '-' || ch === '+') {\n if (ch === '-') sign = -1;\n value = value.slice(1);\n ch = value[0];\n }\n\n if (value === '0') return 0;\n\n if (ch === '0') {\n if (value[1] === 'b') return sign * parseInt(value.slice(2), 2);\n if (value[1] === 'x') return sign * parseInt(value.slice(2), 16);\n if (value[1] === 'o') return sign * parseInt(value.slice(2), 8);\n }\n\n return sign * parseInt(value, 10);\n}\n\nfunction isInteger(object) {\n return (Object.prototype.toString.call(object)) === '[object Number]' &&\n (object % 1 === 0 && !common.isNegativeZero(object));\n}\n\nvar int = new type('tag:yaml.org,2002:int', {\n kind: 'scalar',\n resolve: resolveYamlInteger,\n construct: constructYamlInteger,\n predicate: isInteger,\n represent: {\n binary: function (obj) { return obj >= 0 ? '0b' + obj.toString(2) : '-0b' + obj.toString(2).slice(1); },\n octal: function (obj) { return obj >= 0 ? '0o' + obj.toString(8) : '-0o' + obj.toString(8).slice(1); },\n decimal: function (obj) { return obj.toString(10); },\n /* eslint-disable max-len */\n hexadecimal: function (obj) { return obj >= 0 ? '0x' + obj.toString(16).toUpperCase() : '-0x' + obj.toString(16).toUpperCase().slice(1); }\n },\n defaultStyle: 'decimal',\n styleAliases: {\n binary: [ 2, 'bin' ],\n octal: [ 8, 'oct' ],\n decimal: [ 10, 'dec' ],\n hexadecimal: [ 16, 'hex' ]\n }\n});\n\nvar YAML_FLOAT_PATTERN = new RegExp(\n // 2.5e4, 2.5 and integers\n '^(?:[-+]?(?:[0-9][0-9_]*)(?:\\\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' +\n // .2e4, .2\n // special case, seems not from spec\n '|\\\\.[0-9_]+(?:[eE][-+]?[0-9]+)?' +\n // .inf\n '|[-+]?\\\\.(?:inf|Inf|INF)' +\n // .nan\n '|\\\\.(?:nan|NaN|NAN))$');\n\nfunction resolveYamlFloat(data) {\n if (data === null) return false;\n\n if (!YAML_FLOAT_PATTERN.test(data) ||\n // Quick hack to not allow integers end with `_`\n // Probably should update regexp & check speed\n data[data.length - 1] === '_') {\n return false;\n }\n\n return true;\n}\n\nfunction constructYamlFloat(data) {\n var value, sign;\n\n value = data.replace(/_/g, '').toLowerCase();\n sign = value[0] === '-' ? -1 : 1;\n\n if ('+-'.indexOf(value[0]) >= 0) {\n value = value.slice(1);\n }\n\n if (value === '.inf') {\n return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;\n\n } else if (value === '.nan') {\n return NaN;\n }\n return sign * parseFloat(value, 10);\n}\n\n\nvar SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;\n\nfunction representYamlFloat(object, style) {\n var res;\n\n if (isNaN(object)) {\n switch (style) {\n case 'lowercase': return '.nan';\n case 'uppercase': return '.NAN';\n case 'camelcase': return '.NaN';\n }\n } else if (Number.POSITIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase': return '.inf';\n case 'uppercase': return '.INF';\n case 'camelcase': return '.Inf';\n }\n } else if (Number.NEGATIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase': return '-.inf';\n case 'uppercase': return '-.INF';\n case 'camelcase': return '-.Inf';\n }\n } else if (common.isNegativeZero(object)) {\n return '-0.0';\n }\n\n res = object.toString(10);\n\n // JS stringifier can build scientific format without dots: 5e-100,\n // while YAML requres dot: 5.e-100. Fix it with simple hack\n\n return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res;\n}\n\nfunction isFloat(object) {\n return (Object.prototype.toString.call(object) === '[object Number]') &&\n (object % 1 !== 0 || common.isNegativeZero(object));\n}\n\nvar float = new type('tag:yaml.org,2002:float', {\n kind: 'scalar',\n resolve: resolveYamlFloat,\n construct: constructYamlFloat,\n predicate: isFloat,\n represent: representYamlFloat,\n defaultStyle: 'lowercase'\n});\n\nvar json = failsafe.extend({\n implicit: [\n _null,\n bool,\n int,\n float\n ]\n});\n\nvar core = json;\n\nvar YAML_DATE_REGEXP = new RegExp(\n '^([0-9][0-9][0-9][0-9])' + // [1] year\n '-([0-9][0-9])' + // [2] month\n '-([0-9][0-9])$'); // [3] day\n\nvar YAML_TIMESTAMP_REGEXP = new RegExp(\n '^([0-9][0-9][0-9][0-9])' + // [1] year\n '-([0-9][0-9]?)' + // [2] month\n '-([0-9][0-9]?)' + // [3] day\n '(?:[Tt]|[ \\\\t]+)' + // ...\n '([0-9][0-9]?)' + // [4] hour\n ':([0-9][0-9])' + // [5] minute\n ':([0-9][0-9])' + // [6] second\n '(?:\\\\.([0-9]*))?' + // [7] fraction\n '(?:[ \\\\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour\n '(?::([0-9][0-9]))?))?$'); // [11] tz_minute\n\nfunction resolveYamlTimestamp(data) {\n if (data === null) return false;\n if (YAML_DATE_REGEXP.exec(data) !== null) return true;\n if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;\n return false;\n}\n\nfunction constructYamlTimestamp(data) {\n var match, year, month, day, hour, minute, second, fraction = 0,\n delta = null, tz_hour, tz_minute, date;\n\n match = YAML_DATE_REGEXP.exec(data);\n if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);\n\n if (match === null) throw new Error('Date resolve error');\n\n // match: [1] year [2] month [3] day\n\n year = +(match[1]);\n month = +(match[2]) - 1; // JS month starts with 0\n day = +(match[3]);\n\n if (!match[4]) { // no hour\n return new Date(Date.UTC(year, month, day));\n }\n\n // match: [4] hour [5] minute [6] second [7] fraction\n\n hour = +(match[4]);\n minute = +(match[5]);\n second = +(match[6]);\n\n if (match[7]) {\n fraction = match[7].slice(0, 3);\n while (fraction.length < 3) { // milli-seconds\n fraction += '0';\n }\n fraction = +fraction;\n }\n\n // match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute\n\n if (match[9]) {\n tz_hour = +(match[10]);\n tz_minute = +(match[11] || 0);\n delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds\n if (match[9] === '-') delta = -delta;\n }\n\n date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));\n\n if (delta) date.setTime(date.getTime() - delta);\n\n return date;\n}\n\nfunction representYamlTimestamp(object /*, style*/) {\n return object.toISOString();\n}\n\nvar timestamp = new type('tag:yaml.org,2002:timestamp', {\n kind: 'scalar',\n resolve: resolveYamlTimestamp,\n construct: constructYamlTimestamp,\n instanceOf: Date,\n represent: representYamlTimestamp\n});\n\nfunction resolveYamlMerge(data) {\n return data === '<<' || data === null;\n}\n\nvar merge = new type('tag:yaml.org,2002:merge', {\n kind: 'scalar',\n resolve: resolveYamlMerge\n});\n\n/*eslint-disable no-bitwise*/\n\n\n\n\n\n// [ 64, 65, 66 ] -> [ padding, CR, LF ]\nvar BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\\n\\r';\n\n\nfunction resolveYamlBinary(data) {\n if (data === null) return false;\n\n var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP;\n\n // Convert one by one.\n for (idx = 0; idx < max; idx++) {\n code = map.indexOf(data.charAt(idx));\n\n // Skip CR/LF\n if (code > 64) continue;\n\n // Fail on illegal characters\n if (code < 0) return false;\n\n bitlen += 6;\n }\n\n // If there are any bits left, source was corrupted\n return (bitlen % 8) === 0;\n}\n\nfunction constructYamlBinary(data) {\n var idx, tailbits,\n input = data.replace(/[\\r\\n=]/g, ''), // remove CR/LF & padding to simplify scan\n max = input.length,\n map = BASE64_MAP,\n bits = 0,\n result = [];\n\n // Collect by 6*4 bits (3 bytes)\n\n for (idx = 0; idx < max; idx++) {\n if ((idx % 4 === 0) && idx) {\n result.push((bits >> 16) & 0xFF);\n result.push((bits >> 8) & 0xFF);\n result.push(bits & 0xFF);\n }\n\n bits = (bits << 6) | map.indexOf(input.charAt(idx));\n }\n\n // Dump tail\n\n tailbits = (max % 4) * 6;\n\n if (tailbits === 0) {\n result.push((bits >> 16) & 0xFF);\n result.push((bits >> 8) & 0xFF);\n result.push(bits & 0xFF);\n } else if (tailbits === 18) {\n result.push((bits >> 10) & 0xFF);\n result.push((bits >> 2) & 0xFF);\n } else if (tailbits === 12) {\n result.push((bits >> 4) & 0xFF);\n }\n\n return new Uint8Array(result);\n}\n\nfunction representYamlBinary(object /*, style*/) {\n var result = '', bits = 0, idx, tail,\n max = object.length,\n map = BASE64_MAP;\n\n // Convert every three bytes to 4 ASCII characters.\n\n for (idx = 0; idx < max; idx++) {\n if ((idx % 3 === 0) && idx) {\n result += map[(bits >> 18) & 0x3F];\n result += map[(bits >> 12) & 0x3F];\n result += map[(bits >> 6) & 0x3F];\n result += map[bits & 0x3F];\n }\n\n bits = (bits << 8) + object[idx];\n }\n\n // Dump tail\n\n tail = max % 3;\n\n if (tail === 0) {\n result += map[(bits >> 18) & 0x3F];\n result += map[(bits >> 12) & 0x3F];\n result += map[(bits >> 6) & 0x3F];\n result += map[bits & 0x3F];\n } else if (tail === 2) {\n result += map[(bits >> 10) & 0x3F];\n result += map[(bits >> 4) & 0x3F];\n result += map[(bits << 2) & 0x3F];\n result += map[64];\n } else if (tail === 1) {\n result += map[(bits >> 2) & 0x3F];\n result += map[(bits << 4) & 0x3F];\n result += map[64];\n result += map[64];\n }\n\n return result;\n}\n\nfunction isBinary(obj) {\n return Object.prototype.toString.call(obj) === '[object Uint8Array]';\n}\n\nvar binary = new type('tag:yaml.org,2002:binary', {\n kind: 'scalar',\n resolve: resolveYamlBinary,\n construct: constructYamlBinary,\n predicate: isBinary,\n represent: representYamlBinary\n});\n\nvar _hasOwnProperty$3 = Object.prototype.hasOwnProperty;\nvar _toString$2 = Object.prototype.toString;\n\nfunction resolveYamlOmap(data) {\n if (data === null) return true;\n\n var objectKeys = [], index, length, pair, pairKey, pairHasKey,\n object = data;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n pairHasKey = false;\n\n if (_toString$2.call(pair) !== '[object Object]') return false;\n\n for (pairKey in pair) {\n if (_hasOwnProperty$3.call(pair, pairKey)) {\n if (!pairHasKey) pairHasKey = true;\n else return false;\n }\n }\n\n if (!pairHasKey) return false;\n\n if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);\n else return false;\n }\n\n return true;\n}\n\nfunction constructYamlOmap(data) {\n return data !== null ? data : [];\n}\n\nvar omap = new type('tag:yaml.org,2002:omap', {\n kind: 'sequence',\n resolve: resolveYamlOmap,\n construct: constructYamlOmap\n});\n\nvar _toString$1 = Object.prototype.toString;\n\nfunction resolveYamlPairs(data) {\n if (data === null) return true;\n\n var index, length, pair, keys, result,\n object = data;\n\n result = new Array(object.length);\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n\n if (_toString$1.call(pair) !== '[object Object]') return false;\n\n keys = Object.keys(pair);\n\n if (keys.length !== 1) return false;\n\n result[index] = [ keys[0], pair[keys[0]] ];\n }\n\n return true;\n}\n\nfunction constructYamlPairs(data) {\n if (data === null) return [];\n\n var index, length, pair, keys, result,\n object = data;\n\n result = new Array(object.length);\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n\n keys = Object.keys(pair);\n\n result[index] = [ keys[0], pair[keys[0]] ];\n }\n\n return result;\n}\n\nvar pairs = new type('tag:yaml.org,2002:pairs', {\n kind: 'sequence',\n resolve: resolveYamlPairs,\n construct: constructYamlPairs\n});\n\nvar _hasOwnProperty$2 = Object.prototype.hasOwnProperty;\n\nfunction resolveYamlSet(data) {\n if (data === null) return true;\n\n var key, object = data;\n\n for (key in object) {\n if (_hasOwnProperty$2.call(object, key)) {\n if (object[key] !== null) return false;\n }\n }\n\n return true;\n}\n\nfunction constructYamlSet(data) {\n return data !== null ? data : {};\n}\n\nvar set = new type('tag:yaml.org,2002:set', {\n kind: 'mapping',\n resolve: resolveYamlSet,\n construct: constructYamlSet\n});\n\nvar _default = core.extend({\n implicit: [\n timestamp,\n merge\n ],\n explicit: [\n binary,\n omap,\n pairs,\n set\n ]\n});\n\n/*eslint-disable max-len,no-use-before-define*/\n\n\n\n\n\n\n\nvar _hasOwnProperty$1 = Object.prototype.hasOwnProperty;\n\n\nvar CONTEXT_FLOW_IN = 1;\nvar CONTEXT_FLOW_OUT = 2;\nvar CONTEXT_BLOCK_IN = 3;\nvar CONTEXT_BLOCK_OUT = 4;\n\n\nvar CHOMPING_CLIP = 1;\nvar CHOMPING_STRIP = 2;\nvar CHOMPING_KEEP = 3;\n\n\nvar PATTERN_NON_PRINTABLE = /[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x84\\x86-\\x9F\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\nvar PATTERN_NON_ASCII_LINE_BREAKS = /[\\x85\\u2028\\u2029]/;\nvar PATTERN_FLOW_INDICATORS = /[,\\[\\]\\{\\}]/;\nvar PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\\-]+!)$/i;\nvar PATTERN_TAG_URI = /^(?:!|[^,\\[\\]\\{\\}])(?:%[0-9a-f]{2}|[0-9a-z\\-#;\\/\\?:@&=\\+\\$,_\\.!~\\*'\\(\\)\\[\\]])*$/i;\n\n\nfunction _class(obj) { return Object.prototype.toString.call(obj); }\n\nfunction is_EOL(c) {\n return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);\n}\n\nfunction is_WHITE_SPACE(c) {\n return (c === 0x09/* Tab */) || (c === 0x20/* Space */);\n}\n\nfunction is_WS_OR_EOL(c) {\n return (c === 0x09/* Tab */) ||\n (c === 0x20/* Space */) ||\n (c === 0x0A/* LF */) ||\n (c === 0x0D/* CR */);\n}\n\nfunction is_FLOW_INDICATOR(c) {\n return c === 0x2C/* , */ ||\n c === 0x5B/* [ */ ||\n c === 0x5D/* ] */ ||\n c === 0x7B/* { */ ||\n c === 0x7D/* } */;\n}\n\nfunction fromHexCode(c) {\n var lc;\n\n if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {\n return c - 0x30;\n }\n\n /*eslint-disable no-bitwise*/\n lc = c | 0x20;\n\n if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) {\n return lc - 0x61 + 10;\n }\n\n return -1;\n}\n\nfunction escapedHexLen(c) {\n if (c === 0x78/* x */) { return 2; }\n if (c === 0x75/* u */) { return 4; }\n if (c === 0x55/* U */) { return 8; }\n return 0;\n}\n\nfunction fromDecimalCode(c) {\n if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {\n return c - 0x30;\n }\n\n return -1;\n}\n\nfunction simpleEscapeSequence(c) {\n /* eslint-disable indent */\n return (c === 0x30/* 0 */) ? '\\x00' :\n (c === 0x61/* a */) ? '\\x07' :\n (c === 0x62/* b */) ? '\\x08' :\n (c === 0x74/* t */) ? '\\x09' :\n (c === 0x09/* Tab */) ? '\\x09' :\n (c === 0x6E/* n */) ? '\\x0A' :\n (c === 0x76/* v */) ? '\\x0B' :\n (c === 0x66/* f */) ? '\\x0C' :\n (c === 0x72/* r */) ? '\\x0D' :\n (c === 0x65/* e */) ? '\\x1B' :\n (c === 0x20/* Space */) ? ' ' :\n (c === 0x22/* \" */) ? '\\x22' :\n (c === 0x2F/* / */) ? '/' :\n (c === 0x5C/* \\ */) ? '\\x5C' :\n (c === 0x4E/* N */) ? '\\x85' :\n (c === 0x5F/* _ */) ? '\\xA0' :\n (c === 0x4C/* L */) ? '\\u2028' :\n (c === 0x50/* P */) ? '\\u2029' : '';\n}\n\nfunction charFromCodepoint(c) {\n if (c <= 0xFFFF) {\n return String.fromCharCode(c);\n }\n // Encode UTF-16 surrogate pair\n // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF\n return String.fromCharCode(\n ((c - 0x010000) >> 10) + 0xD800,\n ((c - 0x010000) & 0x03FF) + 0xDC00\n );\n}\n\nvar simpleEscapeCheck = new Array(256); // integer, for fast access\nvar simpleEscapeMap = new Array(256);\nfor (var i = 0; i < 256; i++) {\n simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;\n simpleEscapeMap[i] = simpleEscapeSequence(i);\n}\n\n\nfunction State$1(input, options) {\n this.input = input;\n\n this.filename = options['filename'] || null;\n this.schema = options['schema'] || _default;\n this.onWarning = options['onWarning'] || null;\n // (Hidden) Remove? makes the loader to expect YAML 1.1 documents\n // if such documents have no explicit %YAML directive\n this.legacy = options['legacy'] || false;\n\n this.json = options['json'] || false;\n this.listener = options['listener'] || null;\n\n this.implicitTypes = this.schema.compiledImplicit;\n this.typeMap = this.schema.compiledTypeMap;\n\n this.length = input.length;\n this.position = 0;\n this.line = 0;\n this.lineStart = 0;\n this.lineIndent = 0;\n\n // position of first leading tab in the current line,\n // used to make sure there are no tabs in the indentation\n this.firstTabInLine = -1;\n\n this.documents = [];\n\n /*\n this.version;\n this.checkLineBreaks;\n this.tagMap;\n this.anchorMap;\n this.tag;\n this.anchor;\n this.kind;\n this.result;*/\n\n}\n\n\nfunction generateError(state, message) {\n var mark = {\n name: state.filename,\n buffer: state.input.slice(0, -1), // omit trailing \\0\n position: state.position,\n line: state.line,\n column: state.position - state.lineStart\n };\n\n mark.snippet = snippet(mark);\n\n return new exception(message, mark);\n}\n\nfunction throwError(state, message) {\n throw generateError(state, message);\n}\n\nfunction throwWarning(state, message) {\n if (state.onWarning) {\n state.onWarning.call(null, generateError(state, message));\n }\n}\n\n\nvar directiveHandlers = {\n\n YAML: function handleYamlDirective(state, name, args) {\n\n var match, major, minor;\n\n if (state.version !== null) {\n throwError(state, 'duplication of %YAML directive');\n }\n\n if (args.length !== 1) {\n throwError(state, 'YAML directive accepts exactly one argument');\n }\n\n match = /^([0-9]+)\\.([0-9]+)$/.exec(args[0]);\n\n if (match === null) {\n throwError(state, 'ill-formed argument of the YAML directive');\n }\n\n major = parseInt(match[1], 10);\n minor = parseInt(match[2], 10);\n\n if (major !== 1) {\n throwError(state, 'unacceptable YAML version of the document');\n }\n\n state.version = args[0];\n state.checkLineBreaks = (minor < 2);\n\n if (minor !== 1 && minor !== 2) {\n throwWarning(state, 'unsupported YAML version of the document');\n }\n },\n\n TAG: function handleTagDirective(state, name, args) {\n\n var handle, prefix;\n\n if (args.length !== 2) {\n throwError(state, 'TAG directive accepts exactly two arguments');\n }\n\n handle = args[0];\n prefix = args[1];\n\n if (!PATTERN_TAG_HANDLE.test(handle)) {\n throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');\n }\n\n if (_hasOwnProperty$1.call(state.tagMap, handle)) {\n throwError(state, 'there is a previously declared suffix for \"' + handle + '\" tag handle');\n }\n\n if (!PATTERN_TAG_URI.test(prefix)) {\n throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');\n }\n\n try {\n prefix = decodeURIComponent(prefix);\n } catch (err) {\n throwError(state, 'tag prefix is malformed: ' + prefix);\n }\n\n state.tagMap[handle] = prefix;\n }\n};\n\n\nfunction captureSegment(state, start, end, checkJson) {\n var _position, _length, _character, _result;\n\n if (start < end) {\n _result = state.input.slice(start, end);\n\n if (checkJson) {\n for (_position = 0, _length = _result.length; _position < _length; _position += 1) {\n _character = _result.charCodeAt(_position);\n if (!(_character === 0x09 ||\n (0x20 <= _character && _character <= 0x10FFFF))) {\n throwError(state, 'expected valid JSON character');\n }\n }\n } else if (PATTERN_NON_PRINTABLE.test(_result)) {\n throwError(state, 'the stream contains non-printable characters');\n }\n\n state.result += _result;\n }\n}\n\nfunction mergeMappings(state, destination, source, overridableKeys) {\n var sourceKeys, key, index, quantity;\n\n if (!common.isObject(source)) {\n throwError(state, 'cannot merge mappings; the provided source object is unacceptable');\n }\n\n sourceKeys = Object.keys(source);\n\n for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {\n key = sourceKeys[index];\n\n if (!_hasOwnProperty$1.call(destination, key)) {\n destination[key] = source[key];\n overridableKeys[key] = true;\n }\n }\n}\n\nfunction storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode,\n startLine, startLineStart, startPos) {\n\n var index, quantity;\n\n // The output is a plain object here, so keys can only be strings.\n // We need to convert keyNode to a string, but doing so can hang the process\n // (deeply nested arrays that explode exponentially using aliases).\n if (Array.isArray(keyNode)) {\n keyNode = Array.prototype.slice.call(keyNode);\n\n for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {\n if (Array.isArray(keyNode[index])) {\n throwError(state, 'nested arrays are not supported inside keys');\n }\n\n if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {\n keyNode[index] = '[object Object]';\n }\n }\n }\n\n // Avoid code execution in load() via toString property\n // (still use its own toString for arrays, timestamps,\n // and whatever user schema extensions happen to have @@toStringTag)\n if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {\n keyNode = '[object Object]';\n }\n\n\n keyNode = String(keyNode);\n\n if (_result === null) {\n _result = {};\n }\n\n if (keyTag === 'tag:yaml.org,2002:merge') {\n if (Array.isArray(valueNode)) {\n for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {\n mergeMappings(state, _result, valueNode[index], overridableKeys);\n }\n } else {\n mergeMappings(state, _result, valueNode, overridableKeys);\n }\n } else {\n if (!state.json &&\n !_hasOwnProperty$1.call(overridableKeys, keyNode) &&\n _hasOwnProperty$1.call(_result, keyNode)) {\n state.line = startLine || state.line;\n state.lineStart = startLineStart || state.lineStart;\n state.position = startPos || state.position;\n throwError(state, 'duplicated mapping key');\n }\n\n // used for this specific key only because Object.defineProperty is slow\n if (keyNode === '__proto__') {\n Object.defineProperty(_result, keyNode, {\n configurable: true,\n enumerable: true,\n writable: true,\n value: valueNode\n });\n } else {\n _result[keyNode] = valueNode;\n }\n delete overridableKeys[keyNode];\n }\n\n return _result;\n}\n\nfunction readLineBreak(state) {\n var ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x0A/* LF */) {\n state.position++;\n } else if (ch === 0x0D/* CR */) {\n state.position++;\n if (state.input.charCodeAt(state.position) === 0x0A/* LF */) {\n state.position++;\n }\n } else {\n throwError(state, 'a line break is expected');\n }\n\n state.line += 1;\n state.lineStart = state.position;\n state.firstTabInLine = -1;\n}\n\nfunction skipSeparationSpace(state, allowComments, checkIndent) {\n var lineBreaks = 0,\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n if (ch === 0x09/* Tab */ && state.firstTabInLine === -1) {\n state.firstTabInLine = state.position;\n }\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (allowComments && ch === 0x23/* # */) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0);\n }\n\n if (is_EOL(ch)) {\n readLineBreak(state);\n\n ch = state.input.charCodeAt(state.position);\n lineBreaks++;\n state.lineIndent = 0;\n\n while (ch === 0x20/* Space */) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n } else {\n break;\n }\n }\n\n if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {\n throwWarning(state, 'deficient indentation');\n }\n\n return lineBreaks;\n}\n\nfunction testDocumentSeparator(state) {\n var _position = state.position,\n ch;\n\n ch = state.input.charCodeAt(_position);\n\n // Condition state.position === state.lineStart is tested\n // in parent on each call, for efficiency. No needs to test here again.\n if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) &&\n ch === state.input.charCodeAt(_position + 1) &&\n ch === state.input.charCodeAt(_position + 2)) {\n\n _position += 3;\n\n ch = state.input.charCodeAt(_position);\n\n if (ch === 0 || is_WS_OR_EOL(ch)) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction writeFoldedLines(state, count) {\n if (count === 1) {\n state.result += ' ';\n } else if (count > 1) {\n state.result += common.repeat('\\n', count - 1);\n }\n}\n\n\nfunction readPlainScalar(state, nodeIndent, withinFlowCollection) {\n var preceding,\n following,\n captureStart,\n captureEnd,\n hasPendingContent,\n _line,\n _lineStart,\n _lineIndent,\n _kind = state.kind,\n _result = state.result,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (is_WS_OR_EOL(ch) ||\n is_FLOW_INDICATOR(ch) ||\n ch === 0x23/* # */ ||\n ch === 0x26/* & */ ||\n ch === 0x2A/* * */ ||\n ch === 0x21/* ! */ ||\n ch === 0x7C/* | */ ||\n ch === 0x3E/* > */ ||\n ch === 0x27/* ' */ ||\n ch === 0x22/* \" */ ||\n ch === 0x25/* % */ ||\n ch === 0x40/* @ */ ||\n ch === 0x60/* ` */) {\n return false;\n }\n\n if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following) ||\n withinFlowCollection && is_FLOW_INDICATOR(following)) {\n return false;\n }\n }\n\n state.kind = 'scalar';\n state.result = '';\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n\n while (ch !== 0) {\n if (ch === 0x3A/* : */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following) ||\n withinFlowCollection && is_FLOW_INDICATOR(following)) {\n break;\n }\n\n } else if (ch === 0x23/* # */) {\n preceding = state.input.charCodeAt(state.position - 1);\n\n if (is_WS_OR_EOL(preceding)) {\n break;\n }\n\n } else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||\n withinFlowCollection && is_FLOW_INDICATOR(ch)) {\n break;\n\n } else if (is_EOL(ch)) {\n _line = state.line;\n _lineStart = state.lineStart;\n _lineIndent = state.lineIndent;\n skipSeparationSpace(state, false, -1);\n\n if (state.lineIndent >= nodeIndent) {\n hasPendingContent = true;\n ch = state.input.charCodeAt(state.position);\n continue;\n } else {\n state.position = captureEnd;\n state.line = _line;\n state.lineStart = _lineStart;\n state.lineIndent = _lineIndent;\n break;\n }\n }\n\n if (hasPendingContent) {\n captureSegment(state, captureStart, captureEnd, false);\n writeFoldedLines(state, state.line - _line);\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n }\n\n if (!is_WHITE_SPACE(ch)) {\n captureEnd = state.position + 1;\n }\n\n ch = state.input.charCodeAt(++state.position);\n }\n\n captureSegment(state, captureStart, captureEnd, false);\n\n if (state.result) {\n return true;\n }\n\n state.kind = _kind;\n state.result = _result;\n return false;\n}\n\nfunction readSingleQuotedScalar(state, nodeIndent) {\n var ch,\n captureStart, captureEnd;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x27/* ' */) {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x27/* ' */) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x27/* ' */) {\n captureStart = state.position;\n state.position++;\n captureEnd = state.position;\n } else {\n return true;\n }\n\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a single quoted scalar');\n\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a single quoted scalar');\n}\n\nfunction readDoubleQuotedScalar(state, nodeIndent) {\n var captureStart,\n captureEnd,\n hexLength,\n hexResult,\n tmp,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x22/* \" */) {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x22/* \" */) {\n captureSegment(state, captureStart, state.position, true);\n state.position++;\n return true;\n\n } else if (ch === 0x5C/* \\ */) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n\n if (is_EOL(ch)) {\n skipSeparationSpace(state, false, nodeIndent);\n\n // TODO: rework to inline fn with no type cast?\n } else if (ch < 256 && simpleEscapeCheck[ch]) {\n state.result += simpleEscapeMap[ch];\n state.position++;\n\n } else if ((tmp = escapedHexLen(ch)) > 0) {\n hexLength = tmp;\n hexResult = 0;\n\n for (; hexLength > 0; hexLength--) {\n ch = state.input.charCodeAt(++state.position);\n\n if ((tmp = fromHexCode(ch)) >= 0) {\n hexResult = (hexResult << 4) + tmp;\n\n } else {\n throwError(state, 'expected hexadecimal character');\n }\n }\n\n state.result += charFromCodepoint(hexResult);\n\n state.position++;\n\n } else {\n throwError(state, 'unknown escape sequence');\n }\n\n captureStart = captureEnd = state.position;\n\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a double quoted scalar');\n\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a double quoted scalar');\n}\n\nfunction readFlowCollection(state, nodeIndent) {\n var readNext = true,\n _line,\n _lineStart,\n _pos,\n _tag = state.tag,\n _result,\n _anchor = state.anchor,\n following,\n terminator,\n isPair,\n isExplicitPair,\n isMapping,\n overridableKeys = Object.create(null),\n keyNode,\n keyTag,\n valueNode,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x5B/* [ */) {\n terminator = 0x5D;/* ] */\n isMapping = false;\n _result = [];\n } else if (ch === 0x7B/* { */) {\n terminator = 0x7D;/* } */\n isMapping = true;\n _result = {};\n } else {\n return false;\n }\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(++state.position);\n\n while (ch !== 0) {\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === terminator) {\n state.position++;\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = isMapping ? 'mapping' : 'sequence';\n state.result = _result;\n return true;\n } else if (!readNext) {\n throwError(state, 'missed comma between flow collection entries');\n } else if (ch === 0x2C/* , */) {\n // \"flow collection entries can never be completely empty\", as per YAML 1.2, section 7.4\n throwError(state, \"expected the node content, but found ','\");\n }\n\n keyTag = keyNode = valueNode = null;\n isPair = isExplicitPair = false;\n\n if (ch === 0x3F/* ? */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following)) {\n isPair = isExplicitPair = true;\n state.position++;\n skipSeparationSpace(state, true, nodeIndent);\n }\n }\n\n _line = state.line; // Save the current line.\n _lineStart = state.lineStart;\n _pos = state.position;\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n keyTag = state.tag;\n keyNode = state.result;\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) {\n isPair = true;\n ch = state.input.charCodeAt(++state.position);\n skipSeparationSpace(state, true, nodeIndent);\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n valueNode = state.result;\n }\n\n if (isMapping) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);\n } else if (isPair) {\n _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));\n } else {\n _result.push(keyNode);\n }\n\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x2C/* , */) {\n readNext = true;\n ch = state.input.charCodeAt(++state.position);\n } else {\n readNext = false;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a flow collection');\n}\n\nfunction readBlockScalar(state, nodeIndent) {\n var captureStart,\n folding,\n chomping = CHOMPING_CLIP,\n didReadContent = false,\n detectedIndent = false,\n textIndent = nodeIndent,\n emptyLines = 0,\n atMoreIndented = false,\n tmp,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x7C/* | */) {\n folding = false;\n } else if (ch === 0x3E/* > */) {\n folding = true;\n } else {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n\n while (ch !== 0) {\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x2B/* + */ || ch === 0x2D/* - */) {\n if (CHOMPING_CLIP === chomping) {\n chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP;\n } else {\n throwError(state, 'repeat of a chomping mode identifier');\n }\n\n } else if ((tmp = fromDecimalCode(ch)) >= 0) {\n if (tmp === 0) {\n throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');\n } else if (!detectedIndent) {\n textIndent = nodeIndent + tmp - 1;\n detectedIndent = true;\n } else {\n throwError(state, 'repeat of an indentation width identifier');\n }\n\n } else {\n break;\n }\n }\n\n if (is_WHITE_SPACE(ch)) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (is_WHITE_SPACE(ch));\n\n if (ch === 0x23/* # */) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (!is_EOL(ch) && (ch !== 0));\n }\n }\n\n while (ch !== 0) {\n readLineBreak(state);\n state.lineIndent = 0;\n\n ch = state.input.charCodeAt(state.position);\n\n while ((!detectedIndent || state.lineIndent < textIndent) &&\n (ch === 0x20/* Space */)) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (!detectedIndent && state.lineIndent > textIndent) {\n textIndent = state.lineIndent;\n }\n\n if (is_EOL(ch)) {\n emptyLines++;\n continue;\n }\n\n // End of the scalar.\n if (state.lineIndent < textIndent) {\n\n // Perform the chomping.\n if (chomping === CHOMPING_KEEP) {\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n } else if (chomping === CHOMPING_CLIP) {\n if (didReadContent) { // i.e. only if the scalar is not empty.\n state.result += '\\n';\n }\n }\n\n // Break this `while` cycle and go to the funciton's epilogue.\n break;\n }\n\n // Folded style: use fancy rules to handle line breaks.\n if (folding) {\n\n // Lines starting with white space characters (more-indented lines) are not folded.\n if (is_WHITE_SPACE(ch)) {\n atMoreIndented = true;\n // except for the first content line (cf. Example 8.1)\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n\n // End of more-indented block.\n } else if (atMoreIndented) {\n atMoreIndented = false;\n state.result += common.repeat('\\n', emptyLines + 1);\n\n // Just one line break - perceive as the same line.\n } else if (emptyLines === 0) {\n if (didReadContent) { // i.e. only if we have already read some scalar content.\n state.result += ' ';\n }\n\n // Several line breaks - perceive as different lines.\n } else {\n state.result += common.repeat('\\n', emptyLines);\n }\n\n // Literal style: just add exact number of line breaks between content lines.\n } else {\n // Keep all line breaks except the header line break.\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n }\n\n didReadContent = true;\n detectedIndent = true;\n emptyLines = 0;\n captureStart = state.position;\n\n while (!is_EOL(ch) && (ch !== 0)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n captureSegment(state, captureStart, state.position, false);\n }\n\n return true;\n}\n\nfunction readBlockSequence(state, nodeIndent) {\n var _line,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = [],\n following,\n detected = false,\n ch;\n\n // there is a leading tab before this token, so it can't be a block sequence/mapping;\n // it can still be flow sequence/mapping or a scalar\n if (state.firstTabInLine !== -1) return false;\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n if (state.firstTabInLine !== -1) {\n state.position = state.firstTabInLine;\n throwError(state, 'tab characters must not be used in indentation');\n }\n\n if (ch !== 0x2D/* - */) {\n break;\n }\n\n following = state.input.charCodeAt(state.position + 1);\n\n if (!is_WS_OR_EOL(following)) {\n break;\n }\n\n detected = true;\n state.position++;\n\n if (skipSeparationSpace(state, true, -1)) {\n if (state.lineIndent <= nodeIndent) {\n _result.push(null);\n ch = state.input.charCodeAt(state.position);\n continue;\n }\n }\n\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);\n _result.push(state.result);\n skipSeparationSpace(state, true, -1);\n\n ch = state.input.charCodeAt(state.position);\n\n if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {\n throwError(state, 'bad indentation of a sequence entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'sequence';\n state.result = _result;\n return true;\n }\n return false;\n}\n\nfunction readBlockMapping(state, nodeIndent, flowIndent) {\n var following,\n allowCompact,\n _line,\n _keyLine,\n _keyLineStart,\n _keyPos,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = {},\n overridableKeys = Object.create(null),\n keyTag = null,\n keyNode = null,\n valueNode = null,\n atExplicitKey = false,\n detected = false,\n ch;\n\n // there is a leading tab before this token, so it can't be a block sequence/mapping;\n // it can still be flow sequence/mapping or a scalar\n if (state.firstTabInLine !== -1) return false;\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n if (!atExplicitKey && state.firstTabInLine !== -1) {\n state.position = state.firstTabInLine;\n throwError(state, 'tab characters must not be used in indentation');\n }\n\n following = state.input.charCodeAt(state.position + 1);\n _line = state.line; // Save the current line.\n\n //\n // Explicit notation case. There are two separate blocks:\n // first for the key (denoted by \"?\") and second for the value (denoted by \":\")\n //\n if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) {\n\n if (ch === 0x3F/* ? */) {\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);\n keyTag = keyNode = valueNode = null;\n }\n\n detected = true;\n atExplicitKey = true;\n allowCompact = true;\n\n } else if (atExplicitKey) {\n // i.e. 0x3A/* : */ === character after the explicit key.\n atExplicitKey = false;\n allowCompact = true;\n\n } else {\n throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line');\n }\n\n state.position += 1;\n ch = following;\n\n //\n // Implicit notation case. Flow-style node as the key first, then \":\", and the value.\n //\n } else {\n _keyLine = state.line;\n _keyLineStart = state.lineStart;\n _keyPos = state.position;\n\n if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {\n // Neither implicit nor explicit notation.\n // Reading is done. Go to the epilogue.\n break;\n }\n\n if (state.line === _line) {\n ch = state.input.charCodeAt(state.position);\n\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (ch === 0x3A/* : */) {\n ch = state.input.charCodeAt(++state.position);\n\n if (!is_WS_OR_EOL(ch)) {\n throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');\n }\n\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);\n keyTag = keyNode = valueNode = null;\n }\n\n detected = true;\n atExplicitKey = false;\n allowCompact = false;\n keyTag = state.tag;\n keyNode = state.result;\n\n } else if (detected) {\n throwError(state, 'can not read an implicit mapping pair; a colon is missed');\n\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true; // Keep the result of `composeNode`.\n }\n\n } else if (detected) {\n throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');\n\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true; // Keep the result of `composeNode`.\n }\n }\n\n //\n // Common reading code for both explicit and implicit notations.\n //\n if (state.line === _line || state.lineIndent > nodeIndent) {\n if (atExplicitKey) {\n _keyLine = state.line;\n _keyLineStart = state.lineStart;\n _keyPos = state.position;\n }\n\n if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {\n if (atExplicitKey) {\n keyNode = state.result;\n } else {\n valueNode = state.result;\n }\n }\n\n if (!atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);\n keyTag = keyNode = valueNode = null;\n }\n\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n }\n\n if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {\n throwError(state, 'bad indentation of a mapping entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n\n //\n // Epilogue.\n //\n\n // Special case: last mapping's node contains only the key in explicit notation.\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);\n }\n\n // Expose the resulting mapping.\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'mapping';\n state.result = _result;\n }\n\n return detected;\n}\n\nfunction readTagProperty(state) {\n var _position,\n isVerbatim = false,\n isNamed = false,\n tagHandle,\n tagName,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x21/* ! */) return false;\n\n if (state.tag !== null) {\n throwError(state, 'duplication of a tag property');\n }\n\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x3C/* < */) {\n isVerbatim = true;\n ch = state.input.charCodeAt(++state.position);\n\n } else if (ch === 0x21/* ! */) {\n isNamed = true;\n tagHandle = '!!';\n ch = state.input.charCodeAt(++state.position);\n\n } else {\n tagHandle = '!';\n }\n\n _position = state.position;\n\n if (isVerbatim) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (ch !== 0 && ch !== 0x3E/* > */);\n\n if (state.position < state.length) {\n tagName = state.input.slice(_position, state.position);\n ch = state.input.charCodeAt(++state.position);\n } else {\n throwError(state, 'unexpected end of the stream within a verbatim tag');\n }\n } else {\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n\n if (ch === 0x21/* ! */) {\n if (!isNamed) {\n tagHandle = state.input.slice(_position - 1, state.position + 1);\n\n if (!PATTERN_TAG_HANDLE.test(tagHandle)) {\n throwError(state, 'named tag handle cannot contain such characters');\n }\n\n isNamed = true;\n _position = state.position + 1;\n } else {\n throwError(state, 'tag suffix cannot contain exclamation marks');\n }\n }\n\n ch = state.input.charCodeAt(++state.position);\n }\n\n tagName = state.input.slice(_position, state.position);\n\n if (PATTERN_FLOW_INDICATORS.test(tagName)) {\n throwError(state, 'tag suffix cannot contain flow indicator characters');\n }\n }\n\n if (tagName && !PATTERN_TAG_URI.test(tagName)) {\n throwError(state, 'tag name cannot contain such characters: ' + tagName);\n }\n\n try {\n tagName = decodeURIComponent(tagName);\n } catch (err) {\n throwError(state, 'tag name is malformed: ' + tagName);\n }\n\n if (isVerbatim) {\n state.tag = tagName;\n\n } else if (_hasOwnProperty$1.call(state.tagMap, tagHandle)) {\n state.tag = state.tagMap[tagHandle] + tagName;\n\n } else if (tagHandle === '!') {\n state.tag = '!' + tagName;\n\n } else if (tagHandle === '!!') {\n state.tag = 'tag:yaml.org,2002:' + tagName;\n\n } else {\n throwError(state, 'undeclared tag handle \"' + tagHandle + '\"');\n }\n\n return true;\n}\n\nfunction readAnchorProperty(state) {\n var _position,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x26/* & */) return false;\n\n if (state.anchor !== null) {\n throwError(state, 'duplication of an anchor property');\n }\n\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (state.position === _position) {\n throwError(state, 'name of an anchor node must contain at least one character');\n }\n\n state.anchor = state.input.slice(_position, state.position);\n return true;\n}\n\nfunction readAlias(state) {\n var _position, alias,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x2A/* * */) return false;\n\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (state.position === _position) {\n throwError(state, 'name of an alias node must contain at least one character');\n }\n\n alias = state.input.slice(_position, state.position);\n\n if (!_hasOwnProperty$1.call(state.anchorMap, alias)) {\n throwError(state, 'unidentified alias \"' + alias + '\"');\n }\n\n state.result = state.anchorMap[alias];\n skipSeparationSpace(state, true, -1);\n return true;\n}\n\nfunction composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {\n var allowBlockStyles,\n allowBlockScalars,\n allowBlockCollections,\n indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n }\n }\n\n if (indentStatus === 1) {\n while (readTagProperty(state) || readAnchorProperty(state)) {\n if (skipSeparationSpace(state, true, -1)) {\n atNewLine = true;\n allowBlockCollections = allowBlockStyles;\n\n if (state.lineIndent > parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n } else {\n allowBlockCollections = false;\n }\n }\n }\n\n if (allowBlockCollections) {\n allowBlockCollections = atNewLine || allowCompact;\n }\n\n if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {\n if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {\n flowIndent = parentIndent;\n } else {\n flowIndent = parentIndent + 1;\n }\n\n blockIndent = state.position - state.lineStart;\n\n if (indentStatus === 1) {\n if (allowBlockCollections &&\n (readBlockSequence(state, blockIndent) ||\n readBlockMapping(state, blockIndent, flowIndent)) ||\n readFlowCollection(state, flowIndent)) {\n hasContent = true;\n } else {\n if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||\n readSingleQuotedScalar(state, flowIndent) ||\n readDoubleQuotedScalar(state, flowIndent)) {\n hasContent = true;\n\n } else if (readAlias(state)) {\n hasContent = true;\n\n if (state.tag !== null || state.anchor !== null) {\n throwError(state, 'alias node should not have any properties');\n }\n\n } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {\n hasContent = true;\n\n if (state.tag === null) {\n state.tag = '?';\n }\n }\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else if (indentStatus === 0) {\n // Special case: block sequences are allowed to have same indentation level as the parent.\n // http://www.yaml.org/spec/1.2/spec.html#id2799784\n hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);\n }\n }\n\n if (state.tag === null) {\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n\n } else if (state.tag === '?') {\n // Implicit resolving is not allowed for non-scalar types, and '?'\n // non-specific tag is only automatically assigned to plain scalars.\n //\n // We only need to check kind conformity in case user explicitly assigns '?'\n // tag, for example like this: \"! [0]\"\n //\n if (state.result !== null && state.kind !== 'scalar') {\n throwError(state, 'unacceptable node kind for ! tag; it should be \"scalar\", not \"' + state.kind + '\"');\n }\n\n for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {\n type = state.implicitTypes[typeIndex];\n\n if (type.resolve(state.result)) { // `state.result` updated in resolver if matched\n state.result = type.construct(state.result);\n state.tag = type.tag;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n break;\n }\n }\n } else if (state.tag !== '!') {\n if (_hasOwnProperty$1.call(state.typeMap[state.kind || 'fallback'], state.tag)) {\n type = state.typeMap[state.kind || 'fallback'][state.tag];\n } else {\n // looking for multi type\n type = null;\n typeList = state.typeMap.multi[state.kind || 'fallback'];\n\n for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) {\n if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {\n type = typeList[typeIndex];\n break;\n }\n }\n }\n\n if (!type) {\n throwError(state, 'unknown tag !<' + state.tag + '>');\n }\n\n if (state.result !== null && type.kind !== state.kind) {\n throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be \"' + type.kind + '\", not \"' + state.kind + '\"');\n }\n\n if (!type.resolve(state.result, state.tag)) { // `state.result` updated in resolver if matched\n throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');\n } else {\n state.result = type.construct(state.result, state.tag);\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n }\n\n if (state.listener !== null) {\n state.listener('close', state);\n }\n return state.tag !== null || state.anchor !== null || hasContent;\n}\n\nfunction readDocument(state) {\n var documentStart = state.position,\n _position,\n directiveName,\n directiveArgs,\n hasDirectives = false,\n ch;\n\n state.version = null;\n state.checkLineBreaks = state.legacy;\n state.tagMap = Object.create(null);\n state.anchorMap = Object.create(null);\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n skipSeparationSpace(state, true, -1);\n\n ch = state.input.charCodeAt(state.position);\n\n if (state.lineIndent > 0 || ch !== 0x25/* % */) {\n break;\n }\n\n hasDirectives = true;\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n directiveName = state.input.slice(_position, state.position);\n directiveArgs = [];\n\n if (directiveName.length < 1) {\n throwError(state, 'directive name must not be less than one character in length');\n }\n\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (ch === 0x23/* # */) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (ch !== 0 && !is_EOL(ch));\n break;\n }\n\n if (is_EOL(ch)) break;\n\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n directiveArgs.push(state.input.slice(_position, state.position));\n }\n\n if (ch !== 0) readLineBreak(state);\n\n if (_hasOwnProperty$1.call(directiveHandlers, directiveName)) {\n directiveHandlers[directiveName](state, directiveName, directiveArgs);\n } else {\n throwWarning(state, 'unknown document directive \"' + directiveName + '\"');\n }\n }\n\n skipSeparationSpace(state, true, -1);\n\n if (state.lineIndent === 0 &&\n state.input.charCodeAt(state.position) === 0x2D/* - */ &&\n state.input.charCodeAt(state.position + 1) === 0x2D/* - */ &&\n state.input.charCodeAt(state.position + 2) === 0x2D/* - */) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n\n } else if (hasDirectives) {\n throwError(state, 'directives end mark is expected');\n }\n\n composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);\n skipSeparationSpace(state, true, -1);\n\n if (state.checkLineBreaks &&\n PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {\n throwWarning(state, 'non-ASCII line breaks are interpreted as content');\n }\n\n state.documents.push(state.result);\n\n if (state.position === state.lineStart && testDocumentSeparator(state)) {\n\n if (state.input.charCodeAt(state.position) === 0x2E/* . */) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n }\n return;\n }\n\n if (state.position < (state.length - 1)) {\n throwError(state, 'end of the stream or a document separator is expected');\n } else {\n return;\n }\n}\n\n\nfunction loadDocuments(input, options) {\n input = String(input);\n options = options || {};\n\n if (input.length !== 0) {\n\n // Add tailing `\\n` if not exists\n if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ &&\n input.charCodeAt(input.length - 1) !== 0x0D/* CR */) {\n input += '\\n';\n }\n\n // Strip BOM\n if (input.charCodeAt(0) === 0xFEFF) {\n input = input.slice(1);\n }\n }\n\n var state = new State$1(input, options);\n\n var nullpos = input.indexOf('\\0');\n\n if (nullpos !== -1) {\n state.position = nullpos;\n throwError(state, 'null byte is not allowed in input');\n }\n\n // Use 0 as string terminator. That significantly simplifies bounds check.\n state.input += '\\0';\n\n while (state.input.charCodeAt(state.position) === 0x20/* Space */) {\n state.lineIndent += 1;\n state.position += 1;\n }\n\n while (state.position < (state.length - 1)) {\n readDocument(state);\n }\n\n return state.documents;\n}\n\n\nfunction loadAll$1(input, iterator, options) {\n if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') {\n options = iterator;\n iterator = null;\n }\n\n var documents = loadDocuments(input, options);\n\n if (typeof iterator !== 'function') {\n return documents;\n }\n\n for (var index = 0, length = documents.length; index < length; index += 1) {\n iterator(documents[index]);\n }\n}\n\n\nfunction load$1(input, options) {\n var documents = loadDocuments(input, options);\n\n if (documents.length === 0) {\n /*eslint-disable no-undefined*/\n return undefined;\n } else if (documents.length === 1) {\n return documents[0];\n }\n throw new exception('expected a single document in the stream, but found more');\n}\n\n\nvar loadAll_1 = loadAll$1;\nvar load_1 = load$1;\n\nvar loader = {\n\tloadAll: loadAll_1,\n\tload: load_1\n};\n\n/*eslint-disable no-use-before-define*/\n\n\n\n\n\nvar _toString = Object.prototype.toString;\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar CHAR_BOM = 0xFEFF;\nvar CHAR_TAB = 0x09; /* Tab */\nvar CHAR_LINE_FEED = 0x0A; /* LF */\nvar CHAR_CARRIAGE_RETURN = 0x0D; /* CR */\nvar CHAR_SPACE = 0x20; /* Space */\nvar CHAR_EXCLAMATION = 0x21; /* ! */\nvar CHAR_DOUBLE_QUOTE = 0x22; /* \" */\nvar CHAR_SHARP = 0x23; /* # */\nvar CHAR_PERCENT = 0x25; /* % */\nvar CHAR_AMPERSAND = 0x26; /* & */\nvar CHAR_SINGLE_QUOTE = 0x27; /* ' */\nvar CHAR_ASTERISK = 0x2A; /* * */\nvar CHAR_COMMA = 0x2C; /* , */\nvar CHAR_MINUS = 0x2D; /* - */\nvar CHAR_COLON = 0x3A; /* : */\nvar CHAR_EQUALS = 0x3D; /* = */\nvar CHAR_GREATER_THAN = 0x3E; /* > */\nvar CHAR_QUESTION = 0x3F; /* ? */\nvar CHAR_COMMERCIAL_AT = 0x40; /* @ */\nvar CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */\nvar CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */\nvar CHAR_GRAVE_ACCENT = 0x60; /* ` */\nvar CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */\nvar CHAR_VERTICAL_LINE = 0x7C; /* | */\nvar CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */\n\nvar ESCAPE_SEQUENCES = {};\n\nESCAPE_SEQUENCES[0x00] = '\\\\0';\nESCAPE_SEQUENCES[0x07] = '\\\\a';\nESCAPE_SEQUENCES[0x08] = '\\\\b';\nESCAPE_SEQUENCES[0x09] = '\\\\t';\nESCAPE_SEQUENCES[0x0A] = '\\\\n';\nESCAPE_SEQUENCES[0x0B] = '\\\\v';\nESCAPE_SEQUENCES[0x0C] = '\\\\f';\nESCAPE_SEQUENCES[0x0D] = '\\\\r';\nESCAPE_SEQUENCES[0x1B] = '\\\\e';\nESCAPE_SEQUENCES[0x22] = '\\\\\"';\nESCAPE_SEQUENCES[0x5C] = '\\\\\\\\';\nESCAPE_SEQUENCES[0x85] = '\\\\N';\nESCAPE_SEQUENCES[0xA0] = '\\\\_';\nESCAPE_SEQUENCES[0x2028] = '\\\\L';\nESCAPE_SEQUENCES[0x2029] = '\\\\P';\n\nvar DEPRECATED_BOOLEANS_SYNTAX = [\n 'y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON',\n 'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF'\n];\n\nvar DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\\.[0-9_]*)?$/;\n\nfunction compileStyleMap(schema, map) {\n var result, keys, index, length, tag, style, type;\n\n if (map === null) return {};\n\n result = {};\n keys = Object.keys(map);\n\n for (index = 0, length = keys.length; index < length; index += 1) {\n tag = keys[index];\n style = String(map[tag]);\n\n if (tag.slice(0, 2) === '!!') {\n tag = 'tag:yaml.org,2002:' + tag.slice(2);\n }\n type = schema.compiledTypeMap['fallback'][tag];\n\n if (type && _hasOwnProperty.call(type.styleAliases, style)) {\n style = type.styleAliases[style];\n }\n\n result[tag] = style;\n }\n\n return result;\n}\n\nfunction encodeHex(character) {\n var string, handle, length;\n\n string = character.toString(16).toUpperCase();\n\n if (character <= 0xFF) {\n handle = 'x';\n length = 2;\n } else if (character <= 0xFFFF) {\n handle = 'u';\n length = 4;\n } else if (character <= 0xFFFFFFFF) {\n handle = 'U';\n length = 8;\n } else {\n throw new exception('code point within a string may not be greater than 0xFFFFFFFF');\n }\n\n return '\\\\' + handle + common.repeat('0', length - string.length) + string;\n}\n\n\nvar QUOTING_TYPE_SINGLE = 1,\n QUOTING_TYPE_DOUBLE = 2;\n\nfunction State(options) {\n this.schema = options['schema'] || _default;\n this.indent = Math.max(1, (options['indent'] || 2));\n this.noArrayIndent = options['noArrayIndent'] || false;\n this.skipInvalid = options['skipInvalid'] || false;\n this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);\n this.styleMap = compileStyleMap(this.schema, options['styles'] || null);\n this.sortKeys = options['sortKeys'] || false;\n this.lineWidth = options['lineWidth'] || 80;\n this.noRefs = options['noRefs'] || false;\n this.noCompatMode = options['noCompatMode'] || false;\n this.condenseFlow = options['condenseFlow'] || false;\n this.quotingType = options['quotingType'] === '\"' ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE;\n this.forceQuotes = options['forceQuotes'] || false;\n this.replacer = typeof options['replacer'] === 'function' ? options['replacer'] : null;\n\n this.implicitTypes = this.schema.compiledImplicit;\n this.explicitTypes = this.schema.compiledExplicit;\n\n this.tag = null;\n this.result = '';\n\n this.duplicates = [];\n this.usedDuplicates = null;\n}\n\n// Indents every line in a string. Empty lines (\\n only) are not indented.\nfunction indentString(string, spaces) {\n var ind = common.repeat(' ', spaces),\n position = 0,\n next = -1,\n result = '',\n line,\n length = string.length;\n\n while (position < length) {\n next = string.indexOf('\\n', position);\n if (next === -1) {\n line = string.slice(position);\n position = length;\n } else {\n line = string.slice(position, next + 1);\n position = next + 1;\n }\n\n if (line.length && line !== '\\n') result += ind;\n\n result += line;\n }\n\n return result;\n}\n\nfunction generateNextLine(state, level) {\n return '\\n' + common.repeat(' ', state.indent * level);\n}\n\nfunction testImplicitResolving(state, str) {\n var index, length, type;\n\n for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {\n type = state.implicitTypes[index];\n\n if (type.resolve(str)) {\n return true;\n }\n }\n\n return false;\n}\n\n// [33] s-white ::= s-space | s-tab\nfunction isWhitespace(c) {\n return c === CHAR_SPACE || c === CHAR_TAB;\n}\n\n// Returns true if the character can be printed without escaping.\n// From YAML 1.2: \"any allowed characters known to be non-printable\n// should also be escaped. [However,] This isn’t mandatory\"\n// Derived from nb-char - \\t - #x85 - #xA0 - #x2028 - #x2029.\nfunction isPrintable(c) {\n return (0x00020 <= c && c <= 0x00007E)\n || ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029)\n || ((0x0E000 <= c && c <= 0x00FFFD) && c !== CHAR_BOM)\n || (0x10000 <= c && c <= 0x10FFFF);\n}\n\n// [34] ns-char ::= nb-char - s-white\n// [27] nb-char ::= c-printable - b-char - c-byte-order-mark\n// [26] b-char ::= b-line-feed | b-carriage-return\n// Including s-white (for some reason, examples doesn't match specs in this aspect)\n// ns-char ::= c-printable - b-line-feed - b-carriage-return - c-byte-order-mark\nfunction isNsCharOrWhitespace(c) {\n return isPrintable(c)\n && c !== CHAR_BOM\n // - b-char\n && c !== CHAR_CARRIAGE_RETURN\n && c !== CHAR_LINE_FEED;\n}\n\n// [127] ns-plain-safe(c) ::= c = flow-out ⇒ ns-plain-safe-out\n// c = flow-in ⇒ ns-plain-safe-in\n// c = block-key ⇒ ns-plain-safe-out\n// c = flow-key ⇒ ns-plain-safe-in\n// [128] ns-plain-safe-out ::= ns-char\n// [129] ns-plain-safe-in ::= ns-char - c-flow-indicator\n// [130] ns-plain-char(c) ::= ( ns-plain-safe(c) - “:” - “#” )\n// | ( /* An ns-char preceding */ “#” )\n// | ( “:” /* Followed by an ns-plain-safe(c) */ )\nfunction isPlainSafe(c, prev, inblock) {\n var cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);\n var cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);\n return (\n // ns-plain-safe\n inblock ? // c = flow-in\n cIsNsCharOrWhitespace\n : cIsNsCharOrWhitespace\n // - c-flow-indicator\n && c !== CHAR_COMMA\n && c !== CHAR_LEFT_SQUARE_BRACKET\n && c !== CHAR_RIGHT_SQUARE_BRACKET\n && c !== CHAR_LEFT_CURLY_BRACKET\n && c !== CHAR_RIGHT_CURLY_BRACKET\n )\n // ns-plain-char\n && c !== CHAR_SHARP // false on '#'\n && !(prev === CHAR_COLON && !cIsNsChar) // false on ': '\n || (isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP) // change to true on '[^ ]#'\n || (prev === CHAR_COLON && cIsNsChar); // change to true on ':[^ ]'\n}\n\n// Simplified test for values allowed as the first character in plain style.\nfunction isPlainSafeFirst(c) {\n // Uses a subset of ns-char - c-indicator\n // where ns-char = nb-char - s-white.\n // No support of ( ( “?” | “:” | “-” ) /* Followed by an ns-plain-safe(c)) */ ) part\n return isPrintable(c) && c !== CHAR_BOM\n && !isWhitespace(c) // - s-white\n // - (c-indicator ::=\n // “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}”\n && c !== CHAR_MINUS\n && c !== CHAR_QUESTION\n && c !== CHAR_COLON\n && c !== CHAR_COMMA\n && c !== CHAR_LEFT_SQUARE_BRACKET\n && c !== CHAR_RIGHT_SQUARE_BRACKET\n && c !== CHAR_LEFT_CURLY_BRACKET\n && c !== CHAR_RIGHT_CURLY_BRACKET\n // | “#” | “&” | “*” | “!” | “|” | “=” | “>” | “'” | “\"”\n && c !== CHAR_SHARP\n && c !== CHAR_AMPERSAND\n && c !== CHAR_ASTERISK\n && c !== CHAR_EXCLAMATION\n && c !== CHAR_VERTICAL_LINE\n && c !== CHAR_EQUALS\n && c !== CHAR_GREATER_THAN\n && c !== CHAR_SINGLE_QUOTE\n && c !== CHAR_DOUBLE_QUOTE\n // | “%” | “@” | “`”)\n && c !== CHAR_PERCENT\n && c !== CHAR_COMMERCIAL_AT\n && c !== CHAR_GRAVE_ACCENT;\n}\n\n// Simplified test for values allowed as the last character in plain style.\nfunction isPlainSafeLast(c) {\n // just not whitespace or colon, it will be checked to be plain character later\n return !isWhitespace(c) && c !== CHAR_COLON;\n}\n\n// Same as 'string'.codePointAt(pos), but works in older browsers.\nfunction codePointAt(string, pos) {\n var first = string.charCodeAt(pos), second;\n if (first >= 0xD800 && first <= 0xDBFF && pos + 1 < string.length) {\n second = string.charCodeAt(pos + 1);\n if (second >= 0xDC00 && second <= 0xDFFF) {\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;\n }\n }\n return first;\n}\n\n// Determines whether block indentation indicator is required.\nfunction needIndentIndicator(string) {\n var leadingSpaceRe = /^\\n* /;\n return leadingSpaceRe.test(string);\n}\n\nvar STYLE_PLAIN = 1,\n STYLE_SINGLE = 2,\n STYLE_LITERAL = 3,\n STYLE_FOLDED = 4,\n STYLE_DOUBLE = 5;\n\n// Determines which scalar styles are possible and returns the preferred style.\n// lineWidth = -1 => no limit.\n// Pre-conditions: str.length > 0.\n// Post-conditions:\n// STYLE_PLAIN or STYLE_SINGLE => no \\n are in the string.\n// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1).\n// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth != -1).\nfunction chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth,\n testAmbiguousType, quotingType, forceQuotes, inblock) {\n\n var i;\n var char = 0;\n var prevChar = null;\n var hasLineBreak = false;\n var hasFoldableLine = false; // only checked if shouldTrackWidth\n var shouldTrackWidth = lineWidth !== -1;\n var previousLineBreak = -1; // count the first line correctly\n var plain = isPlainSafeFirst(codePointAt(string, 0))\n && isPlainSafeLast(codePointAt(string, string.length - 1));\n\n if (singleLineOnly || forceQuotes) {\n // Case: no block styles.\n // Check for disallowed characters to rule out plain and single.\n for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {\n char = codePointAt(string, i);\n if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n plain = plain && isPlainSafe(char, prevChar, inblock);\n prevChar = char;\n }\n } else {\n // Case: block styles permitted.\n for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {\n char = codePointAt(string, i);\n if (char === CHAR_LINE_FEED) {\n hasLineBreak = true;\n // Check if any line can be folded.\n if (shouldTrackWidth) {\n hasFoldableLine = hasFoldableLine ||\n // Foldable line = too long, and not more-indented.\n (i - previousLineBreak - 1 > lineWidth &&\n string[previousLineBreak + 1] !== ' ');\n previousLineBreak = i;\n }\n } else if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n plain = plain && isPlainSafe(char, prevChar, inblock);\n prevChar = char;\n }\n // in case the end is missing a \\n\n hasFoldableLine = hasFoldableLine || (shouldTrackWidth &&\n (i - previousLineBreak - 1 > lineWidth &&\n string[previousLineBreak + 1] !== ' '));\n }\n // Although every style can represent \\n without escaping, prefer block styles\n // for multiline, since they're more readable and they don't add empty lines.\n // Also prefer folding a super-long line.\n if (!hasLineBreak && !hasFoldableLine) {\n // Strings interpretable as another type have to be quoted;\n // e.g. the string 'true' vs. the boolean true.\n if (plain && !forceQuotes && !testAmbiguousType(string)) {\n return STYLE_PLAIN;\n }\n return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;\n }\n // Edge case: block indentation indicator can only have one digit.\n if (indentPerLevel > 9 && needIndentIndicator(string)) {\n return STYLE_DOUBLE;\n }\n // At this point we know block styles are valid.\n // Prefer literal style unless we want to fold.\n if (!forceQuotes) {\n return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;\n }\n return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;\n}\n\n// Note: line breaking/folding is implemented for only the folded style.\n// NB. We drop the last trailing newline (if any) of a returned block scalar\n// since the dumper adds its own newline. This always works:\n// • No ending newline => unaffected; already using strip \"-\" chomping.\n// • Ending newline => removed then restored.\n// Importantly, this keeps the \"+\" chomp indicator from gaining an extra line.\nfunction writeScalar(state, string, level, iskey, inblock) {\n state.dump = (function () {\n if (string.length === 0) {\n return state.quotingType === QUOTING_TYPE_DOUBLE ? '\"\"' : \"''\";\n }\n if (!state.noCompatMode) {\n if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) {\n return state.quotingType === QUOTING_TYPE_DOUBLE ? ('\"' + string + '\"') : (\"'\" + string + \"'\");\n }\n }\n\n var indent = state.indent * Math.max(1, level); // no 0-indent scalars\n // As indentation gets deeper, let the width decrease monotonically\n // to the lower bound min(state.lineWidth, 40).\n // Note that this implies\n // state.lineWidth ≤ 40 + state.indent: width is fixed at the lower bound.\n // state.lineWidth > 40 + state.indent: width decreases until the lower bound.\n // This behaves better than a constant minimum width which disallows narrower options,\n // or an indent threshold which causes the width to suddenly increase.\n var lineWidth = state.lineWidth === -1\n ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);\n\n // Without knowing if keys are implicit/explicit, assume implicit for safety.\n var singleLineOnly = iskey\n // No block styles in flow mode.\n || (state.flowLevel > -1 && level >= state.flowLevel);\n function testAmbiguity(string) {\n return testImplicitResolving(state, string);\n }\n\n switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth,\n testAmbiguity, state.quotingType, state.forceQuotes && !iskey, inblock)) {\n\n case STYLE_PLAIN:\n return string;\n case STYLE_SINGLE:\n return \"'\" + string.replace(/'/g, \"''\") + \"'\";\n case STYLE_LITERAL:\n return '|' + blockHeader(string, state.indent)\n + dropEndingNewline(indentString(string, indent));\n case STYLE_FOLDED:\n return '>' + blockHeader(string, state.indent)\n + dropEndingNewline(indentString(foldString(string, lineWidth), indent));\n case STYLE_DOUBLE:\n return '\"' + escapeString(string) + '\"';\n default:\n throw new exception('impossible error: invalid scalar style');\n }\n }());\n}\n\n// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9.\nfunction blockHeader(string, indentPerLevel) {\n var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : '';\n\n // note the special case: the string '\\n' counts as a \"trailing\" empty line.\n var clip = string[string.length - 1] === '\\n';\n var keep = clip && (string[string.length - 2] === '\\n' || string === '\\n');\n var chomp = keep ? '+' : (clip ? '' : '-');\n\n return indentIndicator + chomp + '\\n';\n}\n\n// (See the note for writeScalar.)\nfunction dropEndingNewline(string) {\n return string[string.length - 1] === '\\n' ? string.slice(0, -1) : string;\n}\n\n// Note: a long line without a suitable break point will exceed the width limit.\n// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0.\nfunction foldString(string, width) {\n // In folded style, $k$ consecutive newlines output as $k+1$ newlines—\n // unless they're before or after a more-indented line, or at the very\n // beginning or end, in which case $k$ maps to $k$.\n // Therefore, parse each chunk as newline(s) followed by a content line.\n var lineRe = /(\\n+)([^\\n]*)/g;\n\n // first line (possibly an empty line)\n var result = (function () {\n var nextLF = string.indexOf('\\n');\n nextLF = nextLF !== -1 ? nextLF : string.length;\n lineRe.lastIndex = nextLF;\n return foldLine(string.slice(0, nextLF), width);\n }());\n // If we haven't reached the first content line yet, don't add an extra \\n.\n var prevMoreIndented = string[0] === '\\n' || string[0] === ' ';\n var moreIndented;\n\n // rest of the lines\n var match;\n while ((match = lineRe.exec(string))) {\n var prefix = match[1], line = match[2];\n moreIndented = (line[0] === ' ');\n result += prefix\n + (!prevMoreIndented && !moreIndented && line !== ''\n ? '\\n' : '')\n + foldLine(line, width);\n prevMoreIndented = moreIndented;\n }\n\n return result;\n}\n\n// Greedy line breaking.\n// Picks the longest line under the limit each time,\n// otherwise settles for the shortest line over the limit.\n// NB. More-indented lines *cannot* be folded, as that would add an extra \\n.\nfunction foldLine(line, width) {\n if (line === '' || line[0] === ' ') return line;\n\n // Since a more-indented line adds a \\n, breaks can't be followed by a space.\n var breakRe = / [^ ]/g; // note: the match index will always be <= length-2.\n var match;\n // start is an inclusive index. end, curr, and next are exclusive.\n var start = 0, end, curr = 0, next = 0;\n var result = '';\n\n // Invariants: 0 <= start <= length-1.\n // 0 <= curr <= next <= max(0, length-2). curr - start <= width.\n // Inside the loop:\n // A match implies length >= 2, so curr and next are <= length-2.\n while ((match = breakRe.exec(line))) {\n next = match.index;\n // maintain invariant: curr - start <= width\n if (next - start > width) {\n end = (curr > start) ? curr : next; // derive end <= length-2\n result += '\\n' + line.slice(start, end);\n // skip the space that was output as \\n\n start = end + 1; // derive start <= length-1\n }\n curr = next;\n }\n\n // By the invariants, start <= length-1, so there is something left over.\n // It is either the whole string or a part starting from non-whitespace.\n result += '\\n';\n // Insert a break if the remainder is too long and there is a break available.\n if (line.length - start > width && curr > start) {\n result += line.slice(start, curr) + '\\n' + line.slice(curr + 1);\n } else {\n result += line.slice(start);\n }\n\n return result.slice(1); // drop extra \\n joiner\n}\n\n// Escapes a double-quoted string.\nfunction escapeString(string) {\n var result = '';\n var char = 0;\n var escapeSeq;\n\n for (var i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {\n char = codePointAt(string, i);\n escapeSeq = ESCAPE_SEQUENCES[char];\n\n if (!escapeSeq && isPrintable(char)) {\n result += string[i];\n if (char >= 0x10000) result += string[i + 1];\n } else {\n result += escapeSeq || encodeHex(char);\n }\n }\n\n return result;\n}\n\nfunction writeFlowSequence(state, level, object) {\n var _result = '',\n _tag = state.tag,\n index,\n length,\n value;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n value = object[index];\n\n if (state.replacer) {\n value = state.replacer.call(object, String(index), value);\n }\n\n // Write only valid elements, put null instead of invalid elements.\n if (writeNode(state, level, value, false, false) ||\n (typeof value === 'undefined' &&\n writeNode(state, level, null, false, false))) {\n\n if (_result !== '') _result += ',' + (!state.condenseFlow ? ' ' : '');\n _result += state.dump;\n }\n }\n\n state.tag = _tag;\n state.dump = '[' + _result + ']';\n}\n\nfunction writeBlockSequence(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n index,\n length,\n value;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n value = object[index];\n\n if (state.replacer) {\n value = state.replacer.call(object, String(index), value);\n }\n\n // Write only valid elements, put null instead of invalid elements.\n if (writeNode(state, level + 1, value, true, true, false, true) ||\n (typeof value === 'undefined' &&\n writeNode(state, level + 1, null, true, true, false, true))) {\n\n if (!compact || _result !== '') {\n _result += generateNextLine(state, level);\n }\n\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n _result += '-';\n } else {\n _result += '- ';\n }\n\n _result += state.dump;\n }\n }\n\n state.tag = _tag;\n state.dump = _result || '[]'; // Empty sequence if no valid values.\n}\n\nfunction writeFlowMapping(state, level, object) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n pairBuffer;\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n\n pairBuffer = '';\n if (_result !== '') pairBuffer += ', ';\n\n if (state.condenseFlow) pairBuffer += '\"';\n\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n\n if (state.replacer) {\n objectValue = state.replacer.call(object, objectKey, objectValue);\n }\n\n if (!writeNode(state, level, objectKey, false, false)) {\n continue; // Skip this pair because of invalid key;\n }\n\n if (state.dump.length > 1024) pairBuffer += '? ';\n\n pairBuffer += state.dump + (state.condenseFlow ? '\"' : '') + ':' + (state.condenseFlow ? '' : ' ');\n\n if (!writeNode(state, level, objectValue, false, false)) {\n continue; // Skip this pair because of invalid value.\n }\n\n pairBuffer += state.dump;\n\n // Both key and value are valid.\n _result += pairBuffer;\n }\n\n state.tag = _tag;\n state.dump = '{' + _result + '}';\n}\n\nfunction writeBlockMapping(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n explicitPair,\n pairBuffer;\n\n // Allow sorting keys so that the output file is deterministic\n if (state.sortKeys === true) {\n // Default sorting\n objectKeyList.sort();\n } else if (typeof state.sortKeys === 'function') {\n // Custom sort function\n objectKeyList.sort(state.sortKeys);\n } else if (state.sortKeys) {\n // Something is wrong\n throw new exception('sortKeys must be a boolean or a function');\n }\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n pairBuffer = '';\n\n if (!compact || _result !== '') {\n pairBuffer += generateNextLine(state, level);\n }\n\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n\n if (state.replacer) {\n objectValue = state.replacer.call(object, objectKey, objectValue);\n }\n\n if (!writeNode(state, level + 1, objectKey, true, true, true)) {\n continue; // Skip this pair because of invalid key.\n }\n\n explicitPair = (state.tag !== null && state.tag !== '?') ||\n (state.dump && state.dump.length > 1024);\n\n if (explicitPair) {\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += '?';\n } else {\n pairBuffer += '? ';\n }\n }\n\n pairBuffer += state.dump;\n\n if (explicitPair) {\n pairBuffer += generateNextLine(state, level);\n }\n\n if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {\n continue; // Skip this pair because of invalid value.\n }\n\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += ':';\n } else {\n pairBuffer += ': ';\n }\n\n pairBuffer += state.dump;\n\n // Both key and value are valid.\n _result += pairBuffer;\n }\n\n state.tag = _tag;\n state.dump = _result || '{}'; // Empty mapping if no valid pairs.\n}\n\nfunction detectType(state, object, explicit) {\n var _result, typeList, index, length, type, style;\n\n typeList = explicit ? state.explicitTypes : state.implicitTypes;\n\n for (index = 0, length = typeList.length; index < length; index += 1) {\n type = typeList[index];\n\n if ((type.instanceOf || type.predicate) &&\n (!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) &&\n (!type.predicate || type.predicate(object))) {\n\n if (explicit) {\n if (type.multi && type.representName) {\n state.tag = type.representName(object);\n } else {\n state.tag = type.tag;\n }\n } else {\n state.tag = '?';\n }\n\n if (type.represent) {\n style = state.styleMap[type.tag] || type.defaultStyle;\n\n if (_toString.call(type.represent) === '[object Function]') {\n _result = type.represent(object, style);\n } else if (_hasOwnProperty.call(type.represent, style)) {\n _result = type.represent[style](object, style);\n } else {\n throw new exception('!<' + type.tag + '> tag resolver accepts not \"' + style + '\" style');\n }\n\n state.dump = _result;\n }\n\n return true;\n }\n }\n\n return false;\n}\n\n// Serializes `object` and writes it to global `result`.\n// Returns true on success, or false on invalid object.\n//\nfunction writeNode(state, level, object, block, compact, iskey, isblockseq) {\n state.tag = null;\n state.dump = object;\n\n if (!detectType(state, object, false)) {\n detectType(state, object, true);\n }\n\n var type = _toString.call(state.dump);\n var inblock = block;\n var tagStr;\n\n if (block) {\n block = (state.flowLevel < 0 || state.flowLevel > level);\n }\n\n var objectOrArray = type === '[object Object]' || type === '[object Array]',\n duplicateIndex,\n duplicate;\n\n if (objectOrArray) {\n duplicateIndex = state.duplicates.indexOf(object);\n duplicate = duplicateIndex !== -1;\n }\n\n if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) {\n compact = false;\n }\n\n if (duplicate && state.usedDuplicates[duplicateIndex]) {\n state.dump = '*ref_' + duplicateIndex;\n } else {\n if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {\n state.usedDuplicates[duplicateIndex] = true;\n }\n if (type === '[object Object]') {\n if (block && (Object.keys(state.dump).length !== 0)) {\n writeBlockMapping(state, level, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowMapping(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object Array]') {\n if (block && (state.dump.length !== 0)) {\n if (state.noArrayIndent && !isblockseq && level > 0) {\n writeBlockSequence(state, level - 1, state.dump, compact);\n } else {\n writeBlockSequence(state, level, state.dump, compact);\n }\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowSequence(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object String]') {\n if (state.tag !== '?') {\n writeScalar(state, state.dump, level, iskey, inblock);\n }\n } else if (type === '[object Undefined]') {\n return false;\n } else {\n if (state.skipInvalid) return false;\n throw new exception('unacceptable kind of an object to dump ' + type);\n }\n\n if (state.tag !== null && state.tag !== '?') {\n // Need to encode all characters except those allowed by the spec:\n //\n // [35] ns-dec-digit ::= [#x30-#x39] /* 0-9 */\n // [36] ns-hex-digit ::= ns-dec-digit\n // | [#x41-#x46] /* A-F */ | [#x61-#x66] /* a-f */\n // [37] ns-ascii-letter ::= [#x41-#x5A] /* A-Z */ | [#x61-#x7A] /* a-z */\n // [38] ns-word-char ::= ns-dec-digit | ns-ascii-letter | “-”\n // [39] ns-uri-char ::= “%” ns-hex-digit ns-hex-digit | ns-word-char | “#”\n // | “;” | “/” | “?” | “:” | “@” | “&” | “=” | “+” | “$” | “,”\n // | “_” | “.” | “!” | “~” | “*” | “'” | “(” | “)” | “[” | “]”\n //\n // Also need to encode '!' because it has special meaning (end of tag prefix).\n //\n tagStr = encodeURI(\n state.tag[0] === '!' ? state.tag.slice(1) : state.tag\n ).replace(/!/g, '%21');\n\n if (state.tag[0] === '!') {\n tagStr = '!' + tagStr;\n } else if (tagStr.slice(0, 18) === 'tag:yaml.org,2002:') {\n tagStr = '!!' + tagStr.slice(18);\n } else {\n tagStr = '!<' + tagStr + '>';\n }\n\n state.dump = tagStr + ' ' + state.dump;\n }\n }\n\n return true;\n}\n\nfunction getDuplicateReferences(object, state) {\n var objects = [],\n duplicatesIndexes = [],\n index,\n length;\n\n inspectNode(object, objects, duplicatesIndexes);\n\n for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {\n state.duplicates.push(objects[duplicatesIndexes[index]]);\n }\n state.usedDuplicates = new Array(length);\n}\n\nfunction inspectNode(object, objects, duplicatesIndexes) {\n var objectKeyList,\n index,\n length;\n\n if (object !== null && typeof object === 'object') {\n index = objects.indexOf(object);\n if (index !== -1) {\n if (duplicatesIndexes.indexOf(index) === -1) {\n duplicatesIndexes.push(index);\n }\n } else {\n objects.push(object);\n\n if (Array.isArray(object)) {\n for (index = 0, length = object.length; index < length; index += 1) {\n inspectNode(object[index], objects, duplicatesIndexes);\n }\n } else {\n objectKeyList = Object.keys(object);\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);\n }\n }\n }\n }\n}\n\nfunction dump$1(input, options) {\n options = options || {};\n\n var state = new State(options);\n\n if (!state.noRefs) getDuplicateReferences(input, state);\n\n var value = input;\n\n if (state.replacer) {\n value = state.replacer.call({ '': value }, '', value);\n }\n\n if (writeNode(state, 0, value, true, true)) return state.dump + '\\n';\n\n return '';\n}\n\nvar dump_1 = dump$1;\n\nvar dumper = {\n\tdump: dump_1\n};\n\nfunction renamed(from, to) {\n return function () {\n throw new Error('Function yaml.' + from + ' is removed in js-yaml 4. ' +\n 'Use yaml.' + to + ' instead, which is now safe by default.');\n };\n}\n\n\nvar Type = type;\nvar Schema = schema;\nvar FAILSAFE_SCHEMA = failsafe;\nvar JSON_SCHEMA = json;\nvar CORE_SCHEMA = core;\nvar DEFAULT_SCHEMA = _default;\nvar load = loader.load;\nvar loadAll = loader.loadAll;\nvar dump = dumper.dump;\nvar YAMLException = exception;\n\n// Re-export all types in case user wants to create custom schema\nvar types = {\n binary: binary,\n float: float,\n map: map,\n null: _null,\n pairs: pairs,\n set: set,\n timestamp: timestamp,\n bool: bool,\n int: int,\n merge: merge,\n omap: omap,\n seq: seq,\n str: str\n};\n\n// Removed functions from JS-YAML 3.0.x\nvar safeLoad = renamed('safeLoad', 'load');\nvar safeLoadAll = renamed('safeLoadAll', 'loadAll');\nvar safeDump = renamed('safeDump', 'dump');\n\nvar jsYaml = {\n\tType: Type,\n\tSchema: Schema,\n\tFAILSAFE_SCHEMA: FAILSAFE_SCHEMA,\n\tJSON_SCHEMA: JSON_SCHEMA,\n\tCORE_SCHEMA: CORE_SCHEMA,\n\tDEFAULT_SCHEMA: DEFAULT_SCHEMA,\n\tload: load,\n\tloadAll: loadAll,\n\tdump: dump,\n\tYAMLException: YAMLException,\n\ttypes: types,\n\tsafeLoad: safeLoad,\n\tsafeLoadAll: safeLoadAll,\n\tsafeDump: safeDump\n};\n\nexport default jsYaml;\nexport { CORE_SCHEMA, DEFAULT_SCHEMA, FAILSAFE_SCHEMA, JSON_SCHEMA, Schema, Type, YAMLException, dump, load, loadAll, safeDump, safeLoad, safeLoadAll, types };\n","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog-edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog-edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./dialog-edit.vue?vue&type=template&id=aa562898&\"\nimport script from \"./dialog-edit.vue?vue&type=script&lang=js&\"\nexport * from \"./dialog-edit.vue?vue&type=script&lang=js&\"\nimport style0 from \"./dialog-edit.vue?vue&type=style&index=0&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=01d098c8&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--11-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog-edit.vue?vue&type=style&index=0&lang=stylus&\"","\nconst Mixin = {\n data() {\n return {\n cs: {}\n }\n },\n watch: {\n $route(newVal, oldVal) {\n this.setCs()\n },\n },\n computed: {},\n methods: {\n setCs() {\n this.$store.state.storages.forEach((ele) => {\n if (ele.name == this.$route.params.sname) {\n this.cs = ele\n }\n });\n },\n getSid() {\n return this.cs.id\n },\n },\n mounted() {\n this.setCs()\n },\n}\n\nexport default Mixin","const DialogMixin = {\n data() {\n return {\n visible: false\n }\n },\n watch: {\n visible(val) {\n !val && this.$destroy()\n }\n },\n mounted() {\n document.body.appendChild(this.$el)\n this.visible = true\n },\n destroyed() {\n this.$el.parentNode.removeChild(this.$el)\n },\n methods: {\n open() {\n this.visible = true;\n },\n close() {\n this.visible = false;\n },\n completed() {\n this.$emit('completed');\n },\n finish() {\n this.close();\n this.completed();\n },\n }\n}\n\nexport default DialogMixin"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-141f1d87.134b4c95.js b/web/dist/js/chunk-141f1d87.134b4c95.js new file mode 100644 index 0000000..763591f --- /dev/null +++ b/web/dist/js/chunk-141f1d87.134b4c95.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-141f1d87"],{"2fff":function(r,e,s){"use strict";s.r(e);var o=function(){var r=this,e=r.$createElement,s=r._self._c||e;return s("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",[r._v("账户安全")])]),s("el-form",{ref:"form",staticClass:"profile",attrs:{model:r.form,rules:r.rules,size:"medium","label-width":"100px"}},[s("el-form-item",{attrs:{label:"旧密码",prop:"old_password"}},[s("el-input",{attrs:{type:"password"},model:{value:r.form.old_password,callback:function(e){r.$set(r.form,"old_password",e)},expression:"form.old_password"}})],1),s("el-form-item",{attrs:{label:"新密码",prop:"new_password"}},[s("el-input",{attrs:{type:"password"},model:{value:r.form.new_password,callback:function(e){r.$set(r.form,"new_password",e)},expression:"form.new_password"}})],1),s("el-form-item",{attrs:{label:"新密码确认",prop:"new_passwordr"}},[s("el-input",{attrs:{type:"password"},model:{value:r.form.new_passwordr,callback:function(e){r.$set(r.form,"new_passwordr",e)},expression:"form.new_passwordr"}})],1),s("el-form-item",[s("el-button",{attrs:{type:"primary"},on:{click:function(e){return r.submitForm("form")}}},[r._v("保存")])],1)],1)],1)},t=[],a=(s("7f7f"),{data:function(){var r=this,e=function(e,s,o){""===s?o(new Error("请输入密码")):(""!==r.form.new_passwordr&&r.$refs.form.validateField("new_passwordr"),o())},s=function(e,s,o){""===s?o(new Error("请再次输入密码")):s!==r.form.new_password?o(new Error("两次输入密码不一致!")):o()};return{form:{},rules:{old_password:[{trigger:"blur",required:!0,message:"请输入当前密码"}],new_password:[{trigger:"blur",required:!0,validator:e}],new_passwordr:[{trigger:"blur",required:!0,validator:s}]}}},methods:{submitForm:function(r){var e=this;this.$refs[r].validate((function(r){r&&e.$zpan.User.updatePassword(e.form).then((function(r){e.$message({type:"success",message:"修改成功!"})}))}))}},mounted:function(){this.$route.params}}),n=a,l=(s("f393"),s("2877")),i=Object(l["a"])(n,o,t,!1,null,null,null);e["default"]=i.exports},a802:function(r,e,s){},f393:function(r,e,s){"use strict";s("a802")}}]); +//# sourceMappingURL=chunk-141f1d87.134b4c95.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-141f1d87.134b4c95.js.map b/web/dist/js/chunk-141f1d87.134b4c95.js.map new file mode 100644 index 0000000..691d114 --- /dev/null +++ b/web/dist/js/chunk-141f1d87.134b4c95.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/settings/security/index.vue?00f4","webpack:///src/views/settings/security/index.vue","webpack:///./src/views/settings/security/index.vue?e6c9","webpack:///./src/views/settings/security/index.vue","webpack:///./src/views/settings/security/index.vue?2591"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","ref","form","rules","model","value","callback","$$v","$set","expression","on","$event","submitForm","staticRenderFns","data","validatePass","Error","validatePass2","old_password","new_password","new_passwordr","methods","$refs","name","validate","valid","type","message","mounted","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,YAAY,WAAWC,MAAM,CAAC,OAAS,UAAU,CAACH,EAAG,MAAM,CAACE,YAAY,WAAWC,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACJ,EAAG,OAAO,CAACJ,EAAIS,GAAG,YAAYL,EAAG,UAAU,CAACM,IAAI,OAAOJ,YAAY,UAAUC,MAAM,CAAC,MAAQP,EAAIW,KAAK,MAAQX,EAAIY,MAAM,KAAO,SAAS,cAAc,UAAU,CAACR,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,MAAM,KAAO,iBAAiB,CAACH,EAAG,WAAW,CAACG,MAAM,CAAC,KAAO,YAAYM,MAAM,CAACC,MAAOd,EAAIW,KAAiB,aAAEI,SAAS,SAAUC,GAAMhB,EAAIiB,KAAKjB,EAAIW,KAAM,eAAgBK,IAAME,WAAW,wBAAwB,GAAGd,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,MAAM,KAAO,iBAAiB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{var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:\"box-card\",attrs:{\"shadow\":\"never\"}},[_c('div',{staticClass:\"clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"账户安全\")])]),_c('el-form',{ref:\"form\",staticClass:\"profile\",attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"size\":\"medium\",\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"旧密码\",\"prop\":\"old_password\"}},[_c('el-input',{attrs:{\"type\":\"password\"},model:{value:(_vm.form.old_password),callback:function ($$v) {_vm.$set(_vm.form, \"old_password\", $$v)},expression:\"form.old_password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"新密码\",\"prop\":\"new_password\"}},[_c('el-input',{attrs:{\"type\":\"password\"},model:{value:(_vm.form.new_password),callback:function ($$v) {_vm.$set(_vm.form, \"new_password\", $$v)},expression:\"form.new_password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"新密码确认\",\"prop\":\"new_passwordr\"}},[_c('el-input',{attrs:{\"type\":\"password\"},model:{value:(_vm.form.new_passwordr),callback:function ($$v) {_vm.$set(_vm.form, \"new_passwordr\", $$v)},expression:\"form.new_passwordr\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.submitForm('form')}}},[_vm._v(\"保存\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=73499836&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-22dece4e.5b037940.js b/web/dist/js/chunk-22dece4e.5b037940.js new file mode 100644 index 0000000..39c76fc --- /dev/null +++ b/web/dist/js/chunk-22dece4e.5b037940.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-22dece4e"],{"0a01":function(e,t,s){"use strict";s.r(t);var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-card",{attrs:{shadow:"never"}},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",[e._v("发信邮箱设置")])]),s("el-form",{ref:"form",staticStyle:{width:"520px"},attrs:{model:e.form,"label-width":"100px"}},[s("el-form-item",{attrs:{label:"SMTP地址"}},[s("el-input",{model:{value:e.form.address,callback:function(t){e.$set(e.form,"address",t)},expression:"form.address"}})],1),s("el-form-item",{attrs:{label:"用户名"}},[s("el-input",{model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),s("el-form-item",{attrs:{label:"密码"}},[s("el-input",{attrs:{type:"password"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1),s("el-form-item",{attrs:{label:"发信人"}},[s("el-input",{model:{value:e.form.sender,callback:function(t){e.$set(e.form,"sender",t)},expression:"form.sender"}})],1),s("el-form-item",{attrs:{label:"启用"}},[s("el-switch",{model:{value:e.form.enabled,callback:function(t){e.$set(e.form,"enabled",t)},expression:"form.enabled"}}),s("span",{staticClass:"tips"},[s("i",{staticClass:"el-icon-warning"}),e._v("开启后可以使用完整账户流程(邮箱验证,找回密码)")])],1),s("el-form-item",[s("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("保存")])],1)],1)],1)},r=[],o={data:function(){return{form:{}}},methods:{onSubmit:function(){var e=this;this.$zpan.System.optSave("core.email",this.form).then((function(t){e.$message({type:"success",message:e.$t("msg.save-success")})}))}},mounted:function(){var e=this;this.$zpan.System.optGet("core.email").then((function(t){console.log(t.data),t.data&&(e.form=t.data)}))}},n=o,l=(s("a9d0"),s("2877")),i=Object(l["a"])(n,a,r,!1,null,null,null);t["default"]=i.exports},"3f0c":function(e,t,s){},a9d0:function(e,t,s){"use strict";s("3f0c")}}]); +//# sourceMappingURL=chunk-22dece4e.5b037940.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-22dece4e.5b037940.js.map b/web/dist/js/chunk-22dece4e.5b037940.js.map new file mode 100644 index 0000000..9ea4168 --- /dev/null +++ b/web/dist/js/chunk-22dece4e.5b037940.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/admin/settings/email.vue?8c6d","webpack:///src/views/admin/settings/email.vue","webpack:///./src/views/admin/settings/email.vue?fc79","webpack:///./src/views/admin/settings/email.vue","webpack:///./src/views/admin/settings/email.vue?ba32"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","slot","_v","ref","staticStyle","form","model","value","callback","$$v","$set","expression","on","onSubmit","staticRenderFns","data","methods","$zpan","System","optSave","then","type","message","mounted","optGet","console","log","ret","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,MAAM,CAAC,OAAS,UAAU,CAACF,EAAG,MAAM,CAACG,YAAY,WAAWD,MAAM,CAAC,KAAO,UAAUE,KAAK,UAAU,CAACJ,EAAG,OAAO,CAACJ,EAAIS,GAAG,cAAcL,EAAG,UAAU,CAACM,IAAI,OAAOC,YAAY,CAAC,MAAQ,SAASL,MAAM,CAAC,MAAQN,EAAIY,KAAK,cAAc,UAAU,CAACR,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,WAAW,CAACF,EAAG,WAAW,CAACS,MAAM,CAACC,MAAOd,EAAIY,KAAY,QAAEG,SAAS,SAAUC,GAAMhB,EAAIiB,KAAKjB,EAAIY,KAAM,UAAWI,IAAME,WAAW,mBAAmB,GAAGd,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,QAAQ,CAACF,EAAG,WAAW,CAACS,MAAM,CAACC,MAAOd,EAAIY,KAAa,SAAEG,SAAS,SAAUC,GAAMhB,EAAIiB,KAAKjB,EAAIY,KAAM,WAAYI,IAAME,WAAW,oBAAoB,GAAGd,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,OAAO,CAACF,EAAG,WAAW,CAACE,MAAM,CAAC,KAAO,YAAYO,MAAM,CAACC,MAAOd,EAAIY,KAAa,SAAEG,SAAS,SAAUC,GAAMhB,EAAIiB,KAAKjB,EAAIY,KAAM,WAAYI,IAAME,WAAW,oBAAoB,GAAGd,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,QAAQ,CAACF,EAAG,WAAW,CAACS,MAAM,CAACC,MAAOd,EAAIY,KAAW,OAAEG,SAAS,SAAUC,GAAMhB,EAAIiB,KAAKjB,EAAIY,KAAM,SAAUI,IAAME,WAAW,kBAAkB,GAAGd,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,OAAO,CAACF,EAAG,YAAY,CAACS,MAAM,CAACC,MAAOd,EAAIY,KAAY,QAAEG,SAAS,SAAUC,GAAMhB,EAAIiB,KAAKjB,EAAIY,KAAM,UAAWI,IAAME,WAAW,kBAAkBd,EAAG,OAAO,CAACG,YAAY,QAAQ,CAACH,EAAG,IAAI,CAACG,YAAY,oBAAoBP,EAAIS,GAAG,+BAA+B,GAAGL,EAAG,eAAe,CAACA,EAAG,YAAY,CAACE,MAAM,CAAC,KAAO,WAAWa,GAAG,CAAC,MAAQnB,EAAIoB,WAAW,CAACpB,EAAIS,GAAG,SAAS,IAAI,IAAI,IAC1+CY,EAAkB,GC+BtB,GACEC,KADF,WAEI,MAAO,CACLV,KAAM,KAGVW,QAAS,CACPH,SADJ,WACA,WACMnB,KAAKuB,MAAMC,OAAOC,QAAQ,aAAczB,KAAKW,MAAMe,MAAK,SAA9D,GACQ,EAAR,UACUC,KAAM,UACNC,QAAS,EAAnB,8BAKEC,QAhBF,WAgBA,WACI7B,KAAKuB,MAAMC,OAAOM,OAAO,cAAcJ,MAAK,SAAhD,GACMK,QAAQC,IAAIC,EAAIZ,MACZY,EAAIZ,OACN,EAAR,kBCpD6W,I,wBCQzWa,EAAY,eACd,EACApC,EACAsB,GACA,EACA,KACA,KACA,MAIa,aAAAc,E,oECnBf","file":"js/chunk-22dece4e.5b037940.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{attrs:{\"shadow\":\"never\"}},[_c('div',{staticClass:\"clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"发信邮箱设置\")])]),_c('el-form',{ref:\"form\",staticStyle:{\"width\":\"520px\"},attrs:{\"model\":_vm.form,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"SMTP地址\"}},[_c('el-input',{model:{value:(_vm.form.address),callback:function ($$v) {_vm.$set(_vm.form, \"address\", $$v)},expression:\"form.address\"}})],1),_c('el-form-item',{attrs:{\"label\":\"用户名\"}},[_c('el-input',{model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}})],1),_c('el-form-item',{attrs:{\"label\":\"密码\"}},[_c('el-input',{attrs:{\"type\":\"password\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"发信人\"}},[_c('el-input',{model:{value:(_vm.form.sender),callback:function ($$v) {_vm.$set(_vm.form, \"sender\", $$v)},expression:\"form.sender\"}})],1),_c('el-form-item',{attrs:{\"label\":\"启用\"}},[_c('el-switch',{model:{value:(_vm.form.enabled),callback:function ($$v) {_vm.$set(_vm.form, \"enabled\", $$v)},expression:\"form.enabled\"}}),_c('span',{staticClass:\"tips\"},[_c('i',{staticClass:\"el-icon-warning\"}),_vm._v(\"开启后可以使用完整账户流程(邮箱验证,找回密码)\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.onSubmit}},[_vm._v(\"保存\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./email.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./email.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./email.vue?vue&type=template&id=1fecfd4c&\"\nimport script from \"./email.vue?vue&type=script&lang=js&\"\nexport * from \"./email.vue?vue&type=script&lang=js&\"\nimport style0 from \"./email.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./email.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-251a991a.30030b5a.js b/web/dist/js/chunk-251a991a.30030b5a.js new file mode 100644 index 0000000..32d1eb1 --- /dev/null +++ b/web/dist/js/chunk-251a991a.30030b5a.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-251a991a"],{"4da1":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"topbar"},[s("el-input",{staticStyle:{width:"300px"},attrs:{size:"medium",placeholder:t.$t("admin.search-placeholder"),"prefix-icon":"el-icon-search"},on:{change:t.listRefresh},model:{value:t.query.email,callback:function(e){t.$set(t.query,"email",e)},expression:"query.email"}}),s("el-button",{staticStyle:{float:"right"},attrs:{type:"primary",size:"medium"},on:{click:t.createUser}},[t._v(t._s(t.$t("admin.btn-user-add")))])],1),s("el-card",{staticStyle:{"margin-top":"10px","padding-bottom":"20px"},attrs:{shadow:"never"}},[s("el-table",{staticStyle:{width:"100%"},attrs:{data:t.rows,size:"medium"}},[s("el-table-column",{attrs:{prop:"id",label:"ID",width:"80"}}),s("el-table-column",{attrs:{prop:"profile.nickname",label:t.$t("admin.label-nickname"),width:"120"}}),s("el-table-column",{attrs:{prop:"email",label:t.$t("admin.label-email")}}),s("el-table-column",{attrs:{prop:"role",label:t.$t("admin.label-role"),width:"100"}}),s("el-table-column",{attrs:{prop:"status",label:t.$t("admin.label-status"),width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return["已激活"==e.row.status?s("el-tag",{attrs:{type:"success"}},[t._v(t._s(e.row.status))]):s("el-tag",{attrs:{type:"info"}},[t._v(t._s(e.row.status))])]}}])}),s("el-table-column",{attrs:{prop:"storage",label:t.$t("admin.label-storage"),width:"220"},scopedSlots:t._u([{key:"default",fn:function(e){return[s("span",[t._v(t._s(e.row.storage.used.format())+" / "+t._s(e.row.storage.max.format()))])]}}])}),s("el-table-column",{attrs:{prop:"operation",label:t.$t("admin.label-operation"),width:"280"},scopedSlots:t._u([{key:"default",fn:function(e){return[s("el-button",{attrs:{size:"mini"},on:{click:function(s){return t.onStatusSwitch(e.$index,e.row)}}},[t._v(t._s(t.$t("op."+("已激活"==e.row.status?"disable":"enable"))))]),s("el-dropdown",{staticStyle:{"margin-left":"10px"},on:{command:function(s){t.onDropdownMenuClick(s,e.row)}}},[s("el-button",{attrs:{size:"mini"}},[t._v("高级"),s("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),s("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[s("el-dropdown-item",{attrs:{command:"edit-storage"}},[t._v(t._s(t.$t("admin.btn-quota-update")))]),s("el-dropdown-item",{attrs:{command:"reset-password"}},[t._v("重置密码")]),s("el-dropdown-item",{attrs:{command:"remove",divided:""}},[t._v(t._s(t.$t("op.delete")))])],1)],1)]}}])})],1),s("div",{staticStyle:{"margin-top":"20px"}},[s("el-pagination",{staticStyle:{float:"right"},attrs:{layout:"prev, pager, next","current-page":t.pageNo,"page-size":t.query.limit,total:t.total},on:{"update:currentPage":function(e){t.pageNo=e},"update:current-page":function(e){t.pageNo=e},"current-change":t.listRefresh}})],1)],1)],1)},o=[],r=s("90fe"),i=s("6275"),n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-dialog",{attrs:{title:t.title,visible:t.visible,width:"35%"},on:{"update:visible":function(e){t.visible=e}}},[s("el-form",{ref:"form",staticStyle:{width:"85%"},attrs:{model:t.form,rules:t.rules}},[s("el-form-item",{attrs:{prop:"email",label:"邮箱","label-width":"100px"}},[s("el-input",{attrs:{placeholder:"电子邮箱",autofocus:""},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),s("el-form-item",{attrs:{prop:"role",label:"角色","label-width":"100px"}},[s("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择用户角色"},model:{value:t.form.roles,callback:function(e){t.$set(t.form,"roles",e)},expression:"form.roles"}},t._l(t.roles,(function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),s("el-form-item",{attrs:{prop:"storage",label:"存储空间","label-width":"100px"}},[s("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请设置存储配额"},model:{value:t.form.storage,callback:function(e){t.$set(t.form,"storage",e)},expression:"form.storage"}},[s("el-select",{staticStyle:{width:"80px"},attrs:{slot:"append",placeholder:"单位"},slot:"append",model:{value:t.unitValue,callback:function(e){t.unitValue=e},expression:"unitValue"}},t._l(t.units,(function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1),s("el-form-item",{attrs:{prop:"password",label:"密码","label-width":"100px"}},[s("el-input",{attrs:{type:"password",placeholder:"密码"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),s("el-form-item",{attrs:{prop:"password2",label:"密码确认","label-width":"100px"}},[s("el-input",{attrs:{type:"password",placeholder:"密码确认"},model:{value:t.form.password2,callback:function(e){t.$set(t.form,"password2",e)},expression:"form.password2"}})],1)],1),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{size:"medium"},on:{click:t.close}},[t._v(t._s(t.$t("op.cancel")))]),s("el-button",{attrs:{size:"medium",type:"primary"},on:{click:t.submit}},[t._v(t._s(t.$t("op.confirm")))])],1)],1)},l=[],u=s("ebbf"),c={mixins:[u["b"]],props:{title:{type:String,default:""}},data:function(){var t=this,e=function(e,s,a){""===s?a(new Error("请输入密码")):(""!==t.form.password2&&t.$refs.form.validateField("password2"),a())},s=function(e,s,a){""===s?a(new Error("请再次输入密码")):s!==t.form.password?a(new Error("两次输入密码不一致!")):a()};return{roles:[{label:"管理员",value:"admin"},{label:"注册用户",value:"member"}],rules:{email:[{required:!0,message:"请输入邮箱地址",trigger:"blur"},{type:"email",message:"请输入正确的邮箱地址",trigger:["blur","change"]}],password:[{validator:e,trigger:"blur",required:!0}],password2:[{validator:s,trigger:"blur",required:!0}]},unitValue:r["a"].bytesUnits()[2].value,form:{roles:"member",storage:100}}},computed:{units:function(){return r["a"].bytesUnits()}},methods:{submit:function(){var t=this;this.form.storage_max=Math.round(this.form.storage*this.unitValue),this.$zpan.User.signup(this.form).then((function(e){t.finish(),t.$message({type:"success",message:t.$t("msg.save-success")})}))}},mounted:function(){}},m=c,d=s("2877"),p=Object(d["a"])(m,n,l,!1,null,null,null),f=p.exports,h=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-dialog",{attrs:{title:t.$t("admin.label-quota-change"),visible:t.visible,width:"25%"},on:{"update:visible":function(e){t.visible=e}}},[s("el-form",{attrs:{model:t.form}},[s("el-form-item",{attrs:{label:t.$t("admin.label-quota"),"label-width":"110px"}},[s("el-input",{staticStyle:{width:"80%"},attrs:{placeholder:"请输入内容"},model:{value:t.form.max.num,callback:function(e){t.$set(t.form.max,"num",e)},expression:"form.max.num"}},[s("el-select",{staticStyle:{width:"80px"},attrs:{slot:"append",placeholder:"单位"},slot:"append",model:{value:t.form.max.unitValue,callback:function(e){t.$set(t.form.max,"unitValue",e)},expression:"form.max.unitValue"}},t._l(t.units,(function(t){return s("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1)],1),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{size:"medium"},on:{click:t.close}},[t._v(t._s(t.$t("op.cancel")))]),s("el-button",{attrs:{size:"medium",type:"primary"},on:{click:t.onSubmit}},[t._v(t._s(t.$t("op.confirm")))])],1)],1)},b=[],w={mixins:[u["b"]],props:{username:{type:String},form:{type:Object}},data:function(){return{}},computed:{units:function(){return r["a"].bytesUnits()}},methods:{onSubmit:function(){var t=this;this.form.max=Math.round(this.form.max.num*this.form.max.unitValue),this.$zpan.User.updateStorageByUser(this.username,this.form).then((function(e){t.finish(),t.$message({type:"success",message:t.$t("msg.save-success")})}))}},mounted:function(){}},v=w,g=Object(d["a"])(v,h,b,!1,null,null,null),$=g.exports,y=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-dialog",{attrs:{title:t.$t("admin.label-password-reset"),visible:t.visible,width:"30%"},on:{"update:visible":function(e){t.visible=e}}},[s("el-form",{ref:"form",staticClass:"profile",staticStyle:{width:"85%"},attrs:{model:t.form,rules:t.rules,size:"medium","label-width":"100px"}},[s("el-form-item",{attrs:{label:"新密码",prop:"new_password"}},[s("el-input",{attrs:{type:"password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),s("el-form-item",{attrs:{label:"密码确认",prop:"new_passwordr"}},[s("el-input",{attrs:{type:"password"},model:{value:t.form.passwordr,callback:function(e){t.$set(t.form,"passwordr",e)},expression:"form.passwordr"}})],1)],1),s("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{attrs:{size:"medium"},on:{click:t.close}},[t._v(t._s(t.$t("op.cancel")))]),s("el-button",{attrs:{size:"medium",type:"primary"},on:{click:function(e){return t.submit("form")}}},[t._v(t._s(t.$t("op.confirm")))])],1)],1)},x=[],_=(s("7f7f"),{mixins:[u["b"]],props:{username:{type:String}},data:function(){var t=this,e=function(e,s,a){""===s?a(new Error("请输入密码")):(""!==t.form.new_passwordr&&t.$refs.form.validateField("new_passwordr"),a())},s=function(e,s,a){""===s?a(new Error("请再次输入密码")):s!==t.form.new_password?a(new Error("两次输入密码不一致!")):a()};return{form:{},rules:{password:[{trigger:"blur",required:!0,validator:e}],passwordr:[{trigger:"blur",required:!0,validator:s}]}}},methods:{submit:function(t){var e=this;this.$refs[t].validate((function(t){t&&e.$zpan.User.updatePasswordByUser(e.username,e.form).then((function(t){e.finish(),e.$message({type:"success",message:"修改成功!"})}))}))}}}),k=_,S=Object(d["a"])(k,y,x,!1,null,null,null),z=S.exports,q={data:function(){return{query:{email:"",offset:0,limit:20},pageNo:1,rows:[],total:0}},methods:{listRefresh:function(){var t=this;this.query.offset=(this.pageNo-1)*this.query.limit,this.$zpan.User.list(this.query).then((function(e){t.rows=e.data.list.map((function(t){return t.storage.used=r["a"].formatBytes2(t.storage.used),t.storage.max=r["a"].formatBytes2(t.storage.max),t})),t.total=e.data.total}))},createUser:function(){var t=this;Object(i["a"])(f)({title:"添加用户"}).then((function(e){t.listRefresh()}))},onStatusSwitch:function(t,e){var s=this,a=1,o=2,r=Object.assign({},e),i=this.$t("op.enable"),n=i+this.$t("msg.success"),l=this.$t("tips.enable");"已禁用"==e.status?r.status=a:(r.status=o,i=this.$t("op.disable"),n=i+this.$t("msg.success"),l=this.$t("tips.disable")),this.$confirm(l,"".concat(i," ").concat(e.email),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){s.$zpan.User.updateStatusByUser(e.username,r).then((function(t){s.$message({type:"success",message:n}),s.listRefresh()}))}))},onDropdownMenuClick:function(t,e){switch(t){case"edit-storage":this.onEditStorage(e);break;case"reset-password":this.onEditPassword(e);break;case"remove":this.onDelete(e);break;default:break}console.log(t)},onEditStorage:function(t){var e=this,s=Object.assign({},t.storage),a={username:t.username,form:s};Object(i["a"])($)(a).then((function(){e.listRefresh()}))},onEditPassword:function(t){var e=this;Object(i["a"])(z)({username:t.username}).then((function(t){e.listRefresh()}))},onDelete:function(t){var e=this;this.$confirm(this.$t("tips.remove"),this.$t("op.delete")+" ".concat(t.email),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){e.$zpan.User.delete(t.username).then((function(t){e.$message({type:"success",message:e.$t("msg.delete-success")}),e.listRefresh()}))}))}},mounted:function(){this.listRefresh()}},E=q,U=(s("660f"),Object(d["a"])(E,a,o,!1,null,null,null));e["default"]=U.exports},6275:function(t,e,s){"use strict";s.d(e,"a",(function(){return n}));var a=s("a026"),o=s("9225"),r=s("c0d6"),i=s("41cb"),n=function(t){var e=a["default"].extend(t);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};console.log(t);var s=new e({i18n:o["a"],store:r["a"],router:i["a"],propsData:t}).$mount(document.createElement("div"));return new Promise((function(t,e){s.$once("completed",(function(e){return t(e)})),s.$once("cancel",(function(t){return e(t)}))}))}}},"660f":function(t,e,s){"use strict";s("c0ba")},c0ba:function(t,e,s){},ebbf:function(t,e,s){"use strict";s.d(e,"a",(function(){return o})),s.d(e,"b",(function(){return i}));s("7f7f"),s("ac6a");var a={data:function(){return{cs:{}}},watch:{$route:function(t,e){this.setCs()}},computed:{},methods:{setCs:function(){var t=this;this.$store.state.storages.forEach((function(e){e.name==t.$route.params.sname&&(t.cs=e)}))},getSid:function(){return this.cs.id}},mounted:function(){this.setCs()}},o=a,r={data:function(){return{visible:!1}},watch:{visible:function(t){!t&&this.$destroy()}},mounted:function(){document.body.appendChild(this.$el),this.visible=!0},destroyed:function(){this.$el.parentNode.removeChild(this.$el)},methods:{open:function(){this.visible=!0},close:function(){this.visible=!1},completed:function(){this.$emit("completed")},finish:function(){this.close(),this.completed()}}},i=r}}]); +//# sourceMappingURL=chunk-251a991a.30030b5a.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-251a991a.30030b5a.js.map b/web/dist/js/chunk-251a991a.30030b5a.js.map new file mode 100644 index 0000000..f459ac5 --- /dev/null +++ b/web/dist/js/chunk-251a991a.30030b5a.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/admin/users/index.vue?0fc1","webpack:///./src/views/admin/users/dialog-create.vue?d07f","webpack:///src/views/admin/users/dialog-create.vue","webpack:///./src/views/admin/users/dialog-create.vue?9e1e","webpack:///./src/views/admin/users/dialog-create.vue","webpack:///./src/views/admin/users/dialog-storage.vue?6d41","webpack:///src/views/admin/users/dialog-storage.vue","webpack:///./src/views/admin/users/dialog-storage.vue?1169","webpack:///./src/views/admin/users/dialog-storage.vue","webpack:///./src/views/admin/users/dialog-password.vue?d91c","webpack:///src/views/admin/users/dialog-password.vue","webpack:///./src/views/admin/users/dialog-password.vue?b6d1","webpack:///./src/views/admin/users/dialog-password.vue","webpack:///src/views/admin/users/index.vue","webpack:///./src/views/admin/users/index.vue?5621","webpack:///./src/views/admin/users/index.vue","webpack:///./src/helper.js","webpack:///./src/views/admin/users/index.vue?1382","webpack:///./src/libs/mixin/cs.js","webpack:///./src/libs/mixin/dialog.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","$t","on","listRefresh","model","value","query","callback","$$v","$set","expression","createUser","_v","_s","rows","scopedSlots","_u","key","fn","scope","row","status","storage","used","format","max","$event","onStatusSwitch","$index","cmd","onDropdownMenuClick","slot","pageNo","limit","total","staticRenderFns","title","visible","ref","form","rules","_l","item","label","unitValue","close","submit","mixins","props","data","validatePass","Error","validatePass2","roles","email","password","password2","utils","computed","units","methods","storage_max","Math","round","$zpan","User","signup","then","type","message","mounted","component","onSubmit","username","num","updateStorageByUser","passwordr","$refs","name","validate","valid","offset","list","ele","ENABLE","DISABLE","op","msg","tips","$confirm","confirmButtonText","cancelButtonText","command","onEditStorage","onEditPassword","onDelete","console","log","transfer","_constructor","Vue","extend","propsData","instance","i18n","store","router","$mount","document","createElement","Promise","resolve","reject","$once","Mixin","cs","watch","$route","newVal","oldVal","setCs","$store","state","storages","forEach","params","sname","getSid","id","DialogMixin","val","$destroy","body","appendChild","$el","destroyed","parentNode","removeChild","open","completed","$emit","finish"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,WAAW,CAACG,YAAY,CAAC,MAAQ,SAASC,MAAM,CAAC,KAAO,SAAS,YAAcR,EAAIS,GAAG,4BAA4B,cAAc,kBAAkBC,GAAG,CAAC,OAASV,EAAIW,aAAaC,MAAM,CAACC,MAAOb,EAAIc,MAAW,MAAEC,SAAS,SAAUC,GAAMhB,EAAIiB,KAAKjB,EAAIc,MAAO,QAASE,IAAME,WAAW,iBAAiBd,EAAG,YAAY,CAACG,YAAY,CAAC,MAAQ,SAASC,MAAM,CAAC,KAAO,UAAU,KAAO,UAAUE,GAAG,CAAC,MAAQV,EAAImB,aAAa,CAACnB,EAAIoB,GAAGpB,EAAIqB,GAAGrB,EAAIS,GAAG,2BAA2B,GAAGL,EAAG,UAAU,CAACG,YAAY,CAAC,aAAa,OAAO,iBAAiB,QAAQC,MAAM,CAAC,OAAS,UAAU,CAACJ,EAAG,WAAW,CAACG,YAAY,CAAC,MAAQ,QAAQC,MAAM,CAAC,KAAOR,EAAIsB,KAAK,KAAO,WAAW,CAAClB,EAAG,kBAAkB,CAACI,MAAM,CAAC,KAAO,KAAK,MAAQ,KAAK,MAAQ,QAAQJ,EAAG,kBAAkB,CAACI,MAAM,CAAC,KAAO,mBAAmB,MAAQR,EAAIS,GAAG,wBAAwB,MAAQ,SAASL,EAAG,kBAAkB,CAACI,MAAM,CAAC,KAAO,QAAQ,MA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IE,WAAWC,YAAYhJ,KAAK6I,MAEzC1E,QAAS,CACL8E,KADK,WAEDjJ,KAAK4C,SAAU,GAEnBQ,MAJK,WAKDpD,KAAK4C,SAAU,GAEnBsG,UAPK,WAQDlJ,KAAKmJ,MAAM,cAEfC,OAVK,WAWDpJ,KAAKoD,QACLpD,KAAKkJ,eAKFV","file":"js/chunk-251a991a.30030b5a.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"topbar\"},[_c('el-input',{staticStyle:{\"width\":\"300px\"},attrs:{\"size\":\"medium\",\"placeholder\":_vm.$t('admin.search-placeholder'),\"prefix-icon\":\"el-icon-search\"},on:{\"change\":_vm.listRefresh},model:{value:(_vm.query.email),callback:function ($$v) {_vm.$set(_vm.query, \"email\", $$v)},expression:\"query.email\"}}),_c('el-button',{staticStyle:{\"float\":\"right\"},attrs:{\"type\":\"primary\",\"size\":\"medium\"},on:{\"click\":_vm.createUser}},[_vm._v(_vm._s(_vm.$t(\"admin.btn-user-add\")))])],1),_c('el-card',{staticStyle:{\"margin-top\":\"10px\",\"padding-bottom\":\"20px\"},attrs:{\"shadow\":\"never\"}},[_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.rows,\"size\":\"medium\"}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"ID\",\"width\":\"80\"}}),_c('el-table-column',{attrs:{\"prop\":\"profile.nickname\",\"label\":_vm.$t('admin.label-nickname'),\"width\":\"120\"}}),_c('el-table-column',{attrs:{\"prop\":\"email\",\"label\":_vm.$t('admin.label-email')}}),_c('el-table-column',{attrs:{\"prop\":\"role\",\"label\":_vm.$t('admin.label-role'),\"width\":\"100\"}}),_c('el-table-column',{attrs:{\"prop\":\"status\",\"label\":_vm.$t('admin.label-status'),\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.status == '已激活')?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(_vm._s(scope.row.status))]):_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(_vm._s(scope.row.status))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"storage\",\"label\":_vm.$t('admin.label-storage'),\"width\":\"220\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.storage.used.format())+\" / \"+_vm._s(scope.row.storage.max.format()))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"operation\",\"label\":_vm.$t('admin.label-operation'),\"width\":\"280\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.onStatusSwitch(scope.$index, scope.row)}}},[_vm._v(_vm._s(_vm.$t((\"op.\" + (scope.row.status == \"已激活\" ? \"disable\" : \"enable\")))))]),_c('el-dropdown',{staticStyle:{\"margin-left\":\"10px\"},on:{\"command\":function (cmd) {\n _vm.onDropdownMenuClick(cmd, scope.row);\n }}},[_c('el-button',{attrs:{\"size\":\"mini\"}},[_vm._v(\"高级\"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})]),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{attrs:{\"command\":\"edit-storage\"}},[_vm._v(_vm._s(_vm.$t(\"admin.btn-quota-update\")))]),_c('el-dropdown-item',{attrs:{\"command\":\"reset-password\"}},[_vm._v(\"重置密码\")]),_c('el-dropdown-item',{attrs:{\"command\":\"remove\",\"divided\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"op.delete\")))])],1)],1)]}}])})],1),_c('div',{staticStyle:{\"margin-top\":\"20px\"}},[_c('el-pagination',{staticStyle:{\"float\":\"right\"},attrs:{\"layout\":\"prev, pager, next\",\"current-page\":_vm.pageNo,\"page-size\":_vm.query.limit,\"total\":_vm.total},on:{\"update:currentPage\":function($event){_vm.pageNo=$event},\"update:current-page\":function($event){_vm.pageNo=$event},\"current-change\":_vm.listRefresh}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"title\":_vm.title,\"visible\":_vm.visible,\"width\":\"35%\"},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('el-form',{ref:\"form\",staticStyle:{\"width\":\"85%\"},attrs:{\"model\":_vm.form,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"prop\":\"email\",\"label\":\"邮箱\",\"label-width\":\"100px\"}},[_c('el-input',{attrs:{\"placeholder\":\"电子邮箱\",\"autofocus\":\"\"},model:{value:(_vm.form.email),callback:function ($$v) {_vm.$set(_vm.form, \"email\", $$v)},expression:\"form.email\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"role\",\"label\":\"角色\",\"label-width\":\"100px\"}},[_c('el-select',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":\"请选择用户角色\"},model:{value:(_vm.form.roles),callback:function ($$v) {_vm.$set(_vm.form, \"roles\", $$v)},expression:\"form.roles\"}},_vm._l((_vm.roles),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1),_c('el-form-item',{attrs:{\"prop\":\"storage\",\"label\":\"存储空间\",\"label-width\":\"100px\"}},[_c('el-input',{staticStyle:{\"width\":\"100%\"},attrs:{\"placeholder\":\"请设置存储配额\"},model:{value:(_vm.form.storage),callback:function ($$v) {_vm.$set(_vm.form, \"storage\", $$v)},expression:\"form.storage\"}},[_c('el-select',{staticStyle:{\"width\":\"80px\"},attrs:{\"slot\":\"append\",\"placeholder\":\"单位\"},slot:\"append\",model:{value:(_vm.unitValue),callback:function ($$v) {_vm.unitValue=$$v},expression:\"unitValue\"}},_vm._l((_vm.units),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1)],1),_c('el-form-item',{attrs:{\"prop\":\"password\",\"label\":\"密码\",\"label-width\":\"100px\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"密码\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"password2\",\"label\":\"密码确认\",\"label-width\":\"100px\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"密码确认\"},model:{value:(_vm.form.password2),callback:function ($$v) {_vm.$set(_vm.form, \"password2\", $$v)},expression:\"form.password2\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"medium\"},on:{\"click\":_vm.close}},[_vm._v(_vm._s(_vm.$t(\"op.cancel\")))]),_c('el-button',{attrs:{\"size\":\"medium\",\"type\":\"primary\"},on:{\"click\":_vm.submit}},[_vm._v(_vm._s(_vm.$t(\"op.confirm\")))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog-create.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog-create.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./dialog-create.vue?vue&type=template&id=739ef994&\"\nimport script from \"./dialog-create.vue?vue&type=script&lang=js&\"\nexport * from \"./dialog-create.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"title\":_vm.$t('admin.label-quota-change'),\"visible\":_vm.visible,\"width\":\"25%\"},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":_vm.$t('admin.label-quota'),\"label-width\":\"110px\"}},[_c('el-input',{staticStyle:{\"width\":\"80%\"},attrs:{\"placeholder\":\"请输入内容\"},model:{value:(_vm.form.max.num),callback:function ($$v) {_vm.$set(_vm.form.max, \"num\", $$v)},expression:\"form.max.num\"}},[_c('el-select',{staticStyle:{\"width\":\"80px\"},attrs:{\"slot\":\"append\",\"placeholder\":\"单位\"},slot:\"append\",model:{value:(_vm.form.max.unitValue),callback:function ($$v) {_vm.$set(_vm.form.max, \"unitValue\", $$v)},expression:\"form.max.unitValue\"}},_vm._l((_vm.units),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"medium\"},on:{\"click\":_vm.close}},[_vm._v(_vm._s(_vm.$t(\"op.cancel\")))]),_c('el-button',{attrs:{\"size\":\"medium\",\"type\":\"primary\"},on:{\"click\":_vm.onSubmit}},[_vm._v(_vm._s(_vm.$t(\"op.confirm\")))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog-storage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog-storage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./dialog-storage.vue?vue&type=template&id=ef6c3ca4&\"\nimport script from \"./dialog-storage.vue?vue&type=script&lang=js&\"\nexport * from \"./dialog-storage.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"title\":_vm.$t('admin.label-password-reset'),\"visible\":_vm.visible,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('el-form',{ref:\"form\",staticClass:\"profile\",staticStyle:{\"width\":\"85%\"},attrs:{\"model\":_vm.form,\"rules\":_vm.rules,\"size\":\"medium\",\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"新密码\",\"prop\":\"new_password\"}},[_c('el-input',{attrs:{\"type\":\"password\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"密码确认\",\"prop\":\"new_passwordr\"}},[_c('el-input',{attrs:{\"type\":\"password\"},model:{value:(_vm.form.passwordr),callback:function ($$v) {_vm.$set(_vm.form, \"passwordr\", $$v)},expression:\"form.passwordr\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"medium\"},on:{\"click\":_vm.close}},[_vm._v(_vm._s(_vm.$t(\"op.cancel\")))]),_c('el-button',{attrs:{\"size\":\"medium\",\"type\":\"primary\"},on:{\"click\":function($event){return _vm.submit('form')}}},[_vm._v(_vm._s(_vm.$t(\"op.confirm\")))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog-password.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./dialog-password.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./dialog-password.vue?vue&type=template&id=6cc77d3d&\"\nimport script from \"./dialog-password.vue?vue&type=script&lang=js&\"\nexport * from \"./dialog-password.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=3d54eaca&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport i18n from './i18n'\nimport store from './store'\nimport router from './router'\n\nexport const transfer = component => {\n const _constructor = Vue.extend(component)\n return function (propsData = {}) {\n console.log(propsData)\n let instance = new _constructor({ i18n, store, router, propsData }).$mount(document.createElement('div'))\n\n return new Promise((resolve, reject) => {\n instance.$once('completed', data => resolve(data))\n instance.$once('cancel', data => reject(data))\n })\n }\n}","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","\nconst Mixin = {\n data() {\n return {\n cs: {}\n }\n },\n watch: {\n $route(newVal, oldVal) {\n this.setCs()\n },\n },\n computed: {},\n methods: {\n setCs() {\n this.$store.state.storages.forEach((ele) => {\n if (ele.name == this.$route.params.sname) {\n this.cs = ele\n }\n });\n },\n getSid() {\n return this.cs.id\n },\n },\n mounted() {\n this.setCs()\n },\n}\n\nexport default Mixin","const DialogMixin = {\n data() {\n return {\n visible: false\n }\n },\n watch: {\n visible(val) {\n !val && this.$destroy()\n }\n },\n mounted() {\n document.body.appendChild(this.$el)\n this.visible = true\n },\n destroyed() {\n this.$el.parentNode.removeChild(this.$el)\n },\n methods: {\n open() {\n this.visible = true;\n },\n close() {\n this.visible = false;\n },\n completed() {\n this.$emit('completed');\n },\n finish() {\n this.close();\n this.completed();\n },\n }\n}\n\nexport default DialogMixin"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-26cc1f8f.ed4f6bdb.js b/web/dist/js/chunk-26cc1f8f.ed4f6bdb.js new file mode 100644 index 0000000..99bf0f7 --- /dev/null +++ b/web/dist/js/chunk-26cc1f8f.ed4f6bdb.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-26cc1f8f"],{"0a49":function(t,e,r){var a=r("9b43"),n=r("626a"),i=r("4bf8"),s=r("9def"),o=r("cd1c");t.exports=function(t,e){var r=1==t,c=2==t,u=3==t,f=4==t,d=6==t,l=5==t||d,h=e||o;return function(e,o,p){for(var m,v,w=i(e),b=n(w),y=a(o,p,3),x=s(b.length),_=0,A=r?h(e,x):c?h(e,0):void 0;x>_;_++)if((l||_ in b)&&(m=b[_],v=y(m,_,w),t))if(r)A[_]=v;else if(v)switch(t){case 3:return!0;case 5:return m;case 6:return _;case 2:A.push(m)}else if(f)return!1;return d?-1:u||f?f:A}}},1169:function(t,e,r){var a=r("2d95");t.exports=Array.isArray||function(t){return"Array"==a(t)}},5566:function(t,e,r){"use strict";r("e6e6")},7514:function(t,e,r){"use strict";var a=r("5ca1"),n=r("0a49")(5),i="find",s=!0;i in[]&&Array(1)[i]((function(){s=!1})),a(a.P+a.F*s,"Array",{find:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),r("9c6c")(i)},bc5a:function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"warp"},[r("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[r("div",{staticClass:"header clearfix",attrs:{slot:"header"},slot:"header"},[r("span",{staticClass:"name"},[t._v(t._s(t.info.name))]),r("span",{staticClass:"time"},[t._v("分享于"+t._s(t._f("moment")(t.info.created,"YYYY-MM-DD HH:hh")))])]),r("el-form",{staticClass:"form",attrs:{"label-position":"top","label-width":"80px"}},[r("el-form-item",{attrs:{label:t.$t("share.drawcode-placeholder")}},[r("el-input",{staticStyle:{width:"310px","margin-right":"10px"},attrs:{size:"medium",autofocus:""},model:{value:t.drawcode,callback:function(e){t.drawcode=e},expression:"drawcode"}}),r("el-button",{attrs:{type:"primary",size:"medium"},on:{click:function(e){return t.draw(t.info.alias)}}},[t._v(t._s(t.$t("share.drawfile")))])],1)],1)],1)],1)},n=[],i=(r("7f7f"),r("7514"),{data:function(){return{info:{},drawcode:""}},methods:{draw:function(t){var e=this;this.$zpan.Share.draw(t,this.drawcode).then((function(r){localStorage.setItem("zpan-share",t),e.$router.push({name:"share-info"})}))}},mounted:function(){var t=this;this.$zpan.Share.find(this.$route.params.alias).then((function(e){t.info=e.data,document.title="".concat(t.info.name," | Zpan")}))}}),s=i,o=(r("5566"),r("2877")),c=Object(o["a"])(s,a,n,!1,null,null,null);e["default"]=c.exports},cd1c:function(t,e,r){var a=r("e853");t.exports=function(t,e){return new(a(t))(e)}},e6e6:function(t,e,r){},e853:function(t,e,r){var a=r("d3f4"),n=r("1169"),i=r("2b4c")("species");t.exports=function(t){var e;return n(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!n(e.prototype)||(e=void 0),a(e)&&(e=e[i],null===e&&(e=void 0))),void 0===e?Array:e}}}]); +//# sourceMappingURL=chunk-26cc1f8f.ed4f6bdb.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-26cc1f8f.ed4f6bdb.js.map b/web/dist/js/chunk-26cc1f8f.ed4f6bdb.js.map new file mode 100644 index 0000000..d98b46b --- /dev/null +++ b/web/dist/js/chunk-26cc1f8f.ed4f6bdb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./src/views/home/share/draw.vue?de5c","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./src/views/home/share/draw.vue?217a","webpack:///src/views/home/share/draw.vue","webpack:///./src/views/home/share/draw.vue?787c","webpack:///./src/views/home/share/draw.vue","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./node_modules/core-js/modules/_array-species-constructor.js"],"names":["ctx","IObject","toObject","toLength","asc","module","exports","TYPE","$create","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","create","$this","callbackfn","that","val","res","O","self","f","length","index","result","undefined","push","cof","Array","isArray","arg","$export","$find","KEY","forced","P","F","find","this","arguments","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","_s","info","name","_f","created","$t","staticStyle","model","value","callback","$$v","drawcode","expression","on","$event","draw","alias","staticRenderFns","data","methods","$zpan","Share","then","localStorage","setItem","mounted","$route","params","document","title","component","speciesConstructor","original","isObject","SPECIES","C","constructor","prototype"],"mappings":"qGAOA,IAAIA,EAAM,EAAQ,QACdC,EAAU,EAAQ,QAClBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAM,EAAQ,QAClBC,EAAOC,QAAU,SAAUC,EAAMC,GAC/B,IAAIC,EAAiB,GAARF,EACTG,EAAoB,GAARH,EACZI,EAAkB,GAARJ,EACVK,EAAmB,GAARL,EACXM,EAAwB,GAARN,EAChBO,EAAmB,GAARP,GAAaM,EACxBE,EAASP,GAAWJ,EACxB,OAAO,SAAUY,EAAOC,EAAYC,GAQlC,IAPA,IAMIC,EAAKC,EANLC,EAAInB,EAASc,GACbM,EAAOrB,EAAQoB,GACfE,EAAIvB,EAAIiB,EAAYC,EAAM,GAC1BM,EAASrB,EAASmB,EAAKE,QACvBC,EAAQ,EACRC,EAASjB,EAASM,EAAOC,EAAOQ,GAAUd,EAAYK,EAAOC,EAAO,QAAKW,EAEvEH,EAASC,E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EAAQ,OAAR,CAAkB,WAEhCjF,EAAOC,QAAU,SAAU8E,GACzB,IAAIG,EASF,OARExD,EAAQqD,KACVG,EAAIH,EAASI,YAEG,mBAALD,GAAoBA,IAAMzD,QAASC,EAAQwD,EAAEE,aAAaF,OAAI5D,GACrE0D,EAASE,KACXA,EAAIA,EAAED,GACI,OAANC,IAAYA,OAAI5D,UAETA,IAAN4D,EAAkBzD,MAAQyD","file":"js/chunk-26cc1f8f.ed4f6bdb.js","sourcesContent":["// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./draw.vue?vue&type=style&index=0&lang=css&\"","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"warp\"},[_c('el-card',{staticClass:\"box-card\",attrs:{\"shadow\":\"never\"}},[_c('div',{staticClass:\"header clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.info.name))]),_c('span',{staticClass:\"time\"},[_vm._v(\"分享于\"+_vm._s(_vm._f(\"moment\")(_vm.info.created,\"YYYY-MM-DD HH:hh\")))])]),_c('el-form',{staticClass:\"form\",attrs:{\"label-position\":\"top\",\"label-width\":\"80px\"}},[_c('el-form-item',{attrs:{\"label\":_vm.$t('share.drawcode-placeholder')}},[_c('el-input',{staticStyle:{\"width\":\"310px\",\"margin-right\":\"10px\"},attrs:{\"size\":\"medium\",\"autofocus\":\"\"},model:{value:(_vm.drawcode),callback:function ($$v) {_vm.drawcode=$$v},expression:\"drawcode\"}}),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\"},on:{\"click\":function($event){return _vm.draw(_vm.info.alias)}}},[_vm._v(_vm._s(_vm.$t(\"share.drawfile\")))])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./draw.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./draw.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./draw.vue?vue&type=template&id=4a843420&\"\nimport script from \"./draw.vue?vue&type=script&lang=js&\"\nexport * from \"./draw.vue?vue&type=script&lang=js&\"\nimport style0 from \"./draw.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-2d0a4fde.6b57c317.js b/web/dist/js/chunk-2d0a4fde.6b57c317.js new file mode 100644 index 0000000..05ddcf2 --- /dev/null +++ b/web/dist/js/chunk-2d0a4fde.6b57c317.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0a4fde"],{"0998":function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:18}},[e("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[e("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e("span",[t._v("欢迎")])]),e("div",[e("el-row",{attrs:{gutter:12}},[e("el-col",{attrs:{span:3,sm:5}},[e("el-card",{attrs:{shadow:"always"}},[e("el-link",{attrs:{type:"primary",icon:"el-icon-document",href:"https://zpan.space",target:"_blank"}},[t._v("文档")])],1)],1),e("el-col",{attrs:{span:3,sm:5}},[e("el-card",{attrs:{shadow:"always"}},[e("el-link",{attrs:{type:"primary",icon:"el-icon-files",href:"https://github.com/saltbo/zpan",target:"_blank"}},[t._v("源码")])],1)],1),e("el-col",{attrs:{span:3,sm:5}},[e("el-card",{attrs:{shadow:"always"}},[e("el-link",{attrs:{type:"primary",icon:"el-icon-s-comment",href:"https://github.com/saltbo/zpan/issues",target:"_blank"}},[t._v("社区")])],1)],1),e("el-col",{attrs:{span:3,sm:5}},[e("el-card",{attrs:{shadow:"always"}},[e("el-link",{attrs:{type:"primary",icon:"el-icon-coffee-cup",href:"https://github.com/sponsors/saltbo",target:"_blank"}},[t._v("捐赠")])],1)],1)],1),e("p",{staticStyle:{"margin-top":"20px","font-size":"14px","font-weight":"bold","font-style":"italic"}},[t._v("Tips: 管理后台还在逐步迭代中,欢迎到社区提问交流~")])],1)])],1),e("el-col",{attrs:{span:6}},[e("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[e("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e("span",[t._v("产品动态")])]),e("el-timeline",t._l(t.activities,(function(a,s){return e("el-timeline-item",{key:s,attrs:{timestamp:a.timestamp}},[t._v("\n "+t._s(a.content)+"\n ")])})),1)],1)],1)],1)},n=[],l={data:function(){return{activities:[{content:"v1.4.1版本发布",timestamp:"2020-10-17"},{content:"v1.4.0版本发布",timestamp:"2020-10-13"},{content:"v1.3.0版本发布",timestamp:"2020-09-20"},{content:"v1.2.0版本发布,进行了大规模重构",timestamp:"2020-09-06"},{content:"v1.1.0版本发布",timestamp:"2019-10-24"},{content:"v1.0.0版本发布,第一个可用版本",timestamp:"2019-10-12"},{content:"项目创立,完成基础功能",timestamp:"2019-09-28"}]}}},r=l,i=e("2877"),o=Object(i["a"])(r,s,n,!1,null,null,null);a["default"]=o.exports}}]); +//# sourceMappingURL=chunk-2d0a4fde.6b57c317.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-2d0a4fde.6b57c317.js.map b/web/dist/js/chunk-2d0a4fde.6b57c317.js.map new file mode 100644 index 0000000..f219229 --- /dev/null +++ b/web/dist/js/chunk-2d0a4fde.6b57c317.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/admin/home/index.vue?82b5","webpack:///src/views/admin/home/index.vue","webpack:///./src/views/admin/home/index.vue?bdbe","webpack:///./src/views/admin/home/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","slot","_v","staticStyle","_l","activity","index","key","timestamp","_s","content","staticRenderFns","data","activities","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACE,MAAM,CAAC,OAAS,KAAK,CAACF,EAAG,SAAS,CAACE,MAAM,CAAC,KAAO,KAAK,CAACF,EAAG,UAAU,CAACG,YAAY,WAAWD,MAAM,CAAC,OAAS,UAAU,CAACF,EAAG,MAAM,CAACG,YAAY,WAAWD,MAAM,CAAC,KAAO,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AAU,CAACG,YAAY,WAAWD,MAAM,CAAC,OAAS,UAAU,CAACF,EAAG,MAAM,CAACG,YAAY,WAAWD,MAAM,CAAC,KAAO,UAAUE,KAAK,UAAU,CAACJ,EAAG,OAAO,CAACJ,EAAIS,GAAG,YAAYL,EAAG,cAAcJ,EAAIW,GAAIX,EAAc,YAAE,SAASY,EAASC,GAAO,OAAOT,EAAG,mBAAmB,CAACU,IAAID,EAAMP,MAAM,CAAC,UAAYM,EAASG,YAAY,CAACf,EAAIS,GAAG,eAAeT,EAAIgB,GAAGJ,EAASK,SAAS,mBAAkB,IAAI,IAAI,IAAI,IAC70DC,EAAkB,GCkDtB,GACEC,KADF,WAEI,MAAO,CACLC,WAAY,CAClB,CACQ,QAAR,aACQ,UAAR,cAEA,CACQ,QAAR,aACQ,UAAR,cAEA,CACQ,QAAR,aACQ,UAAR,cAEA,CACQ,QAAR,sBACQ,UAAR,cAEA,CACQ,QAAR,aACQ,UAAR,cAEA,CACQ,QAAR,qBACQ,UAAR,cAEA,CACQ,QAAR,cACQ,UAAR,kBCjF6W,I,YCOzWC,EAAY,eACd,EACAtB,EACAmB,GACA,EACA,KACA,KACA,MAIa,aAAAG,E","file":"js/chunk-2d0a4fde.6b57c317.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":18}},[_c('el-card',{staticClass:\"box-card\",attrs:{\"shadow\":\"never\"}},[_c('div',{staticClass:\"clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"欢迎\")])]),_c('div',[_c('el-row',{attrs:{\"gutter\":12}},[_c('el-col',{attrs:{\"span\":3,\"sm\":5}},[_c('el-card',{attrs:{\"shadow\":\"always\"}},[_c('el-link',{attrs:{\"type\":\"primary\",\"icon\":\"el-icon-document\",\"href\":\"https://zpan.space\",\"target\":\"_blank\"}},[_vm._v(\"文档\")])],1)],1),_c('el-col',{attrs:{\"span\":3,\"sm\":5}},[_c('el-card',{attrs:{\"shadow\":\"always\"}},[_c('el-link',{attrs:{\"type\":\"primary\",\"icon\":\"el-icon-files\",\"href\":\"https://github.com/saltbo/zpan\",\"target\":\"_blank\"}},[_vm._v(\"源码\")])],1)],1),_c('el-col',{attrs:{\"span\":3,\"sm\":5}},[_c('el-card',{attrs:{\"shadow\":\"always\"}},[_c('el-link',{attrs:{\"type\":\"primary\",\"icon\":\"el-icon-s-comment\",\"href\":\"https://github.com/saltbo/zpan/issues\",\"target\":\"_blank\"}},[_vm._v(\"社区\")])],1)],1),_c('el-col',{attrs:{\"span\":3,\"sm\":5}},[_c('el-card',{attrs:{\"shadow\":\"always\"}},[_c('el-link',{attrs:{\"type\":\"primary\",\"icon\":\"el-icon-coffee-cup\",\"href\":\"https://github.com/sponsors/saltbo\",\"target\":\"_blank\"}},[_vm._v(\"捐赠\")])],1)],1)],1),_c('p',{staticStyle:{\"margin-top\":\"20px\",\"font-size\":\"14px\",\"font-weight\":\"bold\",\"font-style\":\"italic\"}},[_vm._v(\"Tips: 管理后台还在逐步迭代中,欢迎到社区提问交流~\")])],1)])],1),_c('el-col',{attrs:{\"span\":6}},[_c('el-card',{staticClass:\"box-card\",attrs:{\"shadow\":\"never\"}},[_c('div',{staticClass:\"clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"产品动态\")])]),_c('el-timeline',_vm._l((_vm.activities),function(activity,index){return _c('el-timeline-item',{key:index,attrs:{\"timestamp\":activity.timestamp}},[_vm._v(\"\\n \"+_vm._s(activity.content)+\"\\n \")])}),1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=9e198840&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-2d0afa39.2ab6564e.js b/web/dist/js/chunk-2d0afa39.2ab6564e.js new file mode 100644 index 0000000..595454c --- /dev/null +++ b/web/dist/js/chunk-2d0afa39.2ab6564e.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0afa39"],{"0ed2":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div")},s=[],i=(a("28a5"),a("768b")),u={mounted:function(){var e=this,t=this.$route.params.token64,a=atob(t).split("|zplat|"),n=Object(i["a"])(a,2),s=n[0],u=n[1];this.$zpan.User.activate(s,u).then((function(t){e.$message({type:"success",message:"激活成功,请输入密码登录。"}),e.$router.push({name:"signin",params:{email:s}})}))}},c=u,r=a("2877"),o=Object(r["a"])(c,n,s,!1,null,null,null);t["default"]=o.exports}}]); +//# sourceMappingURL=chunk-2d0afa39.2ab6564e.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-2d0afa39.2ab6564e.js.map b/web/dist/js/chunk-2d0afa39.2ab6564e.js.map new file mode 100644 index 0000000..32c6ffc --- /dev/null +++ b/web/dist/js/chunk-2d0afa39.2ab6564e.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/login/Activate.vue?6f83","webpack:///src/views/login/Activate.vue","webpack:///./src/views/login/Activate.vue?2031","webpack:///./src/views/login/Activate.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticRenderFns","mounted","$zpan","User","activate","email","token","then","type","message","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAC/FE,EAAkB,G,wBCEtB,GACEC,QADF,WACA,WACA,6BADA,EAEA,yBAFA,sBAEA,EAFA,KAEA,EAFA,KAGIN,KAAKO,MAAMC,KAAKC,SAASC,EAAOC,GAAOC,MAAK,SAAhD,GACM,EAAN,UACQC,KAAM,UACNC,QAAS,kBAEX,EAAN,oDCZiW,I,YCO7VC,EAAY,eACd,EACAjB,EACAO,GACA,EACA,KACA,KACA,MAIa,aAAAU,E","file":"js/chunk-2d0afa39.2ab6564e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(\"div\")}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Activate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Activate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Activate.vue?vue&type=template&id=0296037b&\"\nimport script from \"./Activate.vue?vue&type=script&lang=js&\"\nexport * from \"./Activate.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-2d0bce73.87296d37.js b/web/dist/js/chunk-2d0bce73.87296d37.js new file mode 100644 index 0000000..d7b338a --- /dev/null +++ b/web/dist/js/chunk-2d0bce73.87296d37.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0bce73"],{"2a5c":function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"guest"},[r("el-row",{staticStyle:{height:"80px"}}),r("div",{staticStyle:{width:"400px",margin:"0 auto"}},[r("el-card",{staticClass:"box-card",staticStyle:{padding:"10px 20px"}},[r("div",{attrs:{slot:"header"},slot:"header"},[r("i",{staticClass:"icon el-icon-postcard"}),r("p",{staticClass:"title"},[e._v("用户注册")])]),r("el-form",{ref:"formItem",attrs:{model:e.formItem,rules:e.rules}},[r("el-form-item",{attrs:{prop:"email"}},[r("el-input",{attrs:{placeholder:"电子邮箱",autofocus:""},model:{value:e.formItem.email,callback:function(t){e.$set(e.formItem,"email",t)},expression:"formItem.email"}})],1),r("el-form-item",{attrs:{prop:"password"}},[r("el-input",{attrs:{type:"password",placeholder:"密码"},model:{value:e.formItem.password,callback:function(t){e.$set(e.formItem,"password",t)},expression:"formItem.password"}})],1),r("el-form-item",{attrs:{prop:"password2"}},[r("el-input",{attrs:{type:"password",placeholder:"密码确认"},model:{value:e.formItem.password2,callback:function(t){e.$set(e.formItem,"password2",t)},expression:"formItem.password2"}})],1),r("el-form-item",{attrs:{prop:"invitation"}},[r("el-input",{attrs:{placeholder:"邀请码"},model:{value:e.formItem.ticket,callback:function(t){e.$set(e.formItem,"ticket",t)},expression:"formItem.ticket"}})],1),r("el-form-item",[r("el-row",[r("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary"},on:{click:function(t){return e.signUp("formItem")}}},[e._v("注册账号")])],1),r("el-row",[r("el-link",{attrs:{type:"primary",underline:!1},on:{click:function(t){return e.$router.push({name:"signin"})}}},[e._v("返回登录")])],1)],1)],1)],1)],1)],1)},a=[],o=(r("7f7f"),{data:function(){var e=this,t=function(t,r,s){""===r?s(new Error("请输入密码")):(""!==e.formItem.password2&&e.$refs.formItem.validateField("password2"),s())},r=function(t,r,s){""===r?s(new Error("请再次输入密码")):r!==e.formItem.password?s(new Error("两次输入密码不一致!")):s()};return{rules:{email:[{required:!0,message:"请输入邮箱地址",trigger:"blur"},{type:"email",message:"请输入正确的邮箱地址",trigger:["blur","change"]}],password:[{validator:t,trigger:"blur",required:!0}],password2:[{validator:r,trigger:"blur",required:!0}]},formItem:{}}},methods:{signUp:function(e){var t=this;this.$refs[e].validate((function(e){e&&t.$zpan.User.signup(t.formItem).then((function(e){t.$message({type:"success",message:"注册成功!"}),t.$router.push({name:"signin"})}))}))}}}),i=o,l=r("2877"),n=Object(l["a"])(i,s,a,!1,null,null,null);t["default"]=n.exports}}]); +//# sourceMappingURL=chunk-2d0bce73.87296d37.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-2d0bce73.87296d37.js.map b/web/dist/js/chunk-2d0bce73.87296d37.js.map new file mode 100644 index 0000000..c601df7 --- /dev/null +++ b/web/dist/js/chunk-2d0bce73.87296d37.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/login/Signup.vue?fa97","webpack:///src/views/login/Signup.vue","webpack:///./src/views/login/Signup.vue?61c9","webpack:///./src/views/login/Signup.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","slot","_v","ref","formItem","rules","model","value","callback","$$v","$set","expression","on","$event","signUp","$router","push","name","staticRenderFns","data","validatePass","Error","validatePass2","email","password","password2","methods","$refs","validate","valid","type","message","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,SAAS,CAACG,YAAY,CAAC,OAAS,UAAUH,EAAG,MAAM,CAACG,YAAY,CAAC,MAAQ,QAAQ,OAAS,WAAW,CAACH,EAAG,UAAU,CAACE,YAAY,WAAWC,YAAY,CAAC,QAAU,cAAc,CAACH,EAAG,MAAM,CAACI,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,IAAI,CAACE,YAAY,0BAA0BF,EAAG,IAAI,CAACE,YAAY,SAAS,CAACN,EAAIU,GAAG,YAAYN,EAAG,UAAU,CAACO,IAAI,WAAWH,MAAM,CAAC,MAAQR,EAAIY,SAAS,MAAQZ,EAAIa,QAAQ,CAACT,EAAG,eAAe,CAACI,MAAM,CAAC,KAAO,UAAU,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,YAAc,OAAO,UAAY,IAAIM,MAAM,CAACC,MAAOf,EAAIY,SAAc,MAAEI,SAAS,SAAUC,GAAMjB,EAAIkB,KAAKlB,EAAIY,SAAU,QAASK,IAAME,WAAW,qBAAqB,GAAGf,EAAG,eAAe,CAACI,MAAM,CAAC,KAAO,aAAa,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,KAAO,WAAW,YAAc,MAAMM,MAAM,CAACC,MAAOf,EAAIY,SAAiB,SAAEI,SAAS,SAAUC,GAAMjB,EAAIkB,KAAKlB,EAAIY,SAAU,WAAYK,IAAME,WAAW,wBAAwB,GAAGf,EAAG,eAAe,CAACI,MAAM,CAAC,KAAO,cAAc,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,KAAO,WAAW,YAAc,QAAQM,MAAM,CAACC,MAAOf,EAAIY,SAAkB,UAAEI,SAAS,SA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AIL,EAAR,gDACU,EAAV,UACYC,KAAM,UACNC,QAAS,UAEX,EAAV,wCCnF+V,I,YCO3VC,EAAY,eACd,EACAzC,EACA2B,GACA,EACA,KACA,KACA,MAIa,aAAAc,E","file":"js/chunk-2d0bce73.87296d37.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"guest\"},[_c('el-row',{staticStyle:{\"height\":\"80px\"}}),_c('div',{staticStyle:{\"width\":\"400px\",\"margin\":\"0 auto\"}},[_c('el-card',{staticClass:\"box-card\",staticStyle:{\"padding\":\"10px 20px\"}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('i',{staticClass:\"icon el-icon-postcard\"}),_c('p',{staticClass:\"title\"},[_vm._v(\"用户注册\")])]),_c('el-form',{ref:\"formItem\",attrs:{\"model\":_vm.formItem,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"prop\":\"email\"}},[_c('el-input',{attrs:{\"placeholder\":\"电子邮箱\",\"autofocus\":\"\"},model:{value:(_vm.formItem.email),callback:function ($$v) {_vm.$set(_vm.formItem, \"email\", $$v)},expression:\"formItem.email\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"password\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"密码\"},model:{value:(_vm.formItem.password),callback:function ($$v) {_vm.$set(_vm.formItem, \"password\", $$v)},expression:\"formItem.password\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"password2\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"密码确认\"},model:{value:(_vm.formItem.password2),callback:function ($$v) {_vm.$set(_vm.formItem, \"password2\", $$v)},expression:\"formItem.password2\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"invitation\"}},[_c('el-input',{attrs:{\"placeholder\":\"邀请码\"},model:{value:(_vm.formItem.ticket),callback:function ($$v) {_vm.$set(_vm.formItem, \"ticket\", $$v)},expression:\"formItem.ticket\"}})],1),_c('el-form-item',[_c('el-row',[_c('el-button',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.signUp('formItem')}}},[_vm._v(\"注册账号\")])],1),_c('el-row',[_c('el-link',{attrs:{\"type\":\"primary\",\"underline\":false},on:{\"click\":function($event){return _vm.$router.push({ name: 'signin' })}}},[_vm._v(\"返回登录\")])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Signup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Signup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Signup.vue?vue&type=template&id=cc18b412&\"\nimport script from \"./Signup.vue?vue&type=script&lang=js&\"\nexport * from \"./Signup.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-2d0c5700.ba4feafc.js b/web/dist/js/chunk-2d0c5700.ba4feafc.js new file mode 100644 index 0000000..22bb9c1 --- /dev/null +++ b/web/dist/js/chunk-2d0c5700.ba4feafc.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c5700"],{"3ea9":function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"guest"},[r("el-row",{staticStyle:{height:"80px"}}),r("div",{staticStyle:{width:"400px",margin:"0 auto"}},[r("el-card",{staticClass:"box-card",staticStyle:{padding:"10px 20px"}},[r("div",{attrs:{slot:"header"},slot:"header"},[r("i",{staticClass:"icon el-icon-key"}),r("p",{staticClass:"title"},[e._v("找回密码")])]),r("el-form",{ref:"resetForm",attrs:{model:e.formItem,rules:e.rules}},[r("el-form-item",{attrs:{prop:"email"}},[r("el-input",{attrs:{placeholder:"电子邮箱"},model:{value:e.formItem.email,callback:function(t){e.$set(e.formItem,"email",t)},expression:"formItem.email"}})],1),r("el-form-item",[r("el-row",[r("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary"},on:{click:function(t){return e.reset("resetForm")}}},[e._v("发送密码重置邮件")])],1),r("el-row",[r("el-link",{attrs:{type:"primary",underline:!1},on:{click:function(t){return e.$router.push({name:"signin"})}}},[e._v("返回登录")])],1)],1)],1)],1)],1)],1)},a=[],i=(r("7f7f"),{data:function(){return{rules:{email:[{required:!0,message:"请输入邮箱地址",trigger:"blur"},{type:"email",message:"请输入正确的邮箱地址",trigger:["blur","change"]}]},formItem:{}}},methods:{reset:function(e){var t=this;this.$refs[e].validate((function(e){e&&t.$zpan.User.applyPasswordReset(t.formItem.email).then((function(e){t.$message({type:"success",message:"找回密码邮件发送成功!"}),t.$router.push({name:"signin"})}))}))}}}),l=i,n=r("2877"),o=Object(n["a"])(l,s,a,!1,null,null,null);t["default"]=o.exports}}]); +//# sourceMappingURL=chunk-2d0c5700.ba4feafc.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-2d0c5700.ba4feafc.js.map b/web/dist/js/chunk-2d0c5700.ba4feafc.js.map new file mode 100644 index 0000000..eb6a873 --- /dev/null +++ b/web/dist/js/chunk-2d0c5700.ba4feafc.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/login/ResetApply.vue?19fb","webpack:///src/views/login/ResetApply.vue","webpack:///./src/views/login/ResetApply.vue?d3e2","webpack:///./src/views/login/ResetApply.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","slot","_v","ref","formItem","rules","model","value","callback","$$v","$set","expression","on","$event","reset","$router","push","name","staticRenderFns","data","email","methods","$refs","validate","valid","type","message","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,SAAS,CAACG,YAAY,CAAC,OAAS,UAAUH,EAAG,MAAM,CAACG,YAAY,CAAC,MAAQ,QAAQ,OAAS,WAAW,CAACH,EAAG,UAAU,CAACE,YAAY,WAAWC,YAAY,CAAC,QAAU,cAAc,CAACH,EAAG,MAAM,CAACI,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,IAAI,CAACE,YAAY,qBAAqBF,EAAG,IAAI,CAACE,YAAY,SAAS,CAACN,EAAIU,GAAG,YAAYN,EAAG,UAAU,CAACO,IAAI,YAAYH,MAAM,CAAC,MAAQR,EAAIY,SAAS,MAAQZ,EAAIa,QAAQ,CAACT,EAAG,eAAe,CAACI,MAAM,CAAC,KAAO,UAAU,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,YAAc,QAAQM,MAAM,CAACC,MAAOf,EAAIY,SAAc,MAAEI,SAAS,SAAUC,GAAMjB,EAAIkB,KAAKlB,EAAIY,SAAU,QAASK,IAAME,WAAW,qBAAqB,GAAGf,EAAG,eAAe,CAACA,EAAG,SAAS,CAACA,EAAG,YAAY,CAACG,YAAY,CAAC,MAAQ,QAAQC,MAAM,CAAC,KAAO,WAAWY,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOrB,EAAIsB,MAAM,gBAAgB,CAACtB,EAAIU,GAAG,eAAe,GAAGN,EAAG,SAAS,CAACA,EAAG,UAAU,CAACI,MAAM,CAAC,KAAO,UAAU,WAAY,GAAOY,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOrB,EAAIuB,QAAQC,KAAK,CAAEC,KAAM,cAAe,CAACzB,EAAIU,GAAG,WAAW,IAAI,IAAI,IAAI,IAAI,IAAI,IAC9lCgB,EAAkB,GC4BtB,G,UAAA,CACEC,KADF,WAEI,MAAO,CACLd,MAAO,CACLe,MAAO,CACf,CAAU,UAAV,EAAU,QAAV,UAAU,QAAV,QACA,CACU,KAAV,QACU,QAAV,aACU,QAAV,qBAIMhB,SAAU,KAGdiB,QAAS,CACPP,MADJ,SACA,cACMrB,KAAK6B,MAAML,GAAMM,UAAS,SAAhC,GACaC,GAIL,EAAR,kEACU,EAAV,UACYC,KAAM,UACNC,QAAS,gBAEX,EAAV,wCCzDmW,I,YCO/VC,EAAY,eACd,EACApC,EACA2B,GACA,EACA,KACA,KACA,MAIa,aAAAS,E","file":"js/chunk-2d0c5700.ba4feafc.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"guest\"},[_c('el-row',{staticStyle:{\"height\":\"80px\"}}),_c('div',{staticStyle:{\"width\":\"400px\",\"margin\":\"0 auto\"}},[_c('el-card',{staticClass:\"box-card\",staticStyle:{\"padding\":\"10px 20px\"}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('i',{staticClass:\"icon el-icon-key\"}),_c('p',{staticClass:\"title\"},[_vm._v(\"找回密码\")])]),_c('el-form',{ref:\"resetForm\",attrs:{\"model\":_vm.formItem,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"prop\":\"email\"}},[_c('el-input',{attrs:{\"placeholder\":\"电子邮箱\"},model:{value:(_vm.formItem.email),callback:function ($$v) {_vm.$set(_vm.formItem, \"email\", $$v)},expression:\"formItem.email\"}})],1),_c('el-form-item',[_c('el-row',[_c('el-button',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.reset('resetForm')}}},[_vm._v(\"发送密码重置邮件\")])],1),_c('el-row',[_c('el-link',{attrs:{\"type\":\"primary\",\"underline\":false},on:{\"click\":function($event){return _vm.$router.push({ name: 'signin' })}}},[_vm._v(\"返回登录\")])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetApply.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetApply.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ResetApply.vue?vue&type=template&id=2b512493&\"\nimport script from \"./ResetApply.vue?vue&type=script&lang=js&\"\nexport * from \"./ResetApply.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-2d0d76a6.1785011d.js b/web/dist/js/chunk-2d0d76a6.1785011d.js new file mode 100644 index 0000000..c41235b --- /dev/null +++ b/web/dist/js/chunk-2d0d76a6.1785011d.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d76a6"],{"775e":function(n,e,s){"use strict";s.r(e);var t=function(){var n=this,e=n.$createElement,s=n._self._c||e;return s("div")},u=[],i={mounted:function(){var n=this;this.$zpan.User.signout().then((function(e){n.$message({type:"success",message:"登出成功,欢迎下次再来~"}),n.$router.push({name:"signin"})}))}},a=i,c=s("2877"),o=Object(c["a"])(a,t,u,!1,null,null,null);e["default"]=o.exports}}]); +//# sourceMappingURL=chunk-2d0d76a6.1785011d.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-2d0d76a6.1785011d.js.map b/web/dist/js/chunk-2d0d76a6.1785011d.js.map new file mode 100644 index 0000000..f968f89 --- /dev/null +++ b/web/dist/js/chunk-2d0d76a6.1785011d.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/login/Signout.vue?0205","webpack:///src/views/login/Signout.vue","webpack:///./src/views/login/Signout.vue?cf3f","webpack:///./src/views/login/Signout.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticRenderFns","mounted","$zpan","User","signout","then","type","message","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAC/FE,EAAkB,GCEtB,GACEC,QADF,WACA,WACIN,KAAKO,MAAMC,KAAKC,UAAUC,MAAK,SAAnC,GACM,EAAN,UACQC,KAAM,UACNC,QAAS,iBAEX,EAAN,mCCVgW,I,YCO5VC,EAAY,eACd,EACAf,EACAO,GACA,EACA,KACA,KACA,MAIa,aAAAQ,E","file":"js/chunk-2d0d76a6.1785011d.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(\"div\")}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Signout.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Signout.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Signout.vue?vue&type=template&id=484cae68&\"\nimport script from \"./Signout.vue?vue&type=script&lang=js&\"\nexport * from \"./Signout.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-2d0daeb3.3a4afe1c.js b/web/dist/js/chunk-2d0daeb3.3a4afe1c.js new file mode 100644 index 0000000..32a26ed --- /dev/null +++ b/web/dist/js/chunk-2d0daeb3.3a4afe1c.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0daeb3"],{"6e3a":function(e,t,r){"use strict";r.r(t);var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"guest"},[r("el-row",{staticStyle:{height:"80px"}}),r("div",{staticStyle:{width:"400px",margin:"0 auto"}},[r("el-card",{staticClass:"box-card",staticStyle:{padding:"10px 20px"}},[r("div",{attrs:{slot:"header"},slot:"header"},[r("i",{staticClass:"icon el-icon-lock"}),r("p",{staticClass:"title"},[e._v("用户登录")])]),r("el-form",{ref:"formItem",attrs:{model:e.formItem,rules:e.rules}},[r("el-form-item",{attrs:{prop:"email"}},[r("el-input",{attrs:{placeholder:"用户名或邮箱"},model:{value:e.formItem.email,callback:function(t){e.$set(e.formItem,"email",t)},expression:"formItem.email"}})],1),r("el-form-item",{attrs:{prop:"password"}},[r("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.signIn("formItem")}},model:{value:e.formItem.password,callback:function(t){e.$set(e.formItem,"password",t)},expression:"formItem.password"}})],1),r("el-form-item",[r("el-row",[r("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary"},on:{click:function(t){return e.signIn("formItem")}}},[e._v("登录")])],1),r("el-row",[r("el-col",{attrs:{span:12}},[r("el-link",{attrs:{type:"primary",underline:!1},on:{click:function(t){return e.goto("reset_apply")}}},[e._v("忘记密码")])],1),r("el-col",{staticStyle:{"text-align":"right"},attrs:{span:12}},[r("el-link",{attrs:{type:"primary",underline:!1},on:{click:function(t){return e.goto("signup")}}},[e._v("注册账号")])],1)],1)],1)],1)],1)],1)],1)},n=[],o=(r("a481"),r("7f7f"),{data:function(){return{rules:{email:[{required:!0,message:"请输入邮箱地址",trigger:"blur"}]},redirect:"/",formItem:{email:""}}},methods:{goto:function(e){this.$router.push({name:e})},signIn:function(e){var t=this;this.$refs[e].validate((function(e){e&&t.$zpan.User.signin(t.formItem).then((function(e){location.replace(t.redirect)})).catch((function(e){console.log(e.response)}))}))}},mounted:function(){this.$route.query.redirect&&(this.redirect=this.$route.query.redirect),this.$route.params.email&&(this.formItem.email=this.$route.params.email)}}),a=o,s=r("2877"),l=Object(s["a"])(a,i,n,!1,null,null,null);t["default"]=l.exports}}]); +//# sourceMappingURL=chunk-2d0daeb3.3a4afe1c.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-2d0daeb3.3a4afe1c.js.map b/web/dist/js/chunk-2d0daeb3.3a4afe1c.js.map new file mode 100644 index 0000000..030d5ea --- /dev/null +++ b/web/dist/js/chunk-2d0daeb3.3a4afe1c.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/login/Signin.vue?4bee","webpack:///src/views/login/Signin.vue","webpack:///./src/views/login/Signin.vue?fec1","webpack:///./src/views/login/Signin.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","slot","_v","ref","formItem","rules","model","value","callback","$$v","$set","expression","nativeOn","$event","type","indexOf","_k","keyCode","key","signIn","on","goto","staticRenderFns","data","email","redirect","methods","$router","push","$refs","name","validate","valid","mounted","$route","query","params","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,SAAS,CAACG,YAAY,CAAC,OAAS,UAAUH,EAAG,MAAM,CAACG,YAAY,CAAC,MAAQ,QAAQ,OAAS,WAAW,CAACH,EAAG,UAAU,CAACE,YAAY,WAAWC,YAAY,CAAC,QAAU,cAAc,CAACH,EAAG,MAAM,CAACI,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,IAAI,CAACE,YAAY,sBAAsBF,EAAG,IAAI,CAACE,YAAY,SAAS,CAACN,EAAIU,GAAG,YAAYN,EAAG,UAAU,CAACO,IAAI,WAAWH,MAAM,CAAC,MAAQR,EAAIY,SAAS,MAAQZ,EAAIa,QAAQ,CAACT,EAAG,eAAe,CAACI,MAAM,CAAC,KAAO,UAAU,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,YAAc,UAAUM,MAAM,CAACC,MAAOf,EAAIY,SAAc,MAAEI,SAAS,SAAUC,GAAMjB,EAAIkB,KAAKlB,EAAIY,SAAU,QAASK,IAAME,WAAW,qBAAqB,GAAGf,EAAG,eAAe,CAACI,MAAM,CAAC,KAAO,aAAa,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,KAAO,WAAW,YAAc,MAAMY,SAAS,CAAC,MAAQ,SAASC,GAAQ,OAAIA,EAAOC,KAAKC,QAAQ,QAAQvB,EAAIwB,GAAGH,EAAOI,QAAQ,QAAQ,GAAGJ,EAAOK,IAAI,SAAkB,KAAc1B,EAAI2B,OAAO,cAAcb,MAAM,C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AAKyC,OAAOE,OAAOZ,QACrB/B,KAAKW,SAASoB,MAAQ/B,KAAKyC,OAAOE,OAAOZ,UC3EgT,I,YCO3Va,EAAY,eACd,EACA9C,EACA+B,GACA,EACA,KACA,KACA,MAIa,aAAAe,E","file":"js/chunk-2d0daeb3.3a4afe1c.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"guest\"},[_c('el-row',{staticStyle:{\"height\":\"80px\"}}),_c('div',{staticStyle:{\"width\":\"400px\",\"margin\":\"0 auto\"}},[_c('el-card',{staticClass:\"box-card\",staticStyle:{\"padding\":\"10px 20px\"}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('i',{staticClass:\"icon el-icon-lock\"}),_c('p',{staticClass:\"title\"},[_vm._v(\"用户登录\")])]),_c('el-form',{ref:\"formItem\",attrs:{\"model\":_vm.formItem,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"prop\":\"email\"}},[_c('el-input',{attrs:{\"placeholder\":\"用户名或邮箱\"},model:{value:(_vm.formItem.email),callback:function ($$v) {_vm.$set(_vm.formItem, \"email\", $$v)},expression:\"formItem.email\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"password\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"密码\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.signIn('formItem')}},model:{value:(_vm.formItem.password),callback:function ($$v) {_vm.$set(_vm.formItem, \"password\", $$v)},expression:\"formItem.password\"}})],1),_c('el-form-item',[_c('el-row',[_c('el-button',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.signIn('formItem')}}},[_vm._v(\"登录\")])],1),_c('el-row',[_c('el-col',{attrs:{\"span\":12}},[_c('el-link',{attrs:{\"type\":\"primary\",\"underline\":false},on:{\"click\":function($event){return _vm.goto('reset_apply')}}},[_vm._v(\"忘记密码\")])],1),_c('el-col',{staticStyle:{\"text-align\":\"right\"},attrs:{\"span\":12}},[_c('el-link',{attrs:{\"type\":\"primary\",\"underline\":false},on:{\"click\":function($event){return _vm.goto('signup')}}},[_vm._v(\"注册账号\")])],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Signin.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Signin.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Signin.vue?vue&type=template&id=2a9ff739&\"\nimport script from \"./Signin.vue?vue&type=script&lang=js&\"\nexport * from \"./Signin.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-2d207759.da15c3c5.js b/web/dist/js/chunk-2d207759.da15c3c5.js new file mode 100644 index 0000000..c2ee3b5 --- /dev/null +++ b/web/dist/js/chunk-2d207759.da15c3c5.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d207759"],{a12e:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"guest"},[r("el-row",{staticStyle:{height:"80px"}}),r("div",{staticStyle:{width:"400px",margin:"0 auto"}},[r("el-card",{staticClass:"box-card",staticStyle:{padding:"10px 20px"}},[r("div",{attrs:{slot:"header"},slot:"header"},[r("i",{staticClass:"icon el-icon-key"}),r("p",{staticClass:"title"},[e._v("找回密码")])]),r("el-form",{ref:"formItem",attrs:{model:e.formItem,rules:e.rules}},[r("el-form-item",{attrs:{prop:"email"}},[r("el-input",{attrs:{placeholder:"电子邮箱",readonly:""},model:{value:e.formItem.email,callback:function(t){e.$set(e.formItem,"email",t)},expression:"formItem.email"}})],1),r("el-form-item",{attrs:{prop:"password"}},[r("el-input",{attrs:{type:"password",placeholder:"密码"},model:{value:e.formItem.password,callback:function(t){e.$set(e.formItem,"password",t)},expression:"formItem.password"}})],1),r("el-form-item",{attrs:{prop:"password2"}},[r("el-input",{attrs:{type:"password",placeholder:"密码确认"},model:{value:e.formItem.password2,callback:function(t){e.$set(e.formItem,"password2",t)},expression:"formItem.password2"}})],1),r("el-form-item",[r("el-row",[r("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary"},on:{click:function(t){return e.reset("formItem")}}},[e._v("重置密码")])],1),r("el-row",[r("el-link",{attrs:{type:"primary",underline:!1},on:{click:function(t){return e.$router.push({name:"signin"})}}},[e._v("返回登录")])],1)],1)],1)],1)],1)],1)},o=[],a=(r("28a5"),r("768b")),i=(r("7f7f"),{data:function(){var e=this,t=function(t,r,s){""===r?s(new Error("请输入密码")):(""!==e.formItem.password2&&e.$refs.formItem.validateField("password2"),s())},r=function(t,r,s){""===r?s(new Error("请再次输入密码")):r!==e.formItem.password?s(new Error("两次输入密码不一致!")):s()};return{rules:{password:[{validator:t,trigger:"blur",required:!0}],password2:[{validator:r,trigger:"blur",required:!0}]},formItem:{}}},methods:{reset:function(e){var t=this;this.$refs[e].validate((function(e){if(e){var r=t.formItem.email,s=t.formItem.token,o=t.formItem.password;t.$zpan.User.passwordReset(r,s,o).then((function(e){t.$message({type:"success",message:"密码重置成功!"}),t.$router.push({name:"signin"})}))}}))}},mounted:function(){var e=this.$route.params.token64,t=atob(e).split("|zplat|"),r=Object(a["a"])(t,2),s=r[0],o=r[1];this.formItem={email:s,token:o}}}),l=i,n=r("2877"),m=Object(n["a"])(l,s,o,!1,null,null,null);t["default"]=m.exports}}]); +//# sourceMappingURL=chunk-2d207759.da15c3c5.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-2d207759.da15c3c5.js.map b/web/dist/js/chunk-2d207759.da15c3c5.js.map new file mode 100644 index 0000000..6335f7f --- /dev/null +++ b/web/dist/js/chunk-2d207759.da15c3c5.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/login/ResetConfirm.vue?d25e","webpack:///src/views/login/ResetConfirm.vue","webpack:///./src/views/login/ResetConfirm.vue?a358","webpack:///./src/views/login/ResetConfirm.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","slot","_v","ref","formItem","rules","model","value","callback","$$v","$set","expression","on","$event","reset","$router","push","name","staticRenderFns","data","validatePass","Error","validatePass2","password","password2","methods","$refs","validate","valid","type","message","mounted","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,SAAS,CAACG,YAAY,CAAC,OAAS,UAAUH,EAAG,MAAM,CAACG,YAAY,CAAC,MAAQ,QAAQ,OAAS,WAAW,CAACH,EAAG,UAAU,CAACE,YAAY,WAAWC,YAAY,CAAC,QAAU,cAAc,CAACH,EAAG,MAAM,CAACI,MAAM,CAAC,KAAO,UAAUC,KAAK,UAAU,CAACL,EAAG,IAAI,CAACE,YAAY,qBAAqBF,EAAG,IAAI,CAACE,YAAY,SAAS,CAACN,EAAIU,GAAG,YAAYN,EAAG,UAAU,CAACO,IAAI,WAAWH,MAAM,CAAC,MAA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KAAVb,EACFC,EAAS,IAAIa,MAAM,WAE3B,KAAY,EAAZ,oBACU,EAAV,0CAEQb,MAGAc,EAAgB,SAAxB,OACoB,KAAVf,EACFC,EAAS,IAAIa,MAAM,YAC3B,wBACQb,EAAS,IAAIa,MAAM,eAEnBb,KAIJ,MAAO,CACLH,MAAO,CACLkB,SAAU,CAAC,CAAnB,yCACQC,UAAW,CAAC,CAApB,0CAEMpB,SAAU,KAGdqB,QAAS,CACPX,MADJ,SACA,cACMrB,KAAKiC,MAAMT,GAAMU,UAAS,SAAhC,GACQ,GAAKC,EAAL,CAIA,IAAR,mBACA,mBACA,sBACQ,EAAR,kDACU,EAAV,UACYC,KAAM,UACNC,QAAS,YAEX,EAAV,uCAKEC,QAlDF,WAmDI,IAAJ,6BADA,EAEA,yBAFA,sBAEA,EAFA,KAEA,EAFA,KAGItC,KAAKW,SAAW,CAApB,oBCxFqW,I,YCOjW4B,EAAY,eACd,EACAzC,EACA2B,GACA,EACA,KACA,KACA,MAIa,aAAAc,E","file":"js/chunk-2d207759.da15c3c5.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"guest\"},[_c('el-row',{staticStyle:{\"height\":\"80px\"}}),_c('div',{staticStyle:{\"width\":\"400px\",\"margin\":\"0 auto\"}},[_c('el-card',{staticClass:\"box-card\",staticStyle:{\"padding\":\"10px 20px\"}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('i',{staticClass:\"icon el-icon-key\"}),_c('p',{staticClass:\"title\"},[_vm._v(\"找回密码\")])]),_c('el-form',{ref:\"formItem\",attrs:{\"model\":_vm.formItem,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"prop\":\"email\"}},[_c('el-input',{attrs:{\"placeholder\":\"电子邮箱\",\"readonly\":\"\"},model:{value:(_vm.formItem.email),callback:function ($$v) {_vm.$set(_vm.formItem, \"email\", $$v)},expression:\"formItem.email\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"password\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"密码\"},model:{value:(_vm.formItem.password),callback:function ($$v) {_vm.$set(_vm.formItem, \"password\", $$v)},expression:\"formItem.password\"}})],1),_c('el-form-item',{attrs:{\"prop\":\"password2\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"密码确认\"},model:{value:(_vm.formItem.password2),callback:function ($$v) {_vm.$set(_vm.formItem, \"password2\", $$v)},expression:\"formItem.password2\"}})],1),_c('el-form-item',[_c('el-row',[_c('el-button',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.reset('formItem')}}},[_vm._v(\"重置密码\")])],1),_c('el-row',[_c('el-link',{attrs:{\"type\":\"primary\",\"underline\":false},on:{\"click\":function($event){return _vm.$router.push({ name: 'signin' })}}},[_vm._v(\"返回登录\")])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetConfirm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetConfirm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ResetConfirm.vue?vue&type=template&id=3d8e3891&\"\nimport script from \"./ResetConfirm.vue?vue&type=script&lang=js&\"\nexport * from \"./ResetConfirm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-45cef788.34b83504.js b/web/dist/js/chunk-45cef788.34b83504.js new file mode 100644 index 0000000..87bd302 --- /dev/null +++ b/web/dist/js/chunk-45cef788.34b83504.js @@ -0,0 +1,9 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-45cef788"],{"0b47":function(t,e,n){"use strict";var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-header",[o("div",{staticClass:"logo"},[o("img",{attrs:{src:n("cf05"),alt:"ZPan"},on:{click:function(e){return t.$router.push("/")}}})]),t.showMenu?o("el-menu",{staticClass:"navbar",staticStyle:{width:"100%"},attrs:{"default-active":t.menuActive,mode:"horizontal",router:""}},[t._l(t.menus.slice(0,5),(function(e,n){return o("el-menu-item",{key:n,attrs:{index:"/"+e.name}},[t._v(t._s(e.title))])})),o("el-submenu",{directives:[{name:"show",rawName:"v-show",value:t.menus.length>5,expression:"menus.length > 5"}],attrs:{index:"more"}},[o("template",{slot:"title"},[t._v("更多")]),t._l(t.menus.slice(5),(function(e,n){return o("el-menu-item",{key:n,attrs:{index:e.path}},[t._v(t._s(e.title))])}))],2)],2):t._e(),o("div",{staticStyle:{position:"absolute",right:"20px"}},[o("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:t.logined,expression:"logined"}],attrs:{trigger:"click"},on:{command:t.onDropdown}},[o("el-avatar",{staticStyle:{"vertical-align":"middle"},attrs:{size:30,src:t.profile.avatar}}),o("el-dropdown-menu",{staticStyle:{width:"200px"},attrs:{slot:"dropdown"},slot:"dropdown"},[o("div",{staticStyle:{margin:"auto 20px"}},[o("el-row",{staticStyle:{"text-align":"center",margin:"10px 0"}},[o("el-avatar",{attrs:{size:50,src:t.profile.avatar}})],1),o("el-row",{staticClass:"storage"},[o("p",[o("span",{},[t._v(t._s(t.$t("leftnav.storage")))]),o("span",{staticStyle:{float:"right"}},[t._v(t._s(t.storage.percentage)+"%")])]),o("el-progress",{attrs:{percentage:t.storage.percentage,"show-text":!1}}),o("p",{staticStyle:{color:"rgba(0, 0, 0, 0.54)","font-size":"0.75rem"}},[t._v(t._s(t.storage.used)+"/"+t._s(t.storage.max))])],1)],1),o("el-dropdown-item",{attrs:{icon:"el-icon-setting",command:"profile",divided:""}},[t._v(t._s(t.$t("topbar.settings")))]),o("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:t.showAdmin,expression:"showAdmin"}],attrs:{icon:"el-icon-set-up",command:"admin"}},[t._v(t._s(t.$t("topbar.s-platform")))]),o("el-dropdown-item",{attrs:{icon:"el-icon-switch-button",command:"signout"}},[t._v(t._s(t.$t("topbar.signout")))])],1)],1)],1)],1)},i=[],s=n("9225"),r=n("90fe"),a=n("a78e"),c=n.n(a),u="https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",l={props:{menus:Array,logined:Boolean},data:function(){return{storage:{percentage:0},user:{},profile:{}}},watch:{$route:"onRouteChange",locale:function(t){Object(s["b"])(t)}},computed:{showMenu:function(){return this.menus&&this.menus.length>0},showAdmin:function(){return"admin"==c.a.get("z-role")},menuActive:function(){return"/".concat(this.$route.params.sname)}},methods:{onRouteChange:function(t,e){this.logined&&this.userInfo()},userInfo:function(){var t=this;this.$zpan.User.profileGet().then((function(e){t.user=e.data,t.profile=t.user.profile,""==t.profile.avatar&&(t.profile.avatar=u),t.profile.locale&&(t.$i18n.locale=t.profile.locale),t.storage={used:r["a"].formatBytes(t.user.storage.used,0),max:r["a"].formatBytes(t.user.storage.max,0),percentage:Math.round(t.user.storage.used/t.user.storage.max*1e4)/100}}))},onDropdown:function(t){this.$router.push({name:t})}},mounted:function(){this.logined&&this.userInfo()}},f=l,d=(n("a0b4"),n("2877")),p=Object(d["a"])(f,o,i,!1,null,null,null);e["a"]=p.exports},2593:function(t,e,n){},"7abe":function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[n("Topbar",{attrs:{menus:t.$store.state.storages,logined:""}}),n("el-container",{staticStyle:{height:"100%"}},[n("el-aside",{staticStyle:{height:"100%","background-color":"#f4f4f5"},attrs:{width:"200px"}},[n("el-menu",{attrs:{"default-active":t.leftMenuActive,"background-color":"#f4f4f5",router:""}},t._l(t.leftMenus,(function(e){return n("el-menu-item",{key:e.path,attrs:{index:e.path}},[n("i",{class:e.icon}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.title))])])})),1)],1),n("el-main",[n("router-view")],1)],1)],1)},i=[],s=(n("7f7f"),n("a026")),r=n("c0d6"),a=n("41cb"),c=n("0b47"),u=n("ebbf"),l={mixins:[u["a"]],components:{Topbar:c["a"]},beforeRouteEnter:function(t,e,n){s["default"].zpan.Storage.list().then((function(e){var o=e.data.list;0!=o.length?"/"!=t.path?(r["a"].commit("storages",o),n()):a["a"].push({path:"/".concat(o[0].name)}):n({name:"storages"})}))},data:function(){return{}},computed:{currentBucket:function(){return this.$route.params.sname},leftMenuActive:function(){return this.$route.fullPath},leftMenus:function(){var t=[{path:"/".concat(this.currentBucket),icon:"el-icon-document",title:this.$t("leftnav.files")},{path:"/".concat(this.currentBucket,"?type=doc"),icon:"el-icon-xx",title:this.$t("leftnav.doc")},{path:"/".concat(this.currentBucket,"/pic"),icon:"el-icon-xx",title:this.$t("leftnav.image")},{path:"/".concat(this.currentBucket,"?type=audio"),icon:"el-icon-xx",title:this.$t("leftnav.audio")},{path:"/".concat(this.currentBucket,"?type=video"),icon:"el-icon-xx",title:this.$t("leftnav.video")}];if(1==this.cs.mode){var e=[{path:"/".concat(this.currentBucket,"/share"),icon:"el-icon-share",title:this.$t("leftnav.share")},{path:"/".concat(this.currentBucket,"/recyclebin"),icon:"el-icon-delete",title:this.$t("leftnav.recyclebin")}];t.push.apply(t,e)}return t}},watch:{$route:function(t,e){}},methods:{},mounted:function(){}},f=l,d=(n("95c0"),n("2877")),p=Object(d["a"])(f,o,i,!1,null,"43fd32d2",null);e["default"]=p.exports},"95c0":function(t,e,n){"use strict";n("2593")},9884:function(t,e,n){},a0b4:function(t,e,n){"use strict";n("9884")},a78e:function(t,e,n){var o,i; +/*! + * JavaScript Cookie v2.2.1 + * https://github.com/js-cookie/js-cookie + * + * Copyright 2006, 2015 Klaus Hartl & Fagner Brack + * Released under the MIT license + */(function(s){var r;if(o=s,i="function"===typeof o?o.call(e,n,e,t):o,void 0===i||(t.exports=i),r=!0,t.exports=s(),r=!0,!r){var a=window.Cookies,c=window.Cookies=s();c.noConflict=function(){return window.Cookies=a,c}}})((function(){function t(){for(var t=0,e={};t 5),expression:\"menus.length > 5\"}],attrs:{\"index\":\"more\"}},[_c('template',{slot:\"title\"},[_vm._v(\"更多\")]),_vm._l((_vm.menus.slice(5)),function(menu,index){return _c('el-menu-item',{key:index,attrs:{\"index\":menu.path}},[_vm._v(_vm._s(menu.title))])})],2)],2):_vm._e(),_c('div',{staticStyle:{\"position\":\"absolute\",\"right\":\"20px\"}},[_c('el-dropdown',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.logined),expression:\"logined\"}],attrs:{\"trigger\":\"click\"},on:{\"command\":_vm.onDropdown}},[_c('el-avatar',{staticStyle:{\"vertical-align\":\"middle\"},attrs:{\"size\":30,\"src\":_vm.profile.avatar}}),_c('el-dropdown-menu',{staticStyle:{\"width\":\"200px\"},attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('div',{staticStyle:{\"margin\":\"auto 20px\"}},[_c('el-row',{staticStyle:{\"text-align\":\"center\",\"margin\":\"10px 0\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.profile.avatar}})],1),_c('el-row',{staticClass:\"storage\"},[_c('p',[_c('span',{},[_vm._v(_vm._s(_vm.$t(\"leftnav.storage\")))]),_c('span',{staticStyle:{\"float\":\"right\"}},[_vm._v(_vm._s(_vm.storage.percentage)+\"%\")])]),_c('el-progress',{attrs:{\"percentage\":_vm.storage.percentage,\"show-text\":false}}),_c('p',{staticStyle:{\"color\":\"rgba(0, 0, 0, 0.54)\",\"font-size\":\"0.75rem\"}},[_vm._v(_vm._s(_vm.storage.used)+\"/\"+_vm._s(_vm.storage.max))])],1)],1),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-setting\",\"command\":\"profile\",\"divided\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.settings\")))]),_c('el-dropdown-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showAdmin),expression:\"showAdmin\"}],attrs:{\"icon\":\"el-icon-set-up\",\"command\":\"admin\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.s-platform\")))]),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-switch-button\",\"command\":\"signout\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.signout\")))])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=5a12339f&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_c('Topbar',{attrs:{\"menus\":_vm.$store.state.storages,\"logined\":\"\"}}),_c('el-container',{staticStyle:{\"height\":\"100%\"}},[_c('el-aside',{staticStyle:{\"height\":\"100%\",\"background-color\":\"#f4f4f5\"},attrs:{\"width\":\"200px\"}},[_c('el-menu',{attrs:{\"default-active\":_vm.leftMenuActive,\"background-color\":\"#f4f4f5\",\"router\":\"\"}},_vm._l((_vm.leftMenus),function(menu){return _c('el-menu-item',{key:menu.path,attrs:{\"index\":menu.path}},[_c('i',{class:menu.icon}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(_vm._s(menu.title))])])}),1)],1),_c('el-main',[_c('router-view')],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=43fd32d2&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=43fd32d2&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"43fd32d2\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=43fd32d2&scoped=true&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAXqADAAQAAAABAAAAHQAAAADQpyghAAAJ9ElEQVRoBe1ZD2yV1RU/53t/+gcpLYj8CVL+RQpdGQIbm+hQsrmhM0wZmrgi+xe7LYsbBYRIpk8xYguUBTcjc27LoksGMxPCwua2ZHFK1ayjFGixOhvoMgYl8mhp+/r+fHe/c7933/e9R/f6WiouK4f03XPPOfec+/3uufee74MpBxrV1jaxuzt6F8d5OcWsaSpmTeaYVUIx/1krZp1WMT7BUd+BkgAfPLdifFcOLke8CWdF4N9NFdTDWynhu4OjFgN0UlGLADoJ7/z50MJNzEcc90Wh+3ke5T3es3rU6ay+R7gS6PVDqr2Azh5+nhPcyMx3klKpBdIMy68RqRSvbBW0bVUVicbes3Z3blKecf1EGdEig54LQs+RKdQX30dRa4FkNo4VZLgPLUwl2+PIcLRutju8a+vsCtFbcf/L144pXHPmAe52A1zlBIH0jFcA3Y6+RYoWINPRuMTIcJEZcnRJC6W0rWjB6r2gxyu18lxH5NVZu1SeGXe1dRBwgVeHCijWtw/gTXZUDqgCuMCKY0ODKjrROIugoXZ4CI3cGSl9/e+mtt7oC47Pq78GARd44l1k2wskY4VM5gp0JttNwgNuqVzaiVVE8tsBXAbJONjLbpHWXbSvWFuiVeL3KjkIOMCrQxXoft2AYgA2mSty8OfYoo0q6J+hlswoUktLp6rPTi3w+9WNWIg66LEIINkEaZQUKH7i2ho1Ok01gjsm47cCWdycDkgm61NnOtOBkvzALHveDbX08WltXrxit09ptFdMWpfHeeVs8bFU1ssKaHfJ5WN1XbjX3uAdO5J5lCBvTwRCd+izJXm+pDJe9/nAY7PmrDg/c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FE0xuuFu04EX7zw9AtBXWx2Nr9tMT+ByvU4HBRLuDoDE3StanazTj+pOPz/WRnUS4jHYRI2Jp/lWrwlAL/P2hYfsS5myjP5lAS++ihXVoTp4EIBP9fpGf4bpY75xzOVSnIzBENsM+Fwv9vj5uymYNwvAP44Ltl2qGyFnF4DB6gySUJyQ/F0zyHEfmnn9Tu61AvQFgNvcXxANOtFD/ekuV5Z9JceXdQHfEIKE/M3vLkgwLwf805TFk5H+l5RN2SYjmQ69gN7vXZdtbFYdU0OaHm+Laf0BOsdquQVvup/o6aRHcc/ck8z+DzDfQ9jV24oT1BRmfCjzkD9BqQ9sELciJyWhHOLkty/Td9pu2KTN8z9dlaBli10ZbAAAAABJRU5ErkJggg==\"","\nconst Mixin = {\n data() {\n return {\n cs: {}\n }\n },\n watch: {\n $route(newVal, oldVal) {\n this.setCs()\n },\n },\n computed: {},\n methods: {\n setCs() {\n this.$store.state.storages.forEach((ele) => {\n if (ele.name == this.$route.params.sname) {\n this.cs = ele\n }\n });\n },\n getSid() {\n return this.cs.id\n },\n },\n mounted() {\n this.setCs()\n },\n}\n\nexport default Mixin","const DialogMixin = {\n data() {\n return {\n visible: false\n }\n },\n watch: {\n visible(val) {\n !val && this.$destroy()\n }\n },\n mounted() {\n document.body.appendChild(this.$el)\n this.visible = true\n },\n destroyed() {\n this.$el.parentNode.removeChild(this.$el)\n },\n methods: {\n open() {\n this.visible = true;\n },\n close() {\n this.visible = false;\n },\n completed() {\n this.$emit('completed');\n },\n finish() {\n this.close();\n this.completed();\n },\n }\n}\n\nexport default DialogMixin"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-4fae512a.7ef597e7.js b/web/dist/js/chunk-4fae512a.7ef597e7.js new file mode 100644 index 0000000..b0145e2 --- /dev/null +++ b/web/dist/js/chunk-4fae512a.7ef597e7.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4fae512a"],{"045e":function(e,l,t){"use strict";t("8271")},"31bb":function(e,l,t){"use strict";t.r(l);var o=function(){var e=this,l=e.$createElement,t=e._self._c||l;return t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("个人信息")])]),t("el-form",{ref:"form",staticClass:"profile",attrs:{model:e.profile,rules:e.rules,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"邮箱",prop:"email"}},[t("el-input",{attrs:{disabled:""},model:{value:e.user.email,callback:function(l){e.$set(e.user,"email",l)},expression:"user.email"}})],1),t("el-form-item",{attrs:{label:"邀请码",prop:"ticket"}},[t("el-input",{attrs:{disabled:""},model:{value:e.user.ticket,callback:function(l){e.$set(e.user,"ticket",l)},expression:"user.ticket"}})],1),t("el-form-item",{attrs:{label:"昵称",prop:"nickname"}},[t("el-input",{model:{value:e.profile.nickname,callback:function(l){e.$set(e.profile,"nickname",l)},expression:"profile.nickname"}})],1),t("el-form-item",{attrs:{label:"个人介绍",prop:"bio"}},[t("el-input",{attrs:{type:"textarea"},model:{value:e.profile.bio,callback:function(l){e.$set(e.profile,"bio",l)},expression:"profile.bio"}})],1),t("el-form-item",{attrs:{label:"URL",prop:"url"}},[t("el-input",{model:{value:e.profile.url,callback:function(l){e.$set(e.profile,"url",l)},expression:"profile.url"}})],1),t("el-form-item",{attrs:{label:"公司",prop:"company"}},[t("el-input",{model:{value:e.profile.company,callback:function(l){e.$set(e.profile,"company",l)},expression:"profile.company"}})],1),t("el-form-item",{attrs:{label:"地址",prop:"location"}},[t("el-input",{model:{value:e.profile.location,callback:function(l){e.$set(e.profile,"location",l)},expression:"profile.location"}})],1),t("el-form-item",{attrs:{label:"语言",prop:"locale"}},[t("el-select",{model:{value:e.profile.locale,callback:function(l){e.$set(e.profile,"locale",l)},expression:"profile.locale"}},e._l(e.langs,(function(l){return t("el-option",{key:l.value,attrs:{value:l.value,label:l.label}},[e._v(e._s(l.label))])})),1)],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:function(l){return e.submitForm("form")}}},[e._v("保存")])],1)],1)],1)},a=[],r=(t("7f7f"),{data:function(){return{user:{},profile:{},rules:{},langs:[{label:"中文",value:"zh-CN"},{label:"English",value:"en"}]}},methods:{loadInfo:function(){var e=this;this.$zpan.User.profileGet().then((function(l){e.user=l.data,e.profile=l.data.profile}))},submitForm:function(e){var l=this;this.$refs[e].validate((function(e){e&&l.$zpan.User.updateProfile(l.profile).then((function(e){l.$message({type:"success",message:"保存成功!"}),l.loadInfo()}))}))}},mounted:function(){this.loadInfo()}}),i=r,n=(t("045e"),t("2877")),s=Object(n["a"])(i,o,a,!1,null,null,null);l["default"]=s.exports},8271:function(e,l,t){}}]); +//# sourceMappingURL=chunk-4fae512a.7ef597e7.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-4fae512a.7ef597e7.js.map b/web/dist/js/chunk-4fae512a.7ef597e7.js.map new file mode 100644 index 0000000..b0fbd3f --- /dev/null +++ b/web/dist/js/chunk-4fae512a.7ef597e7.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/settings/profile/index.vue?6d0e","webpack:///./src/views/settings/profile/index.vue?125b","webpack:///src/views/settings/profile/index.vue","webpack:///./src/views/settings/profile/index.vue?1844","webpack:///./src/views/settings/profile/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","ref","profile","rules","model","value","user","callback","$$v","$set","expression","_l","lang","key","label","_s","on","$event","submitForm","staticRenderFns","data","langs","methods","loadInfo","$zpan","User","profileGet","then","$refs","name","validate","valid","type","message","mounted","component"],"mappings":"kHAAA,W,2CCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,YAAY,WAAWC,MAAM,CAAC,OAAS,UAAU,CAACH,EAAG,MAAM,CAACE,YAAY,WAAWC,MAAM,CAAC,KAAO,UAAUC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J,WACA,WACM/B,KAAKgC,MAAMC,KAAKC,aAAaC,MAAK,SAAxC,GACQ,EAAR,YACQ,EAAR,2BAGIT,WAPJ,SAOA,cACM1B,KAAKoC,MAAMC,GAAMC,UAAS,SAAhC,GACaC,GAIL,EAAR,sDACU,EAAV,UACYC,KAAM,UACNC,QAAS,UAEX,EAAV,mBAKEC,QAnCF,WAoCI1C,KAAK+B,cC9EoW,I,wBCQzWY,EAAY,eACd,EACA7C,EACA6B,GACA,EACA,KACA,KACA,MAIa,aAAAgB,E","file":"js/chunk-4fae512a.7ef597e7.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:\"box-card\",attrs:{\"shadow\":\"never\"}},[_c('div',{staticClass:\"clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"个人信息\")])]),_c('el-form',{ref:\"form\",staticClass:\"profile\",attrs:{\"model\":_vm.profile,\"rules\":_vm.rules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"邮箱\",\"prop\":\"email\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.user.email),callback:function ($$v) {_vm.$set(_vm.user, \"email\", $$v)},expression:\"user.email\"}})],1),_c('el-form-item',{attrs:{\"label\":\"邀请码\",\"prop\":\"ticket\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.user.ticket),callback:function ($$v) {_vm.$set(_vm.user, \"ticket\", $$v)},expression:\"user.ticket\"}})],1),_c('el-form-item',{attrs:{\"label\":\"昵称\",\"prop\":\"nickname\"}},[_c('el-input',{model:{value:(_vm.profile.nickname),callback:function ($$v) {_vm.$set(_vm.profile, \"nickname\", $$v)},expression:\"profile.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"个人介绍\",\"prop\":\"bio\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.profile.bio),callback:function ($$v) {_vm.$set(_vm.profile, \"bio\", $$v)},expression:\"profile.bio\"}})],1),_c('el-form-item',{attrs:{\"label\":\"URL\",\"prop\":\"url\"}},[_c('el-input',{model:{value:(_vm.profile.url),callback:function ($$v) {_vm.$set(_vm.profile, \"url\", $$v)},expression:\"profile.url\"}})],1),_c('el-form-item',{attrs:{\"label\":\"公司\",\"prop\":\"company\"}},[_c('el-input',{model:{value:(_vm.profile.company),callback:function ($$v) {_vm.$set(_vm.profile, \"company\", $$v)},expression:\"profile.company\"}})],1),_c('el-form-item',{attrs:{\"label\":\"地址\",\"prop\":\"location\"}},[_c('el-input',{model:{value:(_vm.profile.location),callback:function ($$v) {_vm.$set(_vm.profile, \"location\", $$v)},expression:\"profile.location\"}})],1),_c('el-form-item',{attrs:{\"label\":\"语言\",\"prop\":\"locale\"}},[_c('el-select',{model:{value:(_vm.profile.locale),callback:function ($$v) {_vm.$set(_vm.profile, \"locale\", $$v)},expression:\"profile.locale\"}},_vm._l((_vm.langs),function(lang){return _c('el-option',{key:lang.value,attrs:{\"value\":lang.value,\"label\":lang.label}},[_vm._v(_vm._s(lang.label))])}),1)],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.submitForm('form')}}},[_vm._v(\"保存\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=018a7bb9&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-51b64701.72c6e002.js b/web/dist/js/chunk-51b64701.72c6e002.js new file mode 100644 index 0000000..38ea9bb --- /dev/null +++ b/web/dist/js/chunk-51b64701.72c6e002.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-51b64701"],{"0a49":function(e,t,r){var n=r("9b43"),s=r("626a"),c=r("4bf8"),a=r("9def"),i=r("cd1c");e.exports=function(e,t){var r=1==e,o=2==e,u=3==e,f=4==e,l=6==e,d=5==e||l,p=t||i;return function(t,i,y){for(var h,v,m=c(t),b=s(m),k=n(i,y,3),w=a(b.length),x=0,K=r?p(t,w):o?p(t,0):void 0;w>x;x++)if((d||x in b)&&(h=b[x],v=k(h,x,m),e))if(r)K[x]=v;else if(v)switch(e){case 3:return!0;case 5:return h;case 6:return x;case 2:K.push(h)}else if(f)return!1;return l?-1:u||f?f:K}}},1169:function(e,t,r){var n=r("2d95");e.exports=Array.isArray||function(e){return"Array"==n(e)}},7514:function(e,t,r){"use strict";var n=r("5ca1"),s=r("0a49")(5),c="find",a=!0;c in[]&&Array(1)[c]((function(){a=!1})),n(n.P+n.F*a,"Array",{find:function(e){return s(this,e,arguments.length>1?arguments[1]:void 0)}}),r("9c6c")(c)},acca:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[r("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[r("span",[e._v("开发者设置")])]),r("el-form",{ref:"form",staticClass:"profile",attrs:{model:e.userKey,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"Appid",prop:"email"}},[r("el-input",{attrs:{disabled:""},model:{value:e.userKey.access_key,callback:function(t){e.$set(e.userKey,"access_key",t)},expression:"userKey.access_key"}})],1),r("el-form-item",{attrs:{label:"Secret",prop:"ticket"}},[r("el-input",{attrs:{disabled:""},model:{value:e.userKey.secret_key,callback:function(t){e.$set(e.userKey,"secret_key",t)},expression:"userKey.secret_key"}})],1),r("el-form-item",{staticStyle:{"padding-top":"20px"}},[r("el-button",{attrs:{type:"primary"},on:{click:e.viewDocs}},[e._v("查看文档")]),r("el-button",{attrs:{type:"danger"},on:{click:e.resetSecret}},[e._v("秘钥重置")])],1)],1)],1)},s=[],c=(r("7f7f"),r("7514"),{data:function(){return{userKey:{}}},methods:{loadInfo:function(){var e=this;this.$zpan.UserKey.find("default").then((function(t){e.userKey=t.data}))},viewDocs:function(){open("/swagger/index.html","blank")},resetSecret:function(){var e=this;this.$confirm(this.$t("tips.secret-reset"),this.$t("op.reset")+" ".concat(this.userKey.name),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){e.$zpan.UserKey.resetSecret("default").then((function(t){e.$message({type:"success",message:"重置成功!"}),e.loadInfo()}))}))}},mounted:function(){this.loadInfo()}}),a=c,i=(r("d505"),r("2877")),o=Object(i["a"])(a,n,s,!1,null,null,null);t["default"]=o.exports},cd1c:function(e,t,r){var n=r("e853");e.exports=function(e,t){return new(n(e))(t)}},d505:function(e,t,r){"use strict";r("f2f1")},e853:function(e,t,r){var n=r("d3f4"),s=r("1169"),c=r("2b4c")("species");e.exports=function(e){var t;return s(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!s(t.prototype)||(t=void 0),n(t)&&(t=t[c],null===t&&(t=void 0))),void 0===t?Array:t}},f2f1:function(e,t,r){}}]); +//# sourceMappingURL=chunk-51b64701.72c6e002.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-51b64701.72c6e002.js.map b/web/dist/js/chunk-51b64701.72c6e002.js.map new file mode 100644 index 0000000..c2cbb05 --- /dev/null +++ b/web/dist/js/chunk-51b64701.72c6e002.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./src/views/settings/developer/index.vue?a5bb","webpack:///src/views/settings/developer/index.vue","webpack:///./src/views/settings/developer/index.vue?ea88","webpack:///./src/views/settings/developer/index.vue","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./src/views/settings/developer/index.vue?0806","webpack:///./node_modules/core-js/modules/_array-species-constructor.js"],"names":["ctx","IObject","toObject","toLength","asc","module","exports","TYPE","$create","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","create","$this","callbackfn","that","val","res","O","self","f","length","index","result","undefined","push","cof","Array","isArray","arg","$export","$find","KEY","forced","P","F","find","this","arguments","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","ref","userKey","model","value","callback","$$v","$set","expression","staticStyle","on","viewDocs","resetSecret","staticRenderFns","data","methods","loadInfo","$zpan","UserKey","then","open","$confirm","$t","type","confirmButtonText","cancelButtonText","message","mounted","component","speciesConstructor","original","isObject","SPECIES","C","constructor","prototype"],"mappings":"qGAOA,IAAI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CsBtB,G,oBAAA,CACEC,KADF,WAEI,MAAO,CACLZ,QAAS,KAGba,QAAS,CACPC,SADJ,WACA,WACM3B,KAAK4B,MAAMC,QAAQ9B,KAAK,WAAW+B,MAAK,SAA9C,GACQ,EAAR,mBAGIR,SANJ,WAOMS,KAAK,sBAAuB,UAE9BR,YATJ,WASA,WACMvB,KAAKgC,SAAShC,KAAKiC,GAAG,qBAAsBjC,KAAKiC,GAAG,YAAc,IAAxE,2BACQC,KAAM,UACNC,kBAAmBnC,KAAKiC,GAAG,cAC3BG,iBAAkBpC,KAAKiC,GAAG,eAClC,iBACQ,EAAR,uDACU,EAAV,UACYC,KAAM,UACNG,QAAS,UAEX,EAAV,mBAKEC,QA/BF,WAgCItC,KAAK2B,cCvDoW,I,wBCQzWY,EAAY,eACd,EACArC,EACAsB,GACA,EACA,KACA,KACA,MAIa,aAAAe,E,8BClBf,IAAIC,EAAqB,EAAQ,QAEjC3E,EAAOC,QAAU,SAAU2E,EAAUzD,GACnC,OAAO,IAAKwD,EAAmBC,GAAxB,CAAmCzD,K,kCCJ5C,W,qBCAA,IAAI0D,EAAW,EAAQ,QACnBnD,EAAU,EAAQ,QAClBoD,EAAU,EAAQ,OAAR,CAAkB,WAEhC9E,EAAOC,QAAU,SAAU2E,GACzB,IAAIG,EASF,OARErD,EAAQkD,KACVG,EAAIH,EAASI,YAEG,mBAALD,GAAoBA,IAAMtD,QAASC,EAAQqD,EAAEE,aAAaF,OAAIzD,GACrEuD,EAASE,KACXA,EAAIA,EAAED,GACI,OAANC,IAAYA,OAAIzD,UAETA,IAANyD,EAAkBtD,MAAQsD,I","file":"js/chunk-51b64701.72c6e002.js","sourcesContent":["// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{staticClass:\"box-card\",attrs:{\"shadow\":\"never\"}},[_c('div',{staticClass:\"clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"开发者设置\")])]),_c('el-form',{ref:\"form\",staticClass:\"profile\",attrs:{\"model\":_vm.userKey,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"Appid\",\"prop\":\"email\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.userKey.access_key),callback:function ($$v) {_vm.$set(_vm.userKey, \"access_key\", $$v)},expression:\"userKey.access_key\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Secret\",\"prop\":\"ticket\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.userKey.secret_key),callback:function ($$v) {_vm.$set(_vm.userKey, \"secret_key\", $$v)},expression:\"userKey.secret_key\"}})],1),_c('el-form-item',{staticStyle:{\"padding-top\":\"20px\"}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.viewDocs}},[_vm._v(\"查看文档\")]),_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":_vm.resetSecret}},[_vm._v(\"秘钥重置\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=289a9870&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-54185f58.0bc610e7.js b/web/dist/js/chunk-54185f58.0bc610e7.js new file mode 100644 index 0000000..cd6013c --- /dev/null +++ b/web/dist/js/chunk-54185f58.0bc610e7.js @@ -0,0 +1,9 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-54185f58"],{"0b47":function(e,t,n){"use strict";var o=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("el-header",[o("div",{staticClass:"logo"},[o("img",{attrs:{src:n("cf05"),alt:"ZPan"},on:{click:function(t){return e.$router.push("/")}}})]),e.showMenu?o("el-menu",{staticClass:"navbar",staticStyle:{width:"100%"},attrs:{"default-active":e.menuActive,mode:"horizontal",router:""}},[e._l(e.menus.slice(0,5),(function(t,n){return o("el-menu-item",{key:n,attrs:{index:"/"+t.name}},[e._v(e._s(t.title))])})),o("el-submenu",{directives:[{name:"show",rawName:"v-show",value:e.menus.length>5,expression:"menus.length > 5"}],attrs:{index:"more"}},[o("template",{slot:"title"},[e._v("更多")]),e._l(e.menus.slice(5),(function(t,n){return o("el-menu-item",{key:n,attrs:{index:t.path}},[e._v(e._s(t.title))])}))],2)],2):e._e(),o("div",{staticStyle:{position:"absolute",right:"20px"}},[o("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:e.logined,expression:"logined"}],attrs:{trigger:"click"},on:{command:e.onDropdown}},[o("el-avatar",{staticStyle:{"vertical-align":"middle"},attrs:{size:30,src:e.profile.avatar}}),o("el-dropdown-menu",{staticStyle:{width:"200px"},attrs:{slot:"dropdown"},slot:"dropdown"},[o("div",{staticStyle:{margin:"auto 20px"}},[o("el-row",{staticStyle:{"text-align":"center",margin:"10px 0"}},[o("el-avatar",{attrs:{size:50,src:e.profile.avatar}})],1),o("el-row",{staticClass:"storage"},[o("p",[o("span",{},[e._v(e._s(e.$t("leftnav.storage")))]),o("span",{staticStyle:{float:"right"}},[e._v(e._s(e.storage.percentage)+"%")])]),o("el-progress",{attrs:{percentage:e.storage.percentage,"show-text":!1}}),o("p",{staticStyle:{color:"rgba(0, 0, 0, 0.54)","font-size":"0.75rem"}},[e._v(e._s(e.storage.used)+"/"+e._s(e.storage.max))])],1)],1),o("el-dropdown-item",{attrs:{icon:"el-icon-setting",command:"profile",divided:""}},[e._v(e._s(e.$t("topbar.settings")))]),o("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:e.showAdmin,expression:"showAdmin"}],attrs:{icon:"el-icon-set-up",command:"admin"}},[e._v(e._s(e.$t("topbar.s-platform")))]),o("el-dropdown-item",{attrs:{icon:"el-icon-switch-button",command:"signout"}},[e._v(e._s(e.$t("topbar.signout")))])],1)],1)],1)],1)},i=[],s=n("9225"),a=n("90fe"),r=n("a78e"),l=n.n(r),u="https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",c={props:{menus:Array,logined:Boolean},data:function(){return{storage:{percentage:0},user:{},profile:{}}},watch:{$route:"onRouteChange",locale:function(e){Object(s["b"])(e)}},computed:{showMenu:function(){return this.menus&&this.menus.length>0},showAdmin:function(){return"admin"==l.a.get("z-role")},menuActive:function(){return"/".concat(this.$route.params.sname)}},methods:{onRouteChange:function(e,t){this.logined&&this.userInfo()},userInfo:function(){var e=this;this.$zpan.User.profileGet().then((function(t){e.user=t.data,e.profile=e.user.profile,""==e.profile.avatar&&(e.profile.avatar=u),e.profile.locale&&(e.$i18n.locale=e.profile.locale),e.storage={used:a["a"].formatBytes(e.user.storage.used,0),max:a["a"].formatBytes(e.user.storage.max,0),percentage:Math.round(e.user.storage.used/e.user.storage.max*1e4)/100}}))},onDropdown:function(e){this.$router.push({name:e})}},mounted:function(){this.logined&&this.userInfo()}},d=c,p=(n("a0b4"),n("2877")),f=Object(p["a"])(d,o,i,!1,null,null,null);t["a"]=f.exports},2953:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("Topbar",{attrs:{logined:""}}),n("el-container",{staticStyle:{height:"100%"}},[n("el-aside",{staticStyle:{height:"100%","background-color":"#f4f4f5"},attrs:{width:"200px"}},[n("el-menu",{attrs:{"default-active":e.routeFullPath,"background-color":"#f4f4f5",router:""}},[n("el-menu-item",{attrs:{index:"/admin/dashboard"}},[n("i",{staticClass:"el-icon-s-home"}),n("span",{attrs:{slot:"title"},slot:"title"},[e._v("首页")])]),n("el-menu-item",{attrs:{index:"/admin/storages"}},[n("i",{staticClass:"el-icon-files"}),n("span",{attrs:{slot:"title"},slot:"title"},[e._v("存储管理")])]),n("el-menu-item",{attrs:{index:"/admin/users"}},[n("i",{staticClass:"el-icon-user"}),n("span",{attrs:{slot:"title"},slot:"title"},[e._v("用户管理")])]),n("el-submenu",{attrs:{index:"/admin/settings"}},[n("template",{slot:"title"},[n("i",{staticClass:"el-icon-files"}),n("span",[e._v("系统设置")])]),n("el-menu-item",{attrs:{index:"/admin/settings"}},[e._v("站点设置")]),n("el-menu-item",{attrs:{index:"/admin/settings/email"}},[e._v("发信邮箱")])],2)],1)],1),n("el-main",[n("router-view")],1)],1)],1)},i=[],s=n("0b47"),a={components:{Topbar:s["a"]},data:function(){return{routeFullPath:"disk"}},watch:{$route:function(e,t){this.routeFullPath=e.fullPath}},mounted:function(){this.routeFullPath=this.$route.fullPath}},r=a,l=(n("c71b"),n("2877")),u=Object(l["a"])(r,o,i,!1,null,"1df4bb25",null);t["default"]=u.exports},9884:function(e,t,n){},a0b4:function(e,t,n){"use strict";n("9884")},a78e:function(e,t,n){var o,i; +/*! + * JavaScript Cookie v2.2.1 + * https://github.com/js-cookie/js-cookie + * + * Copyright 2006, 2015 Klaus Hartl & Fagner Brack + * Released under the MIT license + */(function(s){var a;if(o=s,i="function"===typeof o?o.call(t,n,t,e):o,void 0===i||(e.exports=i),a=!0,e.exports=s(),a=!0,!a){var r=window.Cookies,l=window.Cookies=s();l.noConflict=function(){return window.Cookies=r,l}}})((function(){function e(){for(var e=0,t={};e 5),expression:\"menus.length > 5\"}],attrs:{\"index\":\"more\"}},[_c('template',{slot:\"title\"},[_vm._v(\"更多\")]),_vm._l((_vm.menus.slice(5)),function(menu,index){return _c('el-menu-item',{key:index,attrs:{\"index\":menu.path}},[_vm._v(_vm._s(menu.title))])})],2)],2):_vm._e(),_c('div',{staticStyle:{\"position\":\"absolute\",\"right\":\"20px\"}},[_c('el-dropdown',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.logined),expression:\"logined\"}],attrs:{\"trigger\":\"click\"},on:{\"command\":_vm.onDropdown}},[_c('el-avatar',{staticStyle:{\"vertical-align\":\"middle\"},attrs:{\"size\":30,\"src\":_vm.profile.avatar}}),_c('el-dropdown-menu',{staticStyle:{\"width\":\"200px\"},attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('div',{staticStyle:{\"margin\":\"auto 20px\"}},[_c('el-row',{staticStyle:{\"text-align\":\"center\",\"margin\":\"10px 0\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.profile.avatar}})],1),_c('el-row',{staticClass:\"storage\"},[_c('p',[_c('span',{},[_vm._v(_vm._s(_vm.$t(\"leftnav.storage\")))]),_c('span',{staticStyle:{\"float\":\"right\"}},[_vm._v(_vm._s(_vm.storage.percentage)+\"%\")])]),_c('el-progress',{attrs:{\"percentage\":_vm.storage.percentage,\"show-text\":false}}),_c('p',{staticStyle:{\"color\":\"rgba(0, 0, 0, 0.54)\",\"font-size\":\"0.75rem\"}},[_vm._v(_vm._s(_vm.storage.used)+\"/\"+_vm._s(_vm.storage.max))])],1)],1),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-setting\",\"command\":\"profile\",\"divided\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.settings\")))]),_c('el-dropdown-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showAdmin),expression:\"showAdmin\"}],attrs:{\"icon\":\"el-icon-set-up\",\"command\":\"admin\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.s-platform\")))]),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-switch-button\",\"command\":\"signout\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.signout\")))])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=5a12339f&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_c('Topbar',{attrs:{\"logined\":\"\"}}),_c('el-container',{staticStyle:{\"height\":\"100%\"}},[_c('el-aside',{staticStyle:{\"height\":\"100%\",\"background-color\":\"#f4f4f5\"},attrs:{\"width\":\"200px\"}},[_c('el-menu',{attrs:{\"default-active\":_vm.routeFullPath,\"background-color\":\"#f4f4f5\",\"router\":\"\"}},[_c('el-menu-item',{attrs:{\"index\":\"/admin/dashboard\"}},[_c('i',{staticClass:\"el-icon-s-home\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"首页\")])]),_c('el-menu-item',{attrs:{\"index\":\"/admin/storages\"}},[_c('i',{staticClass:\"el-icon-files\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"存储管理\")])]),_c('el-menu-item',{attrs:{\"index\":\"/admin/users\"}},[_c('i',{staticClass:\"el-icon-user\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"用户管理\")])]),_c('el-submenu',{attrs:{\"index\":\"/admin/settings\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-files\"}),_c('span',[_vm._v(\"系统设置\")])]),_c('el-menu-item',{attrs:{\"index\":\"/admin/settings\"}},[_vm._v(\"站点设置\")]),_c('el-menu-item',{attrs:{\"index\":\"/admin/settings/email\"}},[_vm._v(\"发信邮箱\")])],2)],1)],1),_c('el-main',[_c('router-view')],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=1df4bb25&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=1df4bb25&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1df4bb25\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=1df4bb25&scoped=true&lang=css&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAXqADAAQAAAABAAAAHQAAAADQpyghAAAJ9ElEQVRoBe1ZD2yV1RU/53t/+gcpLYj8CVL+RQpdGQIbm+hQsrmhM0wZmrgi+xe7LYsbBYRIpk8xYguUBTcjc27LoksGMxPCwua2ZHFK1ayjFGixOhvoMgYl8mhp+/r+fHe/c7933/e9R/f6WiouK4f03XPPOfec+/3uufee74MpBxrV1jaxuz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js/chunk-58993c8c.9d07e0a5.js b/web/dist/js/chunk-58993c8c.9d07e0a5.js new file mode 100644 index 0000000..502c8c3 --- /dev/null +++ b/web/dist/js/chunk-58993c8c.9d07e0a5.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-58993c8c"],{"0a49":function(t,e,a){var n=a("9b43"),i=a("626a"),r=a("4bf8"),o=a("9def"),s=a("cd1c");t.exports=function(t,e){var a=1==t,c=2==t,f=3==t,l=4==t,d=6==t,u=5==t||d,p=e||s;return function(e,s,h){for(var m,v,y=r(e),w=i(y),_=n(s,h,3),x=o(w.length),b=0,z=a?p(e,x):c?p(e,0):void 0;x>b;b++)if((u||b in w)&&(m=w[b],v=_(m,b,y),t))if(a)z[b]=v;else if(v)switch(t){case 3:return!0;case 5:return m;case 6:return b;case 2:z.push(m)}else if(l)return!1;return d?-1:f||l?l:z}}},1169:function(t,e,a){var n=a("2d95");t.exports=Array.isArray||function(t){return"Array"==n(t)}},"50bc":function(t,e,a){"use strict";a("f1a6")},7514:function(t,e,a){"use strict";var n=a("5ca1"),i=a("0a49")(5),r="find",o=!0;r in[]&&Array(1)[r]((function(){o=!1})),n(n.P+n.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("9c6c")(r)},cd1c:function(t,e,a){var n=a("e853");t.exports=function(t,e){return new(n(t))(e)}},ce0d:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{margin:"20px 50px"}},[t.matter.dirtype?a("el-card",{staticClass:"folder-card",attrs:{shadow:"never","body-style":"height: 100%"}},[a("div",{staticClass:"header clearfix",attrs:{slot:"header"},slot:"header"},[a("div",[a("span",{staticClass:"name"},[t._v(t._s(t.matter.name))]),a("div",{staticStyle:{float:"right"}},[a("el-button",{attrs:{type:"primary",size:"medium",icon:"el-icon-download"}},[t._v("下载")])],1)]),a("p",{staticClass:"time"},[a("i",{staticClass:"el-icon-time"}),a("span",[t._v(t._s(t._f("moment")(t.matter.created,"YYYY-MM-DD HH:hh")))]),a("span",[t._v("失效时间:"+t._s(t.expireTime))])])]),a("FileExplorer",{ref:"fexp",staticStyle:{height:"calc(100% - 80px)"},attrs:{dataLoader:t.dataLoader,linkLoader:t.linkLoader,rowButtons:t.rowButtons,rootDir:t.rootDir}})],1):t.info.id?a("el-card",{staticClass:"file-card",attrs:{shadow:"never"}},[a("div",{staticClass:"header clearfix",attrs:{slot:"header"},slot:"header"},[a("div",[a("span",{staticClass:"name"},[t._v(t._s(t.matter.name))]),a("div",{staticStyle:{float:"right"}},[a("el-button",{attrs:{type:"primary",size:"medium",icon:"el-icon-download"},on:{click:function(e){return t.openDownload(t.matter)}}},[t._v("下载")])],1)]),a("p",{staticClass:"time"},[a("i",{staticClass:"el-icon-time"}),a("span",[t._v(t._s(t._f("moment")(t.matter.created,"YYYY-MM-DD HH:hh")))]),a("span",[t._v("失效时间:"+t._s(t.expireTime))])])]),a("div",{staticClass:"content"},[a("div",[a("i",{staticClass:"el-icon-document"}),a("p",[t._v("文件大小:"+t._s(t.matter.size))])])])]):t._e()],1)},i=[],r=(a("7514"),a("b54a"),a("7f7f"),a("90fe")),o={data:function(){return{rowButtons:[{name:"download",icon:"el-icon-download",action:this.openDownload,shown:function(t){return!t.dirtype}}],info:{},matter:{}}},computed:{layout:function(){return this.info.type?"file":"folder"},rootDir:function(){return"".concat(this.matter.parent).concat(this.matter.name,"/")},expireTime:function(){if(this.info.expire_at)return this.info.expire_at.moment()}},methods:{dataLoader:function(t){var e=this;return new Promise((function(a,n){if(e.info.id&&!e.info.type){var i=e.$route.params.alias;e.$zpan.Share.listMatters(i,{dir:t}).then((function(t){var e=t.data;e.list=e.list.map((function(t){return t.size=r["a"].formatBytes(t.size,1),t.fullpath="".concat(t.parent).concat(t.name),t.dirtype&&(t.fullpath+="/"),t})),a(e)}))}}))},linkLoader:function(t){var e=this;return new Promise((function(a,n){e.$zpan.File.findLink(t.alias).then((function(t){a(t.link)})).catch(n)}))},openDownload:function(t){this.linkLoader(t).then((function(e){var a=document.createElement("a");a.href=e,a.download=t.name,a.click()}))},listRefresh:function(t){var e=this;this.$zpan.Share.findMatter(t).then((function(t){e.matter=t.data,e.matter.size=r["a"].formatBytes(e.matter.size,1),e.$refs.fexp&&e.$refs.fexp.listRefresh()}))}},watch:{$route:function(t){this.listRefresh(t.params.alias)}},mounted:function(){var t=this,e=this.$route.params.alias;this.$zpan.Share.find(e).then((function(a){var n=a.data;n.protected&&localStorage.getItem("zpan-share")!=e?t.$router.push({name:"share-draw"}):(t.info=n,t.listRefresh(e),document.title="".concat(n.name," | Zpan"))}))}},s=o,c=(a("50bc"),a("2877")),f=Object(c["a"])(s,n,i,!1,null,"770ecb5c",null);e["default"]=f.exports},e853:function(t,e,a){var n=a("d3f4"),i=a("1169"),r=a("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),n(e)&&(e=e[r],null===e&&(e=void 0))),void 0===e?Array:e}},f1a6:function(t,e,a){}}]); +//# sourceMappingURL=chunk-58993c8c.9d07e0a5.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-58993c8c.9d07e0a5.js.map b/web/dist/js/chunk-58993c8c.9d07e0a5.js.map new file mode 100644 index 0000000..ba9c780 --- /dev/null +++ b/web/dist/js/chunk-58993c8c.9d07e0a5.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_array-methods.js","webpack:///./node_modules/core-js/modules/_is-array.js","webpack:///./src/views/home/share/home.vue?17a3","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./node_modules/core-js/modules/_array-species-create.js","webpack:///./src/views/home/share/home.vue?228d","webpack:///src/views/home/share/home.vue","webpack:///./src/views/home/share/home.vue?a41d","webpack:///./src/views/home/share/home.vue","webpack:///./node_modules/core-js/modules/_array-species-constructor.js"],"names":["ctx","IObject","toObject","toLength","asc","module","exports","TYPE","$create","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","create","$this","callbackfn","that","val","res","O","self","f","length","index","result","undefined","push","cof","Array","isArray","arg","$export","$find","KEY","forced","P","F","find","this","arguments","speciesConstructor","original","render","_vm","_h","$createElement","_c","_self","staticStyle","matter","staticClass","attrs","slot","_v","_s","name","_f","created","expireTime","ref","dataLoader","linkLoader","rowButtons","rootDir","info","on","$event","openDownload","size","_e","staticRenderFns","data","computed","layout","type","expire_at","moment","methods","Promise","list","map","item","utils","fullpath","dirtype","resolve","obj","then","a","document","createElement","href","link","download","click","listRefresh","$zpan","Share","findMatter","alias","watch","$route","nv","params","mounted","protected","localStorage","getItem","title","component","isObject","SPECIES","C","constructor","prototype"],"mappings":"qGAOA,IAAIA,EAAM,EAAQ,QACdC,EAAU,EAAQ,QAClBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAM,EAAQ,QAClBC,EAAOC,QAAU,SAAUC,EAAMC,GAC/B,IAAIC,EAAiB,GAARF,EACTG,EAAoB,GAARH,EACZI,EAAkB,GAARJ,EACVK,EAAmB,GAARL,EACXM,EAAwB,GAARN,EAChBO,EAAmB,GAARP,GAAaM,EACxBE,EAASP,GAAWJ,EACxB,OAAO,SAAUY,EAAOC,EAAYC,GAQlC,IAPA,IAMIC,EAAKC,EANLC,EAAInB,EAASc,GACbM,EAAOrB,EAAQoB,GACfE,EAAIvB,EAAIiB,EAAYC,EAAM,GAC1BM,EAASrB,EAASmB,EAAKE,QACvBC,EAAQ,EACRC,EAASjB,EAASM,EAAOC,EAAOQ,GAAUd,EAAYK,EAAOC,EAAO,QAAKW,EAEvEH,EAASC,EAAOA,IAAS,IAAIX,GAAYW,KAASH,KACtDH,EAAMG,EAAKG,GACXL,EAAMG,EAAEJ,EAAKM,EAAOJ,GAChBd,GACF,GAAIE,EAAQiB,EAAOD,GAASL,OACvB,GAAIA,EAAK,OAAQb,GACpB,KAAK,EAA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,SAG/BK,QA/EF,WA+EA,WACA,2BACIlE,KAAK0D,MAAMC,MAAM5D,KAAK8D,GAAOZ,MAAK,SAAtC,GACM,IAAN,SACUvB,EAAKyC,WAAaC,aAAaC,QAAQ,eAAiBR,EAC1D,EAAR,mCAIM,EAAN,OACM,EAAN,eACMV,SAASmB,MAAQ,GAAvB,+BC3I4W,I,wBCQxWC,EAAY,eACd,EACAnE,EACA4B,GACA,EACA,KACA,WACA,MAIa,aAAAuC,E,8BCnBf,IAAIC,EAAW,EAAQ,QACnBjF,EAAU,EAAQ,QAClBkF,EAAU,EAAQ,OAAR,CAAkB,WAEhC5G,EAAOC,QAAU,SAAUqC,GACzB,IAAIuE,EASF,OAREnF,EAAQY,KACVuE,EAAIvE,EAASwE,YAEG,mBAALD,GAAoBA,IAAMpF,QAASC,EAAQmF,EAAEE,aAAaF,OAAIvF,GACrEqF,EAASE,KACXA,EAAIA,EAAED,GACI,OAANC,IAAYA,OAAIvF,UAETA,IAANuF,EAAkBpF,MAAQoF,I","file":"js/chunk-58993c8c.9d07e0a5.js","sourcesContent":["// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=style&index=0&id=770ecb5c&scoped=true&lang=css&\"","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"margin\":\"20px 50px\"}},[(_vm.matter.dirtype)?_c('el-card',{staticClass:\"folder-card\",attrs:{\"shadow\":\"never\",\"body-style\":\"height: 100%\"}},[_c('div',{staticClass:\"header clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('div',[_c('span',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.matter.name))]),_c('div',{staticStyle:{\"float\":\"right\"}},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\",\"icon\":\"el-icon-download\"}},[_vm._v(\"下载\")])],1)]),_c('p',{staticClass:\"time\"},[_c('i',{staticClass:\"el-icon-time\"}),_c('span',[_vm._v(_vm._s(_vm._f(\"moment\")(_vm.matter.created,\"YYYY-MM-DD HH:hh\")))]),_c('span',[_vm._v(\"失效时间:\"+_vm._s(_vm.expireTime))])])]),_c('FileExplorer',{ref:\"fexp\",staticStyle:{\"height\":\"calc(100% - 80px)\"},attrs:{\"dataLoader\":_vm.dataLoader,\"linkLoader\":_vm.linkLoader,\"rowButtons\":_vm.rowButtons,\"rootDir\":_vm.rootDir}})],1):(_vm.info.id)?_c('el-card',{staticClass:\"file-card\",attrs:{\"shadow\":\"never\"}},[_c('div',{staticClass:\"header clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('div',[_c('span',{staticClass:\"name\"},[_vm._v(_vm._s(_vm.matter.name))]),_c('div',{staticStyle:{\"float\":\"right\"}},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\",\"icon\":\"el-icon-download\"},on:{\"click\":function($event){return _vm.openDownload(_vm.matter)}}},[_vm._v(\"下载\")])],1)]),_c('p',{staticClass:\"time\"},[_c('i',{staticClass:\"el-icon-time\"}),_c('span',[_vm._v(_vm._s(_vm._f(\"moment\")(_vm.matter.created,\"YYYY-MM-DD HH:hh\")))]),_c('span',[_vm._v(\"失效时间:\"+_vm._s(_vm.expireTime))])])]),_c('div',{staticClass:\"content\"},[_c('div',[_c('i',{staticClass:\"el-icon-document\"}),_c('p',[_vm._v(\"文件大小:\"+_vm._s(_vm.matter.size))])])])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./home.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./home.vue?vue&type=template&id=770ecb5c&scoped=true&\"\nimport script from \"./home.vue?vue&type=script&lang=js&\"\nexport * from \"./home.vue?vue&type=script&lang=js&\"\nimport style0 from \"./home.vue?vue&type=style&index=0&id=770ecb5c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"770ecb5c\",\n null\n \n)\n\nexport default component.exports","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-5ace7ddd.6b8ae6c8.js b/web/dist/js/chunk-5ace7ddd.6b8ae6c8.js new file mode 100644 index 0000000..913a190 --- /dev/null +++ b/web/dist/js/chunk-5ace7ddd.6b8ae6c8.js @@ -0,0 +1,9 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5ace7ddd"],{"02b5":function(e,t,r){},"0a6e":function(e,t,r){"use strict";r("02b5")},"0b47":function(e,t,r){"use strict";var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("el-header",[s("div",{staticClass:"logo"},[s("img",{attrs:{src:r("cf05"),alt:"ZPan"},on:{click:function(t){return e.$router.push("/")}}})]),e.showMenu?s("el-menu",{staticClass:"navbar",staticStyle:{width:"100%"},attrs:{"default-active":e.menuActive,mode:"horizontal",router:""}},[e._l(e.menus.slice(0,5),(function(t,r){return s("el-menu-item",{key:r,attrs:{index:"/"+t.name}},[e._v(e._s(t.title))])})),s("el-submenu",{directives:[{name:"show",rawName:"v-show",value:e.menus.length>5,expression:"menus.length > 5"}],attrs:{index:"more"}},[s("template",{slot:"title"},[e._v("更多")]),e._l(e.menus.slice(5),(function(t,r){return s("el-menu-item",{key:r,attrs:{index:t.path}},[e._v(e._s(t.title))])}))],2)],2):e._e(),s("div",{staticStyle:{position:"absolute",right:"20px"}},[s("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:e.logined,expression:"logined"}],attrs:{trigger:"click"},on:{command:e.onDropdown}},[s("el-avatar",{staticStyle:{"vertical-align":"middle"},attrs:{size:30,src:e.profile.avatar}}),s("el-dropdown-menu",{staticStyle:{width:"200px"},attrs:{slot:"dropdown"},slot:"dropdown"},[s("div",{staticStyle:{margin:"auto 20px"}},[s("el-row",{staticStyle:{"text-align":"center",margin:"10px 0"}},[s("el-avatar",{attrs:{size:50,src:e.profile.avatar}})],1),s("el-row",{staticClass:"storage"},[s("p",[s("span",{},[e._v(e._s(e.$t("leftnav.storage")))]),s("span",{staticStyle:{float:"right"}},[e._v(e._s(e.storage.percentage)+"%")])]),s("el-progress",{attrs:{percentage:e.storage.percentage,"show-text":!1}}),s("p",{staticStyle:{color:"rgba(0, 0, 0, 0.54)","font-size":"0.75rem"}},[e._v(e._s(e.storage.used)+"/"+e._s(e.storage.max))])],1)],1),s("el-dropdown-item",{attrs:{icon:"el-icon-setting",command:"profile",divided:""}},[e._v(e._s(e.$t("topbar.settings")))]),s("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:e.showAdmin,expression:"showAdmin"}],attrs:{icon:"el-icon-set-up",command:"admin"}},[e._v(e._s(e.$t("topbar.s-platform")))]),s("el-dropdown-item",{attrs:{icon:"el-icon-switch-button",command:"signout"}},[e._v(e._s(e.$t("topbar.signout")))])],1)],1)],1)],1)},a=[],o=r("9225"),n=r("90fe"),i=r("a78e"),l=r.n(i),c="https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",m={props:{menus:Array,logined:Boolean},data:function(){return{storage:{percentage:0},user:{},profile:{}}},watch:{$route:"onRouteChange",locale:function(e){Object(o["b"])(e)}},computed:{showMenu:function(){return this.menus&&this.menus.length>0},showAdmin:function(){return"admin"==l.a.get("z-role")},menuActive:function(){return"/".concat(this.$route.params.sname)}},methods:{onRouteChange:function(e,t){this.logined&&this.userInfo()},userInfo:function(){var e=this;this.$zpan.User.profileGet().then((function(t){e.user=t.data,e.profile=e.user.profile,""==e.profile.avatar&&(e.profile.avatar=c),e.profile.locale&&(e.$i18n.locale=e.profile.locale),e.storage={used:n["a"].formatBytes(e.user.storage.used,0),max:n["a"].formatBytes(e.user.storage.max,0),percentage:Math.round(e.user.storage.used/e.user.storage.max*1e4)/100}}))},onDropdown:function(e){this.$router.push({name:e})}},mounted:function(){this.logined&&this.userInfo()}},u=m,p=(r("a0b4"),r("2877")),d=Object(p["a"])(u,s,a,!1,null,null,null);t["a"]=d.exports},9884:function(e,t,r){},a0b4:function(e,t,r){"use strict";r("9884")},a25c:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("section",[r("Topbar"),r("div",{staticClass:"installer"},[r("el-card",{staticStyle:{padding:"40px"},attrs:{shadow:"never"}},[r("el-steps",{staticClass:"step",attrs:{active:e.step,"finish-status":"success"}},[r("el-step",{attrs:{title:"配置数据库"}}),r("el-step",{attrs:{title:"配置管理员账号"}}),r("el-step",{attrs:{title:"安装完成"}})],1),r("el-form",{directives:[{name:"show",rawName:"v-show",value:e.stepShown(0),expression:"stepShown(0)"}],staticClass:"form",attrs:{model:e.form.database,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"数据库类型",prop:"driver"}},[r("el-radio-group",{model:{value:e.form.database.driver,callback:function(t){e.$set(e.form.database,"driver",t)},expression:"form.database.driver"}},[r("el-radio",{attrs:{label:"sqlite3"}}),r("el-radio",{attrs:{label:"mysql"}}),r("el-radio",{attrs:{label:"postgres"}}),r("el-radio",{attrs:{label:"mssql"}})],1)],1),r("el-form-item",{attrs:{label:"DSN",prop:"dsn"}},[r("el-input",{model:{value:e.form.database.dsn,callback:function(t){e.$set(e.form.database,"dsn",t)},expression:"form.database.dsn"}})],1),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(t){e.step++}}},[e._v("下一步")])],1)],1),r("el-form",{directives:[{name:"show",rawName:"v-show",value:e.stepShown(1),expression:"stepShown(1)"}],ref:"form",staticClass:"form",attrs:{model:e.form.administrator,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"管理员账号",prop:"email"}},[r("el-input",{model:{value:e.form.administrator.email,callback:function(t){e.$set(e.form.administrator,"email",t)},expression:"form.administrator.email"}})],1),r("el-form-item",{attrs:{label:"管理员密码",prop:"password"}},[r("el-input",{attrs:{type:"password"},model:{value:e.form.administrator.password,callback:function(t){e.$set(e.form.administrator,"password",t)},expression:"form.administrator.password"}})],1),r("el-form-item",{attrs:{label:"密码确认",prop:"passwordr"}},[r("el-input",{attrs:{type:"password"},model:{value:e.form.administrator.passwordr,callback:function(t){e.$set(e.form.administrator,"passwordr",t)},expression:"form.administrator.passwordr"}})],1),r("el-form-item",[r("el-button",{on:{click:function(t){e.step--}}},[e._v("上一步")]),r("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("form")}}},[e._v("开始安装")])],1)],1),r("div",{directives:[{name:"show",rawName:"v-show",value:e.stepShown(3),expression:"stepShown(3)"}],staticStyle:{"text-align":"center"}},[r("h3",{staticStyle:{"margin-bottom":"50px"}},[e._v("恭喜!ZPan安装成功啦~")]),r("el-button",{attrs:{type:"primary"},on:{click:e.toSignin}},[e._v("去登录")])],1)],1)],1)],1)},a=[],o=r("0b47"),n={components:{Topbar:o["a"]},data:function(){var e=this,t=function(t,r,s){r?(""!==e.form.administrator.passwordr&&e.$refs.form.validateField("passwordr"),s()):s(new Error("请输入密码"))},r=function(t,r,s){r?r!==e.form.administrator.password?s(new Error("两次输入密码不一致!")):s():s(new Error("请再次输入密码"))};return{step:0,dsns:{sqlite3:"zpan.db",mysql:"user:pass@tcp(127.0.0.1:3306)/zpan?charset=utf8mb4&parseTime=True&loc=Local",postgres:"host=localhost user=admin password=admin dbname=zpan port=9920 sslmode=disable TimeZone=Asia/Shanghai",mssql:"sqlserver://zpan:LoremIpsum86@localhost:9930?database=zpan"},form:{database:{driver:"sqlite3",dsn:"zpan.db"},administrator:{email:"admin@zpan.space"}},rules:{email:[{required:!0,message:"请输入邮箱地址",trigger:"blur"},{type:"email",message:"请输入正确的邮箱地址",trigger:["blur","change"]}],password:[{validator:t,trigger:"blur",required:!0}],passwordr:[{validator:r,trigger:"blur",required:!0}]}}},watch:{"form.database.driver":function(e,t){this.form.database.dsn=this.dsns[e]}},computed:{},methods:{stepShown:function(e){return this.step==e},submitForm:function(e){var t=this;this.$refs[e].validate((function(e){console.log(e),e?(console.log(t.form),t.$zpan.System.installDatabase(t.form.database).then((function(e){setTimeout((function(){t.$zpan.System.createAdministrator(t.form.administrator).then((function(){t.$message({type:"success",message:"安装成功"}),t.step++,t.step++}))}),1e3)}))):console.log("error submit!!")}))},toSignin:function(){this.$router.push({name:"signin",params:{email:this.form.administrator.email}})}}},i=n,l=(r("0a6e"),r("2877")),c=Object(l["a"])(i,s,a,!1,null,null,null);t["default"]=c.exports},a78e:function(e,t,r){var s,a; +/*! + * JavaScript Cookie v2.2.1 + * https://github.com/js-cookie/js-cookie + * + * Copyright 2006, 2015 Klaus Hartl & Fagner Brack + * Released under the MIT license + */(function(o){var n;if(s=o,a="function"===typeof s?s.call(t,r,t,e):s,void 0===a||(e.exports=a),n=!0,e.exports=o(),n=!0,!n){var i=window.Cookies,l=window.Cookies=o();l.noConflict=function(){return window.Cookies=i,l}}})((function(){function e(){for(var e=0,t={};e 5),expression:\"menus.length > 5\"}],attrs:{\"index\":\"more\"}},[_c('template',{slot:\"title\"},[_vm._v(\"更多\")]),_vm._l((_vm.menus.slice(5)),function(menu,index){return _c('el-menu-item',{key:index,attrs:{\"index\":menu.path}},[_vm._v(_vm._s(menu.title))])})],2)],2):_vm._e(),_c('div',{staticStyle:{\"position\":\"absolute\",\"right\":\"20px\"}},[_c('el-dropdown',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.logined),expression:\"logined\"}],attrs:{\"trigger\":\"click\"},on:{\"command\":_vm.onDropdown}},[_c('el-avatar',{staticStyle:{\"vertical-align\":\"middle\"},attrs:{\"size\":30,\"src\":_vm.profile.avatar}}),_c('el-dropdown-menu',{staticStyle:{\"width\":\"200px\"},attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('div',{staticStyle:{\"margin\":\"auto 20px\"}},[_c('el-row',{staticStyle:{\"text-align\":\"center\",\"margin\":\"10px 0\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.profile.avatar}})],1),_c('el-row',{staticClass:\"storage\"},[_c('p',[_c('span',{},[_vm._v(_vm._s(_vm.$t(\"leftnav.storage\")))]),_c('span',{staticStyle:{\"float\":\"right\"}},[_vm._v(_vm._s(_vm.storage.percentage)+\"%\")])]),_c('el-progress',{attrs:{\"percentage\":_vm.storage.percentage,\"show-text\":false}}),_c('p',{staticStyle:{\"color\":\"rgba(0, 0, 0, 0.54)\",\"font-size\":\"0.75rem\"}},[_vm._v(_vm._s(_vm.storage.used)+\"/\"+_vm._s(_vm.storage.max))])],1)],1),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-setting\",\"command\":\"profile\",\"divided\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.settings\")))]),_c('el-dropdown-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showAdmin),expression:\"showAdmin\"}],attrs:{\"icon\":\"el-icon-set-up\",\"command\":\"admin\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.s-platform\")))]),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-switch-button\",\"command\":\"signout\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.signout\")))])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=5a12339f&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_c('Topbar'),_c('div',{staticClass:\"installer\"},[_c('el-card',{staticStyle:{\"padding\":\"40px\"},attrs:{\"shadow\":\"never\"}},[_c('el-steps',{staticClass:\"step\",attrs:{\"active\":_vm.step,\"finish-status\":\"success\"}},[_c('el-step',{attrs:{\"title\":\"配置数据库\"}}),_c('el-step',{attrs:{\"title\":\"配置管理员账号\"}}),_c('el-step',{attrs:{\"title\":\"安装完成\"}})],1),_c('el-form',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.stepShown(0)),expression:\"stepShown(0)\"}],staticClass:\"form\",attrs:{\"model\":_vm.form.database,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"数据库类型\",\"prop\":\"driver\"}},[_c('el-radio-group',{model:{value:(_vm.form.database.driver),callback:function ($$v) {_vm.$set(_vm.form.database, \"driver\", $$v)},expression:\"form.database.driver\"}},[_c('el-radio',{attrs:{\"label\":\"sqlite3\"}}),_c('el-radio',{attrs:{\"label\":\"mysql\"}}),_c('el-radio',{attrs:{\"label\":\"postgres\"}}),_c('el-radio',{attrs:{\"label\":\"mssql\"}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"DSN\",\"prop\":\"dsn\"}},[_c('el-input',{model:{value:(_vm.form.database.dsn),callback:function ($$v) {_vm.$set(_vm.form.database, \"dsn\", $$v)},expression:\"form.database.dsn\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.step++}}},[_vm._v(\"下一步\")])],1)],1),_c('el-form',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.stepShown(1)),expression:\"stepShown(1)\"}],ref:\"form\",staticClass:\"form\",attrs:{\"model\":_vm.form.administrator,\"rules\":_vm.rules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"管理员账号\",\"prop\":\"email\"}},[_c('el-input',{model:{value:(_vm.form.administrator.email),callback:function ($$v) {_vm.$set(_vm.form.administrator, \"email\", $$v)},expression:\"form.administrator.email\"}})],1),_c('el-form-item',{attrs:{\"label\":\"管理员密码\",\"prop\":\"password\"}},[_c('el-input',{attrs:{\"type\":\"password\"},model:{value:(_vm.form.administrator.password),callback:function ($$v) {_vm.$set(_vm.form.administrator, \"password\", $$v)},expression:\"form.administrator.password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"密码确认\",\"prop\":\"passwordr\"}},[_c('el-input',{attrs:{\"type\":\"password\"},model:{value:(_vm.form.administrator.passwordr),callback:function ($$v) {_vm.$set(_vm.form.administrator, \"passwordr\", $$v)},expression:\"form.administrator.passwordr\"}})],1),_c('el-form-item',[_c('el-button',{on:{\"click\":function($event){_vm.step--}}},[_vm._v(\"上一步\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.submitForm('form')}}},[_vm._v(\"开始安装\")])],1)],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.stepShown(3)),expression:\"stepShown(3)\"}],staticStyle:{\"text-align\":\"center\"}},[_c('h3',{staticStyle:{\"margin-bottom\":\"50px\"}},[_vm._v(\"恭喜!ZPan安装成功啦~\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.toSignin}},[_vm._v(\"去登录\")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=0e710c83&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAY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4DB6gySUJyQ/F0zyHEfmnn9Tu61AvQFgNvcXxANOtFD/ekuV5Z9JceXdQHfEIKE/M3vLkgwLwf805TFk5H+l5RN2SYjmQ69gN7vXZdtbFYdU0OaHm+Laf0BOsdquQVvup/o6aRHcc/ck8z+DzDfQ9jV24oT1BRmfCjzkD9BqQ9sELciJyWhHOLkty/Td9pu2KTN8z9dlaBli10ZbAAAAABJRU5ErkJggg==\""],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-5c753fc6.2c6b0824.js b/web/dist/js/chunk-5c753fc6.2c6b0824.js new file mode 100644 index 0000000..77d48f9 --- /dev/null +++ b/web/dist/js/chunk-5c753fc6.2c6b0824.js @@ -0,0 +1,9 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5c753fc6"],{"05ad":function(e,t,n){},"0b47":function(e,t,n){"use strict";var o=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("el-header",[o("div",{staticClass:"logo"},[o("img",{attrs:{src:n("cf05"),alt:"ZPan"},on:{click:function(t){return e.$router.push("/")}}})]),e.showMenu?o("el-menu",{staticClass:"navbar",staticStyle:{width:"100%"},attrs:{"default-active":e.menuActive,mode:"horizontal",router:""}},[e._l(e.menus.slice(0,5),(function(t,n){return o("el-menu-item",{key:n,attrs:{index:"/"+t.name}},[e._v(e._s(t.title))])})),o("el-submenu",{directives:[{name:"show",rawName:"v-show",value:e.menus.length>5,expression:"menus.length > 5"}],attrs:{index:"more"}},[o("template",{slot:"title"},[e._v("更多")]),e._l(e.menus.slice(5),(function(t,n){return o("el-menu-item",{key:n,attrs:{index:t.path}},[e._v(e._s(t.title))])}))],2)],2):e._e(),o("div",{staticStyle:{position:"absolute",right:"20px"}},[o("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:e.logined,expression:"logined"}],attrs:{trigger:"click"},on:{command:e.onDropdown}},[o("el-avatar",{staticStyle:{"vertical-align":"middle"},attrs:{size:30,src:e.profile.avatar}}),o("el-dropdown-menu",{staticStyle:{width:"200px"},attrs:{slot:"dropdown"},slot:"dropdown"},[o("div",{staticStyle:{margin:"auto 20px"}},[o("el-row",{staticStyle:{"text-align":"center",margin:"10px 0"}},[o("el-avatar",{attrs:{size:50,src:e.profile.avatar}})],1),o("el-row",{staticClass:"storage"},[o("p",[o("span",{},[e._v(e._s(e.$t("leftnav.storage")))]),o("span",{staticStyle:{float:"right"}},[e._v(e._s(e.storage.percentage)+"%")])]),o("el-progress",{attrs:{percentage:e.storage.percentage,"show-text":!1}}),o("p",{staticStyle:{color:"rgba(0, 0, 0, 0.54)","font-size":"0.75rem"}},[e._v(e._s(e.storage.used)+"/"+e._s(e.storage.max))])],1)],1),o("el-dropdown-item",{attrs:{icon:"el-icon-setting",command:"profile",divided:""}},[e._v(e._s(e.$t("topbar.settings")))]),o("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:e.showAdmin,expression:"showAdmin"}],attrs:{icon:"el-icon-set-up",command:"admin"}},[e._v(e._s(e.$t("topbar.s-platform")))]),o("el-dropdown-item",{attrs:{icon:"el-icon-switch-button",command:"signout"}},[e._v(e._s(e.$t("topbar.signout")))])],1)],1)],1)],1)},r=[],i=n("9225"),a=n("90fe"),s=n("a78e"),c=n.n(s),u="https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",l={props:{menus:Array,logined:Boolean},data:function(){return{storage:{percentage:0},user:{},profile:{}}},watch:{$route:"onRouteChange",locale:function(e){Object(i["b"])(e)}},computed:{showMenu:function(){return this.menus&&this.menus.length>0},showAdmin:function(){return"admin"==c.a.get("z-role")},menuActive:function(){return"/".concat(this.$route.params.sname)}},methods:{onRouteChange:function(e,t){this.logined&&this.userInfo()},userInfo:function(){var e=this;this.$zpan.User.profileGet().then((function(t){e.user=t.data,e.profile=e.user.profile,""==e.profile.avatar&&(e.profile.avatar=u),e.profile.locale&&(e.$i18n.locale=e.profile.locale),e.storage={used:a["a"].formatBytes(e.user.storage.used,0),max:a["a"].formatBytes(e.user.storage.max,0),percentage:Math.round(e.user.storage.used/e.user.storage.max*1e4)/100}}))},onDropdown:function(e){this.$router.push({name:e})}},mounted:function(){this.logined&&this.userInfo()}},p=l,A=(n("a0b4"),n("2877")),d=Object(A["a"])(p,o,r,!1,null,null,null);t["a"]=d.exports},"793e":function(e,t,n){"use strict";n("05ad")},9884:function(e,t,n){},"9ed6":function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("Topbar"),n("router-view")],1)},r=[],i=n("0b47"),a={components:{Topbar:i["a"]},data:function(){return{}},watch:{},methods:{},mounted:function(){}},s=a,c=(n("793e"),n("2877")),u=Object(c["a"])(s,o,r,!1,null,null,null);t["default"]=u.exports},a0b4:function(e,t,n){"use strict";n("9884")},a78e:function(e,t,n){var o,r; +/*! + * JavaScript Cookie v2.2.1 + * https://github.com/js-cookie/js-cookie + * + * Copyright 2006, 2015 Klaus Hartl & Fagner Brack + * Released under the MIT license + */(function(i){var a;if(o=i,r="function"===typeof o?o.call(t,n,t,e):o,void 0===r||(e.exports=r),a=!0,e.exports=i(),a=!0,!a){var s=window.Cookies,c=window.Cookies=i();c.noConflict=function(){return window.Cookies=s,c}}})((function(){function e(){for(var e=0,t={};e 5),expression:\"menus.length > 5\"}],attrs:{\"index\":\"more\"}},[_c('template',{slot:\"title\"},[_vm._v(\"更多\")]),_vm._l((_vm.menus.slice(5)),function(menu,index){return _c('el-menu-item',{key:index,attrs:{\"index\":menu.path}},[_vm._v(_vm._s(menu.title))])})],2)],2):_vm._e(),_c('div',{staticStyle:{\"position\":\"absolute\",\"right\":\"20px\"}},[_c('el-dropdown',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.logined),expression:\"logined\"}],attrs:{\"trigger\":\"click\"},on:{\"command\":_vm.onDropdown}},[_c('el-avatar',{staticStyle:{\"vertical-align\":\"middle\"},attrs:{\"size\":30,\"src\":_vm.profile.avatar}}),_c('el-dropdown-menu',{staticStyle:{\"width\":\"200px\"},attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('div',{staticStyle:{\"margin\":\"auto 20px\"}},[_c('el-row',{staticStyle:{\"text-align\":\"center\",\"margin\":\"10px 0\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.profile.avatar}})],1),_c('el-row',{staticClass:\"storage\"},[_c('p',[_c('span',{},[_vm._v(_vm._s(_vm.$t(\"leftnav.storage\")))]),_c('span',{staticStyle:{\"float\":\"right\"}},[_vm._v(_vm._s(_vm.storage.percentage)+\"%\")])]),_c('el-progress',{attrs:{\"percentage\":_vm.storage.percentage,\"show-text\":false}}),_c('p',{staticStyle:{\"color\":\"rgba(0, 0, 0, 0.54)\",\"font-size\":\"0.75rem\"}},[_vm._v(_vm._s(_vm.storage.used)+\"/\"+_vm._s(_vm.storage.max))])],1)],1),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-setting\",\"command\":\"profile\",\"divided\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.settings\")))]),_c('el-dropdown-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showAdmin),expression:\"showAdmin\"}],attrs:{\"icon\":\"el-icon-set-up\",\"command\":\"admin\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.s-platform\")))]),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-switch-button\",\"command\":\"signout\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.signout\")))])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=5a12339f&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('Topbar'),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=dee55c50&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","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HYRI2Jp/lWrwlAL/P2hYfsS5myjP5lAS++ihXVoTp4EIBP9fpGf4bpY75xzOVSnIzBENsM+Fwv9vj5uymYNwvAP44Ltl2qGyFnF4DB6gySUJyQ/F0zyHEfmnn9Tu61AvQFgNvcXxANOtFD/ekuV5Z9JceXdQHfEIKE/M3vLkgwLwf805TFk5H+l5RN2SYjmQ69gN7vXZdtbFYdU0OaHm+Laf0BOsdquQVvup/o6aRHcc/ck8z+DzDfQ9jV24oT1BRmfCjzkD9BqQ9sELciJyWhHOLkty/Td9pu2KTN8z9dlaBli10ZbAAAAABJRU5ErkJggg==\""],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-5db82f0c.3a606d0e.js b/web/dist/js/chunk-5db82f0c.3a606d0e.js new file mode 100644 index 0000000..ef3bd5b --- /dev/null +++ b/web/dist/js/chunk-5db82f0c.3a606d0e.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5db82f0c"],{"5f32":function(e,t,a){},c6e4:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-card",{attrs:{shadow:"never"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[e._v("站点设置")])]),a("el-form",{ref:"form",staticStyle:{width:"500px"},attrs:{model:e.form,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"站点名称"}},[a("el-input",{model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),a("el-form-item",{attrs:{label:"站点描述"}},[a("el-input",{attrs:{type:"textarea"},model:{value:e.form.intro,callback:function(t){e.$set(e.form,"intro",t)},expression:"form.intro"}})],1),a("el-form-item",{attrs:{label:"默认语言"}},[a("el-select",{attrs:{placeholder:"请选择系统默认语言"},model:{value:e.form.locale,callback:function(t){e.$set(e.form,"locale",t)},expression:"form.locale"}},[a("el-option",{attrs:{label:"中文",value:"zh-CN"}}),a("el-option",{attrs:{label:"英语",value:"en"}})],1)],1),a("el-form-item",{attrs:{label:"邀请码注册"}},[a("el-switch",{model:{value:e.form.invite_required,callback:function(t){e.$set(e.form,"invite_required",t)},expression:"form.invite_required"}}),a("span",{staticClass:"tips"},[a("i",{staticClass:"el-icon-warning"}),e._v("开启后只允许通过邀请码进行注册")])],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.onSubmit}},[e._v("保存")])],1)],1)],1)},s=[],o={data:function(){return{form:{}}},methods:{refresh:function(){var e=this;this.$zpan.System.optGet("core.site").then((function(t){t.data&&(e.form=t.data)}))},onSubmit:function(){var e=this;this.$zpan.System.optSave("core.site",this.form).then((function(t){e.refresh(),e.$message({type:"success",message:e.$t("msg.save-success")})}))}},mounted:function(){this.refresh()}},l=o,n=(a("fa2b"),a("2877")),i=Object(n["a"])(l,r,s,!1,null,null,null);t["default"]=i.exports},fa2b:function(e,t,a){"use strict";a("5f32")}}]); +//# sourceMappingURL=chunk-5db82f0c.3a606d0e.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-5db82f0c.3a606d0e.js.map b/web/dist/js/chunk-5db82f0c.3a606d0e.js.map new file mode 100644 index 0000000..b755521 --- /dev/null +++ b/web/dist/js/chunk-5db82f0c.3a606d0e.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/admin/settings/index.vue?397d","webpack:///src/views/admin/settings/index.vue","webpack:///./src/views/admin/settings/index.vue?d12d","webpack:///./src/views/admin/settings/index.vue","webpack:///./src/views/admin/settings/index.vue?f58c"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","slot","_v","ref","staticStyle","form","model","value","callback","$$v","$set","expression","on","onSubmit","staticRenderFns","data","methods","refresh","$zpan","System","optGet","then","ret","optSave","type","message","mounted","component"],"mappings":"gJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,C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QAAQ,CAACH,EAAG,IAAI,CAACG,YAAY,oBAAoBP,EAAIS,GAAG,sBAAsB,GAAGL,EAAG,eAAe,CAACA,EAAG,YAAY,CAACE,MAAM,CAAC,KAAO,WAAWa,GAAG,CAAC,MAAQnB,EAAIoB,WAAW,CAACpB,EAAIS,GAAG,SAAS,IAAI,IAAI,IACh8CY,EAAkB,GC8BtB,GACEC,KADF,WAEI,MAAO,CACLV,KAAM,KAGVW,QAAS,CACPC,QADJ,WACA,WACMvB,KAAKwB,MAAMC,OAAOC,OAAO,aAAaC,MAAK,SAAjD,GACYC,EAAIP,OACN,EAAV,iBAIIF,SARJ,WAQA,WACMnB,KAAKwB,MAAMC,OAAOI,QAAQ,YAAa7B,KAAKW,MAAMgB,MAAK,SAA7D,GACQ,EAAR,UACQ,EAAR,UACUG,KAAM,UACNC,QAAS,EAAnB,8BAKEC,QAxBF,WAyBIhC,KAAKuB,YCxDoW,I,wBCQzWU,EAAY,eACd,EACAnC,EACAsB,GACA,EACA,KACA,KACA,MAIa,aAAAa,E,2CCnBf","file":"js/chunk-5db82f0c.3a606d0e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-card',{attrs:{\"shadow\":\"never\"}},[_c('div',{staticClass:\"clearfix\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\"站点设置\")])]),_c('el-form',{ref:\"form\",staticStyle:{\"width\":\"500px\"},attrs:{\"model\":_vm.form,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"站点名称\"}},[_c('el-input',{model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"站点描述\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.intro),callback:function ($$v) {_vm.$set(_vm.form, \"intro\", $$v)},expression:\"form.intro\"}})],1),_c('el-form-item',{attrs:{\"label\":\"默认语言\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择系统默认语言\"},model:{value:(_vm.form.locale),callback:function ($$v) {_vm.$set(_vm.form, \"locale\", $$v)},expression:\"form.locale\"}},[_c('el-option',{attrs:{\"label\":\"中文\",\"value\":\"zh-CN\"}}),_c('el-option',{attrs:{\"label\":\"英语\",\"value\":\"en\"}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"邀请码注册\"}},[_c('el-switch',{model:{value:(_vm.form.invite_required),callback:function ($$v) {_vm.$set(_vm.form, \"invite_required\", $$v)},expression:\"form.invite_required\"}}),_c('span',{staticClass:\"tips\"},[_c('i',{staticClass:\"el-icon-warning\"}),_vm._v(\"开启后只允许通过邀请码进行注册\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.onSubmit}},[_vm._v(\"保存\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=698a4bbc&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-757d2a9b.1e8f0784.js b/web/dist/js/chunk-757d2a9b.1e8f0784.js new file mode 100644 index 0000000..abdb295 --- /dev/null +++ b/web/dist/js/chunk-757d2a9b.1e8f0784.js @@ -0,0 +1,9 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-757d2a9b"],{"0b47":function(e,t,n){"use strict";var o=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("el-header",[o("div",{staticClass:"logo"},[o("img",{attrs:{src:n("cf05"),alt:"ZPan"},on:{click:function(t){return e.$router.push("/")}}})]),e.showMenu?o("el-menu",{staticClass:"navbar",staticStyle:{width:"100%"},attrs:{"default-active":e.menuActive,mode:"horizontal",router:""}},[e._l(e.menus.slice(0,5),(function(t,n){return o("el-menu-item",{key:n,attrs:{index:"/"+t.name}},[e._v(e._s(t.title))])})),o("el-submenu",{directives:[{name:"show",rawName:"v-show",value:e.menus.length>5,expression:"menus.length > 5"}],attrs:{index:"more"}},[o("template",{slot:"title"},[e._v("更多")]),e._l(e.menus.slice(5),(function(t,n){return o("el-menu-item",{key:n,attrs:{index:t.path}},[e._v(e._s(t.title))])}))],2)],2):e._e(),o("div",{staticStyle:{position:"absolute",right:"20px"}},[o("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:e.logined,expression:"logined"}],attrs:{trigger:"click"},on:{command:e.onDropdown}},[o("el-avatar",{staticStyle:{"vertical-align":"middle"},attrs:{size:30,src:e.profile.avatar}}),o("el-dropdown-menu",{staticStyle:{width:"200px"},attrs:{slot:"dropdown"},slot:"dropdown"},[o("div",{staticStyle:{margin:"auto 20px"}},[o("el-row",{staticStyle:{"text-align":"center",margin:"10px 0"}},[o("el-avatar",{attrs:{size:50,src:e.profile.avatar}})],1),o("el-row",{staticClass:"storage"},[o("p",[o("span",{},[e._v(e._s(e.$t("leftnav.storage")))]),o("span",{staticStyle:{float:"right"}},[e._v(e._s(e.storage.percentage)+"%")])]),o("el-progress",{attrs:{percentage:e.storage.percentage,"show-text":!1}}),o("p",{staticStyle:{color:"rgba(0, 0, 0, 0.54)","font-size":"0.75rem"}},[e._v(e._s(e.storage.used)+"/"+e._s(e.storage.max))])],1)],1),o("el-dropdown-item",{attrs:{icon:"el-icon-setting",command:"profile",divided:""}},[e._v(e._s(e.$t("topbar.settings")))]),o("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:e.showAdmin,expression:"showAdmin"}],attrs:{icon:"el-icon-set-up",command:"admin"}},[e._v(e._s(e.$t("topbar.s-platform")))]),o("el-dropdown-item",{attrs:{icon:"el-icon-switch-button",command:"signout"}},[e._v(e._s(e.$t("topbar.signout")))])],1)],1)],1)],1)},i=[],r=n("9225"),s=n("90fe"),a=n("a78e"),c=n.n(a),u="https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",l={props:{menus:Array,logined:Boolean},data:function(){return{storage:{percentage:0},user:{},profile:{}}},watch:{$route:"onRouteChange",locale:function(e){Object(r["b"])(e)}},computed:{showMenu:function(){return this.menus&&this.menus.length>0},showAdmin:function(){return"admin"==c.a.get("z-role")},menuActive:function(){return"/".concat(this.$route.params.sname)}},methods:{onRouteChange:function(e,t){this.logined&&this.userInfo()},userInfo:function(){var e=this;this.$zpan.User.profileGet().then((function(t){e.user=t.data,e.profile=e.user.profile,""==e.profile.avatar&&(e.profile.avatar=u),e.profile.locale&&(e.$i18n.locale=e.profile.locale),e.storage={used:s["a"].formatBytes(e.user.storage.used,0),max:s["a"].formatBytes(e.user.storage.max,0),percentage:Math.round(e.user.storage.used/e.user.storage.max*1e4)/100}}))},onDropdown:function(e){this.$router.push({name:e})}},mounted:function(){this.logined&&this.userInfo()}},p=l,f=(n("a0b4"),n("2877")),d=Object(f["a"])(p,o,i,!1,null,null,null);t["a"]=d.exports},"3acf":function(e,t,n){},"5c67":function(e,t,n){"use strict";n("3acf")},"61c2":function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",[n("Topbar",{attrs:{menus:e.$store.state.storages,logined:""}}),n("el-container",{staticStyle:{height:"100%"}},[n("el-aside",{staticStyle:{height:"100%","background-color":"#f4f4f5"},attrs:{width:"200px"}},[n("el-menu",{attrs:{"default-active":e.leftMenuActive,"background-color":"#f4f4f5",router:""}},e._l(e.leftMenus,(function(t){return n("el-menu-item",{key:t.path,attrs:{index:t.path}},[n("i",{class:t.icon}),n("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.title))])])})),1)],1),n("el-main",[n("router-view")],1)],1)],1)},i=[],r=n("a026"),s=n("c0d6"),a=n("0b47"),c={components:{Topbar:a["a"]},beforeRouteEnter:function(e,t,n){r["default"].zpan.Storage.list().then((function(e){var t=e.data.list;s["a"].commit("storages",t),n()}))},data:function(){return{}},computed:{leftMenuActive:function(){return this.$route.fullPath},leftMenus:function(){return[{path:"/settings/profile",icon:"el-icon-user",title:"个人信息"},{path:"/settings/security",icon:"el-icon-lock",title:"密码修改"},{path:"/settings/developer",icon:"el-icon-cpu",title:"开发者设置"}]}},watch:{},methods:{},mounted:function(){}},u=c,l=(n("5c67"),n("2877")),p=Object(l["a"])(u,o,i,!1,null,"2907b69d",null);t["default"]=p.exports},9884:function(e,t,n){},a0b4:function(e,t,n){"use strict";n("9884")},a78e:function(e,t,n){var o,i; +/*! + * JavaScript Cookie v2.2.1 + * https://github.com/js-cookie/js-cookie + * + * Copyright 2006, 2015 Klaus Hartl & Fagner Brack + * Released under the MIT license + */(function(r){var s;if(o=r,i="function"===typeof o?o.call(t,n,t,e):o,void 0===i||(e.exports=i),s=!0,e.exports=r(),s=!0,!s){var a=window.Cookies,c=window.Cookies=r();c.noConflict=function(){return window.Cookies=a,c}}})((function(){function e(){for(var e=0,t={};e 5),expression:\"menus.length > 5\"}],attrs:{\"index\":\"more\"}},[_c('template',{slot:\"title\"},[_vm._v(\"更多\")]),_vm._l((_vm.menus.slice(5)),function(menu,index){return _c('el-menu-item',{key:index,attrs:{\"index\":menu.path}},[_vm._v(_vm._s(menu.title))])})],2)],2):_vm._e(),_c('div',{staticStyle:{\"position\":\"absolute\",\"right\":\"20px\"}},[_c('el-dropdown',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.logined),expression:\"logined\"}],attrs:{\"trigger\":\"click\"},on:{\"command\":_vm.onDropdown}},[_c('el-avatar',{staticStyle:{\"vertical-align\":\"middle\"},attrs:{\"size\":30,\"src\":_vm.profile.avatar}}),_c('el-dropdown-menu',{staticStyle:{\"width\":\"200px\"},attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('div',{staticStyle:{\"margin\":\"auto 20px\"}},[_c('el-row',{staticStyle:{\"text-align\":\"center\",\"margin\":\"10px 0\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.profile.avatar}})],1),_c('el-row',{staticClass:\"storage\"},[_c('p',[_c('span',{},[_vm._v(_vm._s(_vm.$t(\"leftnav.storage\")))]),_c('span',{staticStyle:{\"float\":\"right\"}},[_vm._v(_vm._s(_vm.storage.percentage)+\"%\")])]),_c('el-progress',{attrs:{\"percentage\":_vm.storage.percentage,\"show-text\":false}}),_c('p',{staticStyle:{\"color\":\"rgba(0, 0, 0, 0.54)\",\"font-size\":\"0.75rem\"}},[_vm._v(_vm._s(_vm.storage.used)+\"/\"+_vm._s(_vm.storage.max))])],1)],1),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-setting\",\"command\":\"profile\",\"divided\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.settings\")))]),_c('el-dropdown-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showAdmin),expression:\"showAdmin\"}],attrs:{\"icon\":\"el-icon-set-up\",\"command\":\"admin\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.s-platform\")))]),_c('el-dropdown-item',{attrs:{\"icon\":\"el-icon-switch-button\",\"command\":\"signout\"}},[_vm._v(_vm._s(_vm.$t(\"topbar.signout\")))])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=5a12339f&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=2907b69d&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_c('Topbar',{attrs:{\"menus\":_vm.$store.state.storages,\"logined\":\"\"}}),_c('el-container',{staticStyle:{\"height\":\"100%\"}},[_c('el-aside',{staticStyle:{\"height\":\"100%\",\"background-color\":\"#f4f4f5\"},attrs:{\"width\":\"200px\"}},[_c('el-menu',{attrs:{\"default-active\":_vm.leftMenuActive,\"background-color\":\"#f4f4f5\",\"router\":\"\"}},_vm._l((_vm.leftMenus),function(menu){return _c('el-menu-item',{key:menu.path,attrs:{\"index\":menu.path}},[_c('i',{class:menu.icon}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(_vm._s(menu.title))])])}),1)],1),_c('el-main',[_c('router-view')],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=2907b69d&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=2907b69d&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2907b69d\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","/*!\n * JavaScript Cookie v2.2.1\n * https://github.com/js-cookie/js-cookie\n *\n * Copyright 2006, 2015 Klaus Hartl & Fagner Brack\n * Released under the MIT license\n */\n;(function (factory) {\n\tvar registeredInModuleLoader;\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(factory);\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (typeof exports === 'object') {\n\t\tmodule.exports = factory();\n\t\tregisteredInModuleLoader = true;\n\t}\n\tif (!registeredInModuleLoader) {\n\t\tvar OldCookies = window.Cookies;\n\t\tvar api = window.Cookies = factory();\n\t\tapi.noConflict = function () {\n\t\t\twindow.Cookies = OldCookies;\n\t\t\treturn api;\n\t\t};\n\t}\n}(function () {\n\tfunction extend () {\n\t\tvar i = 0;\n\t\tvar result = {};\n\t\tfor (; i < arguments.length; i++) {\n\t\t\tvar attributes = arguments[ i ];\n\t\t\tfor (var key in attributes) {\n\t\t\t\tresult[key] = attributes[key];\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\n\tfunction decode (s) {\n\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t}\n\n\tfunction init (converter) {\n\t\tfunction api() {}\n\n\t\tfunction set (key, value, attributes) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tattributes = extend({\n\t\t\t\tpath: '/'\n\t\t\t}, api.defaults, attributes);\n\n\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t}\n\n\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\ttry {\n\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\tvalue = result;\n\t\t\t\t}\n\t\t\t} catch (e) {}\n\n\t\t\tvalue = converter.write ?\n\t\t\t\tconverter.write(value, key) :\n\t\t\t\tencodeURIComponent(String(value))\n\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\n\t\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\tvar stringifiedAttributes = '';\n\t\t\tfor (var attributeName in attributes) {\n\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t// ...\n\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t// character:\n\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t// ...\n\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t}\n\n\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t}\n\n\t\tfunction get (key, json) {\n\t\t\tif (typeof document === 'undefined') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar jar = {};\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all.\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\tif (json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn key ? jar[key] : jar;\n\t\t}\n\n\t\tapi.set = set;\n\t\tapi.get = function (key) {\n\t\t\treturn get(key, false /* read as raw */);\n\t\t};\n\t\tapi.getJSON = function (key) {\n\t\t\treturn get(key, true /* read as json */);\n\t\t};\n\t\tapi.remove = function (key, attributes) {\n\t\t\tset(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.defaults = {};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF4AAAAdCAYAAAAjHtusAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAA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Efmnn9Tu61AvQFgNvcXxANOtFD/ekuV5Z9JceXdQHfEIKE/M3vLkgwLwf805TFk5H+l5RN2SYjmQ69gN7vXZdtbFYdU0OaHm+Laf0BOsdquQVvup/o6aRHcc/ck8z+DzDfQ9jV24oT1BRmfCjzkD9BqQ9sELciJyWhHOLkty/Td9pu2KTN8z9dlaBli10ZbAAAAABJRU5ErkJggg==\""],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-77b2d504.5cdabfdb.js b/web/dist/js/chunk-77b2d504.5cdabfdb.js new file mode 100644 index 0000000..46078b9 --- /dev/null +++ b/web/dist/js/chunk-77b2d504.5cdabfdb.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-77b2d504"],{4922:function(t,e,n){},"8eb4":function(t,e,n){"use strict";n("b796")},b796:function(t,e,n){},dd46:function(t,e,n){"use strict";n("4922")},e238:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-row",{staticClass:"th"},[n("span",{staticClass:"title"},[t._v(t._s(t.$t("title.share")))]),n("span",{staticClass:"loadtips",staticStyle:{float:"right"}},[t._v(t._s(t.loadedtips))])]),n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.rows,"expand-row-keys":t.expandRowKeys,"row-key":"id","highlight-current-row":""},on:{"current-change":t.onCurrentChange}},[n("el-table-column",{attrs:{type:"expand",width:"40"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("p",[n("span",[t._v(t._s(t.$t("share.link"))+":")]),n("a",{attrs:{href:e.row.link,target:"_blank"}},[t._v(t._s(e.row.link))]),e.row.protected?n("span",{staticStyle:{"margin-left":"20px"}},[t._v(t._s(t.$t("share.drawcode"))+":"+t._s(e.row.secret))]):t._e()])]}}])}),n("el-table-column",{attrs:{prop:"name"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.type?n("i",{staticClass:"matter-icon el-icon-document"}):n("i",{staticClass:"matter-icon el-icon-folder",staticStyle:{color:"#ffc402"}}),n("span",{staticClass:"matter-title"},[t._v(t._s(e.row.name))])]}}])}),n("el-table-column",{attrs:{prop:"created",label:t.$t("share.created")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("moment")(e.row.created)))]}}])}),n("el-table-column",{attrs:{prop:"expired",label:t.$t("share.expired")},scopedSlots:t._u([{key:"default",fn:function(e){return[t.isForever(e.row.expire_at)?n("span",[t._v("永久有效")]):n("span",[t._v(t._s(t._f("moment")(e.row.expire_at)))])]}}])}),n("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(n){return t.onDelete(e.$index,e.row)}}},[t._v("取消分享")])]}}])})],1)],1)},s=[],o={data:function(){return{rows:[],total:0,expandRowKeys:[]}},computed:{loadedtips:function(){var t=this.rows.length;return t==this.total?"已全部加载,共".concat(this.total,"个"):"已加载".concat(t,"个,共").concat(this.total,"个")}},methods:{isForever:function(t){return new Date(t).getFullYear()-(new Date).getFullYear()>10},listRefresh:function(){var t=this,e=window.location.host;this.$zpan.Share.list().then((function(n){var a=n.data;t.rows=a.list.map((function(t){return t.link="http://".concat(e,"/s/").concat(t.alias),t})),t.total=a.total}))},onDelete:function(t,e){var n=this;this.$confirm(this.$t("tips.share-cancel"),this.$t("share.cancel"),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){n.$zpan.Share.remove(e.alias).then((function(t){n.$message({type:"success",message:n.$t("msg.cancel-success")}),n.listRefresh()}))}))},onCurrentChange:function(t,e){this.expandRowKeys=[t.id]}},mounted:function(){this.listRefresh()}},r=o,i=(n("dd46"),n("8eb4"),n("2877")),c=Object(i["a"])(r,a,s,!1,null,"59aea4fa",null);e["default"]=c.exports}}]); +//# sourceMappingURL=chunk-77b2d504.5cdabfdb.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-77b2d504.5cdabfdb.js.map b/web/dist/js/chunk-77b2d504.5cdabfdb.js.map new file mode 100644 index 0000000..48ffaaf --- /dev/null +++ b/web/dist/js/chunk-77b2d504.5cdabfdb.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/home/share/index.vue?8607","webpack:///./src/views/home/share/index.vue?9bfc","webpack:///./src/views/home/share/index.vue?6459","webpack:///src/views/home/share/index.vue","webpack:///./src/views/home/share/index.vue?13d6","webpack:///./src/views/home/share/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","$t","staticStyle","loadedtips","attrs","rows","expandRowKeys","on","onCurrentChange","scopedSlots","_u","key","fn","props","row","link","secret","_e","scope","type","name","_f","created","isForever","expire_at","$event","onDelete","$index","staticRenderFns","data","total","computed","loadedNum","methods","Date","expireAt","getFullYear","listRefresh","$zpan","Share","list","then","item","$confirm","confirmButtonText","cancelButtonText","message","currentRow","id","mounted","component"],"mappings":"yIAAA,W,yDCAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,MAAM,CAACF,EAAG,OAAO,CAACE,YAAY,SAAS,CAACN,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,mBAAmBL,EAAG,OAAO,CAACE,YAAY,WAAWI,YAAY,CAAC,MAAQ,UAAU,CAACV,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIW,iBAAiBP,EAAG,WAAW,CAACM,YAAY,CAAC,MAAQ,QAAQE,MAAM,CAAC,KAAOZ,EAAIa,KAAK,kBAAkBb,EAAIc,cAAc,UAAU,KAAK,wBAAwB,IAAIC,GAAG,CAAC,iBAAiBf,EAAIgB,kBAAkB,CAACZ,EAAG,kBAAkB,CAACQ,MAAM,CAAC,KAAO,SAAS,MAAQ,MAAMK,YAAYjB,EAAIkB,GAAG,CAAC,CAAC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D,KAAK4C,gBCvGoW,I,kCCSzWa,EAAY,eACd,EACA3D,EACAqC,GACA,EACA,KACA,WACA,MAIa,aAAAsB,E","file":"js/chunk-77b2d504.5cdabfdb.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=1&id=59aea4fa&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-row',{staticClass:\"th\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.$t(\"title.share\")))]),_c('span',{staticClass:\"loadtips\",staticStyle:{\"float\":\"right\"}},[_vm._v(_vm._s(_vm.loadedtips))])]),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.rows,\"expand-row-keys\":_vm.expandRowKeys,\"row-key\":\"id\",\"highlight-current-row\":\"\"},on:{\"current-change\":_vm.onCurrentChange}},[_c('el-table-column',{attrs:{\"type\":\"expand\",\"width\":\"40\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('p',[_c('span',[_vm._v(_vm._s(_vm.$t(\"share.link\"))+\":\")]),_c('a',{attrs:{\"href\":props.row.link,\"target\":\"_blank\"}},[_vm._v(_vm._s(props.row.link))]),(props.row.protected)?_c('span',{staticStyle:{\"margin-left\":\"20px\"}},[_vm._v(_vm._s(_vm.$t(\"share.drawcode\"))+\":\"+_vm._s(props.row.secret))]):_vm._e()])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"name\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(!scope.row.type)?_c('i',{staticClass:\"matter-icon el-icon-folder\",staticStyle:{\"color\":\"#ffc402\"}}):_c('i',{staticClass:\"matter-icon el-icon-document\"}),_c('span',{staticClass:\"matter-title\"},[_vm._v(_vm._s(scope.row.name))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"created\",\"label\":_vm.$t('share.created')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(_vm._f(\"moment\")(scope.row.created)))]}}])}),_c('el-table-column',{attrs:{\"prop\":\"expired\",\"label\":_vm.$t('share.expired')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(_vm.isForever(scope.row.expire_at))?_c('span',[_vm._v(\"永久有效\")]):_c('span',[_vm._v(_vm._s(_vm._f(\"moment\")(scope.row.expire_at)))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"text\"},on:{\"click\":function($event){return _vm.onDelete(scope.$index, scope.row)}}},[_vm._v(\"取消分享\")])]}}])})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=59aea4fa&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\nimport style1 from \"./index.vue?vue&type=style&index=1&id=59aea4fa&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"59aea4fa\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-875b66d8.51e8ddad.js b/web/dist/js/chunk-875b66d8.51e8ddad.js new file mode 100644 index 0000000..25fe375 --- /dev/null +++ b/web/dist/js/chunk-875b66d8.51e8ddad.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-875b66d8"],{3180:function(t,e,n){},4438:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-row",{staticClass:"toolbar"},[n("span",{staticClass:"tips"},[t._v(t._s(t.$t("tips.recyclebin")))]),n("div",{staticStyle:{float:"right"}},[n("el-button",{attrs:{type:"primary",size:"small",icon:"el-icon-delete-solid",plain:""},on:{click:t.clean}},[t._v(t._s(t.$t("recyclebin.clean")))])],1)]),n("el-row",[n("el-row",{staticClass:"th"},[n("span",{staticClass:"title"},[t._v(t._s(t.$t("title.recyclebin")))]),n("span",{staticClass:"loadtips",staticStyle:{float:"right"}},[t._v(t._s(t.loadedtips))])]),n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.rows,"highlight-current-row":""}},[n("el-table-column",{attrs:{type:"selection",width:"28"}}),n("el-table-column",{attrs:{label:"文件名",prop:"name","min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.dirtype?n("i",{staticClass:"matter-icon el-icon-folder",staticStyle:{color:"#ffc402"}}):n("i",{staticClass:"matter-icon el-icon-document"}),n("span",{staticClass:"matter-title"},[t._v(t._s(e.row.name))])]}}])}),n("el-table-column",{attrs:{width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("div",{staticClass:"operation",staticStyle:{float:"right","vertical-align":"super"}},[n("el-link",{attrs:{type:"primary",underline:!1}},[n("i",{staticClass:"el-icon-refresh-left el-icon--right",on:{click:function(n){return t.onRecovery(e.row)}}})]),n("el-link",{attrs:{type:"primary",underline:!1}},[n("i",{staticClass:"el-icon-delete el-icon--right",on:{click:function(n){return t.onTrash(e.row)}}})])],1)]}}])}),n("el-table-column",{attrs:{label:"大小",prop:"size"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.dirtype?n("div",[t._v("-")]):n("div",[t._v(t._s(e.row.size))])]}}])}),n("el-table-column",{attrs:{label:"删除时间",prop:"created"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t._f("moment")(e.row.created)))]}}])})],1)],1)],1)},s=[],c=n("ebbf"),o={mixins:[c["a"]],data:function(){return{rows:[],total:0}},computed:{loadedtips:function(){var t=this.rows.length;return t==this.total?"已全部加载,共".concat(this.total,"个"):"已加载".concat(t,"个,共").concat(this.total,"个")}},methods:{listRefresh:function(){var t=this;this.$zpan.Recyclebin.list({sid:this.getSid()}).then((function(e){t.rows=e.list,t.total=e.total}))},onRecovery:function(t){var e=this;this.$confirm(this.$t("tips.recovery"),this.$t("recyclebin.recovery"),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){e.$zpan.Recyclebin.recovery(t.alias).then((function(t){e.$message({type:"success",message:e.$t("msg.recovery-success")}),e.listRefresh()}))}))},onTrash:function(t){var e=this;this.$confirm(this.$t("tips.delete"),this.$t("recyclebin.delete"),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){var n=e.$loading({lock:!0,text:"Deleting",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});e.$zpan.Recyclebin.delete(t.alias).then((function(t){n.close(),e.$message({type:"success",message:e.$t("msg.delete-success")}),e.listRefresh()}))}))},clean:function(){var t=this;this.$confirm(this.$t("tips.clean"),this.$t("recyclebin.clean"),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){var e=t.$loading({lock:!0,text:"Cleaning",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});t.$zpan.Recyclebin.clean(t.getSid()).then((function(n){e.close(),t.$message({type:"success",message:t.$t("msg.clean-success")}),t.listRefresh()}))}))}},mounted:function(){this.listRefresh()}},l=o,a=(n("58c2"),n("2877")),r=Object(a["a"])(l,i,s,!1,null,"3916029e",null);e["default"]=r.exports},"58c2":function(t,e,n){"use strict";n("3180")},ebbf:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return o}));n("7f7f"),n("ac6a");var i={data:function(){return{cs:{}}},watch:{$route:function(t,e){this.setCs()}},computed:{},methods:{setCs:function(){var t=this;this.$store.state.storages.forEach((function(e){e.name==t.$route.params.sname&&(t.cs=e)}))},getSid:function(){return this.cs.id}},mounted:function(){this.setCs()}},s=i,c={data:function(){return{visible:!1}},watch:{visible:function(t){!t&&this.$destroy()}},mounted:function(){document.body.appendChild(this.$el),this.visible=!0},destroyed:function(){this.$el.parentNode.removeChild(this.$el)},methods:{open:function(){this.visible=!0},close:function(){this.visible=!1},completed:function(){this.$emit("completed")},finish:function(){this.close(),this.completed()}}},o=c}}]); +//# sourceMappingURL=chunk-875b66d8.51e8ddad.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-875b66d8.51e8ddad.js.map b/web/dist/js/chunk-875b66d8.51e8ddad.js.map new file mode 100644 index 0000000..bf909e9 --- /dev/null +++ b/web/dist/js/chunk-875b66d8.51e8ddad.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/home/recyclebin/index.vue?8bd1","webpack:///src/views/home/recyclebin/index.vue","webpack:///./src/views/home/recyclebin/index.vue?c47b","webpack:///./src/views/home/recyclebin/index.vue","webpack:///./src/views/home/recyclebin/index.vue?fe87","webpack:///./src/libs/mixin/cs.js","webpack:///./src/libs/mixin/dialog.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","$t","staticStyle","attrs","on","clean","loadedtips","rows","scopedSlots","_u","key","fn","scope","row","name","$event","onRecovery","onTrash","size","_f","created","staticRenderFns","mixins","data","total","computed","loadedNum","methods","listRefresh","$zpan","Recyclebin","list","$confirm","type","confirmButtonText","cancelButtonText","message","lock","text","spinner","background","loading","close","mounted","component","Mixin","cs","watch","$route","newVal","oldVal","setCs","$store","state","storages","forEach","ele","params","sname","getSid","id","DialogMixin","visible","val","$destroy","document","body","appendChild","$el","destroyed","parentNode","removeChild","open","completed","$emit","finish"],"mappings":"8IAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,WAAW,CAACF,EAAG,OAAO,CAACE,YAAY,QAAQ,CAACN,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,uBAAuBL,EAAG,MAAM,CAACM,YAAY,CAAC,MAAQ,UAAU,CAACN,EAAG,YAAY,CAACO,MAAM,CAAC,KAAO,UAAU,KAAO,QAAQ,KAAO,uBAAuB,MAAQ,IAAIC,GAAG,CAAC,MAAQZ,EAAIa,QAAQ,CAACb,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,yBAAyB,KAAKL,EAAG,SAAS,CAACA,EAAG,SAAS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E,WAAWC,YAAY9E,KAAK2E,MAEzCzC,QAAS,CACL6C,KADK,WAED/E,KAAKqE,SAAU,GAEnBpB,MAJK,WAKDjD,KAAKqE,SAAU,GAEnBW,UAPK,WAQDhF,KAAKiF,MAAM,cAEfC,OAVK,WAWDlF,KAAKiD,QACLjD,KAAKgF,eAKFZ","file":"js/chunk-875b66d8.51e8ddad.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-row',{staticClass:\"toolbar\"},[_c('span',{staticClass:\"tips\"},[_vm._v(_vm._s(_vm.$t(\"tips.recyclebin\")))]),_c('div',{staticStyle:{\"float\":\"right\"}},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\",\"icon\":\"el-icon-delete-solid\",\"plain\":\"\"},on:{\"click\":_vm.clean}},[_vm._v(_vm._s(_vm.$t(\"recyclebin.clean\")))])],1)]),_c('el-row',[_c('el-row',{staticClass:\"th\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.$t(\"title.recyclebin\")))]),_c('span',{staticClass:\"loadtips\",staticStyle:{\"float\":\"right\"}},[_vm._v(_vm._s(_vm.loadedtips))])]),_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.rows,\"highlight-current-row\":\"\"}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"28\"}}),_c('el-table-column',{attrs:{\"label\":\"文件名\",\"prop\":\"name\",\"min-width\":\"200\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.dirtype)?_c('i',{staticClass:\"matter-icon el-icon-folder\",staticStyle:{\"color\":\"#ffc402\"}}):_c('i',{staticClass:\"matter-icon el-icon-document\"}),_c('span',{staticClass:\"matter-title\"},[_vm._v(_vm._s(scope.row.name))])]}}])}),_c('el-table-column',{attrs:{\"width\":\"150\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"operation\",staticStyle:{\"float\":\"right\",\"vertical-align\":\"super\"}},[_c('el-link',{attrs:{\"type\":\"primary\",\"underline\":false}},[_c('i',{staticClass:\"el-icon-refresh-left el-icon--right\",on:{\"click\":function($event){return _vm.onRecovery(scope.row)}}})]),_c('el-link',{attrs:{\"type\":\"primary\",\"underline\":false}},[_c('i',{staticClass:\"el-icon-delete el-icon--right\",on:{\"click\":function($event){return _vm.onTrash(scope.row)}}})])],1)]}}])}),_c('el-table-column',{attrs:{\"label\":\"大小\",\"prop\":\"size\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.dirtype)?_c('div',[_vm._v(\"-\")]):_c('div',[_vm._v(_vm._s(scope.row.size))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"删除时间\",\"prop\":\"created\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(_vm._f(\"moment\")(scope.row.created)))]}}])})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=3916029e&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=3916029e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3916029e\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=3916029e&scoped=true&lang=css&\"","\nconst Mixin = {\n data() {\n return {\n cs: {}\n }\n },\n watch: {\n $route(newVal, oldVal) {\n this.setCs()\n },\n },\n computed: {},\n methods: {\n setCs() {\n this.$store.state.storages.forEach((ele) => {\n if (ele.name == this.$route.params.sname) {\n this.cs = ele\n }\n });\n },\n getSid() {\n return this.cs.id\n },\n },\n mounted() {\n this.setCs()\n },\n}\n\nexport default Mixin","const DialogMixin = {\n data() {\n return {\n visible: false\n }\n },\n watch: {\n visible(val) {\n !val && this.$destroy()\n }\n },\n mounted() {\n document.body.appendChild(this.$el)\n this.visible = true\n },\n destroyed() {\n this.$el.parentNode.removeChild(this.$el)\n },\n methods: {\n open() {\n this.visible = true;\n },\n close() {\n this.visible = false;\n },\n completed() {\n this.$emit('completed');\n },\n finish() {\n this.close();\n this.completed();\n },\n }\n}\n\nexport default DialogMixin"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-c39e5b9a.eca09651.js b/web/dist/js/chunk-c39e5b9a.eca09651.js new file mode 100644 index 0000000..5c44e6c --- /dev/null +++ b/web/dist/js/chunk-c39e5b9a.eca09651.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c39e5b9a"],{"8a3a":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("el-upload",{attrs:{action:"","list-type":"picture-card","http-request":t.handleUpload,accept:t.acceptImgs,"file-list":t.fileList,"on-preview":t.showPicPreview,"before-remove":t.handleRemove}},[i("i",{staticClass:"el-icon-plus"})]),i("el-dialog",{attrs:{visible:t.dialog.show,title:t.dialog.title,center:""},on:{"update:visible":function(e){return t.$set(t.dialog,"show",e)}}},[i("img",{attrs:{width:"100%",src:t.dialog.imgUrl,alt:""}}),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticClass:"copy-link",attrs:{type:"primary","data-clipboard-text":t.dialog.imgUrl},on:{click:function(e){t.dialog.show=!1}}},[t._v(t._s(t.$t("copy-link")))])],1)])],1)},s=[],o=(i("a481"),i("ac6a"),i("7f7f"),i("b54a"),i("90fe")),a=i("ebbf"),l={mixins:[a["a"]],data:function(){return{picHost:"",acceptImgs:"image/jpeg,image/png,image/gif",fileList:[],dialog:{show:!1,title:"",imgUrl:""}}},methods:{getLink:function(t){var e=this;return new Promise((function(i,n){e.$zpan.File.findLink(t).then((function(t){i(t.link)}))}))},listRefresh:function(){var t=this;this.$zpan.File.list({sid:this.getSid(),type:"image"}).then((function(e){t.fileList=e.list.map((function(t){return{alias:t.alias,name:t.name,url:t.url}})),t.fileList.forEach((function(e){t.getLink(e.alias).then((function(t){e.url=t}))})),t.loading=!1}))},handleUpload:function(t){var e=this,i=this.$loading({lock:!0,text:"Uploading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),n=(new Date).getTime();t.filename=t.file.name.replace("image",n),this.$zpan.File.upload(this.getSid(),t).then((function(n){var s={name:t.filename,url:n.data.url};e.showPicPreview(s),e.listRefresh(),i.close()})).catch((function(){e.listRefresh(),i.close()}))},handleRemove:function(t,e){var i=this;return this.$confirm(this.$t("tips.remove"),this.$t("op.delete")+" ".concat(t.name),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){i.$zpan.File.delete(t.alias).then((function(t){i.$message({type:"success",message:i.$t("msg.delete-success")})}))}))},showPicPreview:function(t){this.dialog={show:!0,title:t.name,imgUrl:t.url}}},mounted:function(){this.listRefresh(),o["a"].setupPasteUpload(this.handleUpload)}},c=l,r=i("2877"),u=Object(r["a"])(c,n,s,!1,null,"31567950",null);e["default"]=u.exports},ebbf:function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return a}));i("7f7f"),i("ac6a");var n={data:function(){return{cs:{}}},watch:{$route:function(t,e){this.setCs()}},computed:{},methods:{setCs:function(){var t=this;this.$store.state.storages.forEach((function(e){e.name==t.$route.params.sname&&(t.cs=e)}))},getSid:function(){return this.cs.id}},mounted:function(){this.setCs()}},s=n,o={data:function(){return{visible:!1}},watch:{visible:function(t){!t&&this.$destroy()}},mounted:function(){document.body.appendChild(this.$el),this.visible=!0},destroyed:function(){this.$el.parentNode.removeChild(this.$el)},methods:{open:function(){this.visible=!0},close:function(){this.visible=!1},completed:function(){this.$emit("completed")},finish:function(){this.close(),this.completed()}}},a=o}}]); +//# sourceMappingURL=chunk-c39e5b9a.eca09651.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-c39e5b9a.eca09651.js.map b/web/dist/js/chunk-c39e5b9a.eca09651.js.map new file mode 100644 index 0000000..cd15d14 --- /dev/null +++ b/web/dist/js/chunk-c39e5b9a.eca09651.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/views/home/picture/index.vue?72ac","webpack:///src/views/home/picture/index.vue","webpack:///./src/views/home/picture/index.vue?65bf","webpack:///./src/views/home/picture/index.vue","webpack:///./src/libs/mixin/cs.js","webpack:///./src/libs/mixin/dialog.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","handleUpload","acceptImgs","fileList","showPicPreview","handleRemove","staticClass","dialog","show","title","on","$event","$set","imgUrl","slot","_v","_s","$t","staticRenderFns","mixins","data","picHost","methods","getLink","Promise","resolve","ret","link","listRefresh","$zpan","File","list","ele","url","lock","text","spinner","background","timestamp","Date","getTime","fileObj","filename","file","name","replace","upload","getSid","$confirm","type","confirmButtonText","cancelButtonText","message","mounted","utils","component","Mixin","cs","watch","$route","newVal","oldVal","setCs","computed","$store","state","storages","forEach","params","sname","id","DialogMixin","visible","val","$destroy","document","body","appendChild","$el","destroyed","parentNode","removeChild","open","close","completed","$emit","finish"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,YAAY,CAACE,MAAM,CAAC,OAAS,GAAG,YAAY,eAAe,eAAeN,EAAIO,aAAa,OAASP,EAAIQ,WAAW,YAAYR,EAAIS,SAAS,aAAaT,EAAIU,eAAe,gBAAgBV,EAAIW,eAAe,CAACP,EAAG,IAAI,CAACQ,YAAY,mBAAmBR,EAAG,YAAY,CAACE,MAAM,CAAC,QAAUN,EAAIa,OAAOC,KAAK,MAAQd,EAAIa,OAAOE,MAAM,OAAS,IAAIC,GAAG,CAAC,iBAAiB,SAASC,GAAQ,OAAOjB,EAAIkB,KAAKlB,EAAIa,OAAQ,OAAQI,MAAW,CAACb,EAAG,MAAM,CAACE,MAAM,CAAC,MAAQ,OAAO,IAAMN,EAAIa,OAAOM,OAAO,IAAM,MAAMf,EAAG,OAAO,CAACQ,YAAY,gBAAgBN,MAAM,CAAC,KAAO,UAAUc,KAAK,UAAU,CAAChB,EAAG,YAAY,CAACQ,YAAY,YAAYN,MAAM,CAAC,KAAO,UAAU,sBAAsBN,EAAIa,OAAOM,QAAQH,GAAG,CAAC,MAAQ,SAASC,GAAQjB,EAAIa,OAAOC,MAAO,KAAS,CAACd,EAAIqB,GAAGrB,EAAIsB,GAAGtB,EAAIuB,GAAG,kBAAkB,MAAM,IAC/2BC,EAAkB,G,kECmBtB,GACEC,OAAQ,CAAC,EAAX,MACEC,KAFF,WAGI,MAAO,CACLC,QAAS,GACTn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GACXlE,KAAKmE,UAGbC,SAAU,GACVzC,QAAS,CACLwC,MADK,WACG,WACJnE,KAAKqE,OAAOC,MAAMC,SAASC,SAAQ,SAACnC,GAC5BA,EAAIY,MAAQ,EAAKe,OAAOS,OAAOC,QAC/B,EAAKZ,GAAKzB,OAItBe,OARK,WASD,OAAOpD,KAAK8D,GAAGa,KAGvBjB,QAxBU,WAyBN1D,KAAKmE,UAIEN,IC9BTe,EAAc,CAChBnD,KADgB,WAEZ,MAAO,CACHoD,SAAS,IAGjBd,MAAO,CACHc,QADG,SACKC,IACHA,GAAO9E,KAAK+E,aAGrBrB,QAXgB,WAYZsB,SAASC,KAAKC,YAAYlF,KAAKmF,KAC/BnF,KAAK6E,SAAU,GAEnBO,UAfgB,WAgBZpF,KAAKmF,IAAIE,WAAWC,YAAYtF,KAAKmF,MAEzCxD,QAAS,CACL4D,KADK,WAEDvF,KAAK6E,SAAU,GAEnBW,MAJK,WAKDxF,KAAK6E,SAAU,GAEnBY,UAPK,WAQDzF,KAAK0F,MAAM,cAEfC,OAVK,WAWD3F,KAAKwF,QACLxF,KAAKyF,eAKFb","file":"js/chunk-c39e5b9a.eca09651.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-upload',{attrs:{\"action\":\"\",\"list-type\":\"picture-card\",\"http-request\":_vm.handleUpload,\"accept\":_vm.acceptImgs,\"file-list\":_vm.fileList,\"on-preview\":_vm.showPicPreview,\"before-remove\":_vm.handleRemove}},[_c('i',{staticClass:\"el-icon-plus\"})]),_c('el-dialog',{attrs:{\"visible\":_vm.dialog.show,\"title\":_vm.dialog.title,\"center\":\"\"},on:{\"update:visible\":function($event){return _vm.$set(_vm.dialog, \"show\", $event)}}},[_c('img',{attrs:{\"width\":\"100%\",\"src\":_vm.dialog.imgUrl,\"alt\":\"\"}}),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{staticClass:\"copy-link\",attrs:{\"type\":\"primary\",\"data-clipboard-text\":_vm.dialog.imgUrl},on:{\"click\":function($event){_vm.dialog.show = false}}},[_vm._v(_vm._s(_vm.$t(\"copy-link\")))])],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=31567950&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"31567950\",\n null\n \n)\n\nexport default component.exports","\nconst Mixin = {\n data() {\n return {\n cs: {}\n }\n },\n watch: {\n $route(newVal, oldVal) {\n this.setCs()\n },\n },\n computed: {},\n methods: {\n setCs() {\n this.$store.state.storages.forEach((ele) => {\n if (ele.name == this.$route.params.sname) {\n this.cs = ele\n }\n });\n },\n getSid() {\n return this.cs.id\n },\n },\n mounted() {\n this.setCs()\n },\n}\n\nexport default Mixin","const DialogMixin = {\n data() {\n return {\n visible: false\n }\n },\n watch: {\n visible(val) {\n !val && this.$destroy()\n }\n },\n mounted() {\n document.body.appendChild(this.$el)\n this.visible = true\n },\n destroyed() {\n this.$el.parentNode.removeChild(this.$el)\n },\n methods: {\n open() {\n this.visible = true;\n },\n close() {\n this.visible = false;\n },\n completed() {\n this.$emit('completed');\n },\n finish() {\n this.close();\n this.completed();\n },\n }\n}\n\nexport default DialogMixin"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-common.094a2972.js b/web/dist/js/chunk-common.094a2972.js new file mode 100644 index 0000000..7a86955 --- /dev/null +++ b/web/dist/js/chunk-common.094a2972.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-common"],{0:function(e,t,n){e.exports=n("56d7")},"034f":function(e,t,n){"use strict";n("64a9")},"2dfc":function(e,t){},"338e":function(e,t,n){},"41cb":function(e,t,n){"use strict";n("7f7f");var a=n("a026"),o=n("8c4f"),r=n("9225");n("c0d6");a["default"].use(o["a"]);var i=new o["a"]({mode:"history",routes:[{path:"/",name:"home",component:function(){return n.e("chunk-45cef788").then(n.bind(null,"7abe"))}},{path:"/install",name:"installer",component:function(){return n.e("chunk-5ace7ddd").then(n.bind(null,"a25c"))}},{path:"/:sname",component:function(){return n.e("chunk-45cef788").then(n.bind(null,"7abe"))},children:[{path:"/",name:"disk",component:function(){return n.e("chunk-f1a651ee").then(n.bind(null,"db7e"))}},{path:"pic",name:"pic",component:function(){return n.e("chunk-c39e5b9a").then(n.bind(null,"8a3a"))}},{path:"share",name:"share",component:function(){return n.e("chunk-77b2d504").then(n.bind(null,"e238"))}},{path:"recyclebin",name:"recyclebin",component:function(){return n.e("chunk-875b66d8").then(n.bind(null,"4438"))}}]},{path:"/s/:alias",name:"share-info",component:function(){return n.e("chunk-58993c8c").then(n.bind(null,"ce0d"))}},{path:"/s/:alias/draw",name:"share-draw",component:function(){return n.e("chunk-26cc1f8f").then(n.bind(null,"bc5a"))}},{path:"/settings",component:function(){return n.e("chunk-757d2a9b").then(n.bind(null,"61c2"))},children:[{path:"profile",name:"profile",component:function(){return n.e("chunk-4fae512a").then(n.bind(null,"31bb"))}},{path:"security",name:"security",component:function(){return n.e("chunk-141f1d87").then(n.bind(null,"2fff"))}},{path:"developer",name:"developer",component:function(){return n.e("chunk-51b64701").then(n.bind(null,"acca"))}}]},{path:"/admin",component:function(){return n.e("chunk-54185f58").then(n.bind(null,"2953"))},children:[{path:"dashboard",name:"admin",component:function(){return n.e("chunk-2d0a4fde").then(n.bind(null,"0998"))}},{path:"users",name:"users",component:function(){return n.e("chunk-251a991a").then(n.bind(null,"4da1"))}},{path:"storages",name:"storages",component:function(){return n.e("chunk-1029f285").then(n.bind(null,"6a72"))}},{path:"settings",name:"settings",component:function(){return n.e("chunk-5db82f0c").then(n.bind(null,"c6e4"))}},{path:"settings/email",name:"settings-email",component:function(){return n.e("chunk-22dece4e").then(n.bind(null,"0a01"))}}]},{path:"/u",component:function(){return n.e("chunk-5c753fc6").then(n.bind(null,"9ed6"))},children:[{path:"signin",name:"signin",meta:{title:"用户登录"},component:function(){return n.e("chunk-2d0daeb3").then(n.bind(null,"6e3a"))}},{path:"signout",name:"signout",meta:{title:"用户登出"},component:function(){return n.e("chunk-2d0d76a6").then(n.bind(null,"775e"))}},{path:"signin/:token64",name:"activate",meta:{title:"账户激活"},component:function(){return n.e("chunk-2d0afa39").then(n.bind(null,"0ed2"))}},{path:"signup",name:"signup",meta:{title:"用户注册"},component:function(){return n.e("chunk-2d0bce73").then(n.bind(null,"2a5c"))}},{path:"password-reset",name:"reset_apply",meta:{title:"密码找回"},component:function(){return n.e("chunk-2d0c5700").then(n.bind(null,"3ea9"))}},{path:"password-reset/:token64",name:"reset_confirm",meta:{title:"密码找回"},component:function(){return n.e("chunk-2d207759").then(n.bind(null,"a12e"))}}]}]}),s=function(e,t){a["default"].zpan.System.optGet("core.site").then((function(t){var n=t.data,a=n.name;e&&(a+="- ".concat(e)),window.document.title=a,r["a"].locale=n.locale})).catch((function(e){e.response&&520==e.response.status&&t({name:"installer"})}))};i.beforeEach((function(e,t,n){s(r["a"].t("title.".concat(e.name)),n),n()})),i.afterEach((function(){window.scrollTo(0,0)})),t["a"]=i},"423e":function(e){e.exports=JSON.parse('{"click-copy-link":"点击复制链接","copy-link":"复制链接","create-folder":"新建文件夹","day":"天","op":{"close":"关闭","confirm":"确认","reset":"重置","cancel":"取消","enable":"启用","disable":"禁用","rename":"重命名","delete":"删除","batch-delete":"批量删除"},"msg":{"success":"成功","failed":"失败","batch-delete-success":"批量删除成功","create-success":"创建成功","delete-success":"删除成功","move-success":"移动成功","copy-success":"复制成功","copy-failed":"复制失败","rename-success":"重命名成功","save-success":"保存成功","clean-success":"清理成功","recovery-success":"恢复成功","cancel-success":"取消成功"},"dialog":{"moveto-title":"移动到","outlink-title":"下载外链","share-drawcode":"提取码","share-drawcode-switch":"使用提取码保护链接","share-expire-time":"有效期","share-link":"链接地址","share-title":"分享链接","upload-click":"点击上传","upload-tips":"将文件拖到此处,或","upload-title":"上传队列"},"disk":{"delete":"删除","download":"下载","folder":"新建","upload":"上传"},"ft":{"breadcrumb":"全部文件"},"ftb":{"move":"移动到","remove":"删除","rename":"重命名"},"fth":{"name":"名称","size":"大小","updated":"最近更新"},"leftnav":{"audio":"音频","doc":"文档","files":"全部文件","image":"图片","share":"我的分享","recyclebin":"回收站","storage":"存储空间","video":"视频"},"share":{"auto-download-tips":"您的文件已经开始下载,如果没有开始请点击此处重试","created":"分享时间","drawcode":"提取码","drawcode-placeholder":"请输入提取码","drawfile":"提取文件","expired":"失效时间","link":"链接","name":"名称","cancel":"取消分享"},"recyclebin":{"recovery":"确认恢复?","delete":"彻底删除?","clean":"清空回收站"},"tips":{"batch-delete":"此操作将永久删除所选文件,是否继续?","create-folder":"请输入新的文件夹名称","remove":"此操作将文件移动到回收站, 是否继续?","rename":"请输入新的名称","recyclebin":"提示:回收站也占用网盘空间,请及时清理哦~","share-cancel":"取消分享后,该条分享记录将被删除,好友将无法再访问此分享链接。 您确认要取消分享吗?","recovery":"确认还原选中的文件?","delete":"此操作将彻底删除该文件, 是否继续?","clean":"确认清空回收站?","deleting":"正在删除...","disable":"禁用后将不可用,是否继续?","enable":"确认启用?","secret-reset":"重置后,老的秘钥将无法使用,是否继续?"},"topbar":{"netdisk":"网盘","imghosting":"图床","search":"搜索...","profile":"个人主页","settings":"个人设置","s-platform":"管理后台","signout":"退出"},"title":{"disk":"我的文件","share":"我的分享","recyclebin":"回收站","picture":"我的图床","storage-quota":"存储配额","admin":"管理后台","storages":"存储管理","users":"用户管理","settings":"站点设置","settings-email":"发信邮箱"},"year":"年","admin":{"search-placeholder":"请输入要查找的用户邮箱...","storage-search-placeholder":"请输入要查找的存储空间...","btn-user-add":"添加新用户","btn-quota-update":"调整配额","btn-storage-add":"创建存储","btn-edit":"编辑","label-nickname":"用户昵称","label-email":"Email","label-role":"角色","label-status":"状态","label-storage":"配额","label-operation":"操作","label-quota":"存储配额","label-quota-change":"配额调整","label-password-reset":"密码重置","label-storage-manager":"存储管理","label-name":"名称","label-title":"标题","label-intro":"描述","label-bucket":"存储桶","label-endpoint":"接入点","label-region":"区域名称","label-custom_host":"自有域名","label-access_key":"AccessKey","label-secret_key":"SecretKey"},"cloudplatform":{"COS":"腾讯云","KODO":"七牛云","MINIO":"自建云","NOS":"网易云","OBS":"华为云","OSS":"阿里云","S3":"亚马逊","US3":"UColud","USS":"又拍云"}}')},"49f8":function(e,t,n){var a={"./en.json":"edd4","./zh-CN.json":"423e"};function o(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=r,e.exports=o,o.id="49f8"},"54c7":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var a=n("a026"),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-view",{attrs:{id:"app"}})},r=[],i={data:function(){return{}},watch:{},computed:{},methods:{},mounted:function(){var e=this;this.$clipboard.on("success",(function(t){e.$message.success(e.$t("msg.copy-success")),t.clearSelection()})),this.$clipboard.on("error",(function(t){e.$message.error(e.$t("msg.copy-failed"))}))},beforeDestroy:function(){this.$clipboard.destroy()}},s=i,c=(n("034f"),n("2877")),l=Object(c["a"])(s,o,r,!1,null,null,null),u=l.exports,d=n("9225"),p=n("c0d6"),f=n("41cb"),m=n("bc3a"),h=n.n(m),v=n("5c96"),b=n.n(v),y={},w=h.a.create(y);w.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),w.interceptors.response.use((function(e){return e.data}),(function(e){if(!h.a.isCancel(e)){if(e.response&&401==e.response.status)return window.location="/moreu/signin",Promise.reject("invalid login status");var t=e.message;return e.response&&(t=e.response.data.msg),v["Notification"].error(t),Promise.reject(e)}console.log(e.message?e.message:"Request canceled")})),Plugin.install=function(e,t){e.axios=w,window.axios=w,Object.defineProperties(e.prototype,{axios:{get:function(){return w}},$axios:{get:function(){return w}}})},a["default"].use(Plugin);Plugin;var g=n("c1df"),k=n.n(g);a["default"].prototype.$moment=k.a,a["default"].filter("moment",(function(e,t){return t=t||"YYYY-MM-DD HH:mm:ss",k()(e).format(t)})),String.prototype.moment||(String.prototype.moment=function(e){return e=e||"YYYY-MM-DD HH:mm:ss",k()(this).format(e)});n("0fae");a["default"].use(b.a);n("456d"),n("ac6a");var _=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-row",{staticClass:"header"},[n("el-breadcrumb",{staticClass:"bread",attrs:{"separator-class":"el-icon-arrow-right"}},e._l(e.breadcrumb,(function(t){return n("el-breadcrumb-item",{key:t.dir,attrs:{index:t.dir,to:e.buildQuery(t.dir)}},[e._v(e._s(t.name))])})),1),n("span",{staticClass:"loadtips",staticStyle:{float:"right"}},[e._v(e._s(e.loadedtips))])],1),"grid"==e.layout?n("GridExplorer",{attrs:{loading:e.loading,moreButtons:e.moreButtons},on:{"on-click":e.onClick},model:{value:e.rows,callback:function(t){e.rows=t},expression:"rows"}}):n("ListExplorer",{attrs:{loading:e.loading,rowButtons:e.rowButtons,moreButtons:e.moreButtons},on:{"on-click":e.onClick,"scroll-end":e.onScrollEnd,"selection-change":e.onSelectionChange},model:{value:e.rows,callback:function(t){e.rows=t},expression:"rows"}}),n("MediaViewer",{attrs:{visible:e.mediavv},on:{close:function(t){e.mediavv=!1}},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}}),n("PictureViewer",{ref:"photoView"})],1)},C=[],S=(n("a481"),n("f559"),n("28a5"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"explorer"},e._l(e.data,(function(t){return n("div",{key:t.alias,staticClass:"explorer-item",on:{click:function(n){return e.onNameClick(t)}}},[t.dirtype?n("i",{staticClass:"matter-icon el-icon-folder",staticStyle:{color:"#ffc402"}}):n("i",{class:"iconfont "+e.type2icon(t.type)}),n("p",[e._v(e._s(t.name))])])})),0)}),x=[],O=n("768b"),B=(n("6762"),{props:{value:Array,loading:!1,rowButtons:Array,moreButtons:Array},data:function(){return{data:[]}},watch:{value:function(e,t){this.data=e}},methods:{isOfficeFile:function(e){var t=["application/msword","application/vnd.ms-excel","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation"];return t.includes(e)},officeIcon:function(e){var t=["application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],n=["application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],a=["application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation"];return t.includes(e)?"icon-doc":n.includes(e)?"icon-excel":a.includes(e)?"icon-ppt":void 0},type2icon:function(e){console.log(e);var t=e.split("/"),n=Object(O["a"])(t,2),a=n[0],o=n[1],r=["pdf","html","xml","psd","rtf"];if(r.includes(o))return"icon-".concat(o);var i=["json","yaml","x-yaml"];if(i.includes(o))return"icon-html";var s=["zip","x-gzip"];if(s.includes(o))return"icon-compressed-file";if(this.isOfficeFile(e))return this.officeIcon(e);var c=["audio","video","image","text"];return c.includes(a)?"icon-".concat(a):"icon-file"},onNameClick:function(e){e.dirtype?this.$emit("on-click","folder",e):e.type.startsWith("image")?this.$emit("on-click","image",e):e.type.startsWith("audio")||e.type.startsWith("video")?this.$emit("on-click","media",e):this.isOfficeFile(e.type)&&this.$emit("on-click","doc",e)}}}),j=B,D={mixins:[j],data:function(){return{}},methods:{onSelectionChange:function(e){this.$emit("selection-change",e)},onSelectable:function(e,t){if(!e.dirtype)return!0},handleCommand:function(e){e.action(e.row)},onScrollEnd:function(){this.$emit("scroll-end")}}},P=D,E=(n("ac82"),Object(c["a"])(P,S,x,!1,null,"27e97df8",null)),$=E.exports,N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"},{name:"el-table-infinite-scroll",rawName:"v-el-table-infinite-scroll",value:e.onScrollEnd,expression:"onScrollEnd"}],staticStyle:{width:"100%"},attrs:{height:"calc(100% - 55px)","tooltip-effect":"dark",size:"small",data:e.data,"highlight-current-row":""},on:{"selection-change":e.onSelectionChange}},[n("el-table-column",{attrs:{type:"selection",width:"30",selectable:e.onSelectable}}),n("el-table-column",{attrs:{prop:"name",label:e.$t("fth.name"),"min-width":"200","show-overflow-tooltip":"",sortable:""},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.dirtype?n("i",{staticClass:"matter-icon el-icon-folder",staticStyle:{color:"#ffc402"}}):n("i",{class:"iconfont matter-icon "+e.type2icon(t.row.type)}),n("el-link",{staticClass:"matter-title",attrs:{underline:!1,href:"Javascript: void(0);"}},[n("span",{on:{click:function(n){return e.onNameClick(t.row)}}},[e._v(e._s(t.row.name))])])]}}])}),n("el-table-column",{attrs:{width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"operation",staticStyle:{float:"right","vertical-align":"super"}},[e._l(e.rowButtons,(function(e){return n("el-link",{directives:[{name:"show",rawName:"v-show",value:!e.shown||e.shown(t.row),expression:"!item.shown || item.shown(scope.row)"}],key:e.name,attrs:{type:"primary",underline:!1}},[n("i",{class:e.icon+" el-icon--right",on:{click:function(n){return e.action(t.row)}}})])})),n("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:e.moreButtons&&e.moreButtons.length>0,expression:"moreButtons && moreButtons.length > 0"}],attrs:{trigger:"click"},on:{command:e.handleCommand}},[n("el-link",{staticClass:"el-dropdown-link",attrs:{type:"primary",underline:!1}},[n("i",{staticClass:"el-icon-more el-icon--right"})]),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.moreButtons,(function(a){return n("el-dropdown-item",{key:a.name,attrs:{command:{action:a.action,row:t.row}}},[e._v("\n "+e._s(a.title)+"\n ")])})),1)],1)],2)]}}])}),n("el-table-column",{attrs:{prop:"size",label:e.$t("fth.size"),width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.dirtype?n("div",[e._v("-")]):n("div",[e._v(e._s(t.row.size))])]}}])}),n("el-table-column",{attrs:{prop:"updated",label:e.$t("fth.updated"),width:"180"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(e._f("moment")(t.row.updated)))]}}])})],1)},U=[],z=n("521e"),M={mixins:[j],directives:{"el-table-infinite-scroll":z["a"]},data:function(){return{}},methods:{onSelectionChange:function(e){this.$emit("selection-change",e)},onSelectable:function(e,t){if(!e.dirtype)return!0},handleCommand:function(e){e.action(e.row)},onScrollEnd:function(){this.$emit("scroll-end")}}},R=M,L=(n("a604"),Object(c["a"])(R,N,U,!1,null,"0e9f5599",null)),A=L.exports,T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-dialog",{attrs:{title:e.value.name,visible:e.show,width:"30%"},on:{"update:visible":function(t){e.show=t},opened:e.onOpen,close:e.onClose}},[n("vue-plyr",{directives:[{name:"show",rawName:"v-show",value:"audio"==e.mediatype,expression:"mediatype == 'audio'"}],ref:"audio"},[n("audio",{attrs:{src:e.value.url}})]),n("vue-plyr",{directives:[{name:"show",rawName:"v-show",value:"video"==e.mediatype,expression:"mediatype == 'video'"}],ref:"video"},[n("video",{attrs:{src:e.value.url}})])],1)},F=[],q={props:{value:Object,visible:{type:Boolean,default:!1}},data:function(){return{show:!1}},watch:{visible:function(e,t){this.show=e}},methods:{onOpen:function(){this.player.play()},onClose:function(){this.$emit("close"),console.log(this.player),this.player.stop()}},computed:{filetype:function(){return this.value.type?this.value.type:""},mediatype:function(){return this.filetype.split("/")[0]},player:function(){return this.$refs[this.mediatype].player}}},I=q,Y=Object(c["a"])(I,T,F,!1,null,null,null),Q=Y.exports,K=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},V=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pswp",attrs:{tabindex:"0",role:"dialog","aria-hidden":"true"}},[n("div",{staticClass:"pswp__bg"}),n("div",{staticClass:"pswp__scroll-wrap"},[n("div",{staticClass:"pswp__container"},[n("div",{staticClass:"pswp__item"}),n("div",{staticClass:"pswp__item"}),n("div",{staticClass:"pswp__item"})]),n("div",{staticClass:"pswp__ui pswp__ui--hidden"},[n("div",{staticClass:"pswp__top-bar"},[n("div",{staticClass:"pswp__counter"}),n("button",{staticClass:"pswp__button pswp__button--close",attrs:{title:"Close (Esc)"}}),n("button",{staticClass:"pswp__button pswp__button--share",attrs:{title:"Share"}}),n("button",{staticClass:"pswp__button pswp__button--fs",attrs:{title:"Toggle fullscreen"}}),n("button",{staticClass:"pswp__button pswp__button--zoom",attrs:{title:"Zoom in/out"}}),n("div",{staticClass:"pswp__preloader"},[n("div",{staticClass:"pswp__preloader__icn"},[n("div",{staticClass:"pswp__preloader__cut"},[n("div",{staticClass:"pswp__preloader__donut"})])])])]),n("div",{staticClass:"pswp__share-modal pswp__share-modal--hidden pswp__single-tap"},[n("div",{staticClass:"pswp__share-tooltip"})]),n("button",{staticClass:"pswp__button pswp__button--arrow--left",attrs:{title:"Previous (arrow left)"}}),n("button",{staticClass:"pswp__button pswp__button--arrow--right",attrs:{title:"Next (arrow right)"}}),n("div",{staticClass:"pswp__caption"},[n("div",{staticClass:"pswp__caption__center"})])])])])}],H=n("b24f"),G=n.n(H),W=n("14fd"),J=n.n(W),Z=(n("343a"),n("3fb5"),{name:"PhotoPreview",methods:{open:function(e){var t=[{src:e,w:600,h:400}],n={index:0},a=document.querySelectorAll(".pswp")[0],o=new G.a(a,J.a,t,n);o.init()}}}),X=Z,ee=Object(c["a"])(X,K,V,!1,null,"9c4266e8",null),te=ee.exports,ne={components:{GridExplorer:$,ListExplorer:A,MediaViewer:Q,PictureViewer:te},props:{layout:{type:String,default:"list"},dataLoader:Function,linkLoader:Function,rowButtons:Array,moreButtons:Array,rootDir:{type:String,default:""}},data:function(){return{currentDir:"",loading:!1,offset:0,limit:100,rows:[],total:0,selection:Array,selected:{},mediavv:!1}},watch:{$route:"onRouteChange",layout:function(e,t){e!=t&&this.listRefresh()}},computed:{breadcrumb:function(){var e=[{name:this.$t("ft.breadcrumb"),dir:""}];if(!this.currentDir)return e;var t="";return this.currentDir.split("/").forEach((function(n){""!=n&&(e.push({name:n,dir:t+n+"/"}),t+="".concat(n,"/"))})),e},loadedtips:function(){var e=this.rows.length;return e==this.total?"已全部加载,共".concat(this.total,"个"):"已加载".concat(e,"个,共").concat(this.total,"个")}},methods:{onRouteChange:function(e,t){this.currentDir!=e.query.dir&&(this.currentDir=e.query.dir),this.listRefresh()},onSelectionChange:function(e){this.$emit("selection-change",e)},onScrollEnd:function(){0==this.total||this.rows.length!=this.total?this.listRefresh(this.offset,this.limit):console.log("no more")},listRefresh:function(e,t){var n=this;e||(e=0),t||(t=this.limit),this.loading=!0;var a=this.currentDir?this.currentDir:"";this.dataLoader(a,e,t).then((function(a){0==e?(n.rows=a.list,n.offset=t):(n.rows=n.rows.concat(a.list),n.offset+=n.limit),n.total=a.total,n.loading=!1}))},buildQuery:function(e){e.startsWith(this.rootDir)&&(e=e.replace(this.rootDir,""));var t=e?{dir:e}:{};return{query:t}},onClick:function(e,t){var n=this;"folder"!=e?this.linkLoader(t).then((function(a){switch(e){case"media":n.selected=t,n.selected.url=a,n.mediavv=!0;break;case"image":n.$refs.photoView.open(a);break;case"doc":window.open("http://view.officeapps.live.com/op/view.aspx?src="+encodeURIComponent(a));break}})):this.$router.push(this.buildQuery(t.fullpath))}},mounted:function(){this.currentDir=this.$route.query.dir?this.$route.query.dir:""}},ae=ne,oe=(n("a22d"),Object(c["a"])(ae,_,C,!1,null,"68e25eea",null)),re=oe.exports,ie={FileExplorer:re},se=function(e,t){Object.keys(ie).forEach((function(t){e.component(t,ie[t])}))},ce=se;a["default"].use(ce);var le=n("b311"),ue=n.n(le);a["default"].prototype.$clipboard=new ue.a(".copy-link");n("2dfc");var de=n("afa7");a["default"].use(de["a"],{plyr:{},emit:["ended"]});var pe=n("d225"),fe=n("b0b4"),me={baseURL:"/api"},he=h.a.create(me);he.interceptors.response.use((function(e){return e.data}),(function(e){if(e.response&&401==e.response.status)return window.location="/u/signin",Promise.reject("invalid login status");if(e.response&&520==e.response.status)return Promise.reject(e);var t=e.message;return e.response&&(t=e.response.data.msg),v["Notification"].error(t),Promise.reject(e)}));var ve=he,be=function(){function e(){Object(pe["a"])(this,e)}return Object(fe["a"])(e,[{key:"installDatabase",value:function(e){return ve.put("/system/database",e)}},{key:"createAdministrator",value:function(e){return ve.put("/system/account",e)}},{key:"optGet",value:function(e){return ve.get("/system/options/".concat(e))}},{key:"optSave",value:function(e,t){return ve.put("/system/options/".concat(e),t)}},{key:"matterPathEnvs",value:function(){return ve.get("/system/matter-path-envs")}},{key:"providers",value:function(){return ve.get("/system/providers")}}]),e}(),ye=be,we=function(){function e(){Object(pe["a"])(this,e)}return Object(fe["a"])(e,[{key:"signup",value:function(e){return ve.post("/users",e)}},{key:"activate",value:function(e,t){var n={token:t,activated:!0};return ve.patch("/users/".concat(e),n)}},{key:"applyPasswordReset",value:function(e){var t={email:e};return ve.post("/tokens",t)}},{key:"passwordReset",value:function(e,t,n){var a={token:t,password:n};return ve.patch("/users/".concat(e),a)}},{key:"signin",value:function(e){return ve.post("/tokens",e)}},{key:"signout",value:function(){return ve.delete("/tokens")}},{key:"profileGet",value:function(){return ve.get("/user")}},{key:"updateProfile",value:function(e){return ve.put("/user/profile",e)}},{key:"updatePassword",value:function(e){return ve.put("/user/password",e)}},{key:"list",value:function(e){return ve.get("/users",{params:e})}},{key:"find",value:function(e){return ve.get("/users/".concat(e))}},{key:"delete",value:function(e){return ve.delete("/users/".concat(e))}},{key:"updatePasswordByUser",value:function(e,t){return ve.put("/users/".concat(e,"/password"),t)}},{key:"updateStorageByUser",value:function(e,t){return ve.put("/users/".concat(e,"/storage"),t)}},{key:"updateStatusByUser",value:function(e,t){return ve.put("/users/".concat(e,"/status"),t)}}]),e}(),ge=we,ke=function(){function e(){Object(pe["a"])(this,e)}return Object(fe["a"])(e,[{key:"create",value:function(e){return ve.post("/user/keys",{name:e})}},{key:"list",value:function(e){return ve.get("/user/keys",{params:e})}},{key:"find",value:function(e){return ve.get("/user/keys/".concat(e))}},{key:"delete",value:function(e){return ve.delete("/user/keys/".concat(e))}},{key:"resetSecret",value:function(e,t){return ve.patch("/user/keys/".concat(e,"/secret"),t)}}]),e}(),_e=ke,Ce=function(){function e(){Object(pe["a"])(this,e)}return Object(fe["a"])(e,[{key:"list",value:function(e){return ve.get("/storages",{params:e})}},{key:"find",value:function(e){return ve.get("/storages/".concat(e))}},{key:"create",value:function(e){return ve.post("/storages",e)}},{key:"update",value:function(e){return ve.put("/storages/".concat(e.id),e)}},{key:"delete",value:function(e){return ve.delete("/storages/".concat(e))}}]),e}(),Se=Ce,xe=(n("7f7f"),n("b54a"),n("90fe")),Oe=function(){function e(){Object(pe["a"])(this,e)}return Object(fe["a"])(e,[{key:"upload",value:function(e,t,n,a){var o=this,r=t.file,i={sid:e,name:t.filename,type:r.type,size:r.size,dir:n};return new Promise((function(e,n){o.create(i).then((function(o){var r=o.data;xe["a"].upload(t,r.link,r.headers,a).then((function(){ve.patch("/matters/".concat(r.alias,"/done")).then((function(t){e(t)}))})).catch(n)})).catch(n)}))}},{key:"findLink",value:function(e){return new Promise((function(t,n){ve.get("/matters/".concat(e,"/link")).then((function(e){t(e.data)})).catch(n)}))}},{key:"download",value:function(e){var t=this;return new Promise((function(n,a){t.findLink(e).then((function(e){xe["a"].download(e.name,e.link).then((function(){n(e)})).catch(a)}))}))}},{key:"create",value:function(e){return ve.post("/matters",e)}},{key:"list",value:function(e){return new Promise((function(t,n){ve.get("/matters",{params:e}).then((function(e){var n=e.data;n.list=n.list.map((function(e){return e.size=xe["a"].formatBytes(e.size,1),e.fullpath="".concat(e.parent).concat(e.name),e.dirtype&&(e.fullpath+="/"),e})),t(n)})).catch(n)}))}},{key:"rename",value:function(e,t){return ve.patch("/matters/".concat(e,"/name"),{name:t})}},{key:"move",value:function(e,t){return ve.patch("/matters/".concat(e,"/location"),{dir:t})}},{key:"copy",value:function(e,t){return ve.patch("/matters/".concat(e,"/duplicate"),{path:t})}},{key:"delete",value:function(e){return ve.delete("/matters/".concat(e))}}]),e}(),Be=Oe,je=function(){function e(){Object(pe["a"])(this,e)}return Object(fe["a"])(e,[{key:"list",value:function(e){return ve.get("/shares",{params:e})}},{key:"find",value:function(e){return ve.get("/shares/".concat(e))}},{key:"create",value:function(e){return ve.post("/shares",e)}},{key:"remove",value:function(e){return ve.delete("/shares/".concat(e))}},{key:"draw",value:function(e,t){return ve.post("/shares/".concat(e,"/token"),{secret:t})}},{key:"findMatter",value:function(e){return ve.get("/shares/".concat(e,"/matter"))}},{key:"listMatters",value:function(e,t){return ve.get("/shares/".concat(e,"/matters"),{params:t})}}]),e}(),De=je,Pe=function(){function e(){Object(pe["a"])(this,e)}return Object(fe["a"])(e,[{key:"list",value:function(e){return new Promise((function(t,n){ve.get("/recycles",{params:e}).then((function(e){var n=e.data;t(n)})).catch(n)}))}},{key:"recovery",value:function(e){return ve.put("/recycles/".concat(e))}},{key:"delete",value:function(e){return ve.delete("/recycles/".concat(e))}},{key:"clean",value:function(e){return ve.delete("/recycles",{params:{sid:e}})}}]),e}(),Ee=Pe,$e=new ye,Ne=new ge,Ue=new _e,ze=new Se,Me=new Be,Re=new De,Le=new Ee,Ae={System:$e,User:Ne,UserKey:Ue,Storage:ze,File:Me,Share:Re,Recyclebin:Le},Te={install:function(e,t){e.zpan=Ae,window.zpan=Ae,Object.defineProperties(e.prototype,{zpan:{get:function(){return Ae}},$zpan:{get:function(){return Ae}}})}};a["default"].use(Te);a["default"].config.productionTip=!1,new a["default"]({i18n:d["a"],router:f["a"],store:p["a"],render:function(e){return e(u)}}).$mount("#app")},"64a9":function(e,t,n){},"90fe":function(e,t,n){"use strict";n("7f7f"),n("a481"),n("f559");var a=n("bc3a"),o=n.n(a),r={upload:function(e,t,n,a){var r=e.file;return new Promise((function(i,s){var c=o.a.CancelToken,l={headers:n,cancelToken:new c(a),onUploadProgress:function(t){r.percent=t.loaded/t.total*100,e.onProgress&&e.onProgress(r)}};window.axios.put(t,r,l).then((function(t){e.onSuccess&&e.onSuccess(),i(t)})).catch(s)}))},download:function(e,t){return new Promise((function(n,a){var o=document.createElement("a");o.href=t,o.download=e,o.click(),n()}))},formatBytes:function(e,t){if(0==e)return"0 Bytes";var n=1024,a=t+1||3,o=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],r=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,r)).toFixed(a))+" "+o[r]},setupPasteUpload:function(e){document.addEventListener("paste",(function(t){var n=null;if((t.clipboardData||t.originalEvent)&&(n=t.clipboardData||t.originalEvent.clipboardData),n&&n.items){t.preventDefault();var a=n.items[0];if(!a.type.startsWith("image"))return;var o=a.getAsFile(),r=o.name.replace("image",(new Date).getTime());e({file:o,filename:r})}}))},bytesUnits:function(){var e=1024,t=1024*e,n=1024*t,a=1024*n,o=1024*a,r=[{label:"KB",value:e},{label:"MB",value:t},{label:"GB",value:n},{label:"TB",value:a},{label:"PB",value:o}];return r},formatBytes2:function(e,t){var n={num:0,unitLabel:"Bytes",unitValue:0,format:function(){return"".concat(n.num," ").concat(n.unitLabel)}};if(!e)return n;for(var a=e,o=0;a>=1024;o++)a/=1024;var r=t+1||3;return n.num=parseFloat(a).toFixed(r),n.unitLabel=this.bytesUnits()[o-1].label,n.unitValue=this.bytesUnits()[o-1].value,Object.assign({},n)}};t["a"]=r},9225:function(e,t,n){"use strict";n.d(t,"b",(function(){return l}));n("4917"),n("ac6a");var a=n("a026"),o=n("a925");a["default"].use(o["a"]);var r="zpan-locale",i=n("49f8");function s(){var e={};return i.keys().forEach((function(t){var n=t.match(/([A-Za-z0-9-_]+)\./i);if(n&&n.length>1){var a=n[1];e[a]=i(t)}})),e}var c=new o["a"]({locale:"en",fallbackLocale:"en",messages:s()}),l=function(e){var t=localStorage.getItem(r);e?(t=e,localStorage.setItem(r,t)):t||(t=navigator.language),a["default"].config.locale=t,c.locale=t};l(),t["a"]=c},a22d:function(e,t,n){"use strict";n("54c7")},a604:function(e,t,n){"use strict";n("d57f")},ac82:function(e,t,n){"use strict";n("338e")},c0d6:function(e,t,n){"use strict";var a=n("a026"),o=n("2f62");a["default"].use(o["a"]),t["a"]=new o["a"].Store({state:{storages:[],cs:{}},mutations:{storages:function(e,t){e.storages=t},cs:function(e,t){e.cs=t}},actions:{}})},d57f:function(e,t,n){},edd4:function(e){e.exports=JSON.parse('{"click-copy-link":"Click copy link","copy-link":"Copy Link","create-folder":"New Folder","day":"Days","op":{"close":"Close","confirm":"Confirm","cancel":"Cancel","enable":"Enable","disable":"Disable","rename":"Rename","delete":"Delete","batch-delete":"Batch Delete"},"msg":{"success":"Success","failed":"Failed","batch-delete-success":"Batch deleted!","create-success":"Created!","delete-success":"Deleted!","move-success":"Moved!","copy-success":"Copied!","copy-failed":"Copy failed","rename-success":"Renamed!","save-success":"Saved!","clean-success":"Cleaned!","recovery-success":"Recoveried!"},"dialog":{"moveto-title":"MoveTo","outlink-title":"Outlink","share-drawcode":"Draw Code","share-drawcode-switch":"Protect","share-expire-time":"Expire Time","share-link":"Link Address","share-title":"Share Link","upload-click":"click to upload","upload-tips":"Drag the file here, or","upload-title":"Upload Queue"},"disk":{"delete":"Delete","download":"Download","folder":"New Folder","upload":"Upload"},"ft":{"breadcrumb":"All files"},"ftb":{"move":"MoveTo","remove":"Remove","rename":"Rename"},"fth":{"name":"Name","size":"Size","updated":"LastUpdated"},"leftnav":{"audio":"Audios","doc":"Documents","files":"All Files","image":"Pictures","share":"Shares","recyclebin":"Recycle Bin","storage":"Storage","video":"Videos"},"share":{"auto-download-tips":"Your file has started downloading, if it has not started, please click here to try again","created":"ShareTime","drawcode":"DrawCode","drawcode-placeholder":"Please input your draw code","drawfile":"Draw","expired":"ExpireTime","link":"ShareLink","name":"Name"},"recyclebin":{"recovery":"Recover file(s)?","delete":"Delete forever?","clean":"Empty the recycle bin"},"tips":{"batch-delete":"This operation will permanently delete the selected files, do you want to continue?","create-folder":"Please input folder name","remove":"This operation will permanently delete the file, do you want to continue?","rename":"Please input newly name","recyclebin":"Tip: The recycle bin also occupies the network disk space, please clean it up in time~","recovery":"Are you sure you want to recover the selected file(s)?","delete":"Deleted files cannot be recovered, are you sure you want to permanently delete the selected file(s)?","clean":"Are you sure to empty the Recycle Bin?","deleting":"Deleting..."},"topbar":{"netdisk":"Netdisk","imghosting":"Image Hosting","search":"Searching...","profile":"Profile","settings":"Settings","s-platform":"Manage Panel","signout":"Sign out"},"title":{"disk":"My Files","share":"My Shares","recyclebin":"Recycle Bin","picture":"Image Hosting","storage-quota":"Storage Quota"},"year":"Years","admin":{"search-placeholder":"Input the email...","storage-search-placeholder":"Input the storage...","btn-user-add":"Add User","btn-quota-update":"Change Quota","btn-storage-add":"Create Storage","btn-edit":"Edit","label-nickname":"Nickname","label-email":"Email","label-role":"Role","label-status":"Status","label-storage":"Quota","label-operation":"Operation","label-quota":"Storage Quota","label-quota-change":"Quota Change","label-password-reset":"Password Reset","label-storage-manager":"Storage","label-name":"Name","label-title":"Label","label-intro":"Intro","label-bucket":"Bucket","label-endpoint":"Endpoint","label-region":"Region","label-custom_host":"CustomHost","label-access_key":"AccessKey","label-secret_key":"SecretKey"},"cloudplatform":{"COS":"TencentCloud","KODO":"QiniuCloud","MINIO":"Self-hosted","NOS":"Netease","OBS":"HuaweiCloud","OSS":"AliyunCloud","S3":"AWSCloud","US3":"UColud","USS":"UPYun"}}')},fd21:function(e,t,n){var a={"./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9"};function o(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=r,e.exports=o,o.id="fd21"}}]); +//# sourceMappingURL=chunk-common.094a2972.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-common.094a2972.js.map b/web/dist/js/chunk-common.094a2972.js.map new file mode 100644 index 0000000..5e76d17 --- /dev/null +++ b/web/dist/js/chunk-common.094a2972.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/App.vue?5b85","webpack:///./src/router.js","webpack:///./src/locales sync [A-Za-z0-9-_,\\s]+\\.json$/","webpack:///./src/App.vue?14f9","webpack:///src/App.vue","webpack:///./src/App.vue?a7d1","webpack:///./src/App.vue","webpack:///./src/plugins/axios.js","webpack:///./src/plugins/moment.js","webpack:///./src/plugins/element.js","webpack:///./src/components/FileExplorer/FileExplorer.vue?0639","webpack:///./src/components/FileExplorer/explorer/GridExplorer.vue?25a1","webpack:///./src/components/FileExplorer/explorer/mixin.js","webpack:///src/components/FileExplorer/explorer/GridExplorer.vue","webpack:///./src/components/FileExplorer/explorer/GridExplorer.vue?34ff","webpack:///./src/components/FileExplorer/explorer/GridExplorer.vue","webpack:///./src/components/FileExplorer/explorer/ListExplorer.vue?ad13","webpack:///src/components/FileExplorer/explorer/ListExplorer.vue","webpack:///./src/components/FileExplorer/explorer/ListExplorer.vue?354f","webpack:///./src/components/FileExplorer/explorer/ListExplorer.vue","webpack:///./src/components/FileViewer/Media.vue?b940","webpack:///src/components/FileViewer/Media.vue","webpack:///./src/components/FileViewer/Media.vue?e246","webpack:///./src/components/FileViewer/Media.vue","webpack:///./src/components/FileViewer/Picture.vue?e4e4","webpack:///src/components/FileViewer/Picture.vue","webpack:///./src/components/FileViewer/Picture.vue?90eb","webpack:///./src/components/FileViewer/Picture.vue","webpack:///src/components/FileExplorer/FileExplorer.vue","webpack:///./src/components/FileExplorer/FileExplorer.vue?b029","webpack:///./src/components/FileExplorer/FileExplorer.vue","webpack:///./src/components/FileExplorer/index.js","webpack:///./src/plugins/fileexplorer.js","webpack:///./src/plugins/clipboard.js","webpack:///./src/plugins/plyr.js","webpack:///./src/libs/zpan/axios.js","webpack:///./src/libs/zpan/system.js","webpack:///./src/libs/zpan/user.js","webpack:///./src/libs/zpan/userKey.js","webpack:///./src/libs/zpan/storage.js","webpack:///./src/libs/zpan/matter.js","webpack:///./src/libs/zpan/share.js","webpack:///./src/libs/zpan/recyclebin.js","webpack:///./src/libs/zpan/index.js","webpack:///./src/plugins/zpan.js","webpack:///./src/main.js","webpack:///./src/libs/utils.js","webpack:///./src/i18n.js","webpack:///./src/components/FileExplorer/FileExplorer.vue?23c9","webpack:///./src/components/FileExplorer/explorer/ListExplorer.vue?0292","webpack:///./src/components/FileExplorer/explorer/GridExplorer.vue?3d3c","webpack:///./src/store.js","webpack:///./node_modules/moment/locale sync en"],"names":["Vue","use","Router","router","mode","routes","path","name","component","children","meta","title","setTitle","next","zpan","System","optGet","then","ret","sOpt","data","fullTitle","window","document","i18n","locale","catch","error","response","status","beforeEach","to","from","t","afterEach","scrollTo","map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","watch","computed","methods","mounted","$clipboard","on","clearSelection","beforeDestroy","destroy","config","_axios","axios","create","interceptors","request","Promise","reject","isCancel","location","msg","message","Notification","console","log","Plugin","install","options","defineProperties","prototype","get","$axios","$moment","moment","filter","value","formatString","format","String","Element","staticClass","_l","item","key","dir","buildQuery","_v","_s","staticStyle","loadedtips","layout","loading","moreButtons","onClick","model","callback","$$v","rows","expression","rowButtons","onScrollEnd","onSelectionChange","mediavv","$event","selected","ref","alias","onNameClick","class","type2icon","type","mixin","props","Array","nval","oval","isOfficeFile","officeTypes","includes","officeIcon","docTypes","excelTypes","pptTypes","split","t1","t2","mt","codeTypes","compressedFileTypes","gt","dirtype","$emit","startsWith","mixins","selection","onSelectable","row","handleCommand","command","action","directives","rawName","$t","scopedSlots","_u","fn","scope","shown","length","slot","size","_f","updated","show","onOpen","onClose","mediatype","url","visible","Boolean","default","n","player","play","stop","filetype","$refs","_m","open","items","index","pswpElement","querySelectorAll","gallery","init","components","GridExplorer","ListExplorer","MediaViewer","PictureViewer","dataLoader","Function","linkLoader","rootDir","currentDir","offset","limit","total","$route","nv","ov","listRefresh","breadcrumb","root","forEach","push","parentDir","loadedNum","onRouteChange","newVal","query","replace","obj","encodeURIComponent","link","$router","fullpath","FileExplorer","Clipboard","VuePlyr","plyr","emit","baseURL","zSystem","database","put","user","form","User","body","post","email","token","activated","patch","newpwd","password","delete","params","username","UserKey","zStorage","zMatter","sid","fileObj","distDir","cancel","file","filename","utils","upload","headers","findLink","download","list","formatBytes","parent","newDir","newPath","zShare","drawcode","secret","zRecyclebin","zUser","zUserKey","Storage","File","zFile","Share","Recyclebin","Zpan","$zpan","productionTip","store","render","h","App","$mount","destURL","CancelToken","cancelToken","onUploadProgress","event","percent","loaded","onProgress","onSuccess","a","createElement","href","click","bytes","decimals","k","dm","sizes","i","Math","floor","parseFloat","pow","toFixed","setupPasteUpload","fileCallback","addEventListener","clipboardData","originalEvent","preventDefault","getAsFile","Date","getTime","bytesUnits","KB","MB","GB","TB","PB","units","label","formatBytes2","object","num","unitLabel","unitValue","v","idx","assign","VueI18n","LOCALE_KEY","locales","require","loadLocaleMessages","messages","matched","match","process","fallbackLocale","setup","lang","localStorage","getItem","setItem","navigator","language","Vuex","Store","state","storages","cs","mutations","actions"],"mappings":"uJAAA,W,gJCKAA,aAAIC,IAAIC,QAER,IAAIC,EAAS,IAAID,OAAO,CACtBE,KAAM,UACNC,OAAQ,CACN,CAAEC,KAAM,IAAKC,KAAM,OAAQC,UAAW,kBAAM,kDAC5C,CAAEF,KAAM,WAAYC,KAAM,YAAaC,UAAW,kBAAM,kDACxD,CACEF,KAAM,UACNE,UAAW,kBAAM,iDACjBC,SAAU,CACR,CAAEH,KAAM,IAAKC,KAAM,OAAQC,UAAW,kBAAM,kDAC5C,CAAEF,KAAM,MAAOC,KAAM,MAAOC,UAAW,kBAAM,kDAC7C,CAAEF,KAAM,QAASC,KAAM,QAASC,UAAW,kBAAM,kDACjD,CAAEF,KAAM,aAAcC,KAAM,aAAcC,UAAW,kBAAM,oDAG/D,CAAEF,KAAM,YAAaC,KAAM,aAAcC,UAAW,kBAAM,kDAC1D,CAAEF,KAAM,iBAAkBC,KAAM,aAAcC,UAAW,kBAAM,kDAC/D,CACEF,KAAM,YACNE,UAAW,kBAAM,iDACjBC,SAAU,CACR,CAAEH,KAAM,UAAWC,KAAM,UAAWC,UAAW,kBAAM,kDACrD,CAAEF,KAAM,WAAYC,KAAM,WAAYC,UAAW,kBAAM,kDACvD,CAAEF,KAAM,YAAaC,KAAM,YAAaC,UAAW,kBAAM,oDAG7D,CACEF,KAAM,SACNE,UAAW,kBAAM,iDACjBC,SAAU,CACR,CAAEH,KAAM,YAAaC,KAAM,QAASC,UAAW,kBAAM,kDACrD,CAAEF,KAAM,QAASC,KAAM,QAASC,UAAW,kBAAM,kDACjD,CAAEF,KAAM,WAAYC,KAAM,WAAYC,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AUR,EACzBS,EAAOC,QAAUb,EACjBA,EAAeE,GAAK","file":"js/chunk-common.094a2972.js","sourcesContent":["export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","import Vue from 'vue'\nimport Router from 'vue-router'\nimport i18n from './i18n'\nimport store from './store'\n\nVue.use(Router)\n\nlet router = new Router({\n mode: 'history',\n routes: [\n { path: '/', name: 'home', component: () => import('./views/home') },\n { path: '/install', name: 'installer', component: () => import('./views/installer') },\n {\n path: '/:sname',\n component: () => import('./views/home'),\n children: [\n { path: '/', name: 'disk', component: () => import('./views/home/disk') },\n { path: 'pic', name: 'pic', component: () => import('./views/home/picture') },\n { path: 'share', name: 'share', component: () => import('./views/home/share') },\n { path: 'recyclebin', name: 'recyclebin', component: () => import('./views/home/recyclebin') },\n ]\n },\n { path: '/s/:alias', name: 'share-info', component: () => import('./views/home/share/home.vue') },\n { path: '/s/:alias/draw', name: 'share-draw', component: () => import('./views/home/share/draw.vue') },\n {\n path: '/settings',\n component: () => import('./views/settings'),\n children: [\n { path: 'profile', name: 'profile', component: () => import('./views/settings/profile') },\n { path: 'security', name: 'security', component: () => import('./views/settings/security') },\n { path: 'developer', name: 'developer', component: () => import('./views/settings/developer') },\n ]\n },\n {\n path: '/admin',\n component: () => import('./views/admin/index.vue'),\n children: [\n { path: 'dashboard', name: 'admin', component: () => import('./views/admin/home') },\n { path: 'users', name: 'users', component: () => import('./views/admin/users') },\n { path: 'storages', name: 'storages', component: () => import('./views/admin/storages') },\n { path: 'settings', name: 'settings', component: () => import('./views/admin/settings') },\n { path: 'settings/email', name: 'settings-email', component: () => import('./views/admin/settings/email.vue') },\n ]\n },\n {\n path: \"/u\",\n component: () => import('./views/login'),\n children: [\n { path: 'signin', name: 'signin', meta: { title: \"用户登录\" }, component: () => import('./views/login/Signin.vue') },\n { path: 'signout', name: 'signout', meta: { title: \"用户登出\" }, component: () => import('./views/login/Signout.vue') },\n { path: 'signin/:token64', name: 'activate', meta: { title: \"账户激活\" }, component: () => import('./views/login/Activate.vue') },\n { path: 'signup', name: 'signup', meta: { title: \"用户注册\" }, component: () => import('./views/login/Signup.vue') },\n { path: 'password-reset', name: 'reset_apply', meta: { title: \"密码找回\" }, component: () => import('./views/login/ResetApply.vue') },\n { path: 'password-reset/:token64', name: 'reset_confirm', meta: { title: \"密码找回\" }, component: () => import('./views/login/ResetConfirm.vue') },\n ]\n },\n ]\n})\n\nconst setTitle = (title, next) => {\n Vue.zpan.System.optGet(\"core.site\").then(ret => {\n let sOpt = ret.data\n let fullTitle = sOpt.name\n if (title) {\n fullTitle += `- ${title}`\n }\n window.document.title = fullTitle;\n i18n.locale = sOpt.locale\n }).catch(error => {\n if (error.response && error.response.status == 520) {\n next({ name: \"installer\" })\n return\n }\n });\n}\n\nrouter.beforeEach((to, from, next) => {\n setTitle(i18n.t(`title.${to.name}`), next);\n\n next()\n});\n\nrouter.afterEach(() => {\n window.scrollTo(0, 0);\n});\n\n\nexport default router","var map = {\n\t\"./en.json\": \"edd4\",\n\t\"./zh-CN.json\": \"423e\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"49f8\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-view',{attrs:{\"id\":\"app\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=5b09ae9e&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\"use strict\";\n\nimport Vue from 'vue';\nimport axios from \"axios\";\nimport { Notification } from 'element-ui';\n\n// Full config: https://github.com/axios/axios#request-config\n// axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || '';\n// axios.defaults.headers.common['Authorization'] = AUTH_TOKEN;\n// axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';\n\nlet config = {\n // baseURL: process.env.baseURL || process.env.apiUrl || \"\"\n // timeout: 60 * 1000, // Timeout\n // withCredentials: true, // Check cross-site Access-Control\n};\n\nconst _axios = axios.create(config);\n\n_axios.interceptors.request.use(\n function (config) {\n // Do something before request is sent\n return config;\n },\n function (error) {\n // Do something with request error\n return Promise.reject(error);\n }\n);\n\n// Add a response interceptor\n_axios.interceptors.response.use(\n function (response) {\n // Do something with response data\n return response.data;\n },\n function (error) {\n if (axios.isCancel(error)) {\n console.log(error.message ? error.message : \"Request canceled\");\n return\n }\n\n if (error.response && error.response.status == 401) {\n window.location = \"/moreu/signin\"\n return Promise.reject(\"invalid login status\");\n }\n\n let msg = error.message\n if (error.response) {\n msg = error.response.data.msg\n }\n\n Notification.error(msg)\n return Promise.reject(error);\n }\n);\n\nPlugin.install = function (Vue, options) {\n Vue.axios = _axios;\n window.axios = _axios;\n Object.defineProperties(Vue.prototype, {\n axios: {\n get() {\n return _axios;\n }\n },\n $axios: {\n get() {\n return _axios;\n }\n },\n });\n};\n\nVue.use(Plugin)\n\nexport default Plugin;\n","import Vue from 'vue'\nimport moment from 'moment';\n\nVue.prototype.$moment = moment;\nVue.filter('moment', function (value, formatString) {\n formatString = formatString || 'YYYY-MM-DD HH:mm:ss';\n return moment(value).format(formatString);\n});\n\nif (!String.prototype.moment) {\n String.prototype.moment = function (formatString) {\n formatString = formatString || 'YYYY-MM-DD HH:mm:ss';\n return moment(this).format(formatString);\n };\n}\n","import Vue from 'vue'\nimport Element from 'element-ui'\nimport 'element-ui/lib/theme-chalk/index.css'\n\nVue.use(Element)\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-row',{staticClass:\"header\"},[_c('el-breadcrumb',{staticClass:\"bread\",attrs:{\"separator-class\":\"el-icon-arrow-right\"}},_vm._l((_vm.breadcrumb),function(item){return _c('el-breadcrumb-item',{key:item.dir,attrs:{\"index\":item.dir,\"to\":_vm.buildQuery(item.dir)}},[_vm._v(_vm._s(item.name))])}),1),_c('span',{staticClass:\"loadtips\",staticStyle:{\"float\":\"right\"}},[_vm._v(_vm._s(_vm.loadedtips))])],1),(_vm.layout == 'grid')?_c('GridExplorer',{attrs:{\"loading\":_vm.loading,\"moreButtons\":_vm.moreButtons},on:{\"on-click\":_vm.onClick},model:{value:(_vm.rows),callback:function ($$v) {_vm.rows=$$v},expression:\"rows\"}}):_c('ListExplorer',{attrs:{\"loading\":_vm.loading,\"rowButtons\":_vm.rowButtons,\"moreButtons\":_vm.moreButtons},on:{\"on-click\":_vm.onClick,\"scroll-end\":_vm.onScrollEnd,\"selection-change\":_vm.onSelectionChange},model:{value:(_vm.rows),callback:function ($$v) {_vm.rows=$$v},expression:\"rows\"}}),_c('MediaViewer',{attrs:{\"visible\":_vm.mediavv},on:{\"close\":function($event){_vm.mediavv = false}},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}}),_c('PictureViewer',{ref:\"photoView\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"explorer\"},_vm._l((_vm.data),function(item){return _c('div',{key:item.alias,staticClass:\"explorer-item\",on:{\"click\":function($event){return _vm.onNameClick(item)}}},[(item.dirtype)?_c('i',{staticClass:\"matter-icon el-icon-folder\",staticStyle:{\"color\":\"#ffc402\"}}):_c('i',{class:(\"iconfont \" + (_vm.type2icon(item.type)))}),_c('p',[_vm._v(_vm._s(item.name))])])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","const mixin = {\n props: {\n value: Array,\n loading: false,\n\n rowButtons: Array,\n moreButtons: Array\n },\n data() {\n return {\n data: [],\n }\n },\n watch: {\n value(nval, oval) {\n this.data = nval;\n },\n },\n methods: {\n isOfficeFile(type) {\n let officeTypes = [\"application/msword\", \"application/vnd.ms-excel\", \"application/vnd.ms-powerpoint\", \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\", \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\", \"application/vnd.openxmlformats-officedocument.presentationml.presentation\"];\n return officeTypes.includes(type);\n },\n officeIcon(type) {\n let docTypes = [\"application/msword\", \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\"];\n let excelTypes = [\"application/vnd.ms-excel\", \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"];\n let pptTypes = [\"application/vnd.ms-powerpoint\", \"application/vnd.openxmlformats-officedocument.presentationml.presentation\"]\n if (docTypes.includes(type)) {\n return 'icon-doc'\n } else if (excelTypes.includes(type)) {\n return 'icon-excel'\n } else if (pptTypes.includes(type)) {\n return 'icon-ppt'\n }\n\n },\n type2icon(type) {\n console.log(type)\n let [t1, t2] = type.split('/')\n let mt = ['pdf', 'html', 'xml', 'psd', 'rtf']\n if (mt.includes(t2)) {\n return `icon-${t2}`\n }\n\n let codeTypes = ['json', 'yaml', 'x-yaml']\n if (codeTypes.includes(t2)) {\n return 'icon-html'\n }\n\n let compressedFileTypes = ['zip', 'x-gzip']\n if (compressedFileTypes.includes(t2)) {\n return 'icon-compressed-file'\n }\n\n if (this.isOfficeFile(type)) {\n return this.officeIcon(type)\n }\n\n let gt = ['audio', 'video', 'image', 'text']\n if (gt.includes(t1)) {\n return `icon-${t1}`\n }\n\n return 'icon-file'\n },\n onNameClick(item) {\n // open a folder\n if (item.dirtype) {\n this.$emit(\"on-click\", 'folder', item)\n return;\n }\n\n // preview image file\n if (item.type.startsWith(\"image\")) {\n this.$emit(\"on-click\", 'image', item)\n return;\n }\n\n // preview media file\n if (item.type.startsWith(\"audio\") || item.type.startsWith(\"video\")) {\n this.$emit(\"on-click\", 'media', item)\n return;\n }\n\n // preview office file\n if (this.isOfficeFile(item.type)) {\n this.$emit(\"on-click\", 'doc', item)\n return;\n }\n },\n }\n}\n\nexport default mixin","\n\n\n\ns","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GridExplorer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GridExplorer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GridExplorer.vue?vue&type=template&id=27e97df8&scoped=true&\"\nimport script from \"./GridExplorer.vue?vue&type=script&lang=js&\"\nexport * from \"./GridExplorer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GridExplorer.vue?vue&type=style&index=0&id=27e97df8&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"27e97df8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"},{name:\"el-table-infinite-scroll\",rawName:\"v-el-table-infinite-scroll\",value:(_vm.onScrollEnd),expression:\"onScrollEnd\"}],staticStyle:{\"width\":\"100%\"},attrs:{\"height\":\"calc(100% - 55px)\",\"tooltip-effect\":\"dark\",\"size\":\"small\",\"data\":_vm.data,\"highlight-current-row\":\"\"},on:{\"selection-change\":_vm.onSelectionChange}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"30\",\"selectable\":_vm.onSelectable}}),_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":_vm.$t('fth.name'),\"min-width\":\"200\",\"show-overflow-tooltip\":\"\",\"sortable\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.dirtype)?_c('i',{staticClass:\"matter-icon el-icon-folder\",staticStyle:{\"color\":\"#ffc402\"}}):_c('i',{class:(\"iconfont matter-icon \" + (_vm.type2icon(scope.row.type)))}),_c('el-link',{staticClass:\"matter-title\",attrs:{\"underline\":false,\"href\":\"Javascript: void(0);\"}},[_c('span',{on:{\"click\":function($event){return _vm.onNameClick(scope.row)}}},[_vm._v(_vm._s(scope.row.name))])])]}}])}),_c('el-table-column',{attrs:{\"width\":\"150\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"operation\",staticStyle:{\"float\":\"right\",\"vertical-align\":\"super\"}},[_vm._l((_vm.rowButtons),function(item){return _c('el-link',{directives:[{name:\"show\",rawName:\"v-show\",value:(!item.shown || item.shown(scope.row)),expression:\"!item.shown || item.shown(scope.row)\"}],key:item.name,attrs:{\"type\":\"primary\",\"underline\":false}},[_c('i',{class:((item.icon) + \" el-icon--right\"),on:{\"click\":function($event){return item.action(scope.row)}}})])}),_c('el-dropdown',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.moreButtons && _vm.moreButtons.length > 0),expression:\"moreButtons && moreButtons.length > 0\"}],attrs:{\"trigger\":\"click\"},on:{\"command\":_vm.handleCommand}},[_c('el-link',{staticClass:\"el-dropdown-link\",attrs:{\"type\":\"primary\",\"underline\":false}},[_c('i',{staticClass:\"el-icon-more el-icon--right\"})]),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},_vm._l((_vm.moreButtons),function(item){return _c('el-dropdown-item',{key:item.name,attrs:{\"command\":{ action: item.action, row: scope.row }}},[_vm._v(\"\\n \"+_vm._s(item.title)+\"\\n \")])}),1)],1)],2)]}}])}),_c('el-table-column',{attrs:{\"prop\":\"size\",\"label\":_vm.$t('fth.size'),\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.dirtype)?_c('div',[_vm._v(\"-\")]):_c('div',[_vm._v(_vm._s(scope.row.size))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"updated\",\"label\":_vm.$t('fth.updated'),\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(_vm._s(_vm._f(\"moment\")(scope.row.updated)))]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListExplorer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListExplorer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ListExplorer.vue?vue&type=template&id=0e9f5599&scoped=true&\"\nimport script from \"./ListExplorer.vue?vue&type=script&lang=js&\"\nexport * from \"./ListExplorer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ListExplorer.vue?vue&type=style&index=0&id=0e9f5599&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0e9f5599\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"title\":_vm.value.name,\"visible\":_vm.show,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.show=$event},\"opened\":_vm.onOpen,\"close\":_vm.onClose}},[_c('vue-plyr',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.mediatype == 'audio'),expression:\"mediatype == 'audio'\"}],ref:\"audio\"},[_c('audio',{attrs:{\"src\":_vm.value.url}})]),_c('vue-plyr',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.mediatype == 'video'),expression:\"mediatype == 'video'\"}],ref:\"video\"},[_c('video',{attrs:{\"src\":_vm.value.url}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Media.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Media.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Media.vue?vue&type=template&id=3105fd16&\"\nimport script from \"./Media.vue?vue&type=script&lang=js&\"\nexport * from \"./Media.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pswp\",attrs:{\"tabindex\":\"0\",\"role\":\"dialog\",\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"pswp__bg\"}),_c('div',{staticClass:\"pswp__scroll-wrap\"},[_c('div',{staticClass:\"pswp__container\"},[_c('div',{staticClass:\"pswp__item\"}),_c('div',{staticClass:\"pswp__item\"}),_c('div',{staticClass:\"pswp__item\"})]),_c('div',{staticClass:\"pswp__ui pswp__ui--hidden\"},[_c('div',{staticClass:\"pswp__top-bar\"},[_c('div',{staticClass:\"pswp__counter\"}),_c('button',{staticClass:\"pswp__button pswp__button--close\",attrs:{\"title\":\"Close (Esc)\"}}),_c('button',{staticClass:\"pswp__button pswp__button--share\",attrs:{\"title\":\"Share\"}}),_c('button',{staticClass:\"pswp__button pswp__button--fs\",attrs:{\"title\":\"Toggle fullscreen\"}}),_c('button',{staticClass:\"pswp__button pswp__button--zoom\",attrs:{\"title\":\"Zoom in/out\"}}),_c('div',{staticClass:\"pswp__preloader\"},[_c('div',{staticClass:\"pswp__preloader__icn\"},[_c('div',{staticClass:\"pswp__preloader__cut\"},[_c('div',{staticClass:\"pswp__preloader__donut\"})])])])]),_c('div',{staticClass:\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\"},[_c('div',{staticClass:\"pswp__share-tooltip\"})]),_c('button',{staticClass:\"pswp__button pswp__button--arrow--left\",attrs:{\"title\":\"Previous (arrow left)\"}}),_c('button',{staticClass:\"pswp__button pswp__button--arrow--right\",attrs:{\"title\":\"Next (arrow right)\"}}),_c('div',{staticClass:\"pswp__caption\"},[_c('div',{staticClass:\"pswp__caption__center\"})])])])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Picture.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Picture.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Picture.vue?vue&type=template&id=9c4266e8&scoped=true&\"\nimport script from \"./Picture.vue?vue&type=script&lang=js&\"\nexport * from \"./Picture.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9c4266e8\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileExplorer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileExplorer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FileExplorer.vue?vue&type=template&id=68e25eea&scoped=true&\"\nimport script from \"./FileExplorer.vue?vue&type=script&lang=js&\"\nexport * from \"./FileExplorer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FileExplorer.vue?vue&type=style&index=0&id=68e25eea&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68e25eea\",\n null\n \n)\n\nexport default component.exports","import FileExplorer from './FileExplorer.vue'\n\nconst components = {\n FileExplorer: FileExplorer,\n}\n\nconst install = function (Vue, options) {\n Object.keys(components).forEach(key => {\n Vue.component(key, components[key]);\n });\n}\n\nexport default install","import Vue from 'vue'\nimport FileExplorer from '../components/FileExplorer'\n\nVue.use(FileExplorer)","import Vue from 'vue'\nimport Clipboard from 'clipboard'\n\nVue.prototype.$clipboard = new Clipboard(\".copy-link\");","import Vue from 'vue'\nimport VuePlyr from 'vue-plyr'\n\n// The second argument is optional and sets the default config values for every player.\nVue.use(VuePlyr, {\n plyr: {\n // fullscreen: { enabled: false }\n },\n emit: ['ended']\n})","\"use strict\";\n\nimport axios from \"axios\";\nimport { Notification } from 'element-ui';\n\n// Full config: https://github.com/axios/axios#request-config\n// axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || '';\n// axios.defaults.headers.common['Authorization'] = AUTH_TOKEN;\n// axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';\n\nlet config = {\n // baseURL: process.env.baseURL || process.env.apiUrl || \"\"\n baseURL: \"/api\"\n // timeout: 60 * 1000, // Timeout\n // withCredentials: true, // Check cross-site Access-Control\n // headers: { \"X-Zplat-Subsystem\": \"zpan\" }\n};\n\nconst _axios = axios.create(config);\n\n// Add a response interceptor\n_axios.interceptors.response.use(\n function (response) {\n return response.data;\n },\n function (error) {\n if (error.response && error.response.status == 401) {\n window.location = \"/u/signin\"\n return Promise.reject(\"invalid login status\");\n } else if (error.response && error.response.status == 520) {\n return Promise.reject(error)\n }\n\n let msg = error.message\n if (error.response) {\n msg = error.response.data.msg\n }\n\n Notification.error(msg)\n return Promise.reject(error);\n }\n);\n\nexport default _axios","/* eslint-disable no-console */\nimport axios from './axios'\n\nclass zSystem {\n\n installDatabase(database) {\n return axios.put(`/system/database`, database)\n }\n\n createAdministrator(user) {\n return axios.put(`/system/account`, user)\n }\n\n optGet(name) {\n return axios.get(`/system/options/${name}`)\n }\n\n optSave(name, form) {\n return axios.put(`/system/options/${name}`, form)\n }\n\n matterPathEnvs() {\n return axios.get(`/system/matter-path-envs`)\n }\n\n providers() {\n return axios.get(`/system/providers`)\n }\n}\n\nexport default zSystem;\n","\nimport axios from './axios'\n\nclass User {\n signup(body) {\n return axios.post('/users', body)\n }\n activate(email, token) {\n let body = { token: token, activated: true };\n return axios.patch(`/users/${email}`, body)\n }\n applyPasswordReset(email) {\n let body = { email: email };\n return axios.post('/tokens', body)\n }\n passwordReset(email, token, newpwd) {\n let body = { token: token, password: newpwd };\n return axios.patch(`/users/${email}`, body)\n }\n signin(body) {\n return axios.post('/tokens', body)\n }\n signout() {\n return axios.delete('/tokens')\n }\n profileGet() {\n return axios.get('/user')\n }\n updateProfile(body) {\n return axios.put('/user/profile', body)\n }\n updatePassword(body) {\n return axios.put('/user/password', body)\n }\n\n list(query) {\n return axios.get(`/users`, { params: query })\n }\n find(username) {\n return axios.get(`/users/${username}`)\n }\n delete(username) {\n return axios.delete(`/users/${username}`)\n }\n updatePasswordByUser(username, body) {\n return axios.put(`/users/${username}/password`, body)\n }\n updateStorageByUser(username, body) {\n return axios.put(`/users/${username}/storage`, body)\n }\n updateStatusByUser(username, body) {\n return axios.put(`/users/${username}/status`, body)\n }\n}\n\nexport default User;\n","\nimport axios from './axios'\n\nclass UserKey {\n create(name) {\n return axios.post('/user/keys', { name: name })\n }\n list(query) {\n return axios.get(`/user/keys`, { params: query })\n }\n find(name) {\n return axios.get(`/user/keys/${name}`)\n }\n delete(name) {\n return axios.delete(`/user/keys/${name}`)\n }\n resetSecret(name, body) {\n return axios.patch(`/user/keys/${name}/secret`, body)\n }\n}\n\nexport default UserKey;\n","/* eslint-disable no-console */\nimport axios from './axios'\n\nclass zStorage {\n\n list(query) {\n return axios.get(`/storages`, { params: query })\n }\n\n find(alias) {\n return axios.get(`/storages/${alias}`)\n }\n\n create(form) {\n return axios.post(`/storages`, form)\n }\n\n update(form) {\n return axios.put(`/storages/${form.id}`, form)\n }\n\n delete(id) {\n return axios.delete(`/storages/${id}`)\n }\n}\n\nexport default zStorage;\n","/* eslint-disable no-console */\nimport utils from '../utils'\nimport axios from './axios'\n\nclass zMatter {\n\n upload(sid, fileObj, distDir, cancel) {\n let file = fileObj.file\n let body = { sid: sid, name: fileObj.filename, type: file.type, size: file.size, dir: distDir };\n return new Promise((resolve, reject) => {\n this.create(body).then(ret => {\n let data = ret.data\n utils.upload(fileObj, data.link, data.headers, cancel).then(() => {\n axios.patch(`/matters/${data.alias}/done`).then((ret) => {\n resolve(ret)\n })\n }).catch(reject)\n }).catch(reject)\n })\n }\n\n findLink(alias) {\n return new Promise((resolve, reject) => {\n axios.get(`/matters/${alias}/link`).then(ret => {\n resolve(ret.data)\n }).catch(reject)\n })\n }\n\n download(alias) {\n return new Promise((resolve, reject) => {\n this.findLink(alias).then(ret => {\n utils.download(ret.name, ret.link).then(() => {\n resolve(ret)\n }).catch(reject)\n })\n })\n }\n\n create(body) {\n return axios.post('/matters', body)\n }\n\n list(params) {\n return new Promise((resolve, reject) => {\n axios.get('/matters', { params: params }).then(ret => {\n let data = ret.data\n data.list = data.list.map(item => {\n item.size = utils.formatBytes(item.size, 1);\n item.fullpath = `${item.parent}${item.name}`\n if (item.dirtype) item.fullpath += '/'\n return item\n })\n resolve(data);\n }).catch(reject)\n })\n }\n\n rename(alias, name) {\n return axios.patch(`/matters/${alias}/name`, { name: name })\n }\n\n move(alias, newDir) {\n return axios.patch(`/matters/${alias}/location`, { dir: newDir })\n }\n\n copy(alias, newPath) {\n return axios.patch(`/matters/${alias}/duplicate`, { path: newPath })\n }\n\n delete(alias) {\n return axios.delete(`/matters/${alias}`)\n }\n}\n\nexport default zMatter;\n","/* eslint-disable no-console */\nimport axios from './axios'\n\nclass zShare {\n\n list(query) {\n return axios.get(`/shares`, { params: query })\n }\n\n find(alias) {\n return axios.get(`/shares/${alias}`)\n }\n\n create(body) {\n return axios.post(`/shares`, body)\n }\n\n remove(alias) {\n return axios.delete(`/shares/${alias}`)\n }\n\n draw(alias, drawcode) {\n return axios.post(`/shares/${alias}/token`, { secret: drawcode })\n }\n\n findMatter(alias) {\n return axios.get(`/shares/${alias}/matter`)\n }\n\n listMatters(alias, query) {\n return axios.get(`/shares/${alias}/matters`, { params: query })\n }\n}\n\nexport default zShare;\n","/* eslint-disable no-console */\nimport axios from './axios'\n\nclass zRecyclebin {\n\n list(params) {\n return new Promise((resolve, reject) => {\n axios.get('/recycles', { params: params }).then(ret => {\n let data = ret.data;\n resolve(data);\n }).catch(reject)\n })\n }\n\n recovery(alias) {\n return axios.put(`/recycles/${alias}`)\n }\n\n delete(alias) {\n return axios.delete(`/recycles/${alias}`)\n }\n\n clean(sid) {\n return axios.delete(`/recycles`, { params: { sid: sid } })\n }\n}\n\nexport default zRecyclebin;\n","import zSystem from './system'\nimport zUser from './user'\nimport zUserKey from './userKey'\nimport zStorage from './storage'\nimport zFile from './matter'\n// import zFolder from './folder'\nimport zShare from './share'\nimport zRecyclebin from './recyclebin'\n\nconst System = new zSystem();\nconst User = new zUser();\nconst UserKey = new zUserKey();\nconst Storage = new zStorage();\nconst File = new zFile();\n// const Folder = new zFolder();\nconst Share = new zShare();\nconst Recyclebin = new zRecyclebin();\n\n\nexport default {\n System,\n User,\n UserKey,\n Storage,\n File,\n // Folder,\n Share,\n Recyclebin\n}","import Vue from 'vue';\nimport zpan from \"../libs/zpan\";\n\nconst Zpan = {\n}\n\nZpan.install = function (Vue, options) {\n Vue.zpan = zpan;\n window.zpan = zpan;\n Object.defineProperties(Vue.prototype, {\n zpan: {\n get() {\n return zpan;\n }\n },\n $zpan: {\n get() {\n return zpan;\n }\n },\n });\n};\n\nVue.use(Zpan);\n\nexport default Zpan;","import Vue from 'vue'\nimport App from './App'\nimport i18n from './i18n'\nimport store from './store'\nimport router from './router'\nimport './plugins/axios'\nimport './plugins/moment'\nimport './plugins/element'\nimport './plugins/fileexplorer'\nimport './plugins/clipboard'\nimport './plugins/photoswipe'\nimport './plugins/plyr'\nimport './plugins/zpan'\n\nVue.config.productionTip = false\n\nnew Vue({\n i18n,\n router,\n store,\n render: h => h(App)\n}).$mount('#app')\n","/* eslint-disable no-console */\n\nimport axios from \"axios\";\n\nlet utils = {\n upload(fileObj, destURL, headers, cancel) {\n let file = fileObj.file\n return new Promise((resolve, reject) => {\n const CancelToken = axios.CancelToken;\n let options = {\n headers: headers,\n cancelToken: new CancelToken(cancel),\n onUploadProgress: function (event) {\n file.percent = event.loaded / event.total * 100;\n if (fileObj.onProgress) fileObj.onProgress(file);\n }\n };\n\n window.axios.put(destURL, file, options).then((ret) => {\n if (fileObj.onSuccess) fileObj.onSuccess();\n resolve(ret)\n }).catch(reject)\n })\n },\n download(name, url) {\n return new Promise((resolve, reject) => {\n var a = document.createElement('a');\n a.href = url;\n a.download = name;\n a.click();\n resolve()\n })\n },\n formatBytes(bytes, decimals) {\n if (bytes == 0) return '0 Bytes';\n var k = 1024,\n dm = decimals + 1 || 3,\n sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],\n i = Math.floor(Math.log(bytes) / Math.log(k));\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i];\n },\n setupPasteUpload(fileCallback) {\n document.addEventListener('paste', event => {\n let clipboardData = null\n if (event.clipboardData || event.originalEvent) { // 兼容问题\n clipboardData = event.clipboardData || event.originalEvent.clipboardData;\n }\n\n if (clipboardData && clipboardData.items) {\n event.preventDefault(); // 阻止默认行为\n\n let item = clipboardData.items[0]\n if (!item.type.startsWith('image')) {\n return;\n }\n\n let file = item.getAsFile();\n let filename = file.name.replace('image', (new Date()).getTime())\n fileCallback({ file: file, filename: filename })\n }\n });\n },\n\n bytesUnits() {\n const KB = 1024;\n const MB = 1024 * KB;\n const GB = 1024 * MB;\n const TB = 1024 * GB;\n const PB = 1024 * TB;\n const units = [\n { label: \"KB\", value: KB },\n { label: \"MB\", value: MB },\n { label: \"GB\", value: GB },\n { label: \"TB\", value: TB },\n { label: \"PB\", value: PB },\n ]\n return units\n },\n\n formatBytes2(bytes, decimals) {\n let object = {\n num: 0,\n unitLabel: \"Bytes\",\n unitValue: 0,\n\n format() {\n return `${object.num} ${object.unitLabel}`\n }\n };\n if (!bytes) {\n return object\n }\n\n let v = bytes;\n let idx = 0;\n for (; v >= 1024; idx++) {\n v = v / 1024;\n }\n\n let dm = decimals + 1 || 3\n object.num = parseFloat(v).toFixed(dm)\n object.unitLabel = this.bytesUnits()[idx - 1].label\n object.unitValue = this.bytesUnits()[idx - 1].value\n return Object.assign({}, object)\n }\n}\n\nexport default utils;\n","import Vue from 'vue'\nimport VueI18n from 'vue-i18n'\n\nVue.use(VueI18n)\n\nconst DEFAULT_LANG = 'en'\nconst LOCALE_KEY = 'zpan-locale'\nconst locales = require.context('./locales', true, /[A-Za-z0-9-_,\\s]+\\.json$/i)\n\nfunction loadLocaleMessages() {\n const messages = {}\n locales.keys().forEach(key => {\n const matched = key.match(/([A-Za-z0-9-_]+)\\./i)\n if (matched && matched.length > 1) {\n const locale = matched[1]\n messages[locale] = locales(key)\n }\n })\n return messages\n}\n\nconst i18n = new VueI18n({\n locale: process.env.VUE_APP_I18N_LOCALE || DEFAULT_LANG,\n fallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || DEFAULT_LANG,\n messages: loadLocaleMessages()\n})\n\n\nexport const setup = lang => {\n let locale = localStorage.getItem(LOCALE_KEY);\n if (lang) {\n locale = lang\n localStorage.setItem(LOCALE_KEY, locale);\n } else if (!locale) {\n locale = navigator.language\n }\n\n Vue.config.locale = locale\n i18n.locale = locale\n}\n\nsetup()\nexport default i18n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileExplorer.vue?vue&type=style&index=0&id=68e25eea&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListExplorer.vue?vue&type=style&index=0&id=0e9f5599&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GridExplorer.vue?vue&type=style&index=0&id=27e97df8&scoped=true&lang=css&\"","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n state: {\n storages: [],\n cs: {}\n },\n mutations: {\n storages(state, storages) {\n state.storages = storages\n },\n cs(state, cs) {\n state.cs = cs\n }\n },\n actions: {}\n})\n","var map = {\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"7333\",\n\t\"./en-il.js\": \"7333\",\n\t\"./en-in\": \"ec2e\",\n\t\"./en-in.js\": \"ec2e\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./en-sg\": \"b7e9\",\n\t\"./en-sg.js\": \"b7e9\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"fd21\";"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-f1a651ee.66d88ddf.js b/web/dist/js/chunk-f1a651ee.66d88ddf.js new file mode 100644 index 0000000..01e3c3f --- /dev/null +++ b/web/dist/js/chunk-f1a651ee.66d88ddf.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f1a651ee"],{"11e9":function(t,e,n){var i=n("52a7"),o=n("4630"),s=n("6821"),a=n("6a99"),r=n("69a8"),l=n("c69a"),c=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?c:function(t,e){if(t=s(t),e=a(e,!0),l)try{return c(t,e)}catch(n){}if(r(t,e))return o(!i.f.call(t,e),t[e])}},3214:function(t,e,n){"use strict";n("d357")},"55ac":function(t,e,n){"use strict";n("7a36")},"5dbc":function(t,e,n){var i=n("d3f4"),o=n("8b97").set;t.exports=function(t,e,n){var s,a=e.constructor;return a!==n&&"function"==typeof a&&(s=a.prototype)!==n.prototype&&i(s)&&o&&o(t,s),t}},"5df3":function(t,e,n){"use strict";var i=n("02f4")(!0);n("01f9")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})}))},6275:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("a026"),o=n("9225"),s=n("c0d6"),a=n("41cb"),r=function(t){var e=i["default"].extend(t);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};console.log(t);var n=new e({i18n:o["a"],store:s["a"],router:a["a"],propsData:t}).$mount(document.createElement("div"));return new Promise((function(t,e){n.$once("completed",(function(e){return t(e)})),n.$once("cancel",(function(t){return e(t)}))}))}}},"7a36":function(t,e,n){},8054:function(t,e,n){"use strict";n("a069")},"8b97":function(t,e,n){var i=n("d3f4"),o=n("cb7c"),s=function(t,e){if(o(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(t,[]),e=!(t instanceof Array)}catch(o){e=!0}return function(t,n){return s(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:s}},9093:function(t,e,n){var i=n("ce10"),o=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},a069:function(t,e,n){},aa77:function(t,e,n){var i=n("5ca1"),o=n("be13"),s=n("79e5"),a=n("fdef"),r="["+a+"]",l="​…",c=RegExp("^"+r+r+"*"),u=RegExp(r+r+"*$"),d=function(t,e,n){var o={},r=s((function(){return!!a[t]()||l[t]()!=l})),c=o[t]=r?e(f):a[t];n&&(o[n]=c),i(i.P+i.F*r,"String",o)},f=d.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=d},c5f6:function(t,e,n){"use strict";var i=n("7726"),o=n("69a8"),s=n("2d95"),a=n("5dbc"),r=n("6a99"),l=n("79e5"),c=n("9093").f,u=n("11e9").f,d=n("86cc").f,f=n("aa77").trim,h="Number",p=i[h],m=p,v=p.prototype,g=s(n("2aeb")(v))==h,b="trim"in String.prototype,y=function(t){var e=r(t,!1);if("string"==typeof e&&e.length>2){e=b?e.trim():f(e,3);var n,i,o,s=e.charCodeAt(0);if(43===s||45===s){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===s){switch(e.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+e}for(var a,l=e.slice(2),c=0,u=l.length;co)return NaN;return parseInt(l,i)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(g?l((function(){v.valueOf.call(n)})):s(n)!=h)?a(new m(y(e)),n,p):y(e)};for(var $,_=n("9e1e")?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),k=0;_.length>k;k++)o(m,$=_[k])&&!o(p,$)&&d(p,$,u(m,$));p.prototype=v,v.constructor=p,n("2aba")(i,h,p)}},d357:function(t,e,n){},db7e:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{height:"100%"}},[n("el-row",{staticClass:"toolbar"},[n("el-button",{attrs:{type:"primary",size:"medium",icon:"el-icon-upload"},on:{click:t.onUploadClick}},[t._v(t._s(t.$t("disk.upload")))]),n("el-button",{directives:[{name:"show",rawName:"v-show",value:t.folderBtnShown,expression:"folderBtnShown"}],attrs:{type:"primary",size:"medium",icon:"el-icon-folder-add",plain:""},on:{click:t.openCreateDiglog}},[t._v(t._s(t.$t("disk.folder")))]),n("el-button-group",{directives:[{name:"show",rawName:"v-show",value:t.selectedItems.length>0,expression:"selectedItems.length > 0"}],staticStyle:{"margin-left":"10px"}},[n("el-button",{attrs:{type:"primary",icon:"el-icon-download",size:"medium",plain:""},on:{click:t.onOutlinkClick}},[t._v(t._s(t.$t("disk.download")))]),n("el-button",{attrs:{type:"primary",icon:"el-icon-delete",size:"medium",plain:""},on:{click:t.deleteSelection}},[t._v(t._s(t.$t("disk.delete")))])],1),n("div",{staticStyle:{float:"right"}},[n("el-input",{staticClass:"search",attrs:{size:"small",placeholder:t.$t("topbar.search")},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.listRefresh(e)}},model:{value:t.query.kw,callback:function(e){t.$set(t.query,"kw",e)},expression:"query.kw"}},[n("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"prefix"},slot:"prefix"})]),"list"==t.layout?n("i",{staticClass:"iconfont icon-grid",on:{click:function(e){t.layout="grid"}}}):n("i",{staticClass:"iconfont icon-list",on:{click:function(e){t.layout="list"}}})],1)],1),n("FileExplorer",{ref:"fexp",staticStyle:{height:"calc(100% - 67px)"},attrs:{layout:t.layout,dataLoader:t.dataLoader,linkLoader:t.linkLoader,rowButtons:t.rowButtons,moreButtons:t.moreButtons},on:{"selection-change":t.onSelectionChange}})],1)},o=[],s=(n("ac6a"),n("5df3"),n("7f7f"),n("b54a"),n("6275")),a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-dialog",{attrs:{title:t.$t("dialog.moveto-title"),width:"30%",visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[n("el-tree",{attrs:{data:t.data,props:t.props,"node-key":"id","current-node-key":t.current.id,"default-expanded-keys":[0],load:t.loadNode,"highlight-current":!0,lazy:""},on:{"current-change":t.onCurrentChange},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.node;return n("span",{staticClass:"custom-tree-node"},[n("span",[n("i",{staticClass:"el-icon-folder"}),t._v("\n "+t._s(i.label)+"\n ")])])}}])}),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v(t._s(t.$t("op.confirm")))]),n("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t.$t("op.cancel")))])],1)],1)],1)},r=[],l=n("ebbf"),c={mixins:[l["a"],l["b"]],props:{alias:String,isDir:Boolean},data:function(){return{data:[],props:{label:"name",children:"folders",isLeaf:"leaf"},current:{},treectx:{}}},methods:{onCurrentChange:function(t,e){this.current=t},loadNode:function(t,e){var n=this;0!==t.level?(this.treectx.node||1!==t.level||(this.treectx.node=t,this.treectx.resolve=e),this.$zpan.File.list({sid:this.getSid(),dir:t.data.fullpath}).then((function(t){var i=t.list.filter((function(t){return t.dirtype&&t.alias!=n.alias}));e(i)}))):e([{id:0,name:"/",parent:""}])},submit:function(){var t=this;this.$zpan.File.move(this.alias,this.current.fullpath).then((function(e){t.$message({type:"success",message:t.$t("msg.move-success")}),t.finish(),t.close()}))}}},u=c,d=(n("55ac"),n("2877")),f=Object(d["a"])(u,a,r,!1,null,"6144c87d",null),h=f.exports,p=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-dialog",{attrs:{title:t.$t("dialog.share-title"),width:t.shareForm.width,visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[n("el-form",{directives:[{name:"show",rawName:"v-show",value:!t.shareForm.done,expression:"!shareForm.done"}]},[n("el-form-item",{staticStyle:{"margin-left":"20px"},attrs:{label:t.$t("dialog.share-drawcode-switch")}},[n("el-switch",{model:{value:t.shareForm.private,callback:function(e){t.$set(t.shareForm,"private",e)},expression:"shareForm.private"}})],1),n("el-form-item",{staticStyle:{"margin-left":"20px"},attrs:{label:t.$t("dialog.share-expire-time")}},[n("el-select",{model:{value:t.shareForm.expire_sec,callback:function(e){t.$set(t.shareForm,"expire_sec",e)},expression:"shareForm.expire_sec"}},[n("el-option",{attrs:{label:"7 "+t.$t("day"),value:604800}}),n("el-option",{attrs:{label:"30 "+t.$t("day"),value:2592e3}}),n("el-option",{attrs:{label:"1 "+t.$t("year"),value:31536e3}}),n("el-option",{attrs:{label:"永久",value:31536e5}})],1)],1)],1),n("div",{directives:[{name:"show",rawName:"v-show",value:t.shareForm.done,expression:"shareForm.done"}],staticStyle:{"margin-left":"50px","line-height":"30px"}},[n("p",[t._v("\n "+t._s(t.$t("dialog.share-link"))+":\n "),n("a",{attrs:{href:t.shareForm.link,target:"_blank"}},[t._v(t._s(t.shareForm.link))])]),t.shareForm.secret?n("p",[t._v(t._s(t.$t("dialog.share-drawcode"))+":"+t._s(t.shareForm.secret))]):t._e()]),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t.shareForm.done?n("div",[n("el-button",{staticClass:"copy-link",attrs:{type:"primary","data-clipboard-text":t.shareForm.link},on:{click:t.close}},[t._v(t._s(t.$t("click-copy-link")))]),n("el-button",{on:{click:t.close}},[t._v(t._s(t.$t("op.close")))])],1):n("div",[n("el-button",{on:{click:t.close}},[t._v(t._s(t.$t("op.cancel")))]),n("el-button",{attrs:{type:"primary"},on:{click:t.share}},[t._v(t._s(t.$t("op.confirm")))])],1)])],1)],1)},m=[],v={mixins:[l["b"]],props:{alias:String},data:function(){return{shareForm:{done:!1,width:"30%",private:!1,expire_sec:604800}}},methods:{share:function(t){var e=this;this.$zpan.Share.create(this.shareForm).then((function(t){var n=window.location.origin,i=t.data.alias;e.shareForm.done=!0,e.shareForm.link="".concat(n,"/s/").concat(i),e.shareForm.secret=t.data.secret}))}},mounted:function(){this.shareForm.matter=this.alias}},g=v,b=Object(d["a"])(g,p,m,!1,null,"3d33c360",null),y=b.exports,$=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-dialog",{attrs:{title:t.$t("dialog.upload-title"),visible:t.visible,"file-list":t.fileList,"close-on-click-modal":!1,"close-on-press-escape":!1,"before-close":t.closeConfirm,width:"400px"},on:{"update:visible":function(e){t.visible=e}}},[t._v("\n "+t._s(t.destDir)+"\n "),n("el-upload",{ref:"uploader",staticClass:"uploader",attrs:{action:"","http-request":t.handleUpload,limit:20,"on-progress":t.handleProgress,"on-success":t.handleProgress,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,drag:"",multiple:""}},[n("i",{staticClass:"el-icon-upload"}),n("div",{staticClass:"el-upload__text"},[t._v("\n "+t._s(t.$t("dialog.upload-tips"))+"\n "),n("em",[t._v(t._s(t.$t("dialog.upload-click")))])])])],1)],1)},_=[],k=(n("c5f6"),{mixins:[l["b"]],props:{sid:Number,destDir:String,listRefresh:Function},data:function(){return{fileList:[],uploading:!1}},methods:{closeConfirm:function(t){var e=this;this.fileList.length>0&&this.uploading?this.$confirm("文件上传中,取消将终止上传,是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",customClass:"cancel-confirm"}).then((function(){e.fileList.forEach((function(t){e.$refs.uploader.abort(t)})),t()})):t()},handleProgress:function(t,e,n){this.uploading="uploading"==e.status,this.fileList=n},handleExceed:function(t,e){this.$message.warning("每次最多允许 20 个文件同时上传,请分批操作!")},handleRemove:function(t,e){this.$refs.uploader.abort(t)},handleUpload:function(t){var e,n=this,i=function(t){e=t};return t.filename=t.file.name,this.$zpan.File.upload(Number(this.sid),t,this.destDir,i).then((function(){n.completed()})),{abort:function(){e("canceled by the user")}}}}}),w=k,x=(n("8054"),Object(d["a"])(w,$,_,!1,null,null,null)),F=x.exports,C=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-dialog",{attrs:{title:t.$t("dialog.outlink-title"),visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[n("div",[n("el-input",{attrs:{type:"textarea",rows:20},model:{value:t.links,callback:function(e){t.links=e},expression:"links"}})],1),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"}},[t._v(t._s(t.$t("click-copy-link")))]),n("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t.$t("op.close")))])],1)])],1)},S=[],E={mixins:[l["b"]],props:{items:Array},data:function(){return{links:""}},methods:{loadLinks:function(){var t=this;Promise.all(this.items.map((function(e){return t.$zpan.File.findLink(e.alias)}))).then((function(e){e.forEach((function(e){t.links+=e.link+"\r\n"}))}))}},mounted:function(){this.loadLinks()}},N=E,I=Object(d["a"])(N,C,S,!1,null,"1eff8eb1",null),B=I.exports,O={mixins:[l["a"]],data:function(){return{query:{kw:"",dir:""},layout:"list",folderBtnShown:!1,moreButtons:[{name:"move",title:this.$t("ftb.move"),action:this.move},{name:"rename",title:this.$t("ftb.rename"),action:this.rename},{name:"remove",title:this.$t("ftb.remove"),action:this.remove}],selectedItems:[]}},watch:{$route:function(t,e){this.query.type=t.query.type,this.folderBtnShown=!this.query.type}},computed:{rowButtons:function(){return 1==this.cs.mode?[{name:"download",icon:"el-icon-download",action:this.openDownload,shown:function(t){return!t.dirtype}},{name:"share",icon:"el-icon-share",action:this.share}]:[{name:"download",icon:"el-icon-download",action:this.openDownload,shown:function(t){return!t.dirtype}},{name:"viewlink",icon:"el-icon-view",action:this.viewlink}]}},methods:{dataLoader:function(t,e,n){var i=this;return t!=this.query.dir&&(this.query.dir=t),this.query.sid=this.getSid(),this.query.offset=e||0,this.query.limit=n||10,new Promise((function(t,e){i.$zpan.File.list(i.query).then((function(e){i.query.kw="",t(e)}))}))},linkLoader:function(t){var e=this;return new Promise((function(n,i){e.$zpan.File.findLink(t.alias).then((function(t){n(t.link)})).catch(i)}))},listRefresh:function(){this.$refs.fexp.listRefresh()},openDownload:function(t){this.linkLoader(t).then((function(e){var n=document.createElement("a");n.href=e,n.download=t.name,n.click()}))},openCreateDiglog:function(){var t=this;this.$prompt(this.$t("tips.create-folder"),this.$t("create-folder"),{confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(e){var n=e.value,i={sid:t.getSid(),name:n,dir:t.query.dir,is_dir:!0};t.$zpan.File.create(i).then((function(e){t.$message({type:"success",message:t.$t("msg.create-success")}),t.listRefresh()}))}))},onUploadClick:function(){var t=this;Object(s["a"])(F)({sid:this.getSid(),destDir:this.query.dir,listRefresh:this.listRefresh}).then((function(){t.listRefresh()}))},onOutlinkClick:function(){Object(s["a"])(B)({items:this.selectedItems})},share:function(t){Object(s["a"])(y)({alias:t.alias})},viewlink:function(t){var e=this;this.linkLoader(t).then((function(t){var n=e.$createElement;e.$msgbox({title:"获取外链",message:n("p",null,t),confirmButtonText:"确定"})}))},move:function(t){var e=this;Object(s["a"])(h)({alias:t.alias,isDir:t.dirtype>0}).then((function(){e.listRefresh()}))},rename:function(t){var e=this;this.$prompt(this.$t("tips.rename"),this.$t("op.rename"),{inputValue:t.name,confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(n){var i=n.value;e.$zpan.File.rename(t.alias,i).then((function(t){e.$message({type:"success",message:e.$t("msg.rename-success")}),e.listRefresh()}))}))},remove:function(t){var e=this;this.$confirm(this.$t("tips.remove"),this.$t("op.delete")+" ".concat(t.name),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){e.$zpan.File.delete(t.alias).then((function(t){e.$message({type:"success",message:e.$t("msg.delete-success")}),e.listRefresh()}))}))},onSelectionChange:function(t){this.selectedItems=t},deleteSelection:function(){var t=this;this.$confirm(this.$t("tips.batch-delete"),this.$t("op.batch-delete"),{type:"warning",confirmButtonText:this.$t("op.confirm"),cancelButtonText:this.$t("op.cancel")}).then((function(){var e=t.$loading({lock:!0,text:t.$t("tips.deleting"),spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});Promise.all(t.selectedItems.map((function(e){return t.$zpan.File.delete(e.alias)}))).then((function(n){t.listRefresh(),e.close(),t.$message({type:"success",message:t.$t("msg.batch-delete-success")})})).catch((function(t){e.close(),console.log(t)}))}))}},mounted:function(){this.query.type=this.$route.query.type,this.folderBtnShown=!this.query.type}},L=O,q=(n("3214"),Object(d["a"])(L,i,o,!1,null,"6ccab5f8",null));e["default"]=q.exports},ebbf:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));n("7f7f"),n("ac6a");var i={data:function(){return{cs:{}}},watch:{$route:function(t,e){this.setCs()}},computed:{},methods:{setCs:function(){var t=this;this.$store.state.storages.forEach((function(e){e.name==t.$route.params.sname&&(t.cs=e)}))},getSid:function(){return this.cs.id}},mounted:function(){this.setCs()}},o=i,s={data:function(){return{visible:!1}},watch:{visible:function(t){!t&&this.$destroy()}},mounted:function(){document.body.appendChild(this.$el),this.visible=!0},destroyed:function(){this.$el.parentNode.removeChild(this.$el)},methods:{open:function(){this.visible=!0},close:function(){this.visible=!1},completed:function(){this.$emit("completed")},finish:function(){this.close(),this.completed()}}},a=s},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]); +//# sourceMappingURL=chunk-f1a651ee.66d88ddf.js.map \ No newline at end of file diff --git a/web/dist/js/chunk-f1a651ee.66d88ddf.js.map b/web/dist/js/chunk-f1a651ee.66d88ddf.js.map new file mode 100644 index 0000000..2d77933 --- /dev/null +++ b/web/dist/js/chunk-f1a651ee.66d88ddf.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_object-gopd.js","webpack:///./src/views/home/disk/index.vue?2046","webpack:///./src/views/home/disk/components/DialogMove.vue?db3b","webpack:///./node_modules/core-js/modules/_inherit-if-required.js","webpack:///./node_modules/core-js/modules/es6.string.iterator.js","webpack:///./src/helper.js","webpack:///./src/views/home/disk/components/DialogUpload.vue?3765","webpack:///./node_modules/core-js/modules/_set-proto.js","webpack:///./node_modules/core-js/modules/_object-gopn.js","webpack:///./node_modules/core-js/modules/_string-trim.js","webpack:///./node_modules/core-js/modules/es6.number.constructor.js","webpack:///./src/views/home/disk/index.vue?2d85","webpack:///./src/views/home/disk/components/DialogMove.vue?6825","webpack:///src/views/home/disk/components/DialogMove.vue","webpack:///./src/views/home/disk/components/DialogMove.vue?5a54","webpack:///./src/views/home/disk/components/DialogMove.vue","webpack:///./src/views/home/disk/components/DialogShare.vue?d58b","webpack:///src/views/home/disk/components/DialogShare.vue","webpack:///./src/views/home/disk/components/DialogShare.vue?46ec","webpack:///./src/views/home/disk/components/DialogShare.vue","webpack:///./src/views/home/disk/components/DialogUpload.vue?6824","webpack:///src/views/home/disk/components/DialogUpload.vue","webpack:///./src/views/home/disk/components/DialogUpload.vue?b00a","webpack:///./src/views/home/disk/components/DialogUpload.vue","webpack:///./src/views/home/disk/components/DialogOutlink.vue?c8e0","webpack:///src/views/home/disk/components/DialogOutlink.vue","webpack:///./src/views/home/disk/components/DialogOutlink.vue?8df5","webpack:///./src/views/home/disk/components/DialogOutlink.vue","webpack:///src/views/home/disk/index.vue","webpack:///./src/views/home/disk/index.vue?bebb","webpack:///./src/views/home/disk/index.vue","webpack:///./src/libs/mixin/cs.js","webpack:///./src/libs/mixin/dialog.js","webpack:///./node_modules/core-js/modules/_string-ws.js"],"names":["pIE","createDesc","toIObject","toPrimitive","has","IE8_DOM_DEFINE","gOPD","Object","getOwnPropertyDescriptor","exports","f","O","P","e","call","isObject","setPrototypeOf","set","module","that","target","C","S","constructor","prototype","$at","String","iterated","this","_t","_i","point","index","length","value","undefined","done","transfer","component","_constructor","Vue","extend","propsData","console","log","instance","i18n","store","router","$mount","document","createElement","Promise","resolve","reject","$once","data","anObject","check","proto","TypeError","test","buggy","Function","Array","__proto__","$keys","hiddenKeys","concat","getOwnPropertyNames","$export","defined","fails","spaces","space","non","ltrim","RegExp","rtrim","exporter","KEY","exec","ALIAS","exp","FORCE","fn","trim","F","string","TYPE","replace","global","cof","inheritIfRequired","gOPN","dP","$trim","NUMBER","$Number","Base","BROKEN_COF","TRIM","toNumber","argument","it","third","radix","maxCode","first","charCodeAt","NaN","code","digits","slice","i","l","parseInt","arguments","valueOf","key","keys","split","j","render","_vm","_h","$createElement","_c","_self","staticStyle","staticClass","attrs","on","onUploadClick","_v","_s","$t","directives","name","rawName","expression","openCreateDiglog","selectedItems","onOutlinkClick","deleteSelection","nativeOn","$event","type","indexOf","_k","keyCode","listRefresh","model","query","callback","$$v","$set","slot","layout","ref","dataLoader","linkLoader","rowButtons","moreButtons","onSelectionChange","staticRenderFns","visible","props","current","id","loadNode","onCurrentChange","scopedSlots","_u","node","label","submit","mixins","alias","isDir","Boolean","children","isLeaf","treectx","methods","item","level","$zpan","File","list","ele","dirtype","folders","move","fullpath","then","message","shareForm","width","link","secret","_e","close","share","private","expire_sec","Share","create","mounted","matter","fileList","closeConfirm","destDir","handleUpload","handleProgress","handleExceed","handleRemove","sid","Number","uploading","$confirm","confirmButtonText","cancelButtonText","customClass","file","status","$message","warning","$refs","uploader","abort","fileObj","filename","upload","cancel","links","items","loadLinks","all","rets","forEach","kw","dir","folderBtnShown","watch","$route","newVal","computed","cs","mode","getSid","offset","limit","ret","fexp","openDownload","obj","a","href","download","click","$prompt","viewlink","title","h","rename","inputValue","remove","selection","lock","text","spinner","background","Mixin","oldVal","setCs","$store","state","storages","params","sname","DialogMixin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,KAAK8K,QACL9K,KAAKuQ,eAKFV,K,mBCnCfvQ,EAAOT,QAAU","file":"js/chunk-f1a651ee.66d88ddf.js","sourcesContent":["var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=6ccab5f8&scoped=true&lang=css&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogMove.vue?vue&type=style&index=0&id=6144c87d&scoped=true&lang=css&\"","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","import Vue from 'vue'\nimport i18n from './i18n'\nimport store from './store'\nimport router from './router'\n\nexport const transfer = component => {\n const _constructor = Vue.extend(component)\n return function (propsData = {}) {\n console.log(propsData)\n let instance = new _constructor({ i18n, store, router, propsData }).$mount(document.createElement('div'))\n\n return new Promise((resolve, reject) => {\n instance.$once('completed', data => resolve(data))\n instance.$once('cancel', data => reject(data))\n })\n }\n}","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogUpload.vue?vue&type=style&index=0&lang=css&\"","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"height\":\"100%\"}},[_c('el-row',{staticClass:\"toolbar\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"medium\",\"icon\":\"el-icon-upload\"},on:{\"click\":_vm.onUploadClick}},[_vm._v(_vm._s(_vm.$t(\"disk.upload\")))]),_c('el-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.folderBtnShown),expression:\"folderBtnShown\"}],attrs:{\"type\":\"primary\",\"size\":\"medium\",\"icon\":\"el-icon-folder-add\",\"plain\":\"\"},on:{\"click\":_vm.openCreateDiglog}},[_vm._v(_vm._s(_vm.$t(\"disk.folder\")))]),_c('el-button-group',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.selectedItems.length > 0),expression:\"selectedItems.length > 0\"}],staticStyle:{\"margin-left\":\"10px\"}},[_c('el-button',{attrs:{\"type\":\"primary\",\"icon\":\"el-icon-download\",\"size\":\"medium\",\"plain\":\"\"},on:{\"click\":_vm.onOutlinkClick}},[_vm._v(_vm._s(_vm.$t(\"disk.download\")))]),_c('el-button',{attrs:{\"type\":\"primary\",\"icon\":\"el-icon-delete\",\"size\":\"medium\",\"plain\":\"\"},on:{\"click\":_vm.deleteSelection}},[_vm._v(_vm._s(_vm.$t(\"disk.delete\")))])],1),_c('div',{staticStyle:{\"float\":\"right\"}},[_c('el-input',{staticClass:\"search\",attrs:{\"size\":\"small\",\"placeholder\":_vm.$t('topbar.search')},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.listRefresh($event)}},model:{value:(_vm.query.kw),callback:function ($$v) {_vm.$set(_vm.query, \"kw\", $$v)},expression:\"query.kw\"}},[_c('i',{staticClass:\"el-input__icon el-icon-search\",attrs:{\"slot\":\"prefix\"},slot:\"prefix\"})]),(_vm.layout == 'list')?_c('i',{staticClass:\"iconfont icon-grid\",on:{\"click\":function($event){_vm.layout = 'grid'}}}):_c('i',{staticClass:\"iconfont icon-list\",on:{\"click\":function($event){_vm.layout = 'list'}}})],1)],1),_c('FileExplorer',{ref:\"fexp\",staticStyle:{\"height\":\"calc(100% - 67px)\"},attrs:{\"layout\":_vm.layout,\"dataLoader\":_vm.dataLoader,\"linkLoader\":_vm.linkLoader,\"rowButtons\":_vm.rowButtons,\"moreButtons\":_vm.moreButtons},on:{\"selection-change\":_vm.onSelectionChange}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{\"title\":_vm.$t('dialog.moveto-title'),\"width\":\"30%\",\"visible\":_vm.visible},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('el-tree',{attrs:{\"data\":_vm.data,\"props\":_vm.props,\"node-key\":\"id\",\"current-node-key\":_vm.current.id,\"default-expanded-keys\":[0],\"load\":_vm.loadNode,\"highlight-current\":true,\"lazy\":\"\"},on:{\"current-change\":_vm.onCurrentChange},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar node = ref.node;\nreturn _c('span',{staticClass:\"custom-tree-node\"},[_c('span',[_c('i',{staticClass:\"el-icon-folder\"}),_vm._v(\"\\n \"+_vm._s(node.label)+\"\\n \")])])}}])}),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.submit}},[_vm._v(_vm._s(_vm.$t(\"op.confirm\")))]),_c('el-button',{on:{\"click\":function($event){_vm.visible = false}}},[_vm._v(_vm._s(_vm.$t(\"op.cancel\")))])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n No newline at end of file\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogMove.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogMove.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DialogMove.vue?vue&type=template&id=6144c87d&scoped=true&\"\nimport script from \"./DialogMove.vue?vue&type=script&lang=js&\"\nexport * from \"./DialogMove.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DialogMove.vue?vue&type=style&index=0&id=6144c87d&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6144c87d\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{\"title\":_vm.$t('dialog.share-title'),\"width\":_vm.shareForm.width,\"visible\":_vm.visible},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('el-form',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.shareForm.done),expression:\"!shareForm.done\"}]},[_c('el-form-item',{staticStyle:{\"margin-left\":\"20px\"},attrs:{\"label\":_vm.$t('dialog.share-drawcode-switch')}},[_c('el-switch',{model:{value:(_vm.shareForm.private),callback:function ($$v) {_vm.$set(_vm.shareForm, \"private\", $$v)},expression:\"shareForm.private\"}})],1),_c('el-form-item',{staticStyle:{\"margin-left\":\"20px\"},attrs:{\"label\":_vm.$t('dialog.share-expire-time')}},[_c('el-select',{model:{value:(_vm.shareForm.expire_sec),callback:function ($$v) {_vm.$set(_vm.shareForm, \"expire_sec\", $$v)},expression:\"shareForm.expire_sec\"}},[_c('el-option',{attrs:{\"label\":(\"7 \" + (_vm.$t('day'))),\"value\":604800}}),_c('el-option',{attrs:{\"label\":(\"30 \" + (_vm.$t('day'))),\"value\":2592000}}),_c('el-option',{attrs:{\"label\":(\"1 \" + (_vm.$t('year'))),\"value\":31536000}}),_c('el-option',{attrs:{\"label\":\"永久\",\"value\":3153600000}})],1)],1)],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.shareForm.done),expression:\"shareForm.done\"}],staticStyle:{\"margin-left\":\"50px\",\"line-height\":\"30px\"}},[_c('p',[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"dialog.share-link\"))+\":\\n \"),_c('a',{attrs:{\"href\":_vm.shareForm.link,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.shareForm.link))])]),(_vm.shareForm.secret)?_c('p',[_vm._v(_vm._s(_vm.$t(\"dialog.share-drawcode\"))+\":\"+_vm._s(_vm.shareForm.secret))]):_vm._e()]),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[(!_vm.shareForm.done)?_c('div',[_c('el-button',{on:{\"click\":_vm.close}},[_vm._v(_vm._s(_vm.$t(\"op.cancel\")))]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.share}},[_vm._v(_vm._s(_vm.$t(\"op.confirm\")))])],1):_c('div',[_c('el-button',{staticClass:\"copy-link\",attrs:{\"type\":\"primary\",\"data-clipboard-text\":_vm.shareForm.link},on:{\"click\":_vm.close}},[_vm._v(_vm._s(_vm.$t(\"click-copy-link\")))]),_c('el-button',{on:{\"click\":_vm.close}},[_vm._v(_vm._s(_vm.$t(\"op.close\")))])],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogShare.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogShare.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DialogShare.vue?vue&type=template&id=3d33c360&scoped=true&\"\nimport script from \"./DialogShare.vue?vue&type=script&lang=js&\"\nexport * from \"./DialogShare.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3d33c360\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{\"title\":_vm.$t('dialog.upload-title'),\"visible\":_vm.visible,\"file-list\":_vm.fileList,\"close-on-click-modal\":false,\"close-on-press-escape\":false,\"before-close\":_vm.closeConfirm,\"width\":\"400px\"},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_vm._v(\"\\n \"+_vm._s(_vm.destDir)+\"\\n \"),_c('el-upload',{ref:\"uploader\",staticClass:\"uploader\",attrs:{\"action\":\"\",\"http-request\":_vm.handleUpload,\"limit\":20,\"on-progress\":_vm.handleProgress,\"on-success\":_vm.handleProgress,\"on-exceed\":_vm.handleExceed,\"on-remove\":_vm.handleRemove,\"drag\":\"\",\"multiple\":\"\"}},[_c('i',{staticClass:\"el-icon-upload\"}),_c('div',{staticClass:\"el-upload__text\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"dialog.upload-tips\"))+\"\\n \"),_c('em',[_vm._v(_vm._s(_vm.$t(\"dialog.upload-click\")))])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogUpload.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogUpload.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DialogUpload.vue?vue&type=template&id=68c5da2d&\"\nimport script from \"./DialogUpload.vue?vue&type=script&lang=js&\"\nexport * from \"./DialogUpload.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DialogUpload.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-dialog',{attrs:{\"title\":_vm.$t('dialog.outlink-title'),\"visible\":_vm.visible},on:{\"update:visible\":function($event){_vm.visible=$event}}},[_c('div',[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":20},model:{value:(_vm.links),callback:function ($$v) {_vm.links=$$v},expression:\"links\"}})],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"type\":\"primary\"}},[_vm._v(_vm._s(_vm.$t(\"click-copy-link\")))]),_c('el-button',{on:{\"click\":function($event){_vm.visible = false}}},[_vm._v(_vm._s(_vm.$t(\"op.close\")))])],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogOutlink.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DialogOutlink.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DialogOutlink.vue?vue&type=template&id=1eff8eb1&scoped=true&\"\nimport script from \"./DialogOutlink.vue?vue&type=script&lang=js&\"\nexport * from \"./DialogOutlink.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1eff8eb1\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=6ccab5f8&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=6ccab5f8&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6ccab5f8\",\n null\n \n)\n\nexport default component.exports","\nconst Mixin = {\n data() {\n return {\n cs: {}\n }\n },\n watch: {\n $route(newVal, oldVal) {\n this.setCs()\n },\n },\n computed: {},\n methods: {\n setCs() {\n this.$store.state.storages.forEach((ele) => {\n if (ele.name == this.$route.params.sname) {\n this.cs = ele\n }\n });\n },\n getSid() {\n return this.cs.id\n },\n },\n mounted() {\n this.setCs()\n },\n}\n\nexport default Mixin","const DialogMixin = {\n data() {\n return {\n visible: false\n }\n },\n watch: {\n visible(val) {\n !val && this.$destroy()\n }\n },\n mounted() {\n document.body.appendChild(this.$el)\n this.visible = true\n },\n destroyed() {\n this.$el.parentNode.removeChild(this.$el)\n },\n methods: {\n open() {\n this.visible = true;\n },\n close() {\n this.visible = false;\n },\n completed() {\n this.$emit('completed');\n },\n finish() {\n this.close();\n this.completed();\n },\n }\n}\n\nexport default DialogMixin","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n"],"sourceRoot":""} \ No newline at end of file diff --git a/web/dist/js/chunk-vendors.24bcca13.js b/web/dist/js/chunk-vendors.24bcca13.js new file mode 100644 index 0000000..c0b543f --- /dev/null +++ b/web/dist/js/chunk-vendors.24bcca13.js @@ -0,0 +1,77 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"014b":function(e,t,n){"use strict";var i=n("e53d"),r=n("07e3"),o=n("8e60"),a=n("63b6"),s=n("9138"),l=n("ebfd").KEY,c=n("294c"),u=n("dbdb"),d=n("45f2"),h=n("62a0"),f=n("5168"),p=n("ccb9"),m=n("6718"),v=n("47ee"),g=n("9003"),y=n("e4ae"),b=n("f772"),_=n("241e"),w=n("36c3"),x=n("1bc3"),k=n("aebd"),C=n("a159"),S=n("0395"),O=n("bf0b"),T=n("9aa9"),D=n("d9f6"),E=n("c3a1"),M=O.f,$=D.f,P=S.f,A=i.Symbol,N=i.JSON,I=N&&N.stringify,L="prototype",j=f("_hidden"),F=f("toPrimitive"),R={}.propertyIsEnumerable,V=u("symbol-registry"),z=u("symbols"),B=u("op-symbols"),H=Object[L],W="function"==typeof A&&!!T.f,Y=i.QObject,q=!Y||!Y[L]||!Y[L].findChild,U=o&&c((function(){return 7!=C($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=M(H,t);i&&delete H[t],$(e,t,n),i&&e!==H&&$(H,t,i)}:$,G=function(e){var t=z[e]=C(A[L]);return t._k=e,t},K=W&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},X=function(e,t,n){return e===H&&X(B,t,n),y(e),t=x(t,!0),y(n),r(z,t)?(n.enumerable?(r(e,j)&&e[j][t]&&(e[j][t]=!1),n=C(n,{enumerable:k(0,!1)})):(r(e,j)||$(e,j,k(1,{})),e[j][t]=!0),U(e,t,n)):$(e,t,n)},Z=function(e,t){y(e);var n,i=v(t=w(t)),r=0,o=i.length;while(o>r)X(e,n=i[r++],t[n]);return e},J=function(e,t){return void 0===t?C(e):Z(C(e),t)},Q=function(e){var t=R.call(this,e=x(e,!0));return!(this===H&&r(z,e)&&!r(B,e))&&(!(t||!r(this,e)||!r(z,e)||r(this,j)&&this[j][e])||t)},ee=function(e,t){if(e=w(e),t=x(t,!0),e!==H||!r(z,t)||r(B,t)){var n=M(e,t);return!n||!r(z,t)||r(e,j)&&e[j][t]||(n.enumerable=!0),n}},te=function(e){var t,n=P(w(e)),i=[],o=0;while(n.length>o)r(z,t=n[o++])||t==j||t==l||i.push(t);return i},ne=function(e){var t,n=e===H,i=P(n?B:w(e)),o=[],a=0;while(i.length>a)!r(z,t=i[a++])||n&&!r(H,t)||o.push(z[t]);return o};W||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(B,n),r(this,j)&&r(this[j],e)&&(this[j][e]=!1),U(this,e,k(1,n))};return o&&q&&U(H,e,{configurable:!0,set:t}),G(e)},s(A[L],"toString",(function(){return this._k})),O.f=ee,D.f=X,n("6abf").f=S.f=te,n("355d").f=Q,T.f=ne,o&&!n("b8e3")&&s(H,"propertyIsEnumerable",Q,!0),p.f=function(e){return G(f(e))}),a(a.G+a.W+a.F*!W,{Symbol:A});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)f(ie[re++]);for(var oe=E(f.store),ae=0;oe.length>ae;)m(oe[ae++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return r(V,e+="")?V[e]:V[e]=A(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in V)if(V[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!W,"Object",{create:J,defineProperty:X,defineProperties:Z,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=c((function(){T.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return T.f(_(e))}}),N&&a(a.S+a.F*(!W||c((function(){var e=A();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))}))),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(b(t)||void 0!==e)&&!K(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),i[1]=t,I.apply(N,i)}}),A[L][F]||n("35e8")(A[L],F,A[L].valueOf),d(A,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},"01f9":function(e,t,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),l=n("41a0"),c=n("7f20"),u=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",v=function(){return this};e.exports=function(e,t,n,g,y,b,_){l(n,t,g);var w,x,k,C=function(e){if(!h&&e in D)return D[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",O=y==m,T=!1,D=e.prototype,E=D[d]||D[f]||y&&D[y],M=E||C(y),$=y?O?C("entries"):M:void 0,P="Array"==t&&D.entries||E;if(P&&(k=u(P.call(new e)),k!==Object.prototype&&k.next&&(c(k,S,!0),i||"function"==typeof k[d]||a(k,d,v))),O&&E&&E.name!==m&&(T=!0,M=function(){return E.call(this)}),i&&!_||!h&&!T&&D[d]||a(D,d,M),s[t]=M,s[S]=v,y)if(w={values:O?M:C(m),keys:b?M:C(p),entries:$},_)for(x in w)x in D||o(D,x,w[x]);else r(r.P+r.F*(h||T),t,w);return w}},"02f4":function(e,t,n){var i=n("4588"),r=n("be13");e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),l=i(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(e,t,n){"use strict";var i=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"0395":function(e,t,n){var i=n("36c3"),r=n("6abf").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):r(i(e))}},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"097d":function(e,t,n){"use strict";var i=n("5ca1"),r=n("8378"),o=n("7726"),a=n("ebd6"),s=n("bcaa");i(i.P+i.R,"Promise",{finally:function(e){var t=a(this,r.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},"0a06":function(e,t,n){"use strict";var i=n("c532"),r=n("30b5"),o=n("f6b4"),a=n("5270"),s=n("4a7b");function l(e){this.defaults=e,this.interceptors={request:new o,response:new o}}l.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=s(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,i){return this.request(s(i||{},{method:e,url:t,data:n}))}})),e.exports=l},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var i=n("597f");e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},"0e6b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict"; +//! moment.js locale configuration +var t=e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:4}});return t}))},"0fae":function(e,t,n){},"0fc9":function(e,t,n){var i=n("3a38"),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},1098:function(e,t,n){"use strict";t.__esModule=!0;var i=n("17ed"),r=l(i),o=n("f893"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof r.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(r.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"12f2":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,a=o(t),s=a.length,l=0;while(s>l)i.f(e,n=a[l++],t[n]);return e}},"14e9":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=127)}({127:function(e,t,n){"use strict";n.r(t);var i=n(16),r=n(38),o=n.n(r),a=n(3),s=n(2),l={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function c(e){var t=e.move,n=e.size,i=e.bar,r={},o="translate"+i.axis+"("+t+"%)";return r[i.size]=n,r.transform=o,r.msTransform=o,r.webkitTransform=o,r}var u={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:c({size:t,move:n,bar:i})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(s["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(s["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(s["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},d={name:"ElScrollbar",components:{Bar:u},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=o()(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(a["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"===typeof this.wrapStyle?n+=r:n=r}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]),c=void 0;return c=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[l,e(u,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(u,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},c)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(i["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(i["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(d.name,d)}};t["default"]=d},16:function(e,t){e.exports=n("4010")},2:function(e,t){e.exports=n("5924")},3:function(e,t){e.exports=n("8122")},38:function(e,t){e.exports=n("e62d")}})},"14fd":function(e,t,n){var i,r; +/*! PhotoSwipe Default UI - 4.1.3 - 2019-01-08 +* http://photoswipe.com +* Copyright (c) 2019 Dmitry Semenov; */(function(o,a){i=a,r="function"===typeof i?i.call(t,n,t,e):i,void 0===r||(e.exports=r)})(0,(function(){"use strict";var e=function(e,t){var n,i,r,o,a,s,l,c,u,d,h,f,p,m,v,g,y,b,_=this,w=!1,x=!0,k=!0,C={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},S=function(e){if(g)return!0;e=e||window.event,v.timeToIdle&&v.mouseUsed&&!u&&I();for(var n,i,r=e.target||e.srcElement,o=r.getAttribute("class")||"",a=0;a-1&&(n.onTap(),i=!0);if(i){e.stopPropagation&&e.stopPropagation(),g=!0;var s=t.features.isOldAndroid?600:30;setTimeout((function(){g=!1}),s)}},O=function(){return!e.likelyTouchDevice||v.mouseUsed||screen.width>v.fitControlsWidth},T=function(e,n,i){t[(i?"add":"remove")+"Class"](e,"pswp__"+n)},D=function(){var e=1===v.getNumItemsFn();e!==m&&(T(i,"ui--one-slide",e),m=e)},E=function(){T(l,"share-modal--hidden",k)},M=function(){return k=!k,k?(t.removeClass(l,"pswp__share-modal--fade-in"),setTimeout((function(){k&&E()}),300)):(E(),setTimeout((function(){k||t.addClass(l,"pswp__share-modal--fade-in")}),30)),k||P(),!1},$=function(t){t=t||window.event;var n=t.target||t.srcElement;return e.shout("shareLinkClick",t,n),!!n.href&&(!!n.hasAttribute("download")||(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),k||M(),!1))},P=function(){for(var e,t,n,i,r,o="",a=0;a