@fly-vue/lcdp-iview 1.8.0-1 → 1.8.0-2
Sign up to get free protection for your applications and to get access to all the features.
- package/bingo-builder-manifest.json +5 -5
- package/index.js +2 -2
- package/modules/fly_vue_lcdp_iview/dll.js +7 -7
- package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.f555361f806767f83001.js +1 -0
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.f555361f806767f83001.js +1 -0
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component.f555361f806767f83001.js +1 -0
- package/modules/fly_vue_lcdp_iview/vendors~lcdp-renderer-components.f555361f806767f83001.js +7 -0
- package/package.json +1 -1
- package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.b5a3ee45d6eb8399327c.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.b5a3ee45d6eb8399327c.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component.b5a3ee45d6eb8399327c.js +0 -1
- package/modules/fly_vue_lcdp_iview/vendors~lcdp-renderer-components.b5a3ee45d6eb8399327c.js +0 -7
- /package/modules/fly_vue_lcdp_iview/{chunk-732b533d.b5a3ee45d6eb8399327c.js → chunk-732b533d.f555361f806767f83001.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{lcdp-designer-components.b5a3ee45d6eb8399327c.js → lcdp-designer-components.f555361f806767f83001.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{lcdp-iview-basecomponent.b5a3ee45d6eb8399327c.js → lcdp-iview-basecomponent.f555361f806767f83001.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-region.b5a3ee45d6eb8399327c.js → lcdp-iview-component-region.f555361f806767f83001.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{lcdp-renderer-components.b5a3ee45d6eb8399327c.js → lcdp-renderer-components.f555361f806767f83001.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component-ice.b5a3ee45d6eb8399327c.js → vendors~lcdp-iview-component-ice.f555361f806767f83001.js} +0 -0
@@ -0,0 +1,7 @@
|
|
1
|
+
(window["webpackJsonp_$fly_vue_lcdp_iview_"]=window["webpackJsonp_$fly_vue_lcdp_iview_"]||[]).push([["vendors~lcdp-renderer-components"],{"3a27":function(e,t,n){"use strict";n.r(t),n.d(t,"oneOf",(function(){return a})),n.d(t,"camelcaseToHyphen",(function(){return o})),n.d(t,"getScrollBarSize",(function(){return s})),n.d(t,"MutationObserver",(function(){return c})),n.d(t,"getStyle",(function(){return h})),n.d(t,"firstUpperCase",(function(){return p})),n.d(t,"warnProp",(function(){return m})),n.d(t,"deepCopy",(function(){return g})),n.d(t,"scrollTop",(function(){return y})),n.d(t,"findComponentUpward",(function(){return b})),n.d(t,"findComponentDownward",(function(){return w})),n.d(t,"findComponentsDownward",(function(){return x})),n.d(t,"findComponentsUpward",(function(){return O})),n.d(t,"findBrothersComponents",(function(){return j})),n.d(t,"hasClass",(function(){return k})),n.d(t,"addClass",(function(){return S})),n.d(t,"removeClass",(function(){return L})),n.d(t,"dimensionMap",(function(){return E})),n.d(t,"setMatchMedia",(function(){return C})),n.d(t,"sharpMatcherRegx",(function(){return P}));var r=n("a026");const i=r["default"].prototype.$isServer;function a(e,t){for(let n=0;n<t.length;n++)if(e===t[n])return!0;return!1}function o(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}let u;function s(e){if(i)return 0;if(e||void 0===u){const e=document.createElement("div");e.style.width="100%",e.style.height="200px";const t=document.createElement("div"),n=t.style;n.position="absolute",n.top=0,n.left=0,n.pointerEvents="none",n.visibility="hidden",n.width="200px",n.height="150px",n.overflow="hidden",t.appendChild(e),document.body.appendChild(t);const r=e.offsetWidth;t.style.overflow="scroll";let i=e.offsetWidth;r===i&&(i=t.clientWidth),document.body.removeChild(t),u=r-i}return u}const c=!i&&(window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver||!1),l=/([\:\-\_]+(.))/g,d=/^moz([A-Z])/;function f(e){return e.replace(l,(function(e,t,n,r){return r?n.toUpperCase():n})).replace(d,"Moz$1")}function h(e,t){if(!e||!t)return null;t=f(t),"float"===t&&(t="cssFloat");try{const n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(n){return e.style[t]}}function p(e){return e.toString()[0].toUpperCase()+e.toString().slice(1)}function m(e,t,n,r){n=p(n),r=p(r),console.error(`[iView warn]: Invalid prop: type check failed for prop ${t}. Expected ${n}, got ${r}. (found in component: ${e})`)}function v(e){const t=Object.prototype.toString,n={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"};return n[t.call(e)]}function g(e){const t=v(e);let n;if("array"===t)n=[];else{if("object"!==t)return e;n={}}if("array"===t)for(let r=0;r<e.length;r++)n.push(g(e[r]));else if("object"===t)for(let r in e)n[r]=g(e[r]);return n}function y(e,t=0,n,r=500,i){window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)});const a=Math.abs(t-n),o=Math.ceil(a/r*50);function u(t,n,r){if(t===n)return void(i&&i());let a=t+r>n?n:t+r;t>n&&(a=t-r<n?n:t-r),e===window?window.scrollTo(a,a):e.scrollTop=a,window.requestAnimationFrame(()=>u(a,n,r))}u(t,n,o)}function b(e,t,n){n="string"===typeof t?[t]:t;let r=e.$parent,i=r.$options.name;while(r&&(!i||n.indexOf(i)<0))r=r.$parent,r&&(i=r.$options.name);return r}function w(e,t){const n=e.$children;let r=null;if(n.length)for(const i of n){const e=i.$options.name;if(e===t){r=i;break}if(r=w(i,t),r)break}return r}function x(e,t){return e.$children.reduce((e,n)=>{n.$options.name===t&&e.push(n);const r=x(n,t);return e.concat(r)},[])}function O(e,t){let n=[];const r=e.$parent;return r?(r.$options.name===t&&n.push(r),n.concat(O(r,t))):[]}function j(e,t,n=!0){let r=e.$parent.$children.filter(e=>e.$options.name===t),i=r.findIndex(t=>t._uid===e._uid);return n&&r.splice(i,1),r}const _=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")};function k(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}function S(e,t){if(!e)return;let n=e.className;const r=(t||"").split(" ");for(let i=0,a=r.length;i<a;i++){const t=r[i];t&&(e.classList?e.classList.add(t):k(e,t)||(n+=" "+t))}e.classList||(e.className=n)}function L(e,t){if(!e||!t)return;const n=t.split(" ");let r=" "+e.className+" ";for(let i=0,a=n.length;i<a;i++){const t=n[i];t&&(e.classList?e.classList.remove(t):k(e,t)&&(r=r.replace(" "+t+" "," ")))}e.classList||(e.className=_(r))}const E={xs:"480px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1600px"};function C(){if("undefined"!==typeof window){const e=e=>({media:e,matches:!1,on(){},off(){}});window.matchMedia=window.matchMedia||e}}const P=/#([^#]+)$/},"51fa":function(e,t,n){"use strict";n.r(t);var r=n("3a27");t["default"]={props:{to:{type:[Object,String]},replace:{type:Boolean,default:!1},target:{type:String,validator(e){return Object(r["oneOf"])(e,["_blank","_self","_parent","_top"])},default:"_self"},append:{type:Boolean,required:!1,default:!1}},computed:{linkUrl(){const e=typeof this.to;if("string"!==e)return null;if(this.to.includes("//"))return this.to;const t=this.$router;if(t){const e=this.$route,n=t.resolve(this.to,e,this.append);return n?n.href:this.to}return this.to}},methods:{handleOpenTo(){const e=this.$router;let t=this.to;if(e){const n=this.$route,r=e.resolve(this.to,n,this.append);t=r?r.href:this.to}"string"!==typeof this.to&&window.open(t)},handleClick(e=!1){const t=this.$router;e?this.handleOpenTo():t?"string"===typeof this.to&&this.to.includes("//")?window.location.href=this.to:this.replace?this.$router.replace(this.to,()=>{}):this.$router.push(this.to,()=>{}):window.location.href=this.to},handleCheckClick(e,t=!1){if(this.to){if("_blank"===this.target)return this.handleOpenTo(),!1;e.preventDefault(),this.handleClick(t)}}}}},bbda:function(e,t,n){(function(t,r){e.exports=r(n("51fa"),n("de48"),n("3a27"))})(window,(function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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="",n(n.s=0)}({0:function(e,t,n){e.exports=n("bd95")},"0651":function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("dae4"),i=n("2ef0"),a=n("a9f5"),o=n("3452"),u=n("bd11"),s=n.n(u),c=n("40e0");function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var a=t&&t.prototype instanceof y?t:y,o=Object.create(a.prototype),u=new M(r||[]);return i(o,"_invoke",{value:L(e,n,u)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",p="suspendedYield",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var x={};c(x,o,(function(){return this}));var O=Object.getPrototypeOf,j=O&&O(O(T([])));j&&j!==n&&r.call(j,o)&&(x=j);var _=w.prototype=y.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,a,o,u){var s=f(e[i],e,a);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(l).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return a=a?a.then(i,i):i()}})}function L(t,n,r){var i=h;return function(a,o){if(i===m)throw new Error("Generator is already running");if(i===v){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=E(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var c=f(t,n,r);if("normal"===c.type){if(i=r.done?v:p,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function E(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=f(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,i(_,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=c(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},k(S.prototype),c(S.prototype,u,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new S(d(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(_),c(_,s,"Generator"),c(_,o,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function d(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){d(a,r,i,o,u,"next",e)}function u(e){d(a,r,i,o,u,"throw",e)}o(void 0)}))}}function h(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=p(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e,t){if(e){if("string"===typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=[],g=[];function y(e,t){if(e.id||(e.id=Object(o["MD5"])("m_"+e.path+e.title).toString().substr(8,5)),!e.$parent&&t&&(e.$parent=t),!e.header){var n=w(e);n||(n="home"),e.header=n}return e.target||(e.target="tab"),e.path&&(e.pst&&(e.path=r["Utils"].appendParam(e.path,"_pst",e.pst)),"iframe"===e.target&&(e.path="/iframe/index?url="+encodeURIComponent(e.path)),r["Utils"].isAbsoluteUrl(e.path)||(e.path=r["Utils"].appendParam(e.path,"_mid",e.id)),e.$query=a["a"].resolveQueryString(e.path),e.$path=e.path.substr(0,e.path.includes("?")?e.path.indexOf("?"):e.path.length)),e.open=function(t){b(e,t)},e}function b(e,t){t=Object.assign({},t);var n=t.path||e.path,i=t.target||e.target,a=t.replace||e.replace;if(n){if("_blank"===i)return void window.open(n,i);if(n.indexOf("://")>-1)return void(window.location.href=n);var o={_tab:"true",_pid:"_blank"};e.keepSid||(o._from="left");var u=e.path;if(_.includes(e.path,":"))try{u=s.a.compile(e.path)(Object(r["router"])().app.$route.params)}catch(l){}var c={path:u,query:Object.assign(o,t.query)};a?Object(r["router"])().replace(c):Object(r["router"])().push(c)}}function w(e){if(e.header)return e.header;var t=e.$parent;while(t&&t.$parent!==t){if(t.header)return t.header;t=t.$parent}return null}function x(e){if(Object(i["isString"])(e)){for(var t,n=null,r=h(g);!(t=r()).done;){var a=t.value;if(a.name===e){n=a;break}}return n}var o=w(e);return x(o)}var O={prepareMenu:y,group:!1,adapters:[],siderMenus:function(){return v},headerMenus:function(){return g},setGroupable:function(e){this.group=e,r["webApplication"].store.commit("admin/menu/setGroup",this.group)},addMenus:function(e){this.prepareMenus(e),v=v.concat(e)},prepareMenus:function(e){var t=this;r["Utils"].visitTree(e,(function(e,n){var r=e.$parent||n;if(e.submenuSource&&!e.$loaded)return e.$parent=r,e.children=[],void t.loadSubMenu(e);t.adapters.forEach((function(t){t(e,r)})),y(e,r)}))},addAdapter:function(e){this.adapters.push(e)},addHeaderMenus:function(e){function t(e){return e.children&&(e.children=e.children.map((function(e){return t(e)}))),e}var n=e.map((function(e){return t(e)}));g=g.concat(n),r["Logger"].debug(n,g,"headerMenuList"),r["webApplication"].store&&(r["webApplication"].store.commit("admin/menu/setHeader",g),r["webApplication"].store.commit("admin/menu/setGroup",this.group))},removeHeaderMenus:function(){g=[]},removeSiderMenus:function(){v=[]},defaultMenuServiceUrl:function(){var e="service.menu.url",t=r["ConfigHelper"].getConfigVal(e);if(Object(i["isEmpty"])(t)){var n="service.menu.endpoint";if(t=r["ConfigHelper"].getConfigVal(n),!Object(i["isEmpty"])(t)){t+="/menu/published";var a=r["ConfigHelper"].getApiBaseUrl();t.indexOf(a)>=0&&(t=t.substr(a.length+1))}}return Object(i["isEmpty"])(t)&&(t="./menu/published"),t},findByPath:function(e,t,n){var i;if(!e)return i;var o=e.includes("?")>0?e.substr(0,e.indexOf("?")):e,u=a["a"].resolveQueryString(e),l=Object(c["a"])(),d=l.getMenuMatchedByPathParser,f=d();return r["Utils"].visitTree(v,(function(r){if(f){var c=f(e,r,t,n);if(c)return i=r,!1}if(e===r.path)return i=r,!1;var l=r.$path;if(_.includes(r.$path,":"))try{l=s.a.compile(r.$path)(null==t?void 0:t.params)}catch(d){}return o===l&&a["a"].hasSameQuery(r.$query,u)?(i=r,!1):void 0})),i},findById:function(e){var t;return r["Utils"].visitTree(v,(function(n,r){if(e===n.id)return t=n,!1})),t},open:function(e,t){b(e,t)},buildMenu:function(e){return y(e)},findHeader:function(e){return x(e)},getAncestorIds:function(e){var t=[];if(!e)return t;var n=e.$parent;while(n){if(t.push(n.id),!n.$parent||n.$parent===n)break;n=n.$parent}return t},loadRemoteMenu:function(e){var t=this;return f(l().mark((function n(){var a,o,u,s;return l().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return Object(i["isEmpty"])(e)&&(e=t.defaultMenuServiceUrl()),a=new r["HttpRequest"],n.next=4,a.params({orderby:"displayOrder asc"}).get(e);case 4:o=n.sent,u=Object(i["isArray"])(o.data)?null:o.data.headers,u&&(t.removeHeaderMenus(),t.addHeaderMenus(u)),s=Object(i["isArray"])(o.data)?o.data:o.data.menus,r["Utils"].visitTree(s,(function(e){e.url&&(e.path=Object(i["trimStart"])(e.url,"#"))})),v=[],t.addMenus(s),"boolean"===typeof o.data.group&&(t.group=o.data.group);case 12:case"end":return n.stop()}}),n)})))()},loadSubMenu:function(e){var t=this;e.submenuSource&&!e.$loaded&&(new r["HttpRequest"]).params("id",e.id).get(e.submenuSource).then((function(n){var r=n.data;e.$loaded=!0,r&&(r instanceof Array?e.children=r:r.menus&&(e.children=r.menus),t.prepareMenus(e))}))},filterSiderMenus:function(e){return void 0===e&&(e=""),e?v.filter((function(t){return t.header===e})):v},setHeaderName:function(e){Object(r["store"])().commit("admin/menu/setHeaderName",e);var t=this.filterSiderMenus(e);Object(r["store"])().commit("admin/menu/setSider",t)},getHeaderName:function(){var e=this.getHeader();return e?e.name:null},getHeader:function(){return Object(r["store"])().getters["admin/menu/currentHeader"]},onRouteChange:function(e,t){var n=this.findByPath(e.fullPath,e,t),i=a["a"].resolveQueryString(e.fullPath);if(n||i["_mid"]&&(n=this.findById(i["_mid"])),!n){var o=e.matched[e.matched.length-1].path;n=this.findByPath(o,e,t)}var u=i["_header"];if(n)u=n.header;else for(var s=e.matched.length-1;s>=0;s--){var c=e.matched[s];if(c.meta&&c.meta.header){u=c.meta.header;break}}if(u){var l=this.getHeaderName()||{};l.name!==u&&this.setHeaderName(u)}if(n){var d=this.getAncestorIds(n);Object(r["store"])().commit("admin/menu/setOpenNames",d),Object(r["store"])().commit("admin/menu/setActivePath",n.id)}return n}}},"08ac":function(e,t,n){},"0cc9":function(e,t,n){"use strict";var r={locale:"zh-CN",language:"简体中文",menu:{i18n:"多语言"},page:{login:{title:"登录",remember:"自动登录",forgot:"忘记密码",submit:"登录",other:"其它登录方式",signup:"注册账户"},register:{title:"注册",submit:"注册",other:"使用已有账户登录"},exception:{e403:"抱歉,你无权访问该页面",e404:"抱歉,你访问的页面不存在",e500:"抱歉,服务器出错了",btn:"返回首页"},i18n:{content:"你好,很高兴认识你!"}}},i={locale:"en-US",language:"English",menu:{i18n:"Internationalization"},page:{login:{title:"Login",remember:"Remember me",forgot:"Forgot your password?",submit:"Login",other:"Sign in with",signup:"Sign up"},register:{title:"Register",submit:"Register",other:"Already have an account?"},exception:{e403:"Sorry, you don't have access to this page.",e404:"Sorry, the page you visited does not exist.",e500:"Sorry, the server is reporting an error.",btn:"Back to home"},i18n:{content:"Hello, nice to meet you!"}}},a=n("198f"),o=n.n(a),u=n("3250"),s=n.n(u),c={"zh-CN":{basicLayout:{search:{placeholder:"搜索...",cancel:"取消"},user:{center:"个人中心",setting:"设置",logOut:"退出登录"},logout:{confirmTitle:"退出登录确认",confirmContent:"您确定退出登录当前账户吗?打开的标签页和个人设置将会保存。"},tabs:{left:"关闭左侧",right:"关闭右侧",other:"关闭其它",all:"全部关闭"}}},"en-US":{basicLayout:{search:{placeholder:"Search...",cancel:"Cancel"},user:{center:"My home",setting:"Setting",logOut:"Log out"},logout:{confirmTitle:"Logout confirmation",confirmContent:"Are you sure you are logged out of your current account? Open tabs and personal settings will be saved."},tabs:{left:"Close left",right:"Close right",other:"Close other",all:"Close all"}}}};t["a"]={"zh-CN":Object.assign(r,o.a,c["zh-CN"]),"en-US":Object.assign(i,s.a,c["en-US"])}},"0fbf":function(e,t){e.exports=_$fly_vue_core_},"14fe":function(e,t,n){e.exports=n.p+"modules/fly_vue_iview_admin/assets/img/header-theme-dark.7e6c9b32.svg"},"196a":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",[t("Exception",{attrs:{type:"404","img-color":"",desc:e.$t("page.exception.e404"),"back-text":e.$t("page.exception.btn")}})],1)},i=[]},"198f":function(e,t,n){e.exports=n("6ade")("./node_modules/view-design/dist/locale/zh-CN.js")},"1b5c":function(e,t,n){"use strict";var r=n("7074"),i=n.n(r),a=n("fd77"),o=n.n(a),u=new o.a("admin"),s=i()(u);s.defaults({sys:{},database:{}}).write(),t["a"]=s},"23b3":function(e,t){},2655:function(e,t){function n(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then}e.exports=n,e.exports.default=n},2710:function(e,t){},2877:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,u){var s,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=s):i&&(s=u?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(c.functional){c._injectStyles=s;var l=c.render;c.render=function(e,t){return s.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,s):[s]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},"2acf":function(e,t,n){var r={"./db.js":"a32f","./i18n.js":"eaca","./layout.js":"7673","./log.js":"4a19","./menu.js":"37ea","./page.js":"5191","./user.js":"9164"};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id="2acf"},"2ef0":function(e,t,n){e.exports=n("0fbf")("./node_modules/lodash/lodash.js")},"2f62":function(e,t,n){e.exports=n("0fbf")("./node_modules/vuex/dist/vuex.esm.js")},"30c2":function(t,n){t.exports=e},3250:function(e,t,n){e.exports=n("6ade")("./node_modules/view-design/dist/locale/en-US.js")},"33a1":function(e,t,n){"use strict";n.r(t);var r=n("52d0"),i=n("bdb3");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);var o=n("2877"),u=Object(o["a"])(i["default"],r["a"],r["b"],!1,null,null,null);t["default"]=u.exports},3452:function(e,t,n){e.exports=n("0fbf")("./node_modules/crypto-js/index.js")},"37ea":function(e,t,n){"use strict";n.r(t);var r=n("2ef0"),i=n("dae4");function a(e,t){return e.forEach((function(e){var n=!0,o=e.auth;if(o&&(n=Object(r["isFunction"])(o)?o(e):i["PermissionService"].hasPerm(o)),n){var u={};for(var s in e)"children"!==s&&(u[s]=Object(r["cloneDeep"])(e[s]));e.children&&e.children.length&&(u.children=[]),t.push(u),e.children&&a(e.children,u.children)}})),t}t["default"]={namespaced:!0,state:{header:[],sider:[],headerName:"",hideSider:!1,activePath:"",openNames:[],group:!1},getters:{filterSider:function(e,t,n){return a(e.sider,[])},filterHeader:function(e,t,n){return e.header.filter((function(e){var t=!0;return e.auth&&!i["PermissionService"].hasPerm(e.auth)&&(t=!1),t}))},currentHeader:function(e){var t=[];function n(e){e&&e.forEach((function(e){e.children?n(e.children):t.push(e)}))}return n(e.header),t.find((function(t){return t.name===e.headerName}))},hideSider:function(e,t){return e.hideSider}},mutations:{setSider:function(e,t){e.sider=t},setHeader:function(e,t){e.header=t},setHeaderName:function(e,t){e.headerName=t},setActivePath:function(e,t){e.activePath=t},setOpenNames:function(e,t){e.openNames=t},setGroup:function(e,t){e.group=t},setHideSider:function(e,t){e.hideSider=t}}}},"40e0":function(e,t,n){"use strict";var r;function i(){return{setMenuMatchedByPathParser:function(e){r=e},getMenuMatchedByPathParser:function(){return r}}}n.d(t,"a",(function(){return i}))},"43ed":function(e,t,n){e.exports=n.p+"modules/fly_vue_iview_admin/assets/img/theme-light.18acc17c.svg"},"4a19":function(e,t,n){"use strict";n.r(t);var r=n("5a0c"),i=n.n(r),a=n("2ef0"),o=n("6bc3");t["default"]={namespaced:!0,state:{log:[]},getters:{length:function(e){return e.log.length},lengthError:function(e){return e.log.filter((function(e){return"error"===e.type})).length}},actions:{push:function(e,t){var n=e.rootState,r=e.commit,u=t.message,s=t.type,c=void 0===s?"info":s,l=t.meta;r("push",{message:u,type:c,time:i()().format("YYYY-MM-DD HH:mm:ss"),meta:Object.assign({user:n.admin.user.info,uuid:o["a"].cookies.get("uuid"),token:o["a"].cookies.get("token"),url:Object(a["get"])(window,"location.href","")},l)})}},mutations:{push:function(e,t){e.log.push(t)},clean:function(e){e.log=[]}}}},"4b31":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bvue-page-iframe"},[t("b-iframe",{attrs:{src:e.iframeSrc,height:"100%"},on:{"on-message":e.testMessage}})],1)},i=[],a={data:function(){return{iframeSrc:this.$route.query.url}},beforeRouteUpdate:function(e,t,n){this.iframeSrc===e.query.url?this.iframeSrc=e.query.url+"&_date="+(new Date).getTime():this.iframeSrc=e.query.url,n()},methods:{testMessage:function(){}}},o=a,u=(n("5fd8"),n("2877")),s=Object(u["a"])(o,r,i,!1,null,"152b69c6",null);t["default"]=s.exports},5191:function(e,t,n){"use strict";n.r(t);var r=n("2ef0"),i=n("dae4"),a=n("8ccc"),o=n("0651"),u=n("a9f5"),s=n("eb44");function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var a=t&&t.prototype instanceof y?t:y,o=Object.create(a.prototype),u=new M(r||[]);return i(o,"_invoke",{value:L(e,n,u)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",p="suspendedYield",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var x={};l(x,o,(function(){return this}));var O=Object.getPrototypeOf,j=O&&O(O(T([])));j&&j!==n&&r.call(j,o)&&(x=j);var _=w.prototype=y.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,a,o,u){var s=f(e[i],e,a);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(l).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return a=a?a.then(i,i):i()}})}function L(t,n,r){var i=h;return function(a,o){if(i===m)throw new Error("Generator is already running");if(i===v){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=E(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var c=f(t,n,r);if("normal"===c.type){if(i=r.done?v:p,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function E(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=f(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,i(_,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},k(S.prototype),l(S.prototype,u,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new S(d(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(_),l(_,s,"Generator"),l(_,o,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function l(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){l(a,r,i,o,u,"next",e)}function u(e){l(a,r,i,o,u,"throw",e)}o(void 0)}))}}var f=function(e){return Object(r["get"])(e,"meta.cache",!1)};function h(e,t){var n=t.opened.find((function(e){return u["a"].isUrlEqual(e.fullPath,t.current)}))||{meta:{},pid:Object(r["uniqueId"])("pid_"),pst:s["a"].defaultPageState()},i=Object.assign(Object(r["cloneDeep"])(n),{meta:Object(r["cloneDeep"])(e.meta),name:e.name,fullPath:e.fullPath}),a=e.query;return"_blank"===a["_pid"]?(i.pid=Object(r["uniqueId"])("pid_"),i):i}function p(e,t){if(Object(r["isEmpty"])(t.opened))return!0;var n=t.pool.find((function(t){return t.name===e.name}));if(n)return!0;if(e.query["_tab"]||e.params["_tab"])return!0;var i=e.matched[e.matched.length-1],a=i.parent;return!(i.meta.hidden||!(i.meta.tab||a&&a.meta.tabForChild))||void 0}function m(e,t){var n=-1,r=null;return t&&(r=e.opened.find((function(e,r){var i=u["a"].isUrlEqual(e.fullPath,t);return n=i?r:n,i}))),{page:r,index:n}}t["default"]={namespaced:!0,state:{pool:[],opened:(Object(i["config"])().page||{}).opened,current:"",keepAlive:[]},getters:{currentPage:function(e){var t=m(e,e.current);return t.page}},actions:{openedLoad:function(e){var t=e.state,n=e.commit,r=e.dispatch;return e.rootState,new Promise(function(){var e=d(c().mark((function e(u){var s,l;return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r("admin/db/get",{dbName:"sys",path:"page.opened",defaultValue:(Object(i["config"])().page||{}).opened,user:!0},{root:!0});case 2:s=e.sent,l=[],t.opened=s.map((function(e){if("/index"===e.fullPath)return l.push(1),e;var n=t.pool.find((function(t){return t.name===e.name}));return l.push(n?1:0),Object.assign({},e,n)})).filter((function(e,t){return 1===l[t]})).filter((function(e){var t=Object(a["b"])(o["a"].siderMenus()),n=t.find((function(t){return t.path===e.fullPath})),r=!0;return n&&n.auth&&(i["PermissionService"].hasPerm(n.auth)||(r=!1)),r})),n("keepAliveRefresh"),u();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},opened2db:function(e){var t=e.state,n=e.dispatch;return new Promise(function(){var e=d(c().mark((function e(r){return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:n("admin/db/set",{dbName:"sys",path:"page.opened",value:t.opened,user:!0},{root:!0}),r();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},openedUpdate:function(e,t){var n=e.state,i=(e.commit,e.dispatch),a=t.index,o=t.name,u=t.params,s=t.query,l=t.fullPath,f=t.meta,h=t.pst,p=t.prePage;return new Promise(function(){var e=d(c().mark((function e(t){var d;return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return d=n.opened[a],d.name=o||d.name,d.params=u||d.params,d.query=s||d.query,d.fullPath=l||d.fullPath,d.meta=f?Object(r["cloneDeep"])(f):d.meta,d.pst=h||d.pst,d.prePage=p||d.prePage,d.lastUpdated=(new Date).getTime(),n.opened.splice(a,1,d),e.next=12,i("opened2db");case 12:t();case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},currentUpdate:function(e,t){var n=e.state,i=(e.commit,e.dispatch),a=t.name,o=t.params,u=t.query,s=t.fullPath,l=t.meta,f=t.pst,h=t.prePage;return new Promise(function(){var e=d(c().mark((function e(t){return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:setTimeout(d(c().mark((function e(){var d,p,v,g;return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return d=m(n,n.current),p=d.index,v=d.page,g=v.meta.title,l&&l.title&&(g=l.title),v.name=a||v.name,v.params=o||v.params,v.query=u||v.query,v.fullPath=s||v.fullPath,v.meta=l?Object(r["cloneDeep"])(l):v.meta,v.pst=f||v.pst,v.prePage=h||v.prePage,v.lastUpdated=(new Date).getTime(),v.meta.title=g,n.opened.splice(p,1,v),e.next=17,i("opened2db");case 17:t();case 18:case"end":return e.stop()}}),e)}))),0);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},add:function(e,t){var n=e.state,i=e.commit,a=e.dispatch,o=t.tag,u=t.params,s=t.query,l=t.fullPath,h=t.prePage;return new Promise(function(){var e=d(c().mark((function e(t){var d;return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return d=o,d.tid=Object(r["uniqueId"])("tid_"),d.params=u||d.params,d.query=s||d.query,d.fullPath=l||d.fullPath,d.prePage=h||d.prePage,d.lastUpdated=(new Date).getTime(),n.opened.push(d),f(d)&&i("keepAlivePush",o.name),e.next=11,a("opened2db");case 11:t();case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},open:function(e,t){var n=e.state,r=e.commit,i=e.dispatch,a=t.to,o=t.from,u=a.name,s=a.params,l=a.query,f=a.fullPath,v=a.meta;return new Promise(function(){var e=d(c().mark((function e(t){var d,g,y,b,w,x;return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(d=o&&o.fullPath,m(n,d).index<0&&(d=n.current),g=m(n,a.fullPath),y=g.index,b=g.page,!b){e.next=10;break}return e.next=8,i("openedUpdate",{index:y,name:u,params:s,query:l,fullPath:f,prePage:d});case 8:e.next=19;break;case 10:if(w=p(a,n),!w){e.next=17;break}return x=h(a,n),e.next=15,i("add",{tag:x,params:s,query:l,fullPath:f,prePage:d});case 15:e.next=19;break;case 17:return e.next=19,i("currentUpdate",{name:u,params:s,query:l,fullPath:f,meta:v,prePage:d});case 19:r("currentSet",f),t();case 21:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},close:function(e,t){var n=e.state,r=e.commit,a=e.dispatch,o=t.tagName;return new Promise(function(){var e=d(c().mark((function e(t){var s,l,d,f,h,p,v,g,y,b,w,x,O,j;return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(s={page:n.opened[0],index:0},l=u["a"].isUrlEqual(n.current,o||n.current),d=m(n,o||n.current),!l){e.next=18;break}if(f=m(n,d.page.prePage),!f.page){e.next=9;break}s=f,e.next=18;break;case 9:h=n.opened.length,p=0;case 11:if(!(p<h)){e.next=18;break}if(!u["a"].isUrlEqual(n.opened[p].fullPath,o)){e.next=15;break}return h>1?p===h-1?(s.page=n.opened[p-1],s.index=p-1):(s.page=n.opened[p+1],s.index=p+1):s={index:-1},e.abrupt("break",18);case 15:p++,e.next=11;break;case 18:return d.index>=0&&(r("keepAliveRemove",n.opened[d.index]),n.opened.splice(d.index,1)),e.next=21,a("opened2db");case 21:l&&(v=s.page,g=v.fullPath,y=void 0===g?"/":g,b=v.params,w=void 0===b?{}:b,x=v.query,O=void 0===x?{}:x,delete O["_cache_opener"],delete O["_no_cache"],j={path:y,params:w,query:O},Object(i["router"])().push(j,(function(){}))),t();case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeLeft:function(e,t){var n=e.state,r=e.commit,a=e.dispatch,o=void 0===t?{}:t,s=o.pageSelect;return new Promise(function(){var e=d(c().mark((function e(t){var o,l;return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=s||n.current,l=0,n.opened.forEach((function(e,t){u["a"].isUrlEqual(e.fullPath,o)&&(l=t)})),l>0&&n.opened.splice(1,l-1).forEach((function(e){return r("keepAliveRemove",e)})),n.current=o,Object(i["router"])().app.$route.fullPath!==o&&Object(i["router"])().push(o),e.next=8,a("opened2db");case 8:t();case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeRight:function(e,t){var n=e.state,r=e.commit,a=e.dispatch,o=void 0===t?{}:t,s=o.pageSelect;return new Promise(function(){var e=d(c().mark((function e(t){var o,l;return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=s||n.current,l=0,n.opened.forEach((function(e,t){u["a"].isUrlEqual(e.fullPath,o)&&(l=t)})),n.opened.splice(l+1).forEach((function(e){return r("keepAliveRemove",e)})),n.current=o,Object(i["router"])().app.$route.fullPath!==o&&Object(i["router"])().push(o),e.next=8,a("opened2db");case 8:t();case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeOther:function(e,t){var n=e.state,r=e.commit,a=e.dispatch,o=void 0===t?{}:t,s=o.pageSelect;return new Promise(function(){var e=d(c().mark((function e(t){var o,l;return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=s||n.current,l=0,n.opened.forEach((function(e,t){u["a"].isUrlEqual(e.fullPath,o)&&(l=t)})),0===l?n.opened.splice(1).forEach((function(e){return r("keepAliveRemove",e)})):(n.opened.splice(l+1).forEach((function(e){return r("keepAliveRemove",e)})),n.opened.splice(1,l-1).forEach((function(e){return r("keepAliveRemove",e)}))),n.current=o,Object(i["router"])().app.$route.fullPath!==o&&Object(i["router"])().push(o),e.next=8,a("opened2db");case 8:t();case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},closeAll:function(e){var t=e.state,n=e.commit,r=e.dispatch;return new Promise(function(){var e=d(c().mark((function e(a){return c().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.opened.splice(1).forEach((function(e){return n("keepAliveRemove",e)})),e.next=3,r("opened2db");case 3:"index"!==Object(i["router"])().app.$route.name&&Object(i["router"])().push({name:"index"},(function(){})),a();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},mutations:{keepAliveRefresh:function(e){e.keepAlive=e.opened.filter((function(e){return f(e)})).map((function(e){return e.name}))},keepAliveRemove:function(e,t){var n=[].concat(e.keepAlive),a=t,o=null;Object(r["isObject"])(t)&&(a=t.name,o=t);var u=n.findIndex((function(e){return e===a}));if(-1!==u&&(n.splice(u,1),e.keepAlive=n),o){var s=o.fullPath;s.includes("?")&&(s=s.substr(0,s.indexOf("?"))),i["KeepAliveManager"].cleanByRoute({path:s,params:o.params||{},query:o.query||{},matched:[]})}},keepAlivePush:function(e,t){var n=[].concat(e.keepAlive);n.push(t),e.keepAlive=n},keepAliveClean:function(e){e.keepAlive=[]},currentSet:function(e,t){e.current=t},init:function(e,t){var n=e.pool,r=function e(t){t.forEach((function(t){if(t.children&&t.meta.tabForChild)e(t.children);else if(!t.meta.hidden){var r=t.meta,i=t.name,a=t.path;n.push({meta:r,name:i,path:a})}}))};r(t),e.pool=n}}}},"52d0":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",[t("Exception",{attrs:{type:"500","img-color":"",desc:e.$t("page.exception.e500"),"back-text":e.$t("page.exception.btn")}})],1)},i=[]},"5a0c":function(e,t,n){e.exports=n("0fbf")("./node_modules/dayjs/dayjs.min.js")},"5c4b":function(e,t,n){"use strict";n.r(t);var r=n("196a"),i=n("7613");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);var o=n("2877"),u=Object(o["a"])(i["default"],r["a"],r["b"],!1,null,null,null);t["default"]=u.exports},"5e20":function(e,t,n){"use strict";var r=n("a78e"),i=n.n(r),a=n("dae4"),o={set:function(e,t,n){void 0===e&&(e="default"),void 0===t&&(t=""),void 0===n&&(n={});var r={expires:Object(a["config"])().cookiesExpires};Object.assign(r,n),i.a.set("admin-"+e,t,r)},get:function(e){return void 0===e&&(e="default"),i.a.get("admin-"+e)},getAll:function(){return i.a.get()},remove:function(e){return void 0===e&&(e="default"),i.a.remove("admin-"+e)}};t["a"]=o},"5fb7":function(e,t){},"5fd8":function(e,t,n){"use strict";n("08ac")},"6ade":function(e,t){e.exports=_$fly_vue_iview_pro_},"6bc3":function(e,t,n){"use strict";n.d(t,"b",(function(){return c}));var r=n("5e20"),i=n("a53c"),a=n("1b5c"),o=n("dae4"),u={cookies:r["a"],log:i["a"],db:a["a"]};function s(e){return void 0===e&&(e=""),window&&window.$t&&0===e.indexOf("$t:")?window.$t(e.split("$t:")[1]):e}function c(e){if("requestAnimationFrame"in window)return window.requestAnimationFrame(e);setTimeout(e,16)}u.title=function(e){var t=e.title,n=e.count;t=s(t);var r=Object(o["config"])().titleSuffix,i=t;r&&(i=t?t+" - "+r:r),n&&(i="("+n+"条消息)"+i),window.document.title=i},u.event=function(e){var t=Object.assign({returnValue:null,preventDefault:function(){this.returnValue=!1}},e);return t},t["a"]=u},"6fff":function(e,n){e.exports=t},7074:function(e,t,n){"use strict";var r=n("2ef0"),i=n("2655");e.exports=function(e){if("object"!==typeof e)throw new Error("An adapter must be provided, see https://github.com/typicode/lowdb/#usage");var t=r.runInContext(),n=t.chain({});function a(e){return n.__wrapped__=e,n}return t.prototype.write=t.wrap(t.prototype.value,(function(e){var t=e.apply(this);return n.write(t)})),n._=t,n.read=function(){var t=e.read();return i(t)?t.then(a):a(t)},n.write=function(t){var r=e.write(n.getState());return i(r)?r.then((function(){return t})):t},n.getState=function(){return n.__wrapped__},n.setState=function(e){return a(e)},n.read()}},"70da":function(e,t,n){e.exports=n("6ade")("./node_modules/@fly-vue/iview-pro/index.js")},"71e8":function(e,t,n){e.exports=n.p+"modules/fly_vue_iview_admin/assets/img/nav-theme-dark.d6670ffe.svg"},"72bf":function(e,t,n){e.exports=n("0fbf")("./node_modules/query-string/index.js")},7613:function(e,t,n){"use strict";n.r(t);var r=n("2710"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},7673:function(e,t,n){"use strict";n.r(t);var r=n("93bf"),i=n.n(r),a=n("dae4");t["default"]={namespaced:!0,state:Object.assign({},Object(a["config"])().layout,{keepMenuCollapse:null,isMobile:!1,isTablet:!1,isDesktop:!0,isFullscreen:!1,historyLayout:{}}),getters:{menuCollapse:function(e){return e.menuCollapse},keepMenuCollapse:function(e){return e.keepMenuCollapse}},mutations:{setDevice:function(e,t){e.isMobile=!1,e.isTablet=!1,e.isDesktop=!1,e["is"+t]=!0},updateMenuCollapse:function(e,t){e.menuCollapse=t},setKeepMenuCollapse:function(e,t){e.keepMenuCollapse=t},setFullscreen:function(e,t){e.isFullscreen=t},updateLayoutSetting:function(e,t){var n=t.key,r=t.value;switch(e[n]=r,n){case"themeDark":!0===r?(e["siderTheme"]="dark",e["headerTheme"]="dark",document.getElementsByTagName("body")[0].classList.add("ivu-theme-dark")):document.getElementsByTagName("body")[0].classList.remove("ivu-theme-dark");break;case"spaceSize":"default"==r?document.getElementsByTagName("body")[0].classList.remove("bin-layout-space-samll"):document.getElementsByTagName("body")[0].classList.add("bin-layout-space-samll");break;default:break}}},actions:{listenFullscreen:function(e){var t=e.commit;return new Promise((function(e){i.a.enabled&&i.a.on("change",(function(){i.a.isFullscreen||t("setFullscreen",!1)})),e()}))},toggleFullscreen:function(e,t){var n=e.commit;return new Promise((function(e){"boolean"===typeof t?t?i.a.isFullscreen||(i.a.request(),n("setFullscreen",!0)):i.a.isFullscreen&&(i.a.exit(),n("setFullscreen",!1)):i.a.isFullscreen?(i.a.exit(),n("setFullscreen",!1)):(i.a.request(),n("setFullscreen",!0)),e()}))}}}},"84cb":function(e,t){e.exports=n},8695:function(e,t,n){e.exports=n.p+"modules/fly_vue_iview_admin/assets/img/headernav-theme-dark.dd5e9ab8.svg"},"8ccc":function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return h}));var r=n("2ef0");function i(e,t){var n=[];t.forEach((function(e){var t=e.header||"",r=a(e,t);n.push({path:e.path,header:t}),r.forEach((function(e){return n.push(e)}))}));var r=n.find((function(t){return t.path===e}));return r?r.header:null}function a(e,t){return e.children&&e.children.length?e.children.reduce((function(e,n){e.push({path:n.path,header:t});var r=a(n,t);return e.concat(r)}),[]):[e]}function o(e,t){return void 0===t&&(t=""),t?e.filter((function(e){return e.header===t})):e}function u(e,t){var n=[];t.forEach((function(e){var t=s(e,[]);n.push({path:e.path,openNames:[]}),t.forEach((function(e){return n.push(e)}))}));var r=n.find((function(t){return t.path===e}));return r?r.openNames:[]}function s(e,t){if(e.children&&e.children.length){var n=t.concat([e.id]);return e.children.reduce((function(e,t){e.push({path:t.path,openNames:n});var r=s(t,n);return e.concat(r)}),[])}return[e].map((function(e){return{path:e.path,openNames:t}}))}function c(e){var t=[];return e.forEach((function(e){if(e.children&&e.children.length){var n=l(e);n.forEach((function(e){return t.push(e)}))}else t.push(e)})),t}function l(e){return e.children&&e.children.length?e.children.reduce((function(e,t){var n=l(t);return e.concat(n)}),[]):[e]}function d(e,t){return e.forEach((function(e){var n={};for(var i in e)"children"!==i&&(n[i]=Object(r["cloneDeep"])(e[i]));t.push(n),e.children&&d(e.children,t)})),t}function f(e,t){var n=!1;return t.forEach((function(t){e.includes(t)&&(n=!0)})),n}function h(e){void 0===e&&(e=32);for(var t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",n=t.length,r="",i=0;i<e;i++)r+=t.charAt(Math.floor(Math.random()*n));return r}},9164:function(e,t,n){"use strict";function r(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,o=Object.create(i.prototype),u=new M(r||[]);return a(o,"_invoke",{value:L(e,n,u)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",p="suspendedYield",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var x={};l(x,u,(function(){return this}));var O=Object.getPrototypeOf,j=O&&O(O(T([])));j&&j!==n&&i.call(j,u)&&(x=j);var _=w.prototype=y.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(r,a,o,u){var s=f(e[r],e,a);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&i.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(l).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var r;a(this,"_invoke",{value:function(e,i){function a(){return new t((function(t,r){n(e,i,t,r)}))}return r=r?r.then(a,a):a()}})}function L(t,n,r){var i=h;return function(a,o){if(i===m)throw new Error("Generator is already running");if(i===v){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=E(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var c=f(t,n,r);if("normal"===c.type){if(i=r.done?v:p,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function E(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=f(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r<t.length;)if(i.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,a(_,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,c,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},k(S.prototype),l(S.prototype,s,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new S(d(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(_),l(_,c,"Generator"),l(_,u,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function i(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function u(e){i(o,r,a,u,s,"next",e)}function s(e){i(o,r,a,u,s,"throw",e)}u(void 0)}))}}n.r(t),t["default"]={namespaced:!0,state:{info:{}},actions:{set:function(e,t){var n=e.state,i=e.dispatch;return new Promise(function(){var e=a(r().mark((function e(a){return r().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.info=t,e.next=3,i("admin/db/set",{dbName:"sys",path:"user.info",value:t,user:!0},{root:!0});case 3:a();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},load:function(e){var t=e.state,n=e.dispatch;return new Promise(function(){var e=a(r().mark((function e(i){return r().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n("admin/db/get",{dbName:"sys",path:"user.info",defaultValue:{},user:!0},{root:!0});case 2:t.info=e.sent,i();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}}}},"93bf":function(e,t,n){
|
2
|
+
/*!
|
3
|
+
* screenfull
|
4
|
+
* v4.0.0 - 2018-12-15
|
5
|
+
* (c) Sindre Sorhus; MIT License
|
6
|
+
*/
|
7
|
+
(function(){"use strict";var t="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},n=e.exports,r="undefined"!==typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,i=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,a={};r<i;r++)if(e=n[r],e&&e[1]in t){for(r=0;r<e.length;r++)a[n[0][r]]=e[r];return a}return!1}(),a={change:i.fullscreenchange,error:i.fullscreenerror},o={request:function(e){return new Promise(function(n){var a=i.requestFullscreen,o=function(){this.off("change",o),n()}.bind(this);e=e||t.documentElement,/ Version\/5\.1(?:\.\d+)? Safari\//.test(navigator.userAgent)?e[a]():e[a](r?Element.ALLOW_KEYBOARD_INPUT:{}),this.on("change",o)}.bind(this))},exit:function(){return new Promise(function(e){var n=function(){this.off("change",n),e()}.bind(this);t[i.exitFullscreen](),this.on("change",n)}.bind(this))},toggle:function(e){return this.isFullscreen?this.exit():this.request(e)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=a[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=a[e];r&&t.removeEventListener(r,n,!1)},raw:i};i?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(t[i.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[i.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return Boolean(t[i.fullscreenEnabled])}}}),n?e.exports=o:window.screenfull=o):n?e.exports=!1:window.screenfull=!1})()},"94df":function(e,t,n){"use strict";n.r(t);var r=n("ab1d"),i=n("a280");for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);var o=n("2877"),u=Object(o["a"])(i["default"],r["a"],r["b"],!1,null,null,null);t["default"]=u.exports},a280:function(e,t,n){"use strict";n.r(t);var r=n("5fb7"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},a32f:function(e,t,n){"use strict";n.r(t),n.d(t,"pathInit",(function(){return o}));var r=n("6bc3"),i=n("dae4"),a=n("2ef0");function o(e){var t=e.dbName,n=void 0===t?"database":t,i=e.path,a=void 0===i?"":i,o=e.user,u=void 0===o||o,s=e.validator,c=void 0===s?function(){return!0}:s,l=e.defaultValue,d=void 0===l?"":l,f=r["a"].cookies.get("uuid")||"ghost-uuid",h=n+"."+(u?"user."+f:"public")+(a?"."+a:""),p=r["a"].db.get(h).value();return void 0!==p&&c(p)||r["a"].db.set(h,d).write(),h}t["default"]={namespaced:!0,actions:{set:function(e,t){var n=t.dbName,i=void 0===n?"database":n,a=t.path,u=void 0===a?"":a,s=t.value,c=void 0===s?"":s,l=t.user,d=void 0!==l&&l;r["a"].db.set(o({dbName:i,path:u,user:d}),c).write()},get:function(e,t){var n=t.dbName,i=void 0===n?"database":n,u=t.path,s=void 0===u?"":u,c=t.defaultValue,l=void 0===c?"":c,d=t.user,f=void 0!==d&&d;return new Promise((function(e){e(Object(a["cloneDeep"])(r["a"].db.get(o({dbName:i,path:s,user:f,defaultValue:l})).value()))}))},database:function(e,t){var n=void 0===t?{}:t,i=n.user,a=void 0!==i&&i;return new Promise((function(e){e(r["a"].db.get(o({dbName:"database",path:"",user:a,defaultValue:{}})))}))},databaseClear:function(e,t){var n=void 0===t?{}:t,i=n.user,a=void 0!==i&&i;return new Promise((function(e){e(r["a"].db.get(o({dbName:"database",path:"",user:a,validator:function(){return!1},defaultValue:{}})))}))},databasePage:function(e,t){var n=void 0===t?{}:t,a=n.basis,u=void 0===a?"fullPath":a,s=n.user,c=void 0!==s&&s;return new Promise((function(e){e(r["a"].db.get(o({dbName:"database",path:"$page."+Object(i["router"])().app.$route[u],user:c,defaultValue:{}})))}))},databasePageClear:function(e,t){var n=void 0===t?{}:t,a=n.basis,u=void 0===a?"fullPath":a,s=n.user,c=void 0!==s&&s;return new Promise((function(e){e(r["a"].db.get(o({dbName:"database",path:"$page."+i["router"].app.$route[u],user:c,validator:function(){return!1},defaultValue:{}})))}))},pageSet:function(e,t){var n=t.instance,u=t.basis,s=void 0===u?"fullPath":u,c=t.user,l=void 0!==c&&c;return new Promise((function(e){e(r["a"].db.get(o({dbName:"database",path:"$page."+i["router"].app.$route[s]+".$data",user:l,validator:function(){return!1},defaultValue:Object(a["cloneDeep"])(n.$data)})))}))},pageGet:function(e,t){var n=t.instance,u=t.basis,s=void 0===u?"fullPath":u,c=t.user,l=void 0!==c&&c;return new Promise((function(e){e(Object(a["cloneDeep"])(r["a"].db.get(o({dbName:"database",path:"$page."+i["router"].app.$route[s]+".$data",user:l,defaultValue:Object(a["cloneDeep"])(n.$data)})).value()))}))},pageClear:function(e,t){var n=t.basis,a=void 0===n?"fullPath":n,u=t.user,s=void 0!==u&&u;return new Promise((function(e){e(r["a"].db.get(o({dbName:"database",path:"$page."+i["router"].app.$route[a]+".$data",user:s,validator:function(){return!1},defaultValue:{}})))}))}}}},a53c:function(e,t,n){"use strict";var r={};function i(e){void 0===e&&(e="default");var t="";switch(e){case"default":t="#515a6e";break;case"primary":t="#2d8cf0";break;case"success":t="#19be6b";break;case"warning":t="#ff9900";break;case"error":t="#ed4014";break;default:break}return t}r.capsule=function(e,t,n){void 0===n&&(n="primary"),"error"===n?console.error("%c "+e+" %c "+t+" %c","background:#35495E; padding: 1px; border-radius: 3px 0 0 3px; color: #fff;","background:"+i(n)+"; padding: 1px; border-radius: 0 3px 3px 0; color: #fff;","background:transparent"):console.log("%c "+e+" %c "+t+" %c","background:#35495E; padding: 1px; border-radius: 3px 0 0 3px; color: #fff;","background:"+i(n)+"; padding: 1px; border-radius: 0 3px 3px 0; color: #fff;","background:transparent")},r.colorful=function(e){var t,n;"error"===e.type?(t=console).error.apply(t,["%c"+e.map((function(e){return e.text||""})).join("%c")].concat(e.map((function(e){return"color: "+i(e.type)+";"})))):(n=console).log.apply(n,["%c"+e.map((function(e){return e.text||""})).join("%c")].concat(e.map((function(e){return"color: "+i(e.type)+";"}))))},r.default=function(e){r.colorful([{text:e}])},r.primary=function(e){r.colorful([{text:e,type:"primary"}])},r.success=function(e){r.colorful([{text:e,type:"success"}])},r.warning=function(e){r.colorful([{text:e,type:"warning"}])},r.error=function(e){r.colorful([{text:e,type:"error"}])},t["a"]=r},a5d5:function(e,t,n){"use strict";n("bb35")},a78e:function(e,t,n){e.exports=n("0fbf")("./node_modules/js-cookie/src/js.cookie.js")},a9f5:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n("dae4"),i=n("2ef0"),a=n("72bf"),o=n.n(a),u=n("0651"),s=n("eb44"),c=n("6bc3"),l=n("8ccc");function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof y?t:y,o=Object.create(a.prototype),u=new M(r||[]);return i(o,"_invoke",{value:L(e,n,u)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var h="suspendedStart",p="suspendedYield",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var x={};c(x,o,(function(){return this}));var O=Object.getPrototypeOf,j=O&&O(O(T([])));j&&j!==n&&r.call(j,o)&&(x=j);var _=w.prototype=y.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,a,o,u){var s=f(e[i],e,a);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(l).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return a=a?a.then(i,i):i()}})}function L(t,n,r){var i=h;return function(a,o){if(i===m)throw new Error("Generator is already running");if(i===v){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=E(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var c=f(t,n,r);if("normal"===c.type){if(i=r.done?v:p,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function E(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=f(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,i(_,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=c(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},k(S.prototype),c(S.prototype,u,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new S(l(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(_),c(_,s,"Generator"),c(_,o,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function f(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){f(a,r,i,o,u,"next",e)}function u(e){f(a,r,i,o,u,"throw",e)}o(void 0)}))}}var p=[],m={stringifyQuery:function(e,t){if(delete e["_tab"],delete e["_from"],delete e["_cache_opener"],delete e["_no_cache"],delete e["_pid"],t["_mid"])"_blank"===t["_mid"]&&delete e["_mid"];else{if(r["webApplication"].isSubApp())return e;var n=Object(r["store"])().state.admin.menu.activePath;n&&(e["_mid"]=n)}return e},resolveQueryString:function(e){var t=e.lastIndexOf("?"),n={};return t>0&&(n=o.a.parse(e.substr(t+1))),n},isUrlEqual:function(e,t,n,r){if(void 0===n&&(n=!0),void 0===r&&(r=[]),e===t)return!0;var i=this.resolveUrl(e),a=this.resolveUrl(t);return!(!i||!a)&&!(i.path!==a.path||!this.hasSameQuery(i.query,a.query,n,r))},resolveUrl:function(e){if(!e)return null;var t=e.includes("?")>0?e.substr(0,e.indexOf("?")):e,n=this.resolveQueryString(e);return{path:t,query:n}},hasSameQuery:function(e,t,n,r){if(void 0===n&&(n=!0),void 0===r&&(r=[]),e===t)return!0;if(e=e||{},t=t||{},!Object(i["isObject"])(e)||!Object(i["isObject"])(t))return!1;var a=Object.assign({},e,t);for(var o in a)if(!o.startsWith("_")&&!Object(i["includes"])(r,o)&&e[o]!==t[o])return!1;return!0},hasParam:function(e,t){return e.query&&Object(i["has"])(e.query,t)?e.query[t]:e.params&&Object(i["has"])(e.params,t)?e.params[t]:null},currentPage:function(){return Object(r["store"])().getters["admin/page/currentPage"]},closePage:function(e){Object(r["store"])().dispatch("admin/page/close",{tagName:e})},canSkip:function(e){},onRouteChange:function(e,t){var n=this;return h(d().mark((function a(){var o,f,h,m,v,g,y,b,w,x,O;return d().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!0===Object(r["config"])().layout.forceCleanCache&&"_blank"===n.hasParam(e,"_pid")&&r["KeepAliveManager"].clean(),f=p.find((function(t){return t===e.fullPath})),console.log("path:"+e.fullPath+", process onChange:"+!f),h=n.currentPage(),h&&h.meta&&h.meta.$children&&(new Date).getTime()-h.lastUpdated<1e3&&p.push(h.fullPath),m=u["a"].onRouteChange(e,t),f){a.next=9;break}return a.next=9,Object(r["store"])().dispatch("admin/page/open",{to:e,from:t});case 9:if(v=n.currentPage(),g=null,m&&m.path&&(n.isUrlEqual(m.path,e.fullPath)&&(g=m.title,v.meta=Object.assign(v.meta,{title:g})),Object(r["store"])().dispatch("admin/page/currentUpdate",{meta:v.meta})),!g&&e.meta.title&&(g=e.meta.title),g&&c["a"].title({title:g}),s["a"].applyLayoutBehavior(e,t),s["a"].inIframe()&&s["a"].resizeParentIframeHeight(),y=null==(o=Object(r["config"])().app)?void 0:o.autoRedirect,"/"!==e.path||!0!==y){a.next=29;break}if(b=r["ConfigHelper"].getConfigVal("settings.app.index"),!b||"/"===b){a.next=22;break}return Object(r["router"])().push({path:Object(i["trimStart"])(b,"#")}),a.abrupt("return");case 22:w=Object(r["store"])().getters["admin/menu/filterHeader"],Object(i["isEmpty"])(w)&&Object(r["router"])().push({path:"/403"}),x=Object(l["d"])(u["a"].siderMenus(),w[0].name),Object(i["isEmpty"])(x)&&Object(r["router"])().push({path:"/403"}),r["Utils"].visitTree(x,(function(e){if(!e.children)return O=e,!1})),O||Object(r["router"])().push({path:"/403"}),Object(r["router"])().push({path:O.path});case 29:case"end":return a.stop()}}),a)})))()}}},ab1d:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",[t("Exception",{attrs:{type:"403","img-color":"",desc:e.$t("page.exception.e403"),"back-text":e.$t("page.exception.btn")}})],1)},i=[]},b871:function(e,t,n){e.exports=n.p+"modules/fly_vue_iview_admin/assets/img/theme-dark.db9fbf2e.svg"},bb35:function(e,t,n){},bd11:function(e,t,n){e.exports=n("0fbf")("./node_modules/path-to-regexp/index.js")},bd95:function(e,t,n){"use strict";n.r(t),n.d(t,"getHeaderName",(function(){return ke["c"]})),n.d(t,"getMenuSider",(function(){return ke["d"]})),n.d(t,"getSiderSubmenu",(function(){return ke["e"]})),n.d(t,"getAllSiderMenu",(function(){return ke["b"]})),n.d(t,"flattenSiderMenu",(function(){return ke["a"]})),n.d(t,"includeArray",(function(){return ke["f"]})),n.d(t,"random",(function(){return ke["g"]})),n.d(t,"util",(function(){return L["a"]})),n.d(t,"requestAnimation",(function(){return L["b"]})),n.d(t,"db",(function(){return dn["a"]})),n.d(t,"cookies",(function(){return fn["a"]})),n.d(t,"log",(function(){return hn["a"]})),n.d(t,"MenuService",(function(){return S["a"]})),n.d(t,"RouteHelper",(function(){return j["a"]})),n.d(t,"LayoutHelper",(function(){return ln["a"]})),n.d(t,"subAppLayout",(function(){return bn})),n.d(t,"useMenuMatcher",(function(){return wn["a"]}));var r=n("70da"),i=n("dae4"),a=n.n(i),o=n("0cc9"),u=function(){var e=this,t=e._self._c;return t("div",{staticClass:"i-layout-menu-head",class:{"i-layout-menu-head-mobile":e.isMobile}},[e.isMobile||e.isMenuLimit?t("div",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min i-layout-header-trigger-in i-layout-header-trigger-no-height"},[t("Dropdown",{class:{"i-layout-menu-head-mobile-drop":e.isMobile},attrs:{trigger:"click"}},[t("Icon",{attrs:{type:"ios-apps"}}),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},e._l(e.filterHeader,(function(n){return t("i-link",{key:n.path,nativeOn:{click:function(t){return e.handleClick(n,"header")}}},[t("DropdownItem",[t("i-menu-head-title",{attrs:{menu:n}})],1)],1)})),1)],1)],1):t("Menu",{ref:"menu",attrs:{theme:e.headerTheme,mode:"horizontal","active-name":e.headerName}},[e._l(e.filterHeader,(function(e){return[e.children?t("ISubmenuHead",{key:e.path,attrs:{menu:e}}):t("IMenuHeadItem",{key:e.path,attrs:{menu:e}})]}))],2)],1)},s=[],c=function(){var e=this,t=e._self._c;return t("div",{staticClass:"i-layout-menu-head-title"},[(e.menu.icon||e.menu.custom||e.menu.img)&&!e.hideIcon?t("span",{staticClass:"i-layout-menu-head-title-icon"},[e.menu.icon?t("Icon",{attrs:{type:e.menu.icon}}):e.menu.custom?t("Icon",{attrs:{custom:e.menu.custom}}):e.menu.img?t("img",{attrs:{src:e.menu.img}}):e._e()],1):e._e(),t("span",{staticClass:"i-layout-menu-head-title-text"},[e._v(e._s(e.tTitle(e.menu.title)))])])},l=[],d={methods:{tTitle:function(e){return e&&0===e.indexOf("$t:")?this.$t(e.split("$t:")[1]):e}}},f={name:"IMenuHeadTitle",mixins:[d],props:{menu:{type:Object,default:function(){return{}}},hideIcon:{type:Boolean,default:!1}}},h=f,p=n("2877"),m=Object(p["a"])(h,c,l,!1,null,null,null),v=m.exports,g=function(){var e=this,t=e._self._c;return t("SubmenuExtend",{attrs:{name:e.menu.name,transfer:!0}},[t("template",{slot:"title"},[t("iMenuHeadTitle",{attrs:{menu:e.menu}})],1),e._l(e.menu.children,(function(e,n){return[t("IMenuHeadItem",{key:n,attrs:{menu:e}})]}))],2)},y=[],b=function(){var e=this,t=e._self._c;return t("MenuItem",{attrs:{name:e.menu.name},nativeOn:{click:function(t){return e.itemClick(e.menu)}}},[t("i-menu-head-title",{attrs:{menu:e.menu}})],1)},w=[],x=n("84cb"),O=n("2f62"),j=n("a9f5"),_=n("2ef0"),k=n.n(_),S=n("0651"),L=n("6bc3"),E=void 0;function C(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.path)return n;if(Array.isArray(n.children)){var r=C(n.children);if(r)return r}}return null}var P={inject:{navigator:{default:function(){return E}}},computed:Object.assign({},Object(O["mapState"])("admin/layout",["menuSiderReload","menuHeaderReload"])),methods:{handleClick:function(e,t){void 0===t&&(t="sider"),Object(_["isString"])(e)&&(e=S["a"].buildMenu({id:"_blank",path:e}));var n=this.$route.fullPath,r=j["a"].isUrlEqual(n,e.path);e.path||(e.path=this.getHeaderSidePath(e.name));var i={type:t,menu:e,duplicated:r,to:e.path,from:n},a=L["a"].event(i),o=this.navigator?this.navigator:this;o.$emit("click",a),!1!==a.returnValue&&(r?this.handleReload(i):(S["a"].open(e),"_blank"!==e.id&&this.$store.commit("admin/menu/setActivePath",e.id)))},handleReload:function(e){if("sider"===e.type&&this.menuSiderReload||"header"===e.type&&this.menuHeaderReload){var t=L["a"].event(e),n=this.navigator?this.navigator:this;if(n.$emit("reload",t),!1===t.returnValue)return;var r=Object(x["findComponentUpward"])(this,"BasicLayout");r&&r.handleReload()}},getHeaderSidePath:function(e){var t=S["a"].filterSiderMenus(e);if(null!=t&&t.length){var n=C(t);return n.path}return""}}},M={name:"IMenuHeadItem",components:{iMenuHeadTitle:v},mixins:[P],props:{menu:{type:Object,default:function(){return{}}},hideTitle:{type:Boolean,default:!1}},methods:{itemClick:function(e){this.handleClick(e,"header")}}},T=M,I=Object(p["a"])(T,b,w,!1,null,null,null),N=I.exports,$=function(){var e=this,t=e._self._c;return t("li",{class:e.classes,on:{mouseenter:e.handleMouseenter,mouseleave:e.handleMouseleave}},[t("div",{ref:"reference",class:[e.prefixCls+"-submenu-title"],style:e.titleStyle,on:{click:function(t){return t.stopPropagation(),e.handleClick.apply(null,arguments)}}},[e._t("title"),t("Icon",{class:[e.prefixCls+"-submenu-title-icon"],attrs:{type:e.arrowType,custom:e.customArrowType,size:e.arrowSize}})],2),"vertical"===e.mode?t("collapse-transition",[t("ul",{directives:[{name:"show",rawName:"v-show",value:e.opened,expression:"opened"}],class:[e.prefixCls]},[e._t("default")],2)]):t("transition",{attrs:{name:"slide-up"}},[t("Drop",{directives:[{name:"show",rawName:"v-show",value:e.opened,expression:"opened"},{name:"transfer-dom",rawName:"v-transfer-dom"}],ref:"drop",class:e.menuDropdownCls,attrs:{placement:e.placement,"data-transfer":e.transfer,transfer:e.transfer},nativeOn:{mouseenter:function(t){return e.handleMouseenter.apply(null,arguments)},mouseleave:function(t){return e.handleMouseleave.apply(null,arguments)}}},[t("ul",{class:[e.prefixCls+"-drop-list"]},[e._t("default")],2)])],1)],1)},A=[],F=n("f825");function H(e){return void 0===e&&(e=document.body),!0===e?document.body:e instanceof window.Node?e:document.querySelector(e)}var D={inserted:function(e,t,n){var r=t.value;if(e.dataset&&"true"!==e.dataset.transfer)return!1;e.className=e.className?e.className+" v-transfer-dom":"v-transfer-dom";var i=e.parentNode;if(i){var a=document.createComment(""),o=!1;!1!==r&&(i.replaceChild(a,e),H(r).appendChild(e),o=!0),e.__transferDomData||(e.__transferDomData={parentNode:i,home:a,target:H(r),hasMovedOut:o})}},componentUpdated:function(e,t){var n=t.value;if(e.dataset&&"true"!==e.dataset.transfer)return!1;var r=e.__transferDomData;if(r){var i=r.parentNode,a=r.home,o=r.hasMovedOut;!o&&n?(i.replaceChild(a,e),H(n).appendChild(e),e.__transferDomData=Object.assign({},e.__transferDomData,{hasMovedOut:!0,target:H(n)})):o&&!1===n?(i.replaceChild(e,a),e.__transferDomData=Object.assign({},e.__transferDomData,{hasMovedOut:!1,target:H(n)})):n&&H(n).appendChild(e)}},unbind:function(e){if(e.dataset&&"true"!==e.dataset.transfer)return!1;e.className=e.className.replace("v-transfer-dom","");var t=e.__transferDomData;t&&(!0===e.__transferDomData.hasMovedOut&&e.__transferDomData.parentNode&&e.__transferDomData.parentNode.appendChild(e),e.__transferDomData=null)}},R=D,G={name:"Submenu",directives:{TransferDom:R},extends:F["Submenu"],props:{placement:{type:String,default:"bottom"},transfer:{type:Boolean}},computed:{menuDropdownCls:function(){var e;return["iv-menu-head-dropdown",(e={},e[this.prefixCls+"-dropdown-active"]=this.opened,e)]}},methods:{}},q=G,U=Object(p["a"])(q,$,A,!1,null,null,null),B=U.exports,z={name:"ISubmenuHead",components:{IMenuHeadItem:N,iMenuHeadTitle:v,SubmenuExtend:B},props:{menu:{type:Object,default:function(){return{}}}}},V=z,W=Object(p["a"])(V,g,y,!1,null,null,null),Y=W.exports,K={name:"IMenuHead",components:{iMenuHeadTitle:v,ISubmenuHead:Y,IMenuHeadItem:N},mixins:[P],provide:function(){return{navigator:this}},computed:Object.assign({},Object(O["mapState"])("admin/layout",["isMobile","headerTheme"]),Object(O["mapState"])("admin/menu",["headerName"]),Object(O["mapGetters"])("admin/menu",["filterHeader"])),data:function(){return{handleResize:function(){},isMenuLimit:!1,menuMaxWidth:0}},watch:{filterHeader:function(){this.handleGetMenuHeight()},isMobile:function(){this.handleGetMenuHeight()}},mounted:function(){this.handleGetMenuHeight()},beforeDestroy:function(){},methods:{handleGetMenuHeight:function(){var e=parseInt(Object(x["getStyle"])(this.$el,"width")),t=this.$refs.menu;if(t){var n=parseInt(Object(x["getStyle"])(this.$refs.menu.$el,"height"));n>64&&(this.isMenuLimit||(this.menuMaxWidth=e),this.isMenuLimit=!0)}else e>=this.menuMaxWidth&&(this.isMenuLimit=!1)}}},Q=K,J=Object(p["a"])(Q,u,s,!1,null,null,null),X=J.exports,Z=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"i-layout-sider-logo",class:{"i-layout-sider-logo-dark":"dark"===e.siderTheme}},[e._t("logo",(function(){return[t("transition",{attrs:{name:"fade-quick"}},[t("i-link",{directives:[{name:"show",rawName:"v-show",value:!e.hideLogo,expression:"!hideLogo"}],attrs:{to:e.url}},[e.menuCollapse?t("img",{attrs:{src:e.ilogo.small}}):"light"===e.siderTheme?t("img",{attrs:{src:e.ilogo.normal}}):t("img",{attrs:{src:e.ilogo.dark}}),e.appTitle&&!e.menuCollapse?t("span",{staticClass:"i-layout-header-title",domProps:{innerHTML:e._s(e.appTitle)}}):e._e()])],1)]}))],2),e._t("pre"),t("Menu",{ref:"menu",staticClass:"i-layout-menu-side i-scrollbar-hide",class:{"i-layout-menu-side-collapse":e.menuCollapse},attrs:{theme:e.siderTheme,accordion:e.menuAccordion,"active-name":e.activePath,"open-names":e.openNames,width:"auto"}},[e._l(e.filterSider,(function(n,r){return[e.menuCollapse?[void 0!==n.children&&n.children.length?t("i-menu-side-collapse",{key:r,attrs:{menu:n,"top-level":""}}):t("Tooltip",{key:r,attrs:{content:e.tTitle(n.title),placement:"right"}},[t("i-menu-side-item",{attrs:{menu:n,"hide-title":""}})],1)]:[e.currentHeader.group?[t("MenuGroup",{key:r,attrs:{title:n.title}},[e._l(n.children,(function(e,n){return[void 0!==e.children&&e.children.length?t("i-menu-side-submenu",{key:n,attrs:{menu:e}}):t("i-menu-side-item",{key:n,attrs:{menu:e}})]}))],2)]:[void 0!==n.children&&n.children.length?t("i-menu-side-submenu",{key:r,attrs:{menu:n}}):t("i-menu-side-item",{key:r,attrs:{menu:n}})]]]}))],2),e._t("suffix")],2)},ee=[],te=function(){var e=this,t=e._self._c;return t("div",[t("MenuItem",{key:e.menu.id,attrs:{name:e.menu.id},nativeOn:{click:function(t){return e.handleClick(e.menu,"sider")}}},[t("i-menu-side-title",{attrs:{menu:e.menu,"hide-title":e.hideTitle}})],1)],1)},ne=[],re=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-menu-side-title"},[e.menu.icon||e.menu.custom||e.menu.img?t("span",{staticClass:"i-layout-menu-side-title-icon",class:{"i-layout-menu-side-title-icon-single":e.hideTitle}},[e.menu.icon?t("Icon",{attrs:{type:e.menu.icon}}):e.menu.custom?t("Icon",{attrs:{custom:e.menu.custom}}):e.menu.img?t("img",{attrs:{src:e.menu.img}}):e._e()],1):e._e(),e.hideTitle?e._e():t("span",{staticClass:"i-layout-menu-side-title-text",class:{"i-layout-menu-side-title-text-selected":e.selected}},[e._v(e._s(e.tTitle(e.menu.title)))])])},ie=[],ae={name:"IMenuSideTitle",mixins:[d],props:{menu:{type:Object,default:function(){return{}}},hideTitle:{type:Boolean,default:!1},selected:{type:Boolean,default:!1}}},oe=ae,ue=Object(p["a"])(oe,re,ie,!1,null,null,null),se=ue.exports,ce={name:"IMenuSideItem",components:{iMenuSideTitle:se},mixins:[P],props:{menu:{type:Object,default:function(){return{}}},hideTitle:{type:Boolean,default:!1}}},le=ce,de=Object(p["a"])(le,te,ne,!1,null,null,null),fe=de.exports,he=function(){var e=this,t=e._self._c;return t("Submenu",{key:e.menu.id,attrs:{name:e.menu.id}},[t("template",{slot:"title"},[t("i-menu-side-title",{attrs:{menu:e.menu}})],1),e._l(e.menu.children,(function(e,n){return[void 0!==e.children&&e.children.length?t("i-menu-side-submenu",{key:n,attrs:{menu:e}}):t("i-menu-side-item",{key:n,attrs:{menu:e}})]}))],2)},pe=[],me={name:"IMenuSideSubmenu",components:{iMenuSideItem:fe,iMenuSideTitle:se},props:{menu:{type:Object,default:function(){return{}}}}},ve=me,ge=Object(p["a"])(ve,he,pe,!1,null,null,null),ye=ge.exports,be=function(){var e=this,t=e._self._c;return t("Dropdown",{class:e.dropdownClasses,attrs:{placement:"right-start",transfer:!1}},[e.topLevel?t("li",{class:e.menuItemClasses},[t("i-menu-side-title",{attrs:{menu:e.menu,"hide-title":""}})],1):t("DropdownItem",[t("i-menu-side-title",{attrs:{menu:e.menu,selected:e.openNames.indexOf(e.menu.path)>=0}}),t("Icon",{staticClass:"i-layout-menu-side-arrow",attrs:{type:"ios-arrow-forward"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e.showCollapseMenuTitle?t("div",{staticClass:"i-layout-menu-side-collapse-title"},[t("i-menu-side-title",{attrs:{menu:e.menu}})],1):e._e(),e._l(e.menu.children,(function(n,r){return[void 0!==n.children&&n.children.length?t("i-menu-side-collapse",{key:r,attrs:{menu:n}}):t("i-link",{key:r,nativeOn:{click:function(t){return e.handleClick(n,"sider")}}},[t("DropdownItem",{class:{"i-layout-menu-side-collapse-item-selected":n.id===e.activePath||n.path===e.activePath},attrs:{divided:n.divided}},[t("i-menu-side-title",{attrs:{menu:n}})],1)],1)]}))],2)],1)},we=[],xe={name:"IMenuSideCollapse",components:{iMenuSideTitle:se},mixins:[P],props:{menu:{type:Object,default:function(){return{}}},topLevel:{type:Boolean,default:!1}},computed:Object.assign({},Object(O["mapState"])("admin/layout",["siderTheme","showCollapseMenuTitle"]),Object(O["mapState"])("admin/menu",["activePath","openNames"]),{dropdownClasses:function(){return{"i-layout-menu-side-collapse-top":this.topLevel,"i-layout-menu-side-collapse-dark":"dark"===this.siderTheme}},menuItemClasses:function(){return["ivu-menu-item i-layout-menu-side-collapse-top-item",{"ivu-menu-item-selected ivu-menu-item-active":this.openNames.indexOf(this.menu.path)>=0||this.openNames.indexOf(this.menu.id)>=0}]}}),methods:{}},Oe=xe,je=Object(p["a"])(Oe,be,we,!1,null,null,null),_e=je.exports,ke=n("8ccc");function Se(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Le(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Le(e,t){if(e){if("string"===typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ce={name:"IMenuSide",components:{iMenuSideItem:fe,iMenuSideSubmenu:ye,iMenuSideCollapse:_e},mixins:[d],provide:function(){return{navigator:this}},props:{hideLogo:{type:Boolean,default:!1},logo:{type:Object,default:function(){return{}}},url:{type:String,default:"/"}},computed:Object.assign({},Object(O["mapState"])("admin/layout",["siderTheme","menuAccordion","menuCollapse","appTitle"]),Object(O["mapState"])("admin/layout",{slogo:"logo"}),Object(O["mapState"])("admin/menu",["group"]),{ilogo:function(){return{small:this.logo&&this.logo.small?this.logo.small:this.slogo?this.slogo:i["Utils"].assetPath("images/logo-small.png"),normal:this.logo&&this.logo.normal?this.logo.normal:this.slogo?this.slogo:i["Utils"].assetPath("./images/logo.png"),dark:this.logo&&this.logo.dark?this.logo.dark:this.slogo?this.slogo:i["Utils"].assetPath("./images/logo-dark.png")}},activePath:function(){var e=this,t=this.$store.state.admin.menu.activePath;return this.$nextTick((function(){e.$refs.menu&&e.$refs.menu.updateActiveName()})),t},openNames:function(){var e=this,t=this.$store.state.admin.menu.openNames;return this.$nextTick((function(){e.$refs.menu&&e.$refs.menu.updateOpened()})),t}},Object(O["mapGetters"])("admin/menu",["filterSider","filterHeader","currentHeader"])),watch:{$route:{handler:function(){var e=this.checkAutoRedirect();e||this.handleUpdateMenuState()},immediate:!0},menuCollapse:function(){this.handleUpdateMenuState()}},methods:{handleUpdateMenuState:function(){var e=this;this.$nextTick((function(){e.$refs.menu&&(e.$refs.menu.updateActiveName(),e.menuAccordion&&e.$refs.menu.updateOpened())}))},onClick:function(e){var t=Object.assign({returnValue:null,preventDefault:function(){this.returnValue=!1}},e);return this.$emit("click",t),t.returnValue},onReload:function(e){var t=Object.assign({returnValue:null,preventDefault:function(){this.returnValue=!1}},e);return this.$emit("reload",t),t.returnValue},checkAutoRedirect:function(){if("/"!==this.$route.path)return!1;if(this.toDefaultIndex())return!0;var e=this.filterHeader;if(Object(_["isEmpty"])(e))return this.onDeny();var t,n=Object(ke["d"])(S["a"].siderMenus(),e[0].name);return Object(_["isEmpty"])(n)?this.onDeny():(i["Utils"].visitTree(n,(function(e){if(!e.children)return t=e,!1})),t?(this.$router.push({path:t.path}),!0):this.onDeny())},toDefaultIndex:function(){var e,t=i["ConfigHelper"].getConfigVal("settings.app.index");if(Object(_["isEmpty"])(t)||"/"===t)return!1;if(Object(_["isString"])(t))e=t;else if(Object(_["isArray"])(t))for(var n,r=Se(t);!(n=r()).done;){var a=n.value;if(Object(_["isEmpty"])(a.auth)||i["PermissionService"].hasPerm(a.auth)){e=a.path;break}}return!Object(_["isEmpty"])(e)&&(this.$router.push({path:Object(_["trimStart"])(e,"#")}),!0)},onDeny:function(){return this.$router.push({path:"/403"}),!1}}},Pe=Ce,Me=Object(p["a"])(Pe,Z,ee,!1,null,null,null),Te=Me.exports,Ie=function(){var e=this,t=e._self._c;return t("i-link",{staticClass:"i-layout-header-logo",class:{"i-layout-header-logo-stick":!e.isMobile},attrs:{to:e.to}},[e.isMobile?t("img",{attrs:{src:e.finalLogo.small}}):"light"===e.headerTheme?t("img",{attrs:{src:e.finalLogo.normal}}):t("img",{attrs:{src:e.finalLogo.dark}}),e.appTitle?t("span",{staticClass:"i-layout-header-title",domProps:{innerHTML:e._s(e.appTitle)}}):e._e()])},Ne=[],$e={small:"./images/logo-small.png",normal:"./images/logo.png",dark:"./images/logo-dark.png"},Ae={name:"IHeaderLogo",props:{logo:{type:Object},to:{type:String,default:"/"}},computed:Object.assign({},Object(O["mapState"])("admin/layout",["isMobile","headerTheme","appTitle"]),{finalLogo:function(){return Object.assign({},$e,this.logo)}})},Fe=Ae,He=Object(p["a"])(Fe,Ie,Ne,!1,null,null,null),De=He.exports,Re=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger",class:{"i-layout-header-trigger-min":e.showReload},on:{click:e.handleToggleMenuSide}},[t("Icon",{directives:[{name:"show",rawName:"v-show",value:e.menuCollapse||e.isMobile,expression:"menuCollapse || isMobile"}],attrs:{type:"bingo-menu-unfold"}}),t("Icon",{directives:[{name:"show",rawName:"v-show",value:!e.menuCollapse&&!e.isMobile,expression:"!menuCollapse && !isMobile"}],attrs:{type:"bingo-menu-fold"}})],1)},Ge=[],qe={name:"iHeaderCollapse",computed:Object.assign({},Object(O["mapState"])("admin/layout",["isMobile","isTablet","isDesktop","menuCollapse","showReload"]),Object(i["mapGetters"])("admin/page",["currentPage"])),methods:Object.assign({},Object(O["mapMutations"])("admin/layout",["updateMenuCollapse","setKeepMenuCollapse"]),{handleToggleMenuSide:function(e){this.isMobile?(this.updateMenuCollapse(!1),this.currentPage.pst.siderCollapse=!0,this.setKeepMenuCollapse(!0),this.$emit("on-toggle-drawer",e)):(this.updateMenuCollapse(!this.menuCollapse),this.currentPage.pst.siderCollapse=this.menuCollapse,this.setKeepMenuCollapse(this.menuCollapse))}}),watch:{$route:function(){this.isMobile&&this.handleToggleMenuSide(!1)},isTablet:function(e){!this.isMobile&&e&&this.updateMenuCollapse(!0)},isDesktop:function(e){!this.isMobile&&e&&this.updateMenuCollapse(!1)}}},Ue=qe,Be=Object(p["a"])(Ue,Re,Ge,!1,null,null,null),ze=Be.exports,Ve=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger",class:{"i-layout-header-trigger-min":e.showSiderCollapse},on:{click:e.handleReload}},[t("Icon",{attrs:{type:"md-refresh"}})],1)},We=[],Ye={name:"iHeaderReload",computed:Object.assign({},Object(O["mapState"])("admin/layout",["isMobile","showSiderCollapse"])),methods:{handleReload:function(){this.$emit("on-reload")}}},Ke=Ye,Qe=Object(p["a"])(Ke,Ve,We,!1,null,null,null),Je=Qe.exports,Xe=function(){var e=this,t=e._self._c;return e.isLimit?e._e():t("Breadcrumb",{ref:"breadcrumb",staticClass:"i-layout-header-breadcrumb"},[e.topItem?t("BreadcrumbItem",[t("i-menu-head-title",{attrs:{menu:e.topItem,"hide-icon":!e.showBreadcrumbIcon}})],1):e._e(),e._l(e.items,(function(n){return t("BreadcrumbItem",{key:n.path},[t("i-menu-head-title",{attrs:{menu:n,"hide-icon":!e.showBreadcrumbIcon}})],1)})),t("BreadcrumbItem",[t("i-menu-head-title",{attrs:{menu:e.siderMenuObject[e.activePath],"hide-icon":!e.showBreadcrumbIcon}})],1)],2)},Ze=[],et=n("6fff"),tt={name:"IHeaderBreadcrumb",components:{iMenuHeadTitle:v},computed:Object.assign({},Object(O["mapState"])("admin/layout",["showBreadcrumbIcon","menuCollapse"]),Object(O["mapState"])("admin/menu",["openNames","activePath","header","headerName"]),{siderMenuObject:function(){var e={};return this.allSiderMenu.forEach((function(t){"id"in t&&(e[t.id]=t)})),e},items:function(){var e=this,t=[].concat(this.openNames),n=[];return t.forEach((function(t){var r=e.siderMenuObject[t];r&&n.push(e.siderMenuObject[t])})),n},topItem:function(){var e=this;return this.header.find((function(t){return t.name===e.headerName}))}}),data:function(){return{allSiderMenu:Object(ke["a"])(S["a"].siderMenus(),[]),handleResize:function(){},isLimit:!1,maxWidth:560,breadcrumbWidth:0}},watch:{topItem:{handler:function(){this.handleGetWidth(),this.handleCheckWidth()},deep:!0},items:{handler:function(){this.handleGetWidth(),this.handleCheckWidth()},deep:!0},activePath:{handler:function(){this.handleGetWidth(),this.handleCheckWidth()},deep:!0}},mounted:function(){this.handleResize=Object(_["throttle"])(this.handleCheckWidth,100,{leading:!1}),Object(et["on"])(window,"resize",this.handleResize),this.handleGetWidth(),this.handleCheckWidth()},beforeDestroy:function(){Object(et["off"])(window,"resize",this.handleResize)},methods:{handleCheckWidth:function(){var e=this,t=Object(x["findComponentUpward"])(this,"Header");if(t){var n=parseInt(Object(x["getStyle"])(t.$el,"width"));this.$nextTick((function(){e.isLimit=n-e.maxWidth<=e.breadcrumbWidth}))}},handleGetWidth:function(){var e=this;this.isLimit=!1,this.$nextTick((function(){var t=e.$refs.breadcrumb;t&&(e.breadcrumbWidth=parseInt(Object(x["getStyle"])(t.$el,"width")))}))}}},nt=tt,rt=Object(p["a"])(nt,Xe,Ze,!1,null,null,null),it=rt.exports,at=function(){var e=this,t=e._self._c;return t("Tooltip",{attrs:{content:e.tooltipContent,transfer:""}},[t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min",on:{click:e.handleOpenLog}},[t("Badge",{attrs:{count:0===e.lengthError?null:e.lengthError,"overflow-count":99,dot:e.showDot,offset:e.showDot?[26,2]:[20,0]}},[t("Icon",{attrs:{type:"md-radio-button-on"}})],1)],1)])},ot=[],ut={name:"iHeaderLog",computed:Object.assign({},Object(O["mapGetters"])("admin/log",["length","lengthError"]),{showDot:function(){return!!this.length&&0===this.lengthError},tooltipContent:function(){if(this.length){var e=this.length+" 条日志";return this.lengthError&&(e+=" | 包含 "+this.lengthError+" 个异常"),e}return"没有日志或异常"}}),methods:{handleOpenLog:function(){this.$router.push({name:"log",query:{_tab:!0,_pid:"_blank",_mid:"_blank"}})}}},st=ut,ct=Object(p["a"])(st,at,ot,!1,null,null,null),lt=ct.exports,dt=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min",on:{click:e.toggleFullscreen}},[t("Icon",{directives:[{name:"show",rawName:"v-show",value:!e.isFullscreen,expression:"!isFullscreen"}],attrs:{type:"bingo-full-screen"}}),t("Icon",{directives:[{name:"show",rawName:"v-show",value:e.isFullscreen,expression:"isFullscreen"}],attrs:{type:"bingo-exit-full-screen"}})],1)},ft=[],ht={name:"iHeaderFullscreen",computed:Object.assign({},Object(O["mapState"])("admin/layout",["isFullscreen"])),methods:Object.assign({},Object(O["mapActions"])("admin/layout",["toggleFullscreen"]))},pt=ht,mt=Object(p["a"])(pt,dt,ft,!1,null,null,null),vt=mt.exports,gt=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min"},[t("Dropdown",{staticClass:"i-layout-header-i18n",class:{"i-layout-header-user-mobile":e.isMobile},attrs:{trigger:e.isMobile?"click":"hover"},on:{"on-click":e.handleClick}},[t("Icon",{attrs:{type:"md-globe"}}),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},e._l(e.languages,(function(n,r){return t("DropdownItem",{key:r,attrs:{name:r,selected:e.locale===r}},[t("span",[e._v(e._s(n.language))])])})),1)],1)],1)},yt=[],bt={name:"iHeaderI18n",data:function(){return{languages:i["webApplication"].localeMessages}},computed:Object.assign({},Object(O["mapState"])("admin/i18n",["locale"]),Object(O["mapState"])("admin/layout",["isMobile"])),methods:Object.assign({},Object(O["mapActions"])("admin/i18n",["setLocale"]),{handleClick:function(e){e!==this.locale&&(this.setLocale({locale:e,vm:this}),this.$emit("on-change",e))}})},wt=bt,xt=Object(p["a"])(wt,gt,yt,!1,null,null,null),Ot=xt.exports,jt=function(){var e=this,t=e._self._c;return t("span",{staticClass:"i-layout-header-trigger i-layout-header-trigger-min",on:{click:e.showSetting}},[t("Icon",{attrs:{type:"md-more"}}),t("Drawer",{attrs:{width:"280"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[t("Divider",{attrs:{size:"small"}},[e._v("主题风格设置")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("div",{staticClass:"i-layout-header-setting-item-radio",class:{on:"light"===e.siderTheme&&"light"==e.headerTheme},on:{click:function(t){return e.handleChangeThemeSetting({siderTheme:"light",headerTheme:"light",themeDark:!1})}}},[t("Tooltip",{attrs:{content:"亮色主题",placement:"top",transfer:""}},[t("img",{attrs:{src:n("43ed")}})])],1),t("div",{staticClass:"i-layout-header-setting-item-radio",class:{on:"dark"===e.siderTheme&&"light"==e.headerTheme},on:{click:function(t){return e.handleChangeThemeSetting({siderTheme:"dark",headerTheme:"light",headerStick:!1,themeDark:!1})}}},[t("Tooltip",{attrs:{content:"亮色顶栏主题",placement:"top",transfer:""}},[t("img",{attrs:{src:n("71e8")}})])],1),t("div",{staticClass:"i-layout-header-setting-item-radio",class:{on:"light"===e.siderTheme&&"dark"==e.headerTheme},on:{click:function(t){return e.handleChangeThemeSetting({siderTheme:"light",headerTheme:"dark",headerStick:!0,themeDark:!1})}}},[t("Tooltip",{attrs:{content:"暗色顶栏主题",placement:"top",transfer:""}},[t("img",{attrs:{src:n("14fe")}})])],1),t("div",{staticClass:"i-layout-header-setting-item-radio",class:{on:"dark"===e.siderTheme&&"dark"==e.headerTheme&&0==e.themeDark},on:{click:function(t){return e.handleChangeThemeSetting({siderTheme:"dark",headerTheme:"dark",themeDark:!1})}}},[t("Tooltip",{attrs:{content:"暗色顶侧主题",placement:"top",transfer:""}},[t("img",{attrs:{src:n("8695")}})])],1),t("div",{staticClass:"i-layout-header-setting-item-radio",class:{on:1==e.themeDark&&"dark"==e.siderTheme&&"dark"==e.headerTheme},on:{click:function(t){return e.handleChangeThemeSetting({siderTheme:"dark",headerTheme:"dark",themeDark:!0})}}},[t("Tooltip",{attrs:{content:"暗色主题",placement:"top",transfer:""}},[t("img",{attrs:{src:n("b871")}})])],1)]),t("Divider",{attrs:{size:"small"}},[e._v("导航设置")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("固定侧边栏")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.siderFix},on:{"on-change":function(t){return e.handleChangeSetting("siderFix",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("固定顶栏")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.headerFix},on:{"on-change":function(t){return e.handleChangeSetting("headerFix",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.headerFix}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 置顶顶栏 "),t("Tooltip",{attrs:{placement:"top",content:"需开启固定顶栏",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.headerStick,disabled:!e.headerFix},on:{"on-change":function(t){return e.handleChangeSetting("headerStick",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("侧边栏开启手风琴模式")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.menuAccordion},on:{"on-change":function(t){return e.handleChangeSetting("menuAccordion",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("显示折叠侧边栏按钮")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showSiderCollapse},on:{"on-change":function(t){return e.handleChangeSetting("showSiderCollapse",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("侧边栏折叠时显示父级菜单名")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showCollapseMenuTitle},on:{"on-change":function(t){return e.handleChangeSetting("showCollapseMenuTitle",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 显示全局面包屑导航 "),t("Tooltip",{attrs:{placement:"top",content:"headerMenu 开启时无效",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showBreadcrumb},on:{"on-change":function(t){return e.handleChangeSetting("showBreadcrumb",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.showBreadcrumb}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 全局面包屑显示图标 "),t("Tooltip",{attrs:{placement:"top",content:"需开启全局面包屑导航",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showBreadcrumbIcon,disabled:!e.showBreadcrumb},on:{"on-change":function(t){return e.handleChangeSetting("showBreadcrumbIcon",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("显示重载页面按钮")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showReload},on:{"on-change":function(t){return e.handleChangeSetting("showReload",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("显示多语言选择")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showI18n},on:{"on-change":function(t){return e.handleChangeSetting("showI18n",t)}}})],1)]),t("Divider",{attrs:{size:"small"}},[e._v("其它设置")]),t("div",{staticClass:"i-layout-header-setting-item"},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v("开启多页签")]),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.tabs},on:{"on-change":function(t){return e.handleChangeSetting("tabs",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.tabs}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 多页签显示图标 "),t("Tooltip",{attrs:{placement:"top",content:"需开启多页签",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.showTabsIcon,disabled:!e.tabs},on:{"on-change":function(t){return e.handleChangeSetting("showTabsIcon",t)}}})],1)]),t("div",{staticClass:"i-layout-header-setting-item",class:{"i-layout-header-setting-item-disabled":!e.tabs}},[t("span",{staticClass:"i-layout-header-setting-item-desc"},[e._v(" 固定多页签 "),t("Tooltip",{attrs:{placement:"top",content:"需开启多页签",transfer:""}},[t("Icon",{attrs:{type:"ios-help-circle-outline"}})],1)],1),t("span",{staticClass:"i-layout-header-setting-item-action"},[t("i-switch",{attrs:{size:"small",value:e.tabsFix,disabled:!e.tabs},on:{"on-change":function(t){return e.handleChangeSetting("tabsFix",t)}}})],1)]),t("Alert",{attrs:{type:"warning"}},[t("div",{attrs:{slot:"desc"},slot:"desc"},[e._v(" 该功能主要实时预览各种布局效果,更多完整配置在 "),t("strong",[e._v("setting.js")]),e._v(" 中设置。建议在生产环境关闭该布局预览功能。 ")])])],1)],1)},_t=[],kt={name:"iHeaderSetting",components:{},data:function(){return{visible:!1}},computed:Object.assign({},Object(O["mapState"])("admin/layout",["themeDark","siderTheme","headerTheme","headerStick","siderFix","headerFix","headerHide","menuAccordion","showSiderCollapse","tabs","showTabsIcon","tabsFix","showBreadcrumb","showBreadcrumbIcon","showReload","showI18n","showCollapseMenuTitle"])),methods:Object.assign({},Object(O["mapMutations"])("admin/layout",["updateLayoutSetting"]),{showSetting:function(){this.visible=!0},handleChangeSetting:function(e,t){this.updateLayoutSetting({key:e,value:t})},handleChangeThemeSetting:function(e){for(var t in e){var n=e[t];this.updateLayoutSetting({key:t,value:n})}}})},St=kt,Lt=Object(p["a"])(St,jt,_t,!1,null,null,null),Et=Lt.exports,Ct=function(){var e=this,t=e._self._c;return t("div",{staticClass:"i-layout-tabs",class:e.classes,style:e.styles},[t("div",{staticClass:"i-layout-tabs-main"},[t("Tabs",{attrs:{type:"card",value:e.current,animated:!1,closable:""},on:{"on-click":e.handleClickTab,"on-tab-remove":e.handleClickClose}},e._l(e.opened,(function(n){return t("TabPane",{key:n.tid,attrs:{label:function(t){return e.tabLabel(t,n)},name:n.fullPath,closable:n.meta&&n.meta.closable}})})),1),t("Dropdown",{staticClass:"i-layout-tabs-close",attrs:{transfer:""},on:{"on-click":e.handleClose}},[t("div",{staticClass:"i-layout-tabs-close-main"},[t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"left"}},[t("Icon",{attrs:{type:"md-arrow-back"}}),e._v(" "+e._s(e.$t("basicLayout.tabs.left"))+" ")],1),t("DropdownItem",{attrs:{name:"right"}},[t("Icon",{attrs:{type:"md-arrow-forward"}}),e._v(" "+e._s(e.$t("basicLayout.tabs.right"))+" ")],1),t("DropdownItem",{attrs:{name:"other"}},[t("Icon",{attrs:{type:"md-close"}}),e._v(" "+e._s(e.$t("basicLayout.tabs.other"))+" ")],1),t("DropdownItem",{attrs:{name:"all"}},[t("Icon",{attrs:{type:"md-close-circle"}}),e._v(" "+e._s(e.$t("basicLayout.tabs.all"))+" ")],1)],1)],1)],1)])},Pt=[],Mt={name:"ITabs",mixins:[d],computed:Object.assign({},Object(O["mapState"])("admin/page",["opened","current"]),Object(O["mapState"])("admin/layout",["showTabsIcon","tabsFix","tabsReload","headerFix","headerStick","isMobile","menuCollapse"]),Object(O["mapGetters"])("admin/menu",["hideSider"]),{classes:function(){return{"i-layout-tabs-fix":this.tabsFix}},isHeaderStick:function(){return this.hideSider},headerHeight:function(){return Object(i["config"])().headerHeight||64},styles:function(){var e={};this.tabsFix&&!this.headerFix&&(e.top=this.headerHeight-this.scrollTop+"px");var t=this.isHeaderStick?0:this.menuCollapse?Object(i["config"])().menuSideCollapseWidth||80:Object(i["config"])().menuSideWidth;return!this.isMobile&&this.tabsFix&&(e.width="calc(100% - "+t+"px)",e.left=t+"px"),e}}),data:function(){return{allSiderMenu:Object(ke["b"])(S["a"].siderMenus()),scrollTop:0}},methods:Object.assign({},Object(O["mapActions"])("admin/page",["close","closeLeft","closeRight","closeOther","closeAll"]),{tabLabel:function(e,t){var n=e("span",this.tTitle(t.meta.title)||"未命名"),r=[];if(this.showTabsIcon){var i,a=t.fullPath.indexOf("?")>=0?t.fullPath.split("?")[0]:t.fullPath,o=this.allSiderMenu.find((function(e){return e.path===a}))||{};o.icon?i=e("Icon",{props:{type:o.icon}}):o.custom?i=e("Icon",{props:{custom:o.custom}}):o.img&&(i=e("img",{attrs:{src:o.img}})),i&&r.push(i),r.push(n)}else r.push(n);return e("div",{class:"i-layout-tabs-title"},r)},handleClickTab:function(e){if(e===this.current)this.tabsReload&&this.$emit("on-reload");else{var t=this.opened.find((function(t){return t.fullPath===e}));t&&this.$router.push({path:t.fullPath},(function(){}))}},handleClickClose:function(e){this.close({tagName:e})},handleScroll:function(){if(this.tabsFix&&!this.headerFix){var e=document.body.scrollTop+document.documentElement.scrollTop;this.scrollTop=e>this.headerHeight?this.headerHeight:e}},handleClose:function(e){var t={pageSelect:this.current};switch(e){case"left":this.closeLeft(t);break;case"right":this.closeRight(t);break;case"other":this.closeOther(t);break;case"all":this.closeAll();break}}}),mounted:function(){document.addEventListener("scroll",this.handleScroll,{passive:!0}),this.handleScroll()},beforeDestroy:function(){document.removeEventListener("scroll",this.handleScroll)}},Tt=Mt,It=Object(p["a"])(Tt,Ct,Pt,!1,null,null,null),Nt=It.exports,$t=function(){var e=this,t=e._self._c;return t("GlobalFooter",{staticClass:"i-copyright",attrs:{links:e.links,copyright:e.copyright}})},At=[],Ft={name:"i-copyright",props:{links:{type:Array,default:function(){return[]}},copyright:{type:String,default:"Copyright © 2020 广州市品高软件股份有限公司"}}},Ht=Ft,Dt=(n("a5d5"),Object(p["a"])(Ht,$t,At,!1,null,null,null)),Rt=Dt.exports,Gt=function(){var e=this,t=e._self._c;return t("a",{staticClass:"i-link",class:{"i-link-color":!e.linkColor},attrs:{href:e.linkUrl,target:e.target},on:{click:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.handleClickItem(t,!1)},function(t){return t.ctrlKey?e.handleClickItem(t,!0):null},function(t){return t.metaKey?e.handleClickItem(t,!0):null}]}},[e._t("default")],2)},qt=[],Ut=n("30c2"),Bt=n.n(Ut),zt={name:"i-link",mixins:[Bt.a],props:{disabled:{type:Boolean,default:!1},linkColor:{type:Boolean,default:!1}},methods:{handleClickItem:function(e,t){void 0===t&&(t=!1),this.disabled||this.handleCheckClick(e,t)}}},Vt=zt,Wt=(n("fb75"),Object(p["a"])(Vt,Gt,qt,!1,null,null,null)),Yt=Wt.exports,Kt={install:function(e,t){e.config.errorHandler=function(t,n,r){e.nextTick((function(){"development"===a.a.NODE_ENV&&(L["a"].log.capsule("@fly-vue/iview admin","ErrorHandler","error"),L["a"].log.error(">>>>>> 错误信息 >>>>>>"),console.error(r),L["a"].log.error(">>>>>> Vue 实例 >>>>>>"),console.error(n),L["a"].log.error(">>>>>> Error >>>>>>")),console.error(t),Object(i["store"])().dispatch("admin/log/push",{message:r+": "+t.message,type:"error",meta:{error:t}})}))}}},Qt={install:function(e,t){e.prototype.$log=Object.assign({},L["a"].log,{push:function(e){"string"===typeof e?Object(i["store"])().dispatch("admin/log/push",{message:e}):"object"===typeof e&&Object(i["store"])().dispatch("admin/log/push",e)}})}},Jt={inserted:function(e,t,n){var r=t.value;if(r){var a=i["PermissionService"].hasPerm(r);a||e.parentNode&&e.parentNode.removeChild(e)}}};function Xt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Xt=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof g?t:g,o=Object.create(a.prototype),u=new P(r||[]);return i(o,"_invoke",{value:S(e,n,u)}),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var f="suspendedStart",h="suspendedYield",p="executing",m="completed",v={};function g(){}function y(){}function b(){}var w={};c(w,o,(function(){return this}));var x=Object.getPrototypeOf,O=x&&x(x(M([])));O&&O!==n&&r.call(O,o)&&(w=O);var j=b.prototype=g.prototype=Object.create(w);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(i,a,o,u){var s=d(e[i],e,a);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(l).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return a=a?a.then(i,i):i()}})}function S(t,n,r){var i=f;return function(a,o){if(i===p)throw new Error("Generator is already running");if(i===m){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=L(u,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===f)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=d(t,n,r);if("normal"===c.type){if(i=r.done?m:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=m,r.method="throw",r.arg=c.arg)}}}function L(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=d(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function M(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,i(j,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},_(k.prototype),c(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new k(l(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},_(j),c(j,s,"Generator"),c(j,o,(function(){return this})),c(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=M,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:M(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function Zt(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}function en(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){Zt(a,r,i,o,u,"next",e)}function u(e){Zt(a,r,i,o,u,"throw",e)}o(void 0)}))}}var tn={install:function(e,t){return en(Xt().mark((function t(){return Xt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.use(Kt),e.use(Qt),e.directive("auth",Jt);case 3:case"end":return t.stop()}}),t)})))()}},nn=n("2acf"),rn={};nn.keys().forEach((function(e){rn[e.replace(/(\.\/|\.js)/g,"")]=nn(e).default}));var an={namespaced:!0,modules:rn},on=[{name:"ssoclient",component:n("cd38").default,path:"/ssoclient"},{name:"link-login",component:n("cd38").default,path:"/link-login"}],un=[{path:"/403",name:"403",meta:{title:"403"},component:n("94df").default},{path:"/500",name:"500",meta:{title:"500"},component:n("33a1").default},{path:"*",name:"404",meta:{title:"404"},component:n("5c4b").default}],sn=[{name:"iframe",component:n("4b31").default,path:"iframe/:id?"}],cn=[].concat(on,un),ln=n("eb44"),dn=n("1b5c"),fn=n("5e20"),hn=n("a53c"),pn=function(){var e=this,t=e._self._c;return t("bg-keep-alive",{attrs:{include:e.keepAlive}},[e.loadRouter?t("router-view"):e._e()],1)},mn=[],vn={name:"SubAppLayout",data:function(){return{loadRouter:!0}},computed:Object.assign({},Object(O["mapState"])("admin/page",["keepAlive"])),watch:{$route:function(e,t){e.name===t.name&&Object(i["config"])()["sameRouteForceUpdate"]&&this.handleReload()}},methods:Object.assign({},Object(O["mapMutations"])("admin/layout",["updateMenuCollapse"]),Object(O["mapMutations"])("admin/page",["keepAlivePush","keepAliveRemove"]),{handleScroll:function(){var e=this;if(this.headerHide){var t=document.body.scrollTop+document.documentElement.scrollTop;this.ticking||(this.ticking=!0,Object(L["b"])((function(){e.oldScrollTop>t?e.headerVisible=!0:t>300&&e.headerVisible?e.headerVisible=!1:t<300&&!e.headerVisible&&(e.headerVisible=!0),e.oldScrollTop=t,e.ticking=!1})))}},handleReload:function(){var e=this,t=this.keepAlive.indexOf(this.$route.name)>-1,n=this.$route.name;t&&this.keepAliveRemove(n),this.loadRouter=!1,this.$nextTick((function(){e.loadRouter=!0,t&&e.keepAlivePush(n)}))}}),mounted:function(){document.addEventListener("scroll",this.handleScroll,{passive:!0})},beforeDestroy:function(){document.removeEventListener("scroll",this.handleScroll)},created:function(){this.isTablet&&this.showSiderCollapse&&this.updateMenuCollapse(!0)}},gn=vn,yn=Object(p["a"])(gn,pn,mn,!1,null,null,null),bn=yn.exports,wn=n("40e0");function xn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */xn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof g?t:g,o=Object.create(a.prototype),u=new P(r||[]);return i(o,"_invoke",{value:S(e,n,u)}),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var f="suspendedStart",h="suspendedYield",p="executing",m="completed",v={};function g(){}function y(){}function b(){}var w={};c(w,o,(function(){return this}));var x=Object.getPrototypeOf,O=x&&x(x(M([])));O&&O!==n&&r.call(O,o)&&(w=O);var j=b.prototype=g.prototype=Object.create(w);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(i,a,o,u){var s=d(e[i],e,a);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(l).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return a=a?a.then(i,i):i()}})}function S(t,n,r){var i=f;return function(a,o){if(i===p)throw new Error("Generator is already running");if(i===m){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=L(u,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===f)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=d(t,n,r);if("normal"===c.type){if(i=r.done?m:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=m,r.method="throw",r.arg=c.arg)}}}function L(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var a=d(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function M(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=b,i(j,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},_(k.prototype),c(k.prototype,u,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new k(l(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},_(j),c(j,s,"Generator"),c(j,o,(function(){return this})),c(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=M,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:M(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function On(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}function jn(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){On(a,r,i,o,u,"next",e)}function u(e){On(a,r,i,o,u,"throw",e)}o(void 0)}))}}var _n={iMenuHead:X,iMenuSide:Te,iHeaderLogo:De,iHeaderCollapse:ze,iHeaderReload:Je,iHeaderBreadcrumb:it,iHeaderLog:lt,iHeaderFullscreen:vt,iHeaderI18n:Ot,iHeaderSetting:Et,iTabs:Nt,iCopyright:Rt,iLink:Yt},kn=Object.assign({},_n),Sn=Object.assign({},o["a"]),Ln=function e(t,n){if(void 0===n&&(n={}),!e.installed){var a=t;t["_BINGO_UI_WEB_APPLICATIOIN"]&&(a=t.Vue),t.store.registerModule("admin",an),Object.keys(kn).forEach((function(e){a.component(e,kn[e])})),t.store.dispatch("admin/i18n/getLocale");var o=t.store.state.admin.i18n.locale;t.use(tn).addConfig({locale:o}).addLocaleMessages(Sn).mixin({watch:{$route:function(e,t){j["a"].onRouteChange(e,t)}}}).registerEvent(i["WebApplicationEventType"].configLoaded,jn(xn().mark((function e(){var n,r,a,o,u,s,c;return xn().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=Object(i["config"])().layout,!k.a.isEmpty(n))for(r in n)t.store.commit("admin/layout/updateLayoutSetting",{key:r,value:n[r]});if(Object(i["config"])()["settings.app.title"]&&t.store.commit("admin/layout/updateLayoutSetting",{key:"appTitle",value:Object(i["config"])()["settings.app.title"]}),Object(i["config"])()["settings.app.logo"]&&t.store.commit("admin/layout/updateLayoutSetting",{key:"logo",value:Object(i["config"])()["settings.app.logo"]}),Object(i["config"])()["settings.app.favicon"]&&document&&(a=Object(i["config"])()["settings.app.favicon"],o=document.querySelector('link[rel="icon"]'),null!==o?o.href=a:(o=document.createElement("link"),o.rel="icon",o.href=a,document.head.appendChild(o))),u=Object(i["config"])().layout.menuCollapse,t.store.commit("admin/layout/updateMenuCollapse",u),s=t.config.apiBaseUrl||t.config.apiBaseURL,s&&i["HttpRequest"].setGlobalDefaults({baseURL:s}),c=i["ConfigHelper"].getConfigVal("allowPageAnonymous"),!c){e.next=13;break}return e.next=13,En();case 13:case"end":return e.stop()}}),e)})))).registerEvent(i["WebApplicationEventType"].routerLoading,(function(e){t.addRoutes(cn),t.addRoutes(sn,"/");var n=e.stringifyQueries;n.push((function(e,t){return j["a"].stringifyQuery(e,t)}))})).registerEvent(i["WebApplicationEventType"].routerLoaded,(function(e){t.store.commit("admin/menu/setHeader",S["a"].headerMenus()),e.router.afterEach((function(e){t.config.showProgressBar&&r["ViewUI"].LoadingBar.finish(),window.scrollTo(0,0)}))})).registerEvent(i["WebApplicationEventType"].vueCreated,(function(e){this.$store.dispatch("admin/layout/listenFullscreen"),ln["a"].inIframe()&&ln["a"].autoHeightForIframe()})).registerEvent(i["WebApplicationEventType"].userSignIn,function(){var e=jn(xn().mark((function e(n){return xn().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.store.dispatch("admin/user/set",n.user),e.next=3,En();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},En=function(){var e=jn(xn().mark((function e(){return xn().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!i["webApplication"].config.dynamicSiderMenu){e.next=5;break}return e.next=3,S["a"].loadRemoteMenu();case 3:0===S["a"].headerMenus().length&&S["a"].addHeaderMenus([{path:"/",title:"首页",icon:"md-home",hideSider:!1,name:"home"}]),i["webApplication"].store.commit("admin/menu/setGroup",S["a"].group);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Cn=function(e){S["a"].addMenus(e)},Pn=function(e){S["a"].addHeaderMenus(e)},Mn=Object.assign({name:"@fly-vue/iview-admin",version:"1.8.0",dependencies:["@fly-vue/core"],install:Ln,addHeaderMenus:Pn,addSiderMenus:Cn},_n);Object.defineProperty(Mn,"i18n",{get:function(){return i["webApplication"].i18n},enumerable:!0}),t["default"]=Mn,i["webApplication"].addModule(Mn)},bdb3:function(e,t,n){"use strict";n.r(t);var r=n("23b3"),i=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=i.a},c3f0:function(e,t,n){"use strict";e.exports=function(e){return JSON.stringify(e,null,2)}},cd38:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;return t("div",[e._v("登录中...")])},i=[],a=n("dae4"),o=n("2ef0");function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var a=t&&t.prototype instanceof y?t:y,o=Object.create(a.prototype),u=new M(r||[]);return i(o,"_invoke",{value:L(e,n,u)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",p="suspendedYield",m="executing",v="completed",g={};function y(){}function b(){}function w(){}var x={};l(x,o,(function(){return this}));var O=Object.getPrototypeOf,j=O&&O(O(T([])));j&&j!==n&&r.call(j,o)&&(x=j);var _=w.prototype=y.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(i,a,o,u){var s=f(e[i],e,a);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,u)}),(function(e){n("throw",e,o,u)})):t.resolve(l).then((function(e){c.value=e,o(c)}),(function(e){return n("throw",e,o,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return a=a?a.then(i,i):i()}})}function L(t,n,r){var i=h;return function(a,o){if(i===m)throw new Error("Generator is already running");if(i===v){if("throw"===a)throw o;return{value:e,done:!0}}for(r.method=a,r.arg=o;;){var u=r.delegate;if(u){var s=E(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var c=f(t,n,r);if("normal"===c.type){if(i=r.done?v:p,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=v,r.method="throw",r.arg=c.arg)}}}function E(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=f(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=w,i(_,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,l(e,c,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},k(S.prototype),l(S.prototype,s,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new S(d(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(_),l(_,c,"Generator"),l(_,o,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return u.type="throw",u.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],u=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function s(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){s(a,r,i,o,u,"next",e)}function u(e){s(a,r,i,o,u,"throw",e)}o(void 0)}))}}var l={mounted:function(){var e=this,t=e.$route.query,n=e.$route.query["switch_tenant"];if("1"!==e.$route.query["logout"])if(n||!a["Session"].isLogin())a["SSOClient"].onSSOCallback(function(){var r=c(u().mark((function r(i){var s;return u().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(!n){r.next=3;break}return window.parent.postMessage({type:"switchTenant",tokenInfo:i},"*"),r.abrupt("return");case 3:return r.next=5,a["Session"].doSignIn(i);case 5:s=t["returnUrl"],Object(o["startsWith"])(s,"http")?window.location=s:e.$router.push({path:s,query:{_pid:"_blank"}});case 7:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}());else{var r=t["returnUrl"];Object(o["startsWith"])(r,"http")?window.location=r:e.$router.push({path:r,query:{_pid:"_blank"}})}else{var i=Object(o["trim"])(t["returnUrl"]||t["return_url"]),s="";if(/^http[s]?:/i.test(i))s=i;else{var l=(window.location.protocol+"//").replace(/\/{3,}/,"//");s=(""+window.location.host+window.location.pathname+i).replace(/\/{2,}/,"/"),s=""+l+s}a["Session"].doLogout(s,!1)}}},d=l,f=n("2877"),h=Object(f["a"])(d,r,i,!1,null,null,null);t["default"]=h.exports},cff6:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n("c3f0"),a=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.defaultValue,o=void 0===a?{}:a,u=n.serialize,s=void 0===u?i:u,c=n.deserialize,l=void 0===c?JSON.parse:c;r(this,e),this.source=t,this.defaultValue=o,this.serialize=s,this.deserialize=l};e.exports=a},dae4:function(e,t,n){e.exports=n("0fbf")("./node_modules/@fly-vue/core/index.js")},e45d:function(e,t,n){},eaca:function(e,t,n){"use strict";n.r(t);var r=n("dae4"),i=n("0cc9"),a=n("6bc3"),o=n("a32f"),u="i18n-locale";t["default"]={namespaced:!0,state:{locale:""},actions:{getLocale:function(e){var t,n=e.state,s=a["a"].db.get(Object(o["pathInit"])({dbName:"database",path:"",user:!0,defaultValue:{}})),c=s.get(u).value();if(c)t=c;else{if(Object(r["config"])().i18n.auto){var l=navigator.language;t=i["a"][l]?l:Object(r["config"])().i18n.default}else t=Object(r["config"])().i18n.default;s.set(u,t).write()}n.locale=t},setLocale:function(e,t){var n=e.state,i=t.locale,s=void 0===i?Object(r["config"])().i18n.default:i,c=t.vm,l=a["a"].db.get(Object(o["pathInit"])({dbName:"database",path:"",user:!0,defaultValue:{}}));l.set(u,s).write(),n.locale=s,c.$i18n.locale=s,a["a"].title({title:c.$route.meta.title})}}}},eb44:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n("dae4"),i=n.n(r),a=n("a9f5"),o=n("2ef0"),u=n("0651");function s(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=c(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"===typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var d=[];function f(){var e=0,t=r();return new Promise((function(e,t){n(e,t)})).then((function(e){var t=e,n={action:"resize",params:{height:t}};console.log("resize parent iframe height to :"+t),i.a.postMessageToParent(n)}));function n(i,a){window.setTimeout((function(){e++;var o=r();o===t||e>3?i(t):(t=o,n(i,a))}),200)}function r(){var e=0,t=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,e);return t}}var h={observer:null,registerLayoutBehaviorHandler:function(e){d.push(e)},defaultPageState:function(){var e=Object(r["store"])().getters["admin/layout/keepMenuCollapse"],t=Object(o["isNull"])(e)?Object(r["config"])().layout.menuCollapse||!1:e,n={header:!0,tabs:Object(r["config"])().layout.tabs,sider:!0,footer:Object(r["config"])().layout.showCopyRight,siderCollapse:t,fullScreen:!1,group:!1},i=u["a"].getHeader();return i&&"hideSider"in i&&(n.sider=!i.hideSider,n.group=i.group),n},applyPageSettings:function(e){Object(r["store"])().commit("admin/layout/updateMenuCollapse",e.siderCollapse),Object(r["store"])().commit("admin/menu/setHideSider",!e.sider),Object(r["store"])().commit("admin/layout/updateLayoutSetting",{key:"headerHide",value:!e.header}),Object(r["store"])().commit("admin/layout/updateLayoutSetting",{key:"headerFix",value:e.header}),Object(r["store"])().commit("admin/layout/updateLayoutSetting",{key:"tabs",value:!!e.header&&e.tabs}),Object(r["store"])().commit("admin/layout/updateLayoutSetting",{key:"showCopyRight",value:!!e.footer}),Object(r["store"])().dispatch("admin/layout/toggleFullscreen",e.fullScreen),Object(r["store"])().commit("admin/menu/setGroup",e.group||!1)},applyLayoutBehavior:function(e,t,n){var i=this,u=a["a"].currentPage().pst,c=e.query;if((Object(o["has"])(c,"_pst")||"_blank"===c["_pid"])&&Object.assign({},this.defaultPageState(),u),!Object(o["has"])(c,"_pst")){var l=Object(r["store"])().getters["admin/menu/currentHeader"];l&&(u.sider=!l.hideSider,u.group=l.group,Object.assign({},this.defaultPageState(),u))}n&&Object.assign(u,n);var f=c["_pst"]||"",h=function(){for(var n=0;n<f.length;n++)for(var r,a=f.charAt(n),o=s(d);!(r=o()).done;){var c=r.value,l=c(a,u,e,t);if(!1===l)break}i.applyPageSettings(u)};t?h():window.setTimeout((function(){h()}),300)},inIframe:function(){return i.a.inIframe()},autoHeightForIframe:function(e){var t=this;this.observer&&(this.observer.disconnect(),this.observer.takeRecords(),this.observer=null);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;n&&(this.observer=new n((function(e){t.resizeParentIframeHeight()})),this.observer.observe(document.body,{attributes:!0,subtree:!0,attributeFilter:["style"]}))},resizeParentIframeHeight:Object(o["debounce"])(f,200)};h.registerLayoutBehaviorHandler((function(e,t){"c"===e&&(t.siderCollapse=!0)})),h.registerLayoutBehaviorHandler((function(e,t){"s"===e&&(t.sider=!1)})),h.registerLayoutBehaviorHandler((function(e,t){"h"===e&&(t.header=!1)})),h.registerLayoutBehaviorHandler((function(e,t){"b"===e&&(t.footer=!1)})),h.registerLayoutBehaviorHandler((function(e,t,n,r){"f"===e&&(t.fullScreen=!0)}))},f825:function(e,t,n){e.exports=n("6ade")("./node_modules/view-design/dist/iview.js")},fb75:function(e,t,n){"use strict";n("e45d")},fd77:function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=n("cff6"),s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),r(t,[{key:"read",value:function(){var e=localStorage.getItem(this.source);return e?this.deserialize(e):(localStorage.setItem(this.source,this.serialize(this.defaultValue)),this.defaultValue)}},{key:"write",value:function(e){localStorage.setItem(this.source,this.serialize(e))}}]),t}(u);e.exports=s}})}))},de48:function(e,t,n){"use strict";n.r(t),n.d(t,"on",(function(){return a})),n.d(t,"off",(function(){return o}));var r=n("a026");const i=r["default"].prototype.$isServer,a=function(){return!i&&document.addEventListener?function(e,t,n,r=!1){e&&t&&n&&e.addEventListener(t,n,r)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)}}(),o=function(){return!i&&document.removeEventListener?function(e,t,n,r=!1){e&&t&&e.removeEventListener(t,n,r)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)}}()}}]);
|
package/package.json
CHANGED