@fly-vue/lcdp-iview 1.8.1 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- package/@types/module/action-nodes/impl/open-in-drawer.d.ts +16 -0
- package/@types/module/components/attribute/designer/prop-value-editor/var-input/index.vue.d.ts +2 -2
- package/@types/module/components/attribute/prop-value-editor/json-editor.vue.d.ts +4 -4
- package/@types/module/components/components/IvTableGrid/cols.d.ts +12 -10
- package/@types/module/components/components/IvTableGrid/index.vue.d.ts +30 -11
- package/@types/module/components/components/IvTableGrid/table-props.d.ts +3 -3
- package/@types/module/components/components/base/IvText/index.vue.d.ts +2 -2
- package/@types/module/components/components/iam/lib/query-methods-builder.d.ts +0 -4
- package/@types/module/components/components/iam/mixins/build-query-methods.d.ts +13 -17
- package/@types/module/components/index.d.ts +8 -404
- package/@types/module/components/utils.d.ts +13 -7
- package/@types/module/schema-extend/components/form.d.ts +6 -0
- package/@types/module/schema-extend/components/iv-table.d.ts +10 -0
- package/bingo-builder-manifest.json +13 -13
- package/index.js +4 -4
- package/modules/fly_vue_lcdp_iview/assets/css/app.css +2 -2
- package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-attrcomponent.efbf3416.css +1 -0
- package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.5b4a24f2.css +1 -0
- package/modules/fly_vue_lcdp_iview/chunk-732b533d.20736aa76d2f1f5367fb.js +1 -0
- package/modules/fly_vue_lcdp_iview/dll.js +7 -7
- package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.20736aa76d2f1f5367fb.js +1 -0
- package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.20736aa76d2f1f5367fb.js +1 -0
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.20736aa76d2f1f5367fb.js +1 -0
- package/modules/fly_vue_lcdp_iview/{lcdp-iview-component-region.c7ed69676503f522544d.js → lcdp-iview-component-region.20736aa76d2f1f5367fb.js} +2 -2
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component.20736aa76d2f1f5367fb.js +1 -0
- package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.20736aa76d2f1f5367fb.js +1 -0
- package/modules/fly_vue_lcdp_iview/vendors~lcdp-iview-component.20736aa76d2f1f5367fb.js +1 -0
- package/modules/fly_vue_lcdp_iview/vendors~lcdp-renderer-components.20736aa76d2f1f5367fb.js +7 -0
- package/package.json +15 -15
- package/@types/module/components/components/base/IvHtml/index.vue.d.ts +0 -14
- package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-attrcomponent.6c592905.css +0 -1
- package/modules/fly_vue_lcdp_iview/assets/css/lcdp-iview-component.0e011fec.css +0 -1
- package/modules/fly_vue_lcdp_iview/chunk-732b533d.c7ed69676503f522544d.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-iview-attrcomponent.c7ed69676503f522544d.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-iview-basecomponent.c7ed69676503f522544d.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component-ice.c7ed69676503f522544d.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-iview-component.c7ed69676503f522544d.js +0 -1
- package/modules/fly_vue_lcdp_iview/lcdp-renderer-components.c7ed69676503f522544d.js +0 -1
- package/modules/fly_vue_lcdp_iview/vendors~lcdp-iview-component.c7ed69676503f522544d.js +0 -1
- package/modules/fly_vue_lcdp_iview/vendors~lcdp-renderer-components.c7ed69676503f522544d.js +0 -7
- /package/modules/fly_vue_lcdp_iview/{lcdp-designer-components.c7ed69676503f522544d.js → lcdp-designer-components.20736aa76d2f1f5367fb.js} +0 -0
- /package/modules/fly_vue_lcdp_iview/{vendors~lcdp-iview-component-ice.c7ed69676503f522544d.js → vendors~lcdp-iview-component-ice.20736aa76d2f1f5367fb.js} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
(window["webpackJsonp_$fly_vue_lcdp_iview_"]=window["webpackJsonp_$fly_vue_lcdp_iview_"]||[]).push([["vendors~lcdp-iview-component"],{"0f88":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("2767"),a=n("84c6"),o=n("1fc0"),i=n("74af");function c(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var c=t.getBoundingClientRect(),f=1,s=1;e&&Object(r["b"])(t)&&(f=t.offsetWidth>0&&Object(a["c"])(c.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Object(a["c"])(c.height)/t.offsetHeight||1);var u=Object(r["a"])(t)?Object(o["a"])(t):window,d=u.visualViewport,l=!Object(i["a"])()&&n,p=(c.left+(l&&d?d.offsetLeft:0))/f,b=(c.top+(l&&d?d.offsetTop:0))/s,v=c.width/f,O=c.height/s;return{width:v,height:O,top:b,right:p+v,bottom:b+O,left:p,x:p,y:b}}},"12d8":function(t,e,n){"use strict";function r(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}n.d(e,"a",(function(){return r}))},"1fc0":function(t,e,n){"use strict";function r(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}n.d(e,"a",(function(){return r}))},2638:function(t,e,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)}var a=["attrs","props","domProps"],o=["class","style","directives"],i=["on","nativeOn"],c=function(t){return t.reduce((function(t,e){for(var n in e)if(t[n])if(-1!==a.indexOf(n))t[n]=r({},t[n],e[n]);else if(-1!==o.indexOf(n)){var c=t[n]instanceof Array?t[n]:[t[n]],s=e[n]instanceof Array?e[n]:[e[n]];t[n]=[].concat(c,s)}else if(-1!==i.indexOf(n))for(var u in e[n])if(t[n][u]){var d=t[n][u]instanceof Array?t[n][u]:[t[n][u]],l=e[n][u]instanceof Array?e[n][u]:[e[n][u]];t[n][u]=[].concat(d,l)}else t[n][u]=e[n][u];else if("hook"===n)for(var p in e[n])t[n][p]=t[n][p]?f(t[n][p],e[n][p]):e[n][p];else t[n]=e[n];else t[n]=e[n];return t}),{})},f=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}};t.exports=c},2767:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i}));var r=n("1fc0");function a(t){var e=Object(r["a"])(t).Element;return t instanceof e||t instanceof Element}function o(t){var e=Object(r["a"])(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function i(t){if("undefined"===typeof ShadowRoot)return!1;var e=Object(r["a"])(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}},"28bf":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("5788"),a=n("ef52"),o=n("2767");function i(t){return"html"===Object(r["a"])(t)?t:t.assignedSlot||t.parentNode||(Object(o["c"])(t)?t.host:null)||Object(a["a"])(t)}},"35f6":function(t,e,n){"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(e,"a",(function(){return r}))},"3d8d":function(t,e,n){"use strict";function r(t){return t.split("-")[1]}n.d(e,"a",(function(){return r}))},"45d1":function(t,e,n){"use strict";n.d(e,"a",(function(){return I}));var r=n("0f88"),a=n("a321"),o=n("1fc0"),i=n("2767");function c(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function f(t){return t!==Object(o["a"])(t)&&Object(i["b"])(t)?c(t):Object(a["a"])(t)}var s=n("5788"),u=n("6125"),d=n("ef52"),l=n("ae6c"),p=n("84c6");function b(t){var e=t.getBoundingClientRect(),n=Object(p["c"])(e.width)/t.offsetWidth||1,r=Object(p["c"])(e.height)/t.offsetHeight||1;return 1!==n||1!==r}function v(t,e,n){void 0===n&&(n=!1);var a=Object(i["b"])(e),o=Object(i["b"])(e)&&b(e),c=Object(d["a"])(e),p=Object(r["a"])(t,o,n),v={scrollLeft:0,scrollTop:0},O={x:0,y:0};return(a||!a&&!n)&&(("body"!==Object(s["a"])(e)||Object(l["a"])(c))&&(v=f(e)),Object(i["b"])(e)?(O=Object(r["a"])(e,!0),O.x+=e.clientLeft,O.y+=e.clientTop):c&&(O.x=Object(u["a"])(c))),{x:p.left+v.scrollLeft-O.x,y:p.top+v.scrollTop-O.y,width:p.width,height:p.height}}var O=n("e2e9"),m=n("ea1a"),h=n("b62b"),j=n("77f9");function g(t){var e=new Map,n=new Set,r=[];function a(t){n.add(t.name);var o=[].concat(t.requires||[],t.requiresIfExists||[]);o.forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&a(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||a(t)})),r}function y(t){var e=g(t);return j["g"].reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function w(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function x(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}var D={placement:"bottom",modifiers:[],strategy:"absolute"};function _(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function k(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,a=e.defaultOptions,o=void 0===a?D:a;return function(t,e,n){void 0===n&&(n=o);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},D,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],f=!1,s={state:a,setOptions:function(n){var c="function"===typeof n?n(a.options):n;d(),a.options=Object.assign({},o,a.options,c),a.scrollParents={reference:Object(i["a"])(t)?Object(m["a"])(t):t.contextElement?Object(m["a"])(t.contextElement):[],popper:Object(m["a"])(e)};var f=y(x([].concat(r,a.options.modifiers)));return a.orderedModifiers=f.filter((function(t){return t.enabled})),u(),s.update()},forceUpdate:function(){if(!f){var t=a.elements,e=t.reference,n=t.popper;if(_(e,n)){a.rects={reference:v(e,Object(h["a"])(n),"fixed"===a.options.strategy),popper:Object(O["a"])(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var o=a.orderedModifiers[r],i=o.fn,c=o.options,u=void 0===c?{}:c,d=o.name;"function"===typeof i&&(a=i({state:a,options:u,name:d,instance:s})||a)}else a.reset=!1,r=-1}}},update:w((function(){return new Promise((function(t){s.forceUpdate(),t(a)}))})),destroy:function(){d(),f=!0}};if(!_(t,e))return s;function u(){a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,o=t.effect;if("function"===typeof o){var i=o({state:a,name:e,instance:s,options:r}),f=function(){};c.push(i||f)}}))}function d(){c.forEach((function(t){return t()})),c=[]}return s.setOptions(n).then((function(t){!f&&n.onFirstUpdate&&n.onFirstUpdate(t)})),s}}var A={passive:!0};function E(t){var e=t.state,n=t.instance,r=t.options,a=r.scroll,i=void 0===a||a,c=r.resize,f=void 0===c||c,s=Object(o["a"])(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach((function(t){t.addEventListener("scroll",n.update,A)})),f&&s.addEventListener("resize",n.update,A),function(){i&&u.forEach((function(t){t.removeEventListener("scroll",n.update,A)})),f&&s.removeEventListener("resize",n.update,A)}}var M={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:E,data:{}},L=n("5d7e");function P(t){var e=t.state,n=t.name;e.modifiersData[n]=Object(L["a"])({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var W={name:"popperOffsets",enabled:!0,phase:"read",fn:P,data:{}},N=n("b519"),B=n("b50e"),C=n("3d8d"),H={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T(t,e){var n=t.x,r=t.y,a=e.devicePixelRatio||1;return{x:Object(p["c"])(n*a)/a||0,y:Object(p["c"])(r*a)/a||0}}function R(t){var e,n=t.popper,r=t.popperRect,a=t.placement,i=t.variation,c=t.offsets,f=t.position,s=t.gpuAcceleration,u=t.adaptive,l=t.roundOffsets,p=t.isFixed,b=c.x,v=void 0===b?0:b,O=c.y,m=void 0===O?0:O,g="function"===typeof l?l({x:v,y:m}):{x:v,y:m};v=g.x,m=g.y;var y=c.hasOwnProperty("x"),w=c.hasOwnProperty("y"),x=j["f"],D=j["m"],_=window;if(u){var k=Object(h["a"])(n),A="clientHeight",E="clientWidth";if(k===Object(o["a"])(n)&&(k=Object(d["a"])(n),"static"!==Object(N["a"])(k).position&&"absolute"===f&&(A="scrollHeight",E="scrollWidth")),k=k,a===j["m"]||(a===j["f"]||a===j["k"])&&i===j["e"]){D=j["c"];var M=p&&k===_&&_.visualViewport?_.visualViewport.height:k[A];m-=M-r.height,m*=s?1:-1}if(a===j["f"]||(a===j["m"]||a===j["c"])&&i===j["e"]){x=j["k"];var L=p&&k===_&&_.visualViewport?_.visualViewport.width:k[E];v-=L-r.width,v*=s?1:-1}}var P,W=Object.assign({position:f},u&&H),B=!0===l?T({x:v,y:m},Object(o["a"])(n)):{x:v,y:m};return v=B.x,m=B.y,s?Object.assign({},W,(P={},P[D]=w?"0":"",P[x]=y?"0":"",P.transform=(_.devicePixelRatio||1)<=1?"translate("+v+"px, "+m+"px)":"translate3d("+v+"px, "+m+"px, 0)",P)):Object.assign({},W,(e={},e[D]=w?m+"px":"",e[x]=y?v+"px":"",e.transform="",e))}function S(t){var e=t.state,n=t.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,c=n.roundOffsets,f=void 0===c||c,s={placement:Object(B["a"])(e.placement),variation:Object(C["a"])(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,R(Object.assign({},s,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:f})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,R(Object.assign({},s,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var V={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:S,data:{}};function q(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},a=e.elements[t];Object(i["b"])(a)&&Object(s["a"])(a)&&(Object.assign(a.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))}function U(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],a=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]),c=o.reduce((function(t,e){return t[e]="",t}),{});Object(i["b"])(r)&&Object(s["a"])(r)&&(Object.assign(r.style,c),Object.keys(a).forEach((function(t){r.removeAttribute(t)})))}))}}var F={name:"applyStyles",enabled:!0,phase:"write",fn:q,effect:U,requires:["computeStyles"]},z=[M,W,V,F],I=k({defaultModifiers:z})},5788:function(t,e,n){"use strict";function r(t){return t?(t.nodeName||"").toLowerCase():null}n.d(e,"a",(function(){return r}))},"5d7e":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("b50e"),a=n("3d8d"),o=n("ad9d"),i=n("77f9");function c(t){var e,n=t.reference,c=t.element,f=t.placement,s=f?Object(r["a"])(f):null,u=f?Object(a["a"])(f):null,d=n.x+n.width/2-c.width/2,l=n.y+n.height/2-c.height/2;switch(s){case i["m"]:e={x:d,y:n.y-c.height};break;case i["c"]:e={x:d,y:n.y+n.height};break;case i["k"]:e={x:n.x+n.width,y:l};break;case i["f"]:e={x:n.x-c.width,y:l};break;default:e={x:n.x,y:n.y}}var p=s?Object(o["a"])(s):null;if(null!=p){var b="y"===p?"height":"width";switch(u){case i["l"]:e[p]=e[p]-(n[b]/2-c[b]/2);break;case i["e"]:e[p]=e[p]+(n[b]/2-c[b]/2);break;default:}}return e}},6125:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("0f88"),a=n("ef52"),o=n("a321");function i(t){return Object(r["a"])(Object(a["a"])(t)).left+Object(o["a"])(t).scrollLeft}},"74af":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("12d8");function a(){return!/^((?!chrome|android).)*safari/i.test(Object(r["a"])())}},"77f9":function(t,e,n){"use strict";n.d(e,"m",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"k",(function(){return o})),n.d(e,"f",(function(){return i})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return f})),n.d(e,"l",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"d",(function(){return d})),n.d(e,"o",(function(){return l})),n.d(e,"i",(function(){return p})),n.d(e,"j",(function(){return b})),n.d(e,"n",(function(){return v})),n.d(e,"h",(function(){return O})),n.d(e,"g",(function(){return k}));var r="top",a="bottom",o="right",i="left",c="auto",f=[r,a,o,i],s="start",u="end",d="clippingParents",l="viewport",p="popper",b="reference",v=f.reduce((function(t,e){return t.concat([e+"-"+s,e+"-"+u])}),[]),O=[].concat(f,[c]).reduce((function(t,e){return t.concat([e,e+"-"+s,e+"-"+u])}),[]),m="beforeRead",h="read",j="afterRead",g="beforeMain",y="main",w="afterMain",x="beforeWrite",D="write",_="afterWrite",k=[m,h,j,g,y,w,x,D,_]},"84c6":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o}));var r=Math.max,a=Math.min,o=Math.round},9435:function(t,e,n){"use strict";var r=n("77f9"),a=n("b50e"),o=n("ad9d");function i(t){return"x"===t?"y":"x"}var c=n("84c6");function f(t,e,n){return Object(c["a"])(t,Object(c["b"])(e,n))}function s(t,e,n){var r=f(t,e,n);return r>n?n:r}var u=n("e2e9"),d=n("b62b"),l=n("b617"),p=n("3d8d"),b=n("35f6");function v(t){var e=t.state,n=t.options,v=t.name,O=n.mainAxis,m=void 0===O||O,h=n.altAxis,j=void 0!==h&&h,g=n.boundary,y=n.rootBoundary,w=n.altBoundary,x=n.padding,D=n.tether,_=void 0===D||D,k=n.tetherOffset,A=void 0===k?0:k,E=Object(l["a"])(e,{boundary:g,rootBoundary:y,padding:x,altBoundary:w}),M=Object(a["a"])(e.placement),L=Object(p["a"])(e.placement),P=!L,W=Object(o["a"])(M),N=i(W),B=e.modifiersData.popperOffsets,C=e.rects.reference,H=e.rects.popper,T="function"===typeof A?A(Object.assign({},e.rects,{placement:e.placement})):A,R="number"===typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),S=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,V={x:0,y:0};if(B){if(m){var q,U="y"===W?r["m"]:r["f"],F="y"===W?r["c"]:r["k"],z="y"===W?"height":"width",I=B[W],J=I+E[U],X=I-E[F],Y=_?-H[z]/2:0,$=L===r["l"]?C[z]:H[z],G=L===r["l"]?-H[z]:-C[z],K=e.elements.arrow,Q=_&&K?Object(u["a"])(K):{width:0,height:0},Z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Object(b["a"])(),tt=Z[U],et=Z[F],nt=f(0,C[z],Q[z]),rt=P?C[z]/2-Y-nt-tt-R.mainAxis:$-nt-tt-R.mainAxis,at=P?-C[z]/2+Y+nt+et+R.mainAxis:G+nt+et+R.mainAxis,ot=e.elements.arrow&&Object(d["a"])(e.elements.arrow),it=ot?"y"===W?ot.clientTop||0:ot.clientLeft||0:0,ct=null!=(q=null==S?void 0:S[W])?q:0,ft=I+rt-ct-it,st=I+at-ct,ut=f(_?Object(c["b"])(J,ft):J,I,_?Object(c["a"])(X,st):X);B[W]=ut,V[W]=ut-I}if(j){var dt,lt="x"===W?r["m"]:r["f"],pt="x"===W?r["c"]:r["k"],bt=B[N],vt="y"===N?"height":"width",Ot=bt+E[lt],mt=bt-E[pt],ht=-1!==[r["m"],r["f"]].indexOf(M),jt=null!=(dt=null==S?void 0:S[N])?dt:0,gt=ht?Ot:bt-C[vt]-H[vt]-jt+R.altAxis,yt=ht?bt+C[vt]+H[vt]-jt-R.altAxis:mt,wt=_&&ht?s(gt,bt,yt):f(_?gt:Ot,bt,_?yt:mt);B[N]=wt,V[N]=wt-bt}e.modifiersData[v]=V}}e["a"]={name:"preventOverflow",enabled:!0,phase:"main",fn:v,requiresIfExists:["offset"]}},a321:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("1fc0");function a(t){var e=Object(r["a"])(t),n=e.pageXOffset,a=e.pageYOffset;return{scrollLeft:n,scrollTop:a}}},ad9d:function(t,e,n){"use strict";function r(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}n.d(e,"a",(function(){return r}))},ae6c:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("b519");function a(t){var e=Object(r["a"])(t),n=e.overflow,a=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+a)}},b50e:function(t,e,n){"use strict";function r(t){return t.split("-")[0]}n.d(e,"a",(function(){return r}))},b519:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("1fc0");function a(t){return Object(r["a"])(t).getComputedStyle(t)}},b617:function(t,e,n){"use strict";n.d(e,"a",(function(){return M}));var r=n("77f9"),a=n("1fc0"),o=n("ef52"),i=n("6125"),c=n("74af");function f(t,e){var n=Object(a["a"])(t),r=Object(o["a"])(t),f=n.visualViewport,s=r.clientWidth,u=r.clientHeight,d=0,l=0;if(f){s=f.width,u=f.height;var p=Object(c["a"])();(p||!p&&"fixed"===e)&&(d=f.offsetLeft,l=f.offsetTop)}return{width:s,height:u,x:d+Object(i["a"])(t),y:l}}var s=n("b519"),u=n("a321"),d=n("84c6");function l(t){var e,n=Object(o["a"])(t),r=Object(u["a"])(t),a=null==(e=t.ownerDocument)?void 0:e.body,c=Object(d["a"])(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),f=Object(d["a"])(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-r.scrollLeft+Object(i["a"])(t),p=-r.scrollTop;return"rtl"===Object(s["a"])(a||n).direction&&(l+=Object(d["a"])(n.clientWidth,a?a.clientWidth:0)-c),{width:c,height:f,x:l,y:p}}var p=n("ea1a"),b=n("b62b"),v=n("2767"),O=n("0f88"),m=n("28bf");function h(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Object(v["c"])(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}var j=n("5788");function g(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function y(t,e){var n=Object(O["a"])(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function w(t,e,n){return e===r["o"]?g(f(t,n)):Object(v["a"])(e)?y(e,n):g(l(Object(o["a"])(t)))}function x(t){var e=Object(p["a"])(Object(m["a"])(t)),n=["absolute","fixed"].indexOf(Object(s["a"])(t).position)>=0,r=n&&Object(v["b"])(t)?Object(b["a"])(t):t;return Object(v["a"])(r)?e.filter((function(t){return Object(v["a"])(t)&&h(t,r)&&"body"!==Object(j["a"])(t)})):[]}function D(t,e,n,r){var a="clippingParents"===e?x(t):[].concat(e),o=[].concat(a,[n]),i=o[0],c=o.reduce((function(e,n){var a=w(t,n,r);return e.top=Object(d["a"])(a.top,e.top),e.right=Object(d["b"])(a.right,e.right),e.bottom=Object(d["b"])(a.bottom,e.bottom),e.left=Object(d["a"])(a.left,e.left),e}),w(t,i,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}var _=n("5d7e"),k=n("35f6");function A(t){return Object.assign({},Object(k["a"])(),t)}function E(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function M(t,e){void 0===e&&(e={});var n=e,a=n.placement,i=void 0===a?t.placement:a,c=n.strategy,f=void 0===c?t.strategy:c,s=n.boundary,u=void 0===s?r["d"]:s,d=n.rootBoundary,l=void 0===d?r["o"]:d,p=n.elementContext,b=void 0===p?r["i"]:p,m=n.altBoundary,h=void 0!==m&&m,j=n.padding,y=void 0===j?0:j,w=A("number"!==typeof y?y:E(y,r["b"])),x=b===r["i"]?r["j"]:r["i"],k=t.rects.popper,M=t.elements[h?x:b],L=D(Object(v["a"])(M)?M:M.contextElement||Object(o["a"])(t.elements.popper),u,l,f),P=Object(O["a"])(t.elements.reference),W=Object(_["a"])({reference:P,element:k,strategy:"absolute",placement:i}),N=g(Object.assign({},k,W)),B=b===r["i"]?N:P,C={top:L.top-B.top+w.top,bottom:B.bottom-L.bottom+w.bottom,left:L.left-B.left+w.left,right:B.right-L.right+w.right},H=t.modifiersData.offset;if(b===r["i"]&&H){var T=H[i];Object.keys(C).forEach((function(t){var e=[r["k"],r["c"]].indexOf(t)>=0?1:-1,n=[r["m"],r["c"]].indexOf(t)>=0?"y":"x";C[t]+=T[n]*e}))}return C}},b62b:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("1fc0"),a=n("5788"),o=n("b519"),i=n("2767");function c(t){return["table","td","th"].indexOf(Object(a["a"])(t))>=0}var f=n("28bf"),s=n("12d8");function u(t){return Object(i["b"])(t)&&"fixed"!==Object(o["a"])(t).position?t.offsetParent:null}function d(t){var e=/firefox/i.test(Object(s["a"])()),n=/Trident/i.test(Object(s["a"])());if(n&&Object(i["b"])(t)){var r=Object(o["a"])(t);if("fixed"===r.position)return null}var c=Object(f["a"])(t);Object(i["c"])(c)&&(c=c.host);while(Object(i["b"])(c)&&["html","body"].indexOf(Object(a["a"])(c))<0){var u=Object(o["a"])(c);if("none"!==u.transform||"none"!==u.perspective||"paint"===u.contain||-1!==["transform","perspective"].indexOf(u.willChange)||e&&"filter"===u.willChange||e&&u.filter&&"none"!==u.filter)return c;c=c.parentNode}return null}function l(t){var e=Object(r["a"])(t),n=u(t);while(n&&c(n)&&"static"===Object(o["a"])(n).position)n=u(n);return n&&("html"===Object(a["a"])(n)||"body"===Object(a["a"])(n)&&"static"===Object(o["a"])(n).position)?e:n||d(t)||e}},c780:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=document.body),!0===t?document.body:t instanceof window.Node?t:document.querySelector(t)}const a={inserted(t,{value:e},n){if(t.dataset&&"true"!==t.dataset.transfer)return!1;t.className=t.className?t.className+" v-transfer-dom":"v-transfer-dom";const a=t.parentNode;if(!a)return;const o=document.createComment("");let i=!1;!1!==e&&(a.replaceChild(o,t),r(e).appendChild(t),i=!0),t.__transferDomData||(t.__transferDomData={parentNode:a,home:o,target:r(e),hasMovedOut:i})},componentUpdated(t,{value:e}){if(t.dataset&&"true"!==t.dataset.transfer)return!1;const n=t.__transferDomData;if(!n)return;const a=n.parentNode,o=n.home,i=n.hasMovedOut;!i&&e?(a.replaceChild(o,t),r(e).appendChild(t),t.__transferDomData=Object.assign({},t.__transferDomData,{hasMovedOut:!0,target:r(e)})):i&&!1===e?(a.replaceChild(t,o),t.__transferDomData=Object.assign({},t.__transferDomData,{hasMovedOut:!1,target:r(e)})):e&&r(e).appendChild(t)},unbind(t){if(t.dataset&&"true"!==t.dataset.transfer)return!1;t.className=t.className.replace("v-transfer-dom","");const e=t.__transferDomData;e&&(!0===t.__transferDomData.hasMovedOut&&t.__transferDomData.parentNode&&t.__transferDomData.parentNode.appendChild(t),t.__transferDomData=null)}};e["a"]=a},e2e9:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("0f88");function a(t){var e=Object(r["a"])(t),n=t.offsetWidth,a=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-a)<=1&&(a=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:a}}},ea1a:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("28bf"),a=n("ae6c"),o=n("5788"),i=n("2767");function c(t){return["html","body","#document"].indexOf(Object(o["a"])(t))>=0?t.ownerDocument.body:Object(i["b"])(t)&&Object(a["a"])(t)?t:c(Object(r["a"])(t))}var f=n("1fc0");function s(t,e){var n;void 0===e&&(e=[]);var o=c(t),i=o===(null==(n=t.ownerDocument)?void 0:n.body),u=Object(f["a"])(o),d=i?[u].concat(u.visualViewport||[],Object(a["a"])(o)?o:[]):o,l=e.concat(d);return i?l:l.concat(s(Object(r["a"])(d)))}},ecb2:function(t,e,n){"use strict";var r={left:"right",right:"left",bottom:"top",top:"bottom"};function a(t){return t.replace(/left|right|bottom|top/g,(function(t){return r[t]}))}var o=n("b50e"),i={start:"end",end:"start"};function c(t){return t.replace(/start|end/g,(function(t){return i[t]}))}var f=n("b617"),s=n("3d8d"),u=n("77f9");function d(t,e){void 0===e&&(e={});var n=e,r=n.placement,a=n.boundary,i=n.rootBoundary,c=n.padding,d=n.flipVariations,l=n.allowedAutoPlacements,p=void 0===l?u["h"]:l,b=Object(s["a"])(r),v=b?d?u["n"]:u["n"].filter((function(t){return Object(s["a"])(t)===b})):u["b"],O=v.filter((function(t){return p.indexOf(t)>=0}));0===O.length&&(O=v);var m=O.reduce((function(e,n){return e[n]=Object(f["a"])(t,{placement:n,boundary:a,rootBoundary:i,padding:c})[Object(o["a"])(n)],e}),{});return Object.keys(m).sort((function(t,e){return m[t]-m[e]}))}function l(t){if(Object(o["a"])(t)===u["a"])return[];var e=a(t);return[c(t),e,c(e)]}function p(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,c=void 0===i||i,p=n.altAxis,b=void 0===p||p,v=n.fallbackPlacements,O=n.padding,m=n.boundary,h=n.rootBoundary,j=n.altBoundary,g=n.flipVariations,y=void 0===g||g,w=n.allowedAutoPlacements,x=e.options.placement,D=Object(o["a"])(x),_=D===x,k=v||(_||!y?[a(x)]:l(x)),A=[x].concat(k).reduce((function(t,n){return t.concat(Object(o["a"])(n)===u["a"]?d(e,{placement:n,boundary:m,rootBoundary:h,padding:O,flipVariations:y,allowedAutoPlacements:w}):n)}),[]),E=e.rects.reference,M=e.rects.popper,L=new Map,P=!0,W=A[0],N=0;N<A.length;N++){var B=A[N],C=Object(o["a"])(B),H=Object(s["a"])(B)===u["l"],T=[u["m"],u["c"]].indexOf(C)>=0,R=T?"width":"height",S=Object(f["a"])(e,{placement:B,boundary:m,rootBoundary:h,altBoundary:j,padding:O}),V=T?H?u["k"]:u["f"]:H?u["c"]:u["m"];E[R]>M[R]&&(V=a(V));var q=a(V),U=[];if(c&&U.push(S[C]<=0),b&&U.push(S[V]<=0,S[q]<=0),U.every((function(t){return t}))){W=B,P=!1;break}L.set(B,U)}if(P)for(var F=y?3:1,z=function(t){var e=A.find((function(e){var n=L.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return W=e,"break"},I=F;I>0;I--){var J=z(I);if("break"===J)break}e.placement!==W&&(e.modifiersData[r]._skip=!0,e.placement=W,e.reset=!0)}}e["a"]={name:"flip",enabled:!0,phase:"main",fn:p,requiresIfExists:["offset"],data:{_skip:!1}}},ef52:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("2767");function a(t){return((Object(r["a"])(t)?t.ownerDocument:t.document)||window.document).documentElement}}}]);
|
@@ -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 b})),n.d(t,"findComponentUpward",(function(){return y})),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 C})),n.d(t,"dimensionMap",(function(){return E})),n.d(t,"setMatchMedia",(function(){return L})),n.d(t,"sharpMatcherRegx",(function(){return M}));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 b(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 y(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 C(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 L(){if("undefined"!==typeof window){const e=e=>({media:e,matches:!1,on(){},off(){}});window.matchMedia=window.matchMedia||e}}const M=/#([^#]+)$/},"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("4294")},"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},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},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}))},"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")},"40e0":function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return a}));var i=!1;function a(){return{setMenuMatchedByPathParser:function(e){r=e},getMenuMatchedByPathParser:function(){return r},ignoreMenuAuthCheck:function(){i=!0},isIgnoreMenuAuthCheck:function(){return i}}}},4294: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 C["a"]})),n.d(t,"requestAnimation",(function(){return C["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 yn})),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)},b=[],y=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("e2da"),_=n("2ef0"),k=n.n(_),S=n("ae62"),C=n("6bc3"),E=void 0;function L(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=L(n.children);if(r)return r}}return null}var M={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=C["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=C["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=L(t);return n.path}return""}}},P={name:"IMenuHeadItem",components:{iMenuHeadTitle:v},mixins:[M],props:{menu:{type:Object,default:function(){return{}}},hideTitle:{type:Boolean,default:!1}},methods:{itemClick:function(e){this.handleClick(e,"header")}}},T=P,I=Object(p["a"])(T,y,w,!1,null,null,null),$=I.exports,N=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=[],H=n("f825");function F(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),F(r).appendChild(e),o=!0),e.__transferDomData||(e.__transferDomData={parentNode:i,home:a,target:F(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),F(n).appendChild(e),e.__transferDomData=Object.assign({},e.__transferDomData,{hasMovedOut:!0,target:F(n)})):o&&!1===n?(i.replaceChild(e,a),e.__transferDomData=Object.assign({},e.__transferDomData,{hasMovedOut:!1,target:F(n)})):n&&F(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,q={name:"Submenu",directives:{TransferDom:R},extends:H["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:{}},U=q,B=Object(p["a"])(U,N,A,!1,null,null,null),G=B.exports,z={name:"ISubmenuHead",components:{IMenuHeadItem:$,iMenuHeadTitle:v,SubmenuExtend:G},props:{menu:{type:Object,default:function(){return{}}}}},V=z,W=Object(p["a"])(V,g,b,!1,null,null,null),K=W.exports,Y={name:"IMenuHead",components:{iMenuHeadTitle:v,ISubmenuHead:K,IMenuHeadItem:$},mixins:[M],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=Y,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:[M],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),be=ge.exports,ye=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:[M],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,ye,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=Ce(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 Ce(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 Le={name:"IMenuSide",components:{iMenuSideItem:fe,iMenuSideSubmenu:be,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}}},Me=Le,Pe=Object(p["a"])(Me,Z,ee,!1,null,null,null),Te=Pe.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()])},$e=[],Ne={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({},Ne,this.logo)}})},He=Ae,Fe=Object(p["a"])(He,Ie,$e,!1,null,null,null),De=Fe.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)},qe=[],Ue={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)}}},Be=Ue,Ge=Object(p["a"])(Be,Re,qe,!1,null,null,null),ze=Ge.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=[],Ke={name:"iHeaderReload",computed:Object.assign({},Object(O["mapState"])("admin/layout",["isMobile","showSiderCollapse"])),methods:{handleReload:function(){this.$emit("on-reload")}}},Ye=Ke,Qe=Object(p["a"])(Ye,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)},bt=[],yt={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=yt,xt=Object(p["a"])(wt,gt,bt,!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,Ct=Object(p["a"])(St,jt,_t,!1,null,null,null),Et=Ct.exports,Lt=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)])},Mt=[],Pt={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=Pt,It=Object(p["a"])(Tt,Lt,Mt,!1,null,null,null),$t=It.exports,Nt=function(){var e=this,t=e._self._c;return t("GlobalFooter",{staticClass:"i-copyright",attrs:{links:e.links,copyright:e.copyright}})},At=[],Ht={name:"i-copyright",props:{links:{type:Array,default:function(){return[]}},copyright:{type:String,default:"Copyright © 2020 广州市品高软件股份有限公司"}}},Ft=Ht,Dt=(n("a5d5"),Object(p["a"])(Ft,Nt,At,!1,null,null,null)),Rt=Dt.exports,qt=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)},Ut=[],Bt=n("30c2"),Gt=n.n(Bt),zt={name:"i-link",mixins:[Gt.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,qt,Ut,!1,null,null,null)),Kt=Wt.exports,Yt={install:function(e,t){e.config.errorHandler=function(t,n,r){e.nextTick((function(){"development"===a.a.NODE_ENV&&(C["a"].log.capsule("@fly-vue/iview admin","ErrorHandler","error"),C["a"].log.error(">>>>>> 错误信息 >>>>>>"),console.error(r),C["a"].log.error(">>>>>> Vue 实例 >>>>>>"),console.error(n),C["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({},C["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 M(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 b(){}function y(){}var w={};c(w,o,(function(){return this}));var x=Object.getPrototypeOf,O=x&&x(x(P([])));O&&O!==n&&r.call(O,o)&&(w=O);var j=y.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=C(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 C(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,C(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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function P(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=y,i(j,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:b,configurable:!0}),b.displayName=c(y,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,y):(e.__proto__=y,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=P,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(L),!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),L(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;L(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(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(Yt),e.use(Qt),e.directive("auth",Jt);case 3:case"end":return t.stop()}}),t)})))()}},nn=n("5a13"),rn={};nn.keys().forEach((function(e){rn[e.replace(/(\.\/|\.js|\.ts)/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(C["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,bn=Object(p["a"])(gn,pn,mn,!1,null,null,null),yn=bn.exports,wn=n("40e0"),xn=function(){return xn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},xn.apply(this,arguments)},On=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r["throw"](e))}catch(t){a(t)}}function s(e){e.done?n(e.value):i(e.value).then(o,u)}s((r=r.apply(e,t||[])).next())}))},jn=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(o)try{if(n=1,r&&(i=2&a[0]?r["return"]:a[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},_n={iMenuHead:X,iMenuSide:Te,iHeaderLogo:De,iHeaderCollapse:ze,iHeaderReload:Je,iHeaderBreadcrumb:it,iHeaderLog:lt,iHeaderFullscreen:vt,iHeaderI18n:Ot,iHeaderSetting:Et,iTabs:$t,iCopyright:Rt,iLink:Kt},kn=xn({},_n),Sn=Object.assign({},o["a"]),Cn=function(e){var t=this,n=e;e["_BINGO_UI_WEB_APPLICATIOIN"]&&(n=e.Vue),e.store.registerModule("admin",an),Object.keys(kn).forEach((function(e){n.component(e,kn[e])})),e.store.dispatch("admin/i18n/getLocale");var a=e.store.state.admin.i18n.locale;e.use(tn).addConfig({locale:a}).addLocaleMessages(Sn).mixin({watch:{$route:function(e,t){j["a"].onRouteChange(e,t)}}}).registerEvent(i["WebApplicationEventType"].immediatelyAfterConfigLoaded,(function(){var t=e.config.apiBaseUrl||e.config.apiBaseURL;t&&i["HttpRequest"].setGlobalDefaults({baseURL:t})})).registerEvent(i["WebApplicationEventType"].configLoaded,(function(){return On(t,void 0,void 0,(function(){var t,n,r,a,o,u;return jn(this,(function(s){switch(s.label){case 0:if(t=Object(i["config"])().layout,!k.a.isEmpty(t))for(n in t)e.store.commit("admin/layout/updateLayoutSetting",{key:n,value:t[n]});return Object(i["config"])()["settings.app.title"]&&e.store.commit("admin/layout/updateLayoutSetting",{key:"appTitle",value:Object(i["config"])()["settings.app.title"]}),Object(i["config"])()["settings.app.logo"]&&e.store.commit("admin/layout/updateLayoutSetting",{key:"logo",value:Object(i["config"])()["settings.app.logo"]}),Object(i["config"])()["settings.app.favicon"]&&document&&(r=Object(i["config"])()["settings.app.favicon"],a=document.querySelector('link[rel="icon"]'),null!==a?a.href=r:(a=document.createElement("link"),a.rel="icon",a.href=r,document.head.appendChild(a))),o=Object(i["config"])().layout.menuCollapse,e.store.commit("admin/layout/updateMenuCollapse",o),u=i["ConfigHelper"].getConfigVal("allowPageAnonymous"),u?[4,En()]:[3,2];case 1:s.sent(),s.label=2;case 2:return[2]}}))}))})).registerEvent(i["WebApplicationEventType"].routerLoading,(function(t){e.addRoutes(cn),e.addRoutes(sn,"/");var n=t.stringifyQueries;n.push((function(e,t){return j["a"].stringifyQuery(e,t)}))})).registerEvent(i["WebApplicationEventType"].routerLoaded,(function(t){e.store.commit("admin/menu/setHeader",S["a"].headerMenus()),t.router.afterEach((function(){e.config.showProgressBar&&r["ViewUI"].LoadingBar.finish(),window.scrollTo(0,0)}))})).registerEvent(i["WebApplicationEventType"].vueCreated,(function(){this.$store.dispatch("admin/layout/listenFullscreen"),ln["a"].inIframe()&&ln["a"].autoHeightForIframe()})).registerEvent(i["WebApplicationEventType"].userSignIn,(function(t){return On(this,void 0,void 0,(function(){return jn(this,(function(n){switch(n.label){case 0:return e.store.dispatch("admin/user/set",t.user),[4,En()];case 1:return n.sent(),[2]}}))}))}))},En=function(){return On(this,void 0,void 0,(function(){return jn(this,(function(e){switch(e.label){case 0:return i["webApplication"].config.dynamicSiderMenu?[4,S["a"].loadRemoteMenu()]:[3,2];case 1:e.sent(),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),e.label=2;case 2:return[2]}}))}))},Ln=function(e){S["a"].addMenus(e)},Mn=function(e){S["a"].addHeaderMenus(e)},Pn=xn({name:"@fly-vue/iview-admin",version:"1.8.0-snapshot",dependencies:["@fly-vue/core"],install:Cn,addHeaderMenus:Mn,addSiderMenus:Ln},_n);Object.defineProperty(Pn,"i18n",{get:function(){return i["webApplication"].i18n},enumerable:!0}),t["default"]=Pn,i["webApplication"].addModule(Pn)},"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},"4e3d":function(e,t){},5191:function(e,t,n){"use strict";n.r(t);var r=n("2ef0"),i=n("dae4"),a=n("8ccc"),o=n("ae62"),u=n("e2da"),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 b?t:b,o=Object.create(a.prototype),u=new P(r||[]);return i(o,"_invoke",{value:C(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 b(){}function y(){}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=b.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 C(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 L(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 M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,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 y.prototype=w,i(_,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:y,configurable:!0}),y.displayName=l(w,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,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,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(M),!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),M(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;M(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,b,y,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),b=g.index,y=g.page,!y){e.next=10;break}return e.next=8,i("openedUpdate",{index:b,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,b,y,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,b=void 0===g?"/":g,y=v.params,w=void 0===y?{}:y,x=v.query,O=void 0===x?{}:x,delete O["_cache_opener"],delete O["_no_cache"],j={path:b,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")},"5a13":function(e,t,n){var r={"./db.js":"a32f","./i18n.js":"eaca","./layout.js":"7673","./log.js":"4a19","./menu.ts":"cf14","./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="5a13"},"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},"5e26":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("4e3d"),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 b?t:b,o=Object.create(i.prototype),u=new P(r||[]);return a(o,"_invoke",{value:C(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 b(){}function y(){}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=b.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 C(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 L(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 M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,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 y.prototype=w,a(_,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:y,configurable:!0}),y.displayName=l(w,c,"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,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,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(M),!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),M(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;M(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("5e26"),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")},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=[]},ae62:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r=n("dae4"),i=n("2ef0"),a=n.n(i),o=n("e2da"),u=n("3452"),s=n("bd11"),c=n.n(s),l=n("40e0"),d=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r["throw"](e))}catch(t){a(t)}}function s(e){e.done?n(e.value):i(e.value).then(o,u)}s((r=r.apply(e,t||[])).next())}))},f=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(o)try{if(n=1,r&&(i=2&a[0]?r["return"]:a[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},h=[],p=[];function m(e,t){if(e.id||(e.id=Object(u["MD5"])("m_"+e.path+e.title).toString().substr(8,5)),!e.$parent&&t&&(e.$parent=t),!e.header){var n=g(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=o["a"].resolveQueryString(e.path),e.$path=e.path.substr(0,e.path.includes("?")?e.path.indexOf("?"):e.path.length)),e.open=function(t){v(e,t)},e}function v(e,t){t=Object.assign({},t);var n=t.path||e.path,i=t.target||e.target,o=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 u={_tab:"true",_pid:"_blank"};e.keepSid||(u._from="left");var s=e.path;if(a.a.includes(e.path,":"))try{s=c.a.compile(e.path)(Object(r["router"])().app.$route.params)}catch(d){}var l={path:s,query:Object.assign(u,t.query)};o?Object(r["router"])().replace(l):Object(r["router"])().push(l)}}function g(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 b(e){if(Object(i["isString"])(e)){for(var t=null,n=0,r=p;n<r.length;n++){var a=r[n];if(a.name===e){t=a;break}}return t}var o=g(e);return b(o)}var y={prepareMenu:m,group:!1,adapters:[],siderMenus:function(){return h},headerMenus:function(){return p},setGroupable:function(e){this.group=e,r["webApplication"].store.commit("admin/menu/setGroup",this.group)},addMenus:function(e){this.prepareMenus(e),h=h.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)})),m(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)}));p=p.concat(n),r["Logger"].debug(n,p,"headerMenuList"),r["webApplication"].store&&(r["webApplication"].store.commit("admin/menu/setHeader",p),r["webApplication"].store.commit("admin/menu/setGroup",this.group))},removeHeaderMenus:function(){p=[]},removeSiderMenus:function(){h=[]},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 u=e.includes("?")>0?e.substr(0,e.indexOf("?")):e,s=o["a"].resolveQueryString(e),d=Object(l["a"])().getMenuMatchedByPathParser,f=d();return r["Utils"].visitTree(h,(function(r){if(f){var l=f(e,r,t,n);if(l)return i=r,!1}if(e===r.path)return i=r,!1;var d=r.$path;if(a.a.includes(r.$path,":"))try{d=c.a.compile(r.$path)(null===t||void 0===t?void 0:t.params)}catch(h){}return u===d&&o["a"].hasSameQuery(r.$query,s)?(i=r,!1):void 0})),i},findById:function(e){var t;return r["Utils"].visitTree(h,(function(n,r){if(e===n.id)return t=n,!1})),t},open:function(e,t){v(e,t)},buildMenu:function(e){return m(e)},findHeader:function(e){return b(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){return d(this,void 0,void 0,(function(){var t,n,a,o;return f(this,(function(u){switch(u.label){case 0:return Object(i["isEmpty"])(e)&&(e=this.defaultMenuServiceUrl()),t=new r["HttpRequest"],[4,t.params({orderby:"displayOrder asc"}).get(e)];case 1:return n=u.sent(),a=Object(i["isArray"])(n.data)?null:n.data.headers,a&&(this.removeHeaderMenus(),this.addHeaderMenus(a)),o=Object(i["isArray"])(n.data)?n.data:n.data.menus,r["Utils"].visitTree(o,(function(e){e.url&&(e.path=Object(i["trimStart"])(e.url,"#"))})),h=[],this.addMenus(o),"boolean"===typeof n.data.group&&(this.group=n.data.group),[2]}}))}))},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?h.filter((function(t){return t.header===e})):h},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=o["a"].resolveQueryString(e.fullPath);if(n||i["_mid"]&&(n=this.findById(i["_mid"])),!n){var a=e.matched[e.matched.length-1].path;n=this.findByPath(a,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}}},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")},bdb3:function(e,t,n){"use strict";n.r(t);var r=n("e72d"),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 b?t:b,o=Object.create(a.prototype),u=new P(r||[]);return i(o,"_invoke",{value:C(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 b(){}function y(){}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=b.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 C(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 L(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 M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,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 y.prototype=w,i(_,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:y,configurable:!0}),y.displayName=l(w,c,"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,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,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(M),!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),M(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;M(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},cf14:function(e,t,n){"use strict";n.r(t);var r=n("2ef0"),i=n("dae4"),a=n("40e0"),o=Object(a["a"])().isIgnoreMenuAuthCheck;function u(e,t){return e.forEach((function(e){var n=!0,a=e.auth,s=o();if(!s&&a&&(n=Object(r["isFunction"])(a)?a(e):i["PermissionService"].hasPerm(a)),n){var c={};for(var l in e)"children"!==l&&(c[l]=Object(r["cloneDeep"])(e[l]));e.children&&e.children.length&&(c.children=[]),t.push(c),e.children&&u(e.children,c.children)}})),t}t["default"]={namespaced:!0,state:{header:[],sider:[],headerName:"",hideSider:!1,activePath:"",openNames:[],group:!1},getters:{filterSider:function(e){return u(e.sider,[])},filterHeader:function(e){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){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}}}},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")},e2da: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("ae62"),s=n("eb44"),c=n("6bc3"),l=n("8ccc"),d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},d.apply(this,arguments)},f=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{s(r.next(e))}catch(t){a(t)}}function u(e){try{s(r["throw"](e))}catch(t){a(t)}}function s(e){e.done?n(e.value):i(e.value).then(o,u)}s((r=r.apply(e,t||[])).next())}))},h=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(o)try{if(n=1,r&&(i=2&a[0]?r["return"]:a[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(u){a=[6,u],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},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,i=n.admin.menu.activePath;i&&(e["_mid"]=i)}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=d(d({},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;return f(this,void 0,void 0,(function(){var a,o,d,f,m,v,g,b,y,w;return h(this,(function(h){switch(h.label){case 0:return!0===Object(r["config"])().layout.forceCleanCache&&"_blank"===this.hasParam(e,"_pid")&&r["KeepAliveManager"].clean(),a=p.find((function(t){return t===e.fullPath})),o=this.currentPage(),o&&o.meta&&o.meta.$children&&(new Date).getTime()-o.lastUpdated<1e3&&p.push(o.fullPath),d=u["a"].onRouteChange(e,t),a?[3,2]:[4,Object(r["store"])().dispatch("admin/page/open",{to:e,from:t})];case 1:h.sent(),h.label=2;case 2:if(f=this.currentPage(),m=null,d&&d.path&&(this.isUrlEqual(d.path,e.fullPath)&&(m=d.title,f.meta=Object.assign(f.meta,{title:m})),Object(r["store"])().dispatch("admin/page/currentUpdate",{meta:f.meta})),!m&&e.meta.title&&(m=e.meta.title),m&&c["a"].title({title:m}),s["a"].applyLayoutBehavior(e,t),s["a"].inIframe()&&s["a"].resizeParentIframeHeight(),v=null===(n=Object(r["config"])().app)||void 0===n?void 0:n.autoRedirect,"/"===e.path&&!0===v){if(g=r["ConfigHelper"].getConfigVal("settings.app.index"),g&&"/"!==g)return Object(r["router"])().push({path:Object(i["trimStart"])(g,"#")}),[2];b=Object(r["store"])().getters["admin/menu/filterHeader"],Object(i["isEmpty"])(b)&&Object(r["router"])().push({path:"/403"}),y=Object(l["d"])(u["a"].siderMenus(),b[0].name),Object(i["isEmpty"])(y)&&Object(r["router"])().push({path:"/403"}),r["Utils"].visitTree(y,(function(e){if(!e.children)return w=e,!1})),w||Object(r["router"])().push({path:"/403"}),Object(r["router"])().push({path:w.path})}return[2]}}))}))}}},e45d:function(e,t,n){},e72d:function(e,t){},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 l}));var r=n("dae4"),i=n.n(r),a=n("e2da"),o=n("2ef0"),u=n("ae62"),s=[];function c(){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}};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 l={observer:null,registerLayoutBehaviorHandler:function(e){s.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,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}),void 0!=e.fullScreen&&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 d=c["_pst"]||"",f=function(){for(var n=0;n<d.length;n++)for(var r=d.charAt(n),a=0,o=s;a<o.length;a++){var c=o[a],l=c(r,u,e,t);if(!1===l)break}i.applyPageSettings(u)};t?f():window.setTimeout((function(){f()}),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"])(c,200)};l.registerLayoutBehaviorHandler((function(e,t){"c"===e&&(t.siderCollapse=!0)})),l.registerLayoutBehaviorHandler((function(e,t){"s"===e&&(t.sider=!1)})),l.registerLayoutBehaviorHandler((function(e,t){"h"===e&&(t.header=!1)})),l.registerLayoutBehaviorHandler((function(e,t){"b"===e&&(t.footer=!1)})),l.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
@@ -1,20 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"author": "bingo",
|
3
3
|
"dependencies": {
|
4
|
-
"@fly-vue/components": "1.8.
|
5
|
-
"@fly-vue/core": "1.8.
|
6
|
-
"@fly-vue/fuse-ui-codemirror": "1.8.
|
7
|
-
"@fly-vue/iview-pro": "1.8.
|
8
|
-
"@fly-vue/lcdp-api": "1.8.
|
9
|
-
"@fly-vue/lcdp-designer": "1.8.
|
10
|
-
"@fly-vue/lcdp-designer-extra": "1.8.
|
11
|
-
"@fly-vue/lcdp-engine": "1.8.
|
12
|
-
"@fly-vue/lcdp-micro": "1.8.
|
13
|
-
"@fly-vue/lcdp-orch": "1.8.
|
14
|
-
"@fly-vue/lcdp-schema": "1.8.
|
15
|
-
"@fly-vue/loader": "1.8.
|
16
|
-
"@fly-vue/ufs": "1.8.
|
17
|
-
"@fly-vue/use": "1.8.
|
4
|
+
"@fly-vue/components": "1.8.3",
|
5
|
+
"@fly-vue/core": "1.8.3",
|
6
|
+
"@fly-vue/fuse-ui-codemirror": "1.8.3",
|
7
|
+
"@fly-vue/iview-pro": "1.8.3",
|
8
|
+
"@fly-vue/lcdp-api": "1.8.3",
|
9
|
+
"@fly-vue/lcdp-designer": "1.8.3",
|
10
|
+
"@fly-vue/lcdp-designer-extra": "1.8.3",
|
11
|
+
"@fly-vue/lcdp-engine": "1.8.3",
|
12
|
+
"@fly-vue/lcdp-micro": "1.8.3",
|
13
|
+
"@fly-vue/lcdp-orch": "1.8.3",
|
14
|
+
"@fly-vue/lcdp-schema": "1.8.3",
|
15
|
+
"@fly-vue/loader": "1.8.3",
|
16
|
+
"@fly-vue/ufs": "1.8.3",
|
17
|
+
"@fly-vue/use": "1.8.3"
|
18
18
|
},
|
19
19
|
"description": "@fly-vue/lcdp-iview",
|
20
20
|
"devDependencies": {
|
@@ -31,5 +31,5 @@
|
|
31
31
|
"start": ""
|
32
32
|
},
|
33
33
|
"types": "@types/module/index.d.ts",
|
34
|
-
"version": "1.8.
|
34
|
+
"version": "1.8.3"
|
35
35
|
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
2
|
-
html: {
|
3
|
-
type: StringConstructor;
|
4
|
-
default: string;
|
5
|
-
};
|
6
|
-
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
7
|
-
html: {
|
8
|
-
type: StringConstructor;
|
9
|
-
default: string;
|
10
|
-
};
|
11
|
-
}>>, {
|
12
|
-
html: string;
|
13
|
-
}>;
|
14
|
-
export default _default;
|
@@ -1 +0,0 @@
|
|
1
|
-
.bin-color-picker .color-picker[data-v-fb941d54] .ivu-input{border-top-right-radius:0;border-bottom-right-radius:0}.bin-color-picker .color-picker-input[data-v-fb941d54] .ivu-input{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.iconselect-list[data-v-7e5c71f8]{list-style-type:none;height:300px;overflow:auto;margin-top:20px}.iconselect-list>li[data-v-7e5c71f8]{width:40px;height:40px;line-height:40px;display:inline-block;text-align:center;border-radius:3px;vertical-align:top;cursor:pointer}.iconselect-list>li i[data-v-7e5c71f8]{font-size:20px}.iconselect-list>li.active[data-v-7e5c71f8],.iconselect-list>li[data-v-7e5c71f8]:hover{background-color:#d8e8f1}.iconselect-vertical-center-modal[data-v-7e5c71f8]{display:flex;align-items:center;justify-content:center}.iconselect-vertical-center-modal .ivu-modal[data-v-7e5c71f8]{top:0}.le-monaco-modal{display:flex;align-items:center;justify-content:center}.le-monaco-modal .ivu-modal{top:0!important}.TableColAttrEditMockData .ivu-modal-body{height:400px;overflow:auto}.TableColAttrEditMockData .ivu-modal-body table{height:auto}.TableSearchAttrEdit[data-v-59b3e42b]{line-height:32px}.TableSearchAttrEdit .list[data-v-59b3e42b]{margin-bottom:5px}.TableSearchAttrEdit .list .list-item[data-v-59b3e42b]{display:flex;align-items:center;margin-bottom:5px}.TableSearchAttrEdit .list .list-item .list-item-select[data-v-59b3e42b]{margin:0 3px;min-width:64px;max-width:64px}.TableSearchAttrEdit .list .list-item .list-item-icon-del[data-v-59b3e42b]{cursor:pointer;font-size:16px;color:#999}.TableSearchAttrEdit .list .list-item .list-item-icon-del[data-v-59b3e42b]:hover{color:#ccc}.demo-tree-render[data-v-188207c2] .ivu-tree-title{width:100%}.le-text-title-65[data-v-25e19e59]{width:88px;font-size:12px}
|
@@ -1 +0,0 @@
|
|
1
|
-
.tree[data-v-eaf2872c] .ivu-tree-title{width:calc(100% - 12px)}.main[data-v-eaf2872c] .ivu-cell{padding:7px}
|