Hey 👋, this is a gist which stores the final bundle results of the bundlejs api, learn more on the website https://bundlejs.com. This is the result of https://deno.bundlejs.com/?q=vue-brisk.
Created
August 25, 2023 10:06
-
-
Save bundle-js/926d8ed783f3f0967c08748b203d2598 to your computer and use it in GitHub Desktop.
Result of https://deno.bundlejs.com/?q=vue-brisk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var We=Object.create;var pt=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Ye=Object.getOwnPropertyNames;var Xe=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var Ze=(R,I)=>()=>(I||R((I={exports:{}}).exports,I),I.exports),Qe=(R,I)=>{for(var M in I)pt(R,M,{get:I[M],enumerable:!0})},dt=(R,I,M,z)=>{if(I&&typeof I=="object"||typeof I=="function")for(let a of Ye(I))!Je.call(R,a)&&a!==M&&pt(R,a,{get:()=>I[a],enumerable:!(z=ze(I,a))||z.enumerable});return R},nt=(R,I,M)=>(dt(R,I,"default"),M&&dt(M,I,"default")),Ft=(R,I,M)=>(M=R!=null?We(Xe(R)):{},dt(I||!R||!R.__esModule?pt(M,"default",{value:R,enumerable:!0}):M,R));var vt=Ze((or,Ht)=>{(function(){"use strict";var R={9662:function(a,d,n){var s=n(614),u=n(6330),l=TypeError;a.exports=function(c){if(s(c))return c;throw l(u(c)+" is not a function")}},9670:function(a,d,n){var s=n(111),u=String,l=TypeError;a.exports=function(c){if(s(c))return c;throw l(u(c)+" is not an object")}},1318:function(a,d,n){var s=n(5656),u=n(1400),l=n(6244),c=function(f){return function(v,h,m){var C=s(v),_=l(C),b=u(m,_),B;if(f&&h!=h){for(;_>b;)if(B=C[b++],B!=B)return!0}else for(;_>b;b++)if((f||b in C)&&C[b]===h)return f||b||0;return!f&&-1}};a.exports={includes:c(!0),indexOf:c(!1)}},3658:function(a,d,n){var s=n(9781),u=n(3157),l=TypeError,c=Object.getOwnPropertyDescriptor,f=s&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(v){return v instanceof TypeError}}();a.exports=f?function(v,h){if(u(v)&&!c(v,"length").writable)throw l("Cannot set read only .length");return v.length=h}:function(v,h){return v.length=h}},4326:function(a,d,n){var s=n(1702),u=s({}.toString),l=s("".slice);a.exports=function(c){return l(u(c),8,-1)}},9920:function(a,d,n){var s=n(2597),u=n(3887),l=n(1236),c=n(3070);a.exports=function(f,v,h){for(var m=u(v),C=c.f,_=l.f,b=0;b<m.length;b++){var B=m[b];!s(f,B)&&!(h&&s(h,B))&&C(f,B,_(v,B))}}},8880:function(a,d,n){var s=n(9781),u=n(3070),l=n(9114);a.exports=s?function(c,f,v){return u.f(c,f,l(1,v))}:function(c,f,v){return c[f]=v,c}},9114:function(a){a.exports=function(d,n){return{enumerable:!(d&1),configurable:!(d&2),writable:!(d&4),value:n}}},8052:function(a,d,n){var s=n(614),u=n(3070),l=n(6339),c=n(3072);a.exports=function(f,v,h,m){m||(m={});var C=m.enumerable,_=m.name!==void 0?m.name:v;if(s(h)&&l(h,_,m),m.global)C?f[v]=h:c(v,h);else{try{m.unsafe?f[v]&&(C=!0):delete f[v]}catch{}C?f[v]=h:u.f(f,v,{value:h,enumerable:!1,configurable:!m.nonConfigurable,writable:!m.nonWritable})}return f}},3072:function(a,d,n){var s=n(7854),u=Object.defineProperty;a.exports=function(l,c){try{u(s,l,{value:c,configurable:!0,writable:!0})}catch{s[l]=c}return c}},9781:function(a,d,n){var s=n(7293);a.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},4154:function(a){var d=typeof document=="object"&&document.all,n=typeof d>"u"&&d!==void 0;a.exports={all:d,IS_HTMLDDA:n}},317:function(a,d,n){var s=n(7854),u=n(111),l=s.document,c=u(l)&&u(l.createElement);a.exports=function(f){return c?l.createElement(f):{}}},7207:function(a){var d=TypeError,n=9007199254740991;a.exports=function(s){if(s>n)throw d("Maximum allowed index exceeded");return s}},8113:function(a){a.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},7392:function(a,d,n){var s=n(7854),u=n(8113),l=s.process,c=s.Deno,f=l&&l.versions||c&&c.version,v=f&&f.v8,h,m;v&&(h=v.split("."),m=h[0]>0&&h[0]<4?1:+(h[0]+h[1])),!m&&u&&(h=u.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=u.match(/Chrome\/(\d+)/),h&&(m=+h[1]))),a.exports=m},748:function(a){a.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(a,d,n){var s=n(7854),u=n(1236).f,l=n(8880),c=n(8052),f=n(3072),v=n(9920),h=n(4705);a.exports=function(m,C){var _=m.target,b=m.global,B=m.stat,$,w,k,H,F,N;if(b?w=s:B?w=s[_]||f(_,{}):w=(s[_]||{}).prototype,w)for(k in C){if(F=C[k],m.dontCallGetSet?(N=u(w,k),H=N&&N.value):H=w[k],$=h(b?k:_+(B?".":"#")+k,m.forced),!$&&H!==void 0){if(typeof F==typeof H)continue;v(F,H)}(m.sham||H&&H.sham)&&l(F,"sham",!0),c(w,k,F,m)}}},7293:function(a){a.exports=function(d){try{return!!d()}catch{return!0}}},4374:function(a,d,n){var s=n(7293);a.exports=!s(function(){var u=function(){}.bind();return typeof u!="function"||u.hasOwnProperty("prototype")})},6916:function(a,d,n){var s=n(4374),u=Function.prototype.call;a.exports=s?u.bind(u):function(){return u.apply(u,arguments)}},6530:function(a,d,n){var s=n(9781),u=n(2597),l=Function.prototype,c=s&&Object.getOwnPropertyDescriptor,f=u(l,"name"),v=f&&function(){}.name==="something",h=f&&(!s||s&&c(l,"name").configurable);a.exports={EXISTS:f,PROPER:v,CONFIGURABLE:h}},1702:function(a,d,n){var s=n(4374),u=Function.prototype,l=u.call,c=s&&u.bind.bind(l,l);a.exports=s?c:function(f){return function(){return l.apply(f,arguments)}}},5005:function(a,d,n){var s=n(7854),u=n(614),l=function(c){return u(c)?c:void 0};a.exports=function(c,f){return arguments.length<2?l(s[c]):s[c]&&s[c][f]}},8173:function(a,d,n){var s=n(9662),u=n(8554);a.exports=function(l,c){var f=l[c];return u(f)?void 0:s(f)}},7854:function(a,d,n){var s=function(u){return u&&u.Math==Math&&u};a.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof n.g=="object"&&n.g)||function(){return this}()||this||Function("return this")()},2597:function(a,d,n){var s=n(1702),u=n(7908),l=s({}.hasOwnProperty);a.exports=Object.hasOwn||function(f,v){return l(u(f),v)}},3501:function(a){a.exports={}},4664:function(a,d,n){var s=n(9781),u=n(7293),l=n(317);a.exports=!s&&!u(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!=7})},8361:function(a,d,n){var s=n(1702),u=n(7293),l=n(4326),c=Object,f=s("".split);a.exports=u(function(){return!c("z").propertyIsEnumerable(0)})?function(v){return l(v)=="String"?f(v,""):c(v)}:c},2788:function(a,d,n){var s=n(1702),u=n(614),l=n(5465),c=s(Function.toString);u(l.inspectSource)||(l.inspectSource=function(f){return c(f)}),a.exports=l.inspectSource},9909:function(a,d,n){var s=n(4811),u=n(7854),l=n(111),c=n(8880),f=n(2597),v=n(5465),h=n(6200),m=n(3501),C="Object already initialized",_=u.TypeError,b=u.WeakMap,B,$,w,k=function(E){return w(E)?$(E):B(E,{})},H=function(E){return function(A){var L;if(!l(A)||(L=$(A)).type!==E)throw _("Incompatible receiver, "+E+" required");return L}};if(s||v.state){var F=v.state||(v.state=new b);F.get=F.get,F.has=F.has,F.set=F.set,B=function(E,A){if(F.has(E))throw _(C);return A.facade=E,F.set(E,A),A},$=function(E){return F.get(E)||{}},w=function(E){return F.has(E)}}else{var N=h("state");m[N]=!0,B=function(E,A){if(f(E,N))throw _(C);return A.facade=E,c(E,N,A),A},$=function(E){return f(E,N)?E[N]:{}},w=function(E){return f(E,N)}}a.exports={set:B,get:$,has:w,enforce:k,getterFor:H}},3157:function(a,d,n){var s=n(4326);a.exports=Array.isArray||function(l){return s(l)=="Array"}},614:function(a,d,n){var s=n(4154),u=s.all;a.exports=s.IS_HTMLDDA?function(l){return typeof l=="function"||l===u}:function(l){return typeof l=="function"}},4705:function(a,d,n){var s=n(7293),u=n(614),l=/#|\.prototype\./,c=function(C,_){var b=v[f(C)];return b==m?!0:b==h?!1:u(_)?s(_):!!_},f=c.normalize=function(C){return String(C).replace(l,".").toLowerCase()},v=c.data={},h=c.NATIVE="N",m=c.POLYFILL="P";a.exports=c},8554:function(a){a.exports=function(d){return d==null}},111:function(a,d,n){var s=n(614),u=n(4154),l=u.all;a.exports=u.IS_HTMLDDA?function(c){return typeof c=="object"?c!==null:s(c)||c===l}:function(c){return typeof c=="object"?c!==null:s(c)}},1913:function(a){a.exports=!1},2190:function(a,d,n){var s=n(5005),u=n(614),l=n(7976),c=n(3307),f=Object;a.exports=c?function(v){return typeof v=="symbol"}:function(v){var h=s("Symbol");return u(h)&&l(h.prototype,f(v))}},6244:function(a,d,n){var s=n(7466);a.exports=function(u){return s(u.length)}},6339:function(a,d,n){var s=n(1702),u=n(7293),l=n(614),c=n(2597),f=n(9781),v=n(6530).CONFIGURABLE,h=n(2788),m=n(9909),C=m.enforce,_=m.get,b=String,B=Object.defineProperty,$=s("".slice),w=s("".replace),k=s([].join),H=f&&!u(function(){return B(function(){},"length",{value:8}).length!==8}),F=String(String).split("String"),N=a.exports=function(E,A,L){$(b(A),0,7)==="Symbol("&&(A="["+w(b(A),/^Symbol\(([^)]*)\)/,"$1")+"]"),L&&L.getter&&(A="get "+A),L&&L.setter&&(A="set "+A),(!c(E,"name")||v&&E.name!==A)&&(f?B(E,"name",{value:A,configurable:!0}):E.name=A),H&&L&&c(L,"arity")&&E.length!==L.arity&&B(E,"length",{value:L.arity});try{L&&c(L,"constructor")&&L.constructor?f&&B(E,"prototype",{writable:!1}):E.prototype&&(E.prototype=void 0)}catch{}var J=C(E);return c(J,"source")||(J.source=k(F,typeof A=="string"?A:"")),E};Function.prototype.toString=N(function(){return l(this)&&_(this).source||h(this)},"toString")},4758:function(a){var d=Math.ceil,n=Math.floor;a.exports=Math.trunc||function(u){var l=+u;return(l>0?n:d)(l)}},3070:function(a,d,n){var s=n(9781),u=n(4664),l=n(3353),c=n(9670),f=n(4948),v=TypeError,h=Object.defineProperty,m=Object.getOwnPropertyDescriptor,C="enumerable",_="configurable",b="writable";d.f=s?l?function($,w,k){if(c($),w=f(w),c(k),typeof $=="function"&&w==="prototype"&&"value"in k&&b in k&&!k[b]){var H=m($,w);H&&H[b]&&($[w]=k.value,k={configurable:_ in k?k[_]:H[_],enumerable:C in k?k[C]:H[C],writable:!1})}return h($,w,k)}:h:function($,w,k){if(c($),w=f(w),c(k),u)try{return h($,w,k)}catch{}if("get"in k||"set"in k)throw v("Accessors not supported");return"value"in k&&($[w]=k.value),$}},1236:function(a,d,n){var s=n(9781),u=n(6916),l=n(5296),c=n(9114),f=n(5656),v=n(4948),h=n(2597),m=n(4664),C=Object.getOwnPropertyDescriptor;d.f=s?C:function(b,B){if(b=f(b),B=v(B),m)try{return C(b,B)}catch{}if(h(b,B))return c(!u(l.f,b,B),b[B])}},8006:function(a,d,n){var s=n(6324),u=n(748),l=u.concat("length","prototype");d.f=Object.getOwnPropertyNames||function(f){return s(f,l)}},5181:function(a,d){d.f=Object.getOwnPropertySymbols},7976:function(a,d,n){var s=n(1702);a.exports=s({}.isPrototypeOf)},6324:function(a,d,n){var s=n(1702),u=n(2597),l=n(5656),c=n(1318).indexOf,f=n(3501),v=s([].push);a.exports=function(h,m){var C=l(h),_=0,b=[],B;for(B in C)!u(f,B)&&u(C,B)&&v(b,B);for(;m.length>_;)u(C,B=m[_++])&&(~c(b,B)||v(b,B));return b}},5296:function(a,d){var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,u=s&&!n.call({1:2},1);d.f=u?function(c){var f=s(this,c);return!!f&&f.enumerable}:n},2140:function(a,d,n){var s=n(6916),u=n(614),l=n(111),c=TypeError;a.exports=function(f,v){var h,m;if(v==="string"&&u(h=f.toString)&&!l(m=s(h,f))||u(h=f.valueOf)&&!l(m=s(h,f))||v!=="string"&&u(h=f.toString)&&!l(m=s(h,f)))return m;throw c("Can't convert object to primitive value")}},3887:function(a,d,n){var s=n(5005),u=n(1702),l=n(8006),c=n(5181),f=n(9670),v=u([].concat);a.exports=s("Reflect","ownKeys")||function(m){var C=l.f(f(m)),_=c.f;return _?v(C,_(m)):C}},4488:function(a,d,n){var s=n(8554),u=TypeError;a.exports=function(l){if(s(l))throw u("Can't call method on "+l);return l}},6200:function(a,d,n){var s=n(2309),u=n(9711),l=s("keys");a.exports=function(c){return l[c]||(l[c]=u(c))}},5465:function(a,d,n){var s=n(7854),u=n(3072),l="__core-js_shared__",c=s[l]||u(l,{});a.exports=c},2309:function(a,d,n){var s=n(1913),u=n(5465);(a.exports=function(l,c){return u[l]||(u[l]=c!==void 0?c:{})})("versions",[]).push({version:"3.32.0",mode:s?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(a,d,n){var s=n(7392),u=n(7293),l=n(7854),c=l.String;a.exports=!!Object.getOwnPropertySymbols&&!u(function(){var f=Symbol();return!c(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&s&&s<41})},1400:function(a,d,n){var s=n(9303),u=Math.max,l=Math.min;a.exports=function(c,f){var v=s(c);return v<0?u(v+f,0):l(v,f)}},5656:function(a,d,n){var s=n(8361),u=n(4488);a.exports=function(l){return s(u(l))}},9303:function(a,d,n){var s=n(4758);a.exports=function(u){var l=+u;return l!==l||l===0?0:s(l)}},7466:function(a,d,n){var s=n(9303),u=Math.min;a.exports=function(l){return l>0?u(s(l),9007199254740991):0}},7908:function(a,d,n){var s=n(4488),u=Object;a.exports=function(l){return u(s(l))}},7593:function(a,d,n){var s=n(6916),u=n(111),l=n(2190),c=n(8173),f=n(2140),v=n(5112),h=TypeError,m=v("toPrimitive");a.exports=function(C,_){if(!u(C)||l(C))return C;var b=c(C,m),B;if(b){if(_===void 0&&(_="default"),B=s(b,C,_),!u(B)||l(B))return B;throw h("Can't convert object to primitive value")}return _===void 0&&(_="number"),f(C,_)}},4948:function(a,d,n){var s=n(7593),u=n(2190);a.exports=function(l){var c=s(l,"string");return u(c)?c:c+""}},6330:function(a){var d=String;a.exports=function(n){try{return d(n)}catch{return"Object"}}},9711:function(a,d,n){var s=n(1702),u=0,l=Math.random(),c=s(1 .toString);a.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+c(++u+l,36)}},3307:function(a,d,n){var s=n(6293);a.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3353:function(a,d,n){var s=n(9781),u=n(7293);a.exports=s&&u(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},4811:function(a,d,n){var s=n(7854),u=n(614),l=s.WeakMap;a.exports=u(l)&&/native code/.test(String(l))},5112:function(a,d,n){var s=n(7854),u=n(2309),l=n(2597),c=n(9711),f=n(6293),v=n(3307),h=s.Symbol,m=u("wks"),C=v?h.for||h:h&&h.withoutSetter||c;a.exports=function(_){return l(m,_)||(m[_]=f&&l(h,_)?h[_]:C("Symbol."+_)),m[_]}},7658:function(a,d,n){var s=n(2109),u=n(7908),l=n(6244),c=n(3658),f=n(7207),v=n(7293),h=v(function(){return[].push.call({length:4294967296},1)!==4294967297}),m=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(_){return _ instanceof TypeError}},C=h||!m();s({target:"Array",proto:!0,arity:1,forced:C},{push:function(b){var B=u(this),$=l(B),w=arguments.length;f($+w);for(var k=0;k<w;k++)B[$]=arguments[k],$++;return c(B,$),$}})}},I={};function M(a){var d=I[a];if(d!==void 0)return d.exports;var n=I[a]={exports:{}};return R[a].call(n.exports,n,n.exports,M),n.exports}(function(){M.d=function(a,d){for(var n in d)M.o(d,n)&&!M.o(a,n)&&Object.defineProperty(a,n,{enumerable:!0,get:d[n]})}})(),function(){M.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()}(),function(){M.o=function(a,d){return Object.prototype.hasOwnProperty.call(a,d)}}(),function(){M.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})}}(),function(){M.p=""}();var z={};(function(){if(M.r(z),M.d(z,{default:function(){return Ue}}),typeof window<"u"){var a=window.document.currentScript;if(!1)var d;var n=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(M.p=n[1])}var s=null,u=function(){var t=this,r=t._self._c;return r("el-container",[r("el-aside",{staticClass:"bk-aside",class:{opened:t.sideOpened}},[r("div",{staticClass:"bk-menu-container"},[r("bk-header-logo",{attrs:{title:"vue-brisk"}},[t._t("header-logo")],2),r("bk-menu",{attrs:{list:t.menus,"index-key":t.menusKey,collapse:!t.sideOpened,"collapse-transition":!1},on:{select:t.selectHandle}})],1)]),r("el-container",[r("bk-header",{attrs:{breadcrumb:"","side-stretch":"","side-opened":t.sideOpened},on:{"side-change":t.sideChange}}),r("el-main",{staticClass:"bk-container-main",style:t.mainStyle},[t._t("default")],2),r("el-footer",{staticClass:"bk-footer",style:{lineHeight:t.$config.globalAttrs.layout.footerHeight},attrs:{height:t.$config.globalAttrs.layout.footerHeight}},[t._v("\xA9 jl15988 \u7248\u6743\u6240\u6709 ")])],1)],1)},l=[],c=function(){var t=this,r=t._self._c;return r("el-menu",t._g(t._b({staticClass:"bk-menu",style:t.$globalAttrs.varStyle(t.$props,"menu",["subBackgroundColor","hoverBackgroundColor","hoverSubBackgroundColor","groupTitleColor","activeBackgroundColor"])},"el-menu",t.attr,!1),t.$listeners),[t._l(t.menus,function(o){return[r("bk-menu-item",{attrs:{data:o,"index-key":t.indexKey,router:t.$attrs.router}})]})],2)},f=[],v=function(){var t=this,r=t._self._c;return t.data.isGroup?r("el-menu-item-group",[r("template",{slot:"title"},[t._v(t._s(t.data.title))]),t._l(t.data.children,function(o,i){return r("bk-menu-item",t._b({key:i,attrs:{data:o}},"bk-menu-item",t.$attrs,!1))})],2):t.data.children&&t.data.children.length>0?r("el-submenu",{attrs:{index:t.indexHandle()}},[r("template",{slot:"title"},[t.data.icon?r("i",{class:t.data.icon}):t._e(),r("span",[t._v(t._s(t.data.title))])]),t._l(t.data.children,function(o,i){return r("bk-menu-item",t._b({key:i,attrs:{data:o}},"bk-menu-item",t.$attrs,!1))})],2):!t.router&&!t.data.disabled?r("router-link",{attrs:{to:t.linkHandle()}},[r("el-menu-item",{attrs:{index:t.indexHandle(),disabled:!!t.data.disabled}},[t.data.icon?r("i",{class:t.data.icon}):t._e(),r("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.data.title))])])],1):r("el-menu-item",{attrs:{index:t.indexHandle(),disabled:!!t.data.disabled}},[t.data.icon?r("i",{class:t.data.icon}):t._e(),r("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.data.title))])])},h=[],m={uuid(e){let t=e?"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx":"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",r=new Date().getTime(),o=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return t.replace(/[xy]/g,i=>{let p=Math.random()*16;return r>0?(p=(r+p)%16|0,r=Math.floor(r/16)):(p=(o+p)%16|0,o=Math.floor(o/16)),(i==="x"?p:p&3|8).toString(16)})},toHyphen(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()},toHyphens(e){return e.map(t=>this.toHyphen(t))},toHyphenObject(e){let t={};for(let r in e)t[this.toHyphen(r)]=e[r];return t},toHump(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")},toHumps(e){return e.map(t=>this.toHump(t))},toHumpObject(e){let t={};for(let r in e)t[this.toHump(r)]=e[r];return t}},C={name:"BkMenuItem",props:{data:Object,index:String,indexKey:String,router:Boolean,linkKey:String},methods:{indexHandle(){return this.indexKey?this.data[this.indexKey]:this.data.defaultIndex?this.data.defaultIndex:m.uuid(!0)},linkHandle(){return(this.linkKey?this.data[this.linkKey]:this.data.path)||""}}},_=C;function b(e,t,r,o,i,p,x,g){var y=typeof e=="function"?e.options:e;t&&(y.render=t,y.staticRenderFns=r,y._compiled=!0),o&&(y.functional=!0),p&&(y._scopeId="data-v-"+p);var O;if(x?(O=function(T){T=T||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!T&&typeof __VUE_SSR_CONTEXT__<"u"&&(T=__VUE_SSR_CONTEXT__),i&&i.call(this,T),T&&T._registeredComponents&&T._registeredComponents.add(x)},y._ssrRegister=O):i&&(O=g?function(){i.call(this,(y.functional?this.parent:this).$root.$options.shadowRoot)}:i),O)if(y.functional){y._injectStyles=O;var S=y.render;y.render=function(P,U){return O.call(U),S(P,U)}}else{var j=y.beforeCreate;y.beforeCreate=j?[].concat(j,O):[O]}return{exports:e,options:y}}var B=b(_,v,h,!1,null,"39c1a0eb",null),$=B.exports,w={labelDataCope(e,t){let r={};e.map(p=>{p.handle&&p.handle instanceof Function&&(r[p.prop]=p.handle)});let o=Object.keys(r),i=t;for(let p=0;p<i.length;p++){let x=i[p];for(let g in x)o.includes(g)&&(x[g]=r[g](x,p))}return i},realArrayIndex(e,t,r){if(!e instanceof Array)return e;for(let o=0;o<e.length;o++){let i=String(o+1);e[o]instanceof Object&&(e[o].defaultIndex=String(r?r+"-"+i:i)),e[o][t]instanceof Array&&this.realArrayIndex(e[o][t],t,i)}}},k={name:"BkMenu",components:{BkMenuItem:$},props:{list:Array,indexKey:String,subBackgroundColor:String,hoverBackgroundColor:String,hoverSubBackgroundColor:String,groupTitleColor:String,activeBackgroundColor:String},computed:{attr(){return this.$globalAttrs.append(this.$attrs,"menu",["backgroundColor","textColor","activeTextColor"])},menus(){return this.indexKey||w.realArrayIndex(this.list,"children"),this.list}}},H=k,F=b(H,c,f,!1,null,"65035503",null),N=F.exports,E=function(){var t=this,r=t._self._c;return r("el-header",{staticClass:"bk-header",attrs:{height:t.height}},[t.sideStretch?r("el-button",{staticClass:"menu-button",style:{lineHeight:t.height},attrs:{icon:`el-icon-s-${t.sideOpened?"fold":"unfold"}`,type:"text"},on:{click:t.menuButtonHandle}}):t._e(),t.breadcrumb?[r("bk-breadcrumb",{style:{lineHeight:t.height}})]:[t._t("default")]],2)},A=[],L=function(){var t=this,r=t._self._c;return r("el-breadcrumb",{staticClass:"bk-breadcrumb",attrs:{separator:"/"}},[r("transition-group",{attrs:{name:"breadcrumb"}},[r("el-breadcrumb-item",{key:"/",attrs:{to:{path:"/"}}},[t._v("\u9996\u9875")]),t._l(t.breadcrumbs,function(o){return r("el-breadcrumb-item",{key:o.path,attrs:{to:{path:o.fullPath}}},[t._v(" "+t._s(o.meta.title)+" ")])})],2)],1)},J=[],ht={name:"BkBreadcrumb",computed:{breadcrumbs(){let t=this.$route.matched;return t.filter(r=>r.meta&&r.meta.title).map((r,o)=>(o===t.length&&(r.fullPath="",r.path=""),r))}}},Lt=ht,Nt=b(Lt,L,J,!1,null,"82bf3a3c",null),mt=Nt.exports,Dt={name:"BkHeader",components:{BkBreadcrumb:mt},props:{breadcrumb:Boolean,sideStretch:Boolean,sideOpened:{type:Boolean,default:!0}},computed:{height(){return this.$globalAttrs.pickAttr(this.$attrs,"layout","height","headerHeight")}},methods:{menuButtonHandle(){this.$emit("side-change")}}},Gt=Dt,Kt=b(Gt,E,A,!1,null,"60d19ffa",null),yt=Kt.exports,Ut=function(){var t=this,r=t._self._c;return r("div",{staticClass:"bk-header-logo",style:{color:t.$config.globalAttrs.headerLogo.color}},[r("router-link",{attrs:{to:t.to}},[t._t("default",function(){return[t.title&&!t.menu.opened?r("h1",[t._v(t._s(t.title.substr(0,1).toUpperCase()))]):t._e()]}),t.title?r("transition-group",{attrs:{name:"logo-title"}},[t.menu.opened?r("h1",{key:"header-title"},[t._v(t._s(t.title))]):t._e()]):t._e()],2)],1)},Vt=[];function Wt(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:o});else{var r=e.prototype._init;e.prototype._init=function(i){i===void 0&&(i={}),i.init=i.init?[o].concat(i.init):o,r.call(this,i)}}function o(){var i=this.$options;i.store?this.$store=typeof i.store=="function"?i.store():i.store:i.parent&&i.parent.$store&&(this.$store=i.parent.$store)}}var zt=typeof window<"u"?window:typeof M.g<"u"?M.g:{},Y=zt.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Yt(e){Y&&(e._devtoolHook=Y,Y.emit("vuex:init",e),Y.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(t,r){Y.emit("vuex:mutation",t,r)},{prepend:!0}),e.subscribeAction(function(t,r){Y.emit("vuex:action",t,r)},{prepend:!0}))}function Xt(e,t){return e.filter(t)[0]}function ot(e,t){if(t===void 0&&(t=[]),e===null||typeof e!="object")return e;var r=Xt(t,function(i){return i.original===e});if(r)return r.copy;var o=Array.isArray(e)?[]:{};return t.push({original:e,copy:o}),Object.keys(e).forEach(function(i){o[i]=ot(e[i],t)}),o}function V(e,t){Object.keys(e).forEach(function(r){return t(e[r],r)})}function gt(e){return e!==null&&typeof e=="object"}function Jt(e){return e&&typeof e.then=="function"}function Zt(e,t){if(!e)throw new Error("[vuex] "+t)}function Qt(e,t){return function(){return e(t)}}var K=function(t,r){this.runtime=r,this._children=Object.create(null),this._rawModule=t;var o=t.state;this.state=(typeof o=="function"?o():o)||{}},bt={namespaced:{configurable:!0}};bt.namespaced.get=function(){return!!this._rawModule.namespaced},K.prototype.addChild=function(t,r){this._children[t]=r},K.prototype.removeChild=function(t){delete this._children[t]},K.prototype.getChild=function(t){return this._children[t]},K.prototype.hasChild=function(t){return t in this._children},K.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},K.prototype.forEachChild=function(t){V(this._children,t)},K.prototype.forEachGetter=function(t){this._rawModule.getters&&V(this._rawModule.getters,t)},K.prototype.forEachAction=function(t){this._rawModule.actions&&V(this._rawModule.actions,t)},K.prototype.forEachMutation=function(t){this._rawModule.mutations&&V(this._rawModule.mutations,t)},Object.defineProperties(K.prototype,bt);var W=function(t){this.register([],t,!1)};W.prototype.get=function(t){return t.reduce(function(r,o){return r.getChild(o)},this.root)},W.prototype.getNamespace=function(t){var r=this.root;return t.reduce(function(o,i){return r=r.getChild(i),o+(r.namespaced?i+"/":"")},"")},W.prototype.update=function(t){_t([],this.root,t)},W.prototype.register=function(t,r,o){var i=this;o===void 0&&(o=!0);var p=new K(r,o);if(t.length===0)this.root=p;else{var x=this.get(t.slice(0,-1));x.addChild(t[t.length-1],p)}r.modules&&V(r.modules,function(g,y){i.register(t.concat(y),g,o)})},W.prototype.unregister=function(t){var r=this.get(t.slice(0,-1)),o=t[t.length-1],i=r.getChild(o);i&&i.runtime&&r.removeChild(o)},W.prototype.isRegistered=function(t){var r=this.get(t.slice(0,-1)),o=t[t.length-1];return r?r.hasChild(o):!1};function _t(e,t,r){if(t.update(r),r.modules)for(var o in r.modules){if(!t.getChild(o))return;_t(e.concat(o),t.getChild(o),r.modules[o])}}var xt={assert:function(e){return typeof e=="function"},expected:"function"},qt={assert:function(e){return typeof e=="function"||typeof e=="object"&&typeof e.handler=="function"},expected:'function or object with "handler" function'},Ot={getters:xt,mutations:xt,actions:qt};function qe(e,t){Object.keys(Ot).forEach(function(r){if(t[r]){var o=Ot[r];V(t[r],function(i,p){Zt(o.assert(i),te(e,r,p,i,o.expected))})}})}function te(e,t,r,o,i){var p=t+" should be "+i+' but "'+t+"."+r+'"';return e.length>0&&(p+=' in module "'+e.join(".")+'"'),p+=" is "+JSON.stringify(o)+".",p}var D,G=function(t){var r=this;t===void 0&&(t={}),!D&&typeof window<"u"&&window.Vue&&Bt(window.Vue);var o=t.plugins;o===void 0&&(o=[]);var i=t.strict;i===void 0&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new W(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new D,this._makeLocalGettersCache=Object.create(null);var p=this,x=this,g=x.dispatch,y=x.commit;this.dispatch=function(T,P){return g.call(p,T,P)},this.commit=function(T,P,U){return y.call(p,T,P,U)},this.strict=i;var O=this._modules.root.state;Z(this,O,[],this._modules.root),it(this,O),o.forEach(function(j){return j(r)});var S=t.devtools!==void 0?t.devtools:D.config.devtools;S&&Yt(this)},at={state:{configurable:!0}};at.state.get=function(){return this._vm._data.$$state},at.state.set=function(e){},G.prototype.commit=function(t,r,o){var i=this,p=Q(t,r,o),x=p.type,g=p.payload,y=p.options,O={type:x,payload:g},S=this._mutations[x];S&&(this._withCommit(function(){S.forEach(function(T){T(g)})}),this._subscribers.slice().forEach(function(j){return j(O,i.state)}))},G.prototype.dispatch=function(t,r){var o=this,i=Q(t,r),p=i.type,x=i.payload,g={type:p,payload:x},y=this._actions[p];if(y){try{this._actionSubscribers.slice().filter(function(S){return S.before}).forEach(function(S){return S.before(g,o.state)})}catch{}var O=y.length>1?Promise.all(y.map(function(S){return S(x)})):y[0](x);return new Promise(function(S,j){O.then(function(T){try{o._actionSubscribers.filter(function(P){return P.after}).forEach(function(P){return P.after(g,o.state)})}catch{}S(T)},function(T){try{o._actionSubscribers.filter(function(P){return P.error}).forEach(function(P){return P.error(g,o.state,T)})}catch{}j(T)})})}},G.prototype.subscribe=function(t,r){return St(t,this._subscribers,r)},G.prototype.subscribeAction=function(t,r){var o=typeof t=="function"?{before:t}:t;return St(o,this._actionSubscribers,r)},G.prototype.watch=function(t,r,o){var i=this;return this._watcherVM.$watch(function(){return t(i.state,i.getters)},r,o)},G.prototype.replaceState=function(t){var r=this;this._withCommit(function(){r._vm._data.$$state=t})},G.prototype.registerModule=function(t,r,o){o===void 0&&(o={}),typeof t=="string"&&(t=[t]),this._modules.register(t,r),Z(this,this.state,t,this._modules.get(t),o.preserveState),it(this,this.state)},G.prototype.unregisterModule=function(t){var r=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var o=st(r.state,t.slice(0,-1));D.delete(o,t[t.length-1])}),Ct(this)},G.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)},G.prototype.hotUpdate=function(t){this._modules.update(t),Ct(this,!0)},G.prototype._withCommit=function(t){var r=this._committing;this._committing=!0,t(),this._committing=r},Object.defineProperties(G.prototype,at);function St(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var o=t.indexOf(e);o>-1&&t.splice(o,1)}}function Ct(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;Z(e,r,[],e._modules.root,!0),it(e,r,t)}function it(e,t,r){var o=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,p={};V(i,function(g,y){p[y]=Qt(g,e),Object.defineProperty(e.getters,y,{get:function(){return e._vm[y]},enumerable:!0})});var x=D.config.silent;D.config.silent=!0,e._vm=new D({data:{$$state:t},computed:p}),D.config.silent=x,e.strict&&ie(e),o&&(r&&e._withCommit(function(){o._data.$$state=null}),D.nextTick(function(){return o.$destroy()}))}function Z(e,t,r,o,i){var p=!r.length,x=e._modules.getNamespace(r);if(o.namespaced&&(e._modulesNamespaceMap[x],e._modulesNamespaceMap[x]=o),!p&&!i){var g=st(t,r.slice(0,-1)),y=r[r.length-1];e._withCommit(function(){D.set(g,y,o.state)})}var O=o.context=ee(e,x,r);o.forEachMutation(function(S,j){var T=x+j;ne(e,T,S,O)}),o.forEachAction(function(S,j){var T=S.root?j:x+j,P=S.handler||S;oe(e,T,P,O)}),o.forEachGetter(function(S,j){var T=x+j;ae(e,T,S,O)}),o.forEachChild(function(S,j){Z(e,t,r.concat(j),S,i)})}function ee(e,t,r){var o=t==="",i={dispatch:o?e.dispatch:function(p,x,g){var y=Q(p,x,g),O=y.payload,S=y.options,j=y.type;return(!S||!S.root)&&(j=t+j),e.dispatch(j,O)},commit:o?e.commit:function(p,x,g){var y=Q(p,x,g),O=y.payload,S=y.options,j=y.type;(!S||!S.root)&&(j=t+j),e.commit(j,O,S)}};return Object.defineProperties(i,{getters:{get:o?function(){return e.getters}:function(){return re(e,t)}},state:{get:function(){return st(e.state,r)}}}),i}function re(e,t){if(!e._makeLocalGettersCache[t]){var r={},o=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,o)===t){var p=i.slice(o);Object.defineProperty(r,p,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function ne(e,t,r,o){var i=e._mutations[t]||(e._mutations[t]=[]);i.push(function(x){r.call(e,o.state,x)})}function oe(e,t,r,o){var i=e._actions[t]||(e._actions[t]=[]);i.push(function(x){var g=r.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},x);return Jt(g)||(g=Promise.resolve(g)),e._devtoolHook?g.catch(function(y){throw e._devtoolHook.emit("vuex:error",y),y}):g})}function ae(e,t,r,o){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(p){return r(o.state,o.getters,p.state,p.getters)})}function ie(e){e._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function st(e,t){return t.reduce(function(r,o){return r[o]},e)}function Q(e,t,r){return gt(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}function Bt(e){D&&e===D||(D=e,Wt(D))}var Et=tt(function(e,t){var r={};return q(t).forEach(function(o){var i=o.key,p=o.val;r[i]=function(){var g=this.$store.state,y=this.$store.getters;if(e){var O=et(this.$store,"mapState",e);if(!O)return;g=O.context.state,y=O.context.getters}return typeof p=="function"?p.call(this,g,y):g[p]},r[i].vuex=!0}),r}),kt=tt(function(e,t){var r={};return q(t).forEach(function(o){var i=o.key,p=o.val;r[i]=function(){for(var g=[],y=arguments.length;y--;)g[y]=arguments[y];var O=this.$store.commit;if(e){var S=et(this.$store,"mapMutations",e);if(!S)return;O=S.context.commit}return typeof p=="function"?p.apply(this,[O].concat(g)):O.apply(this.$store,[p].concat(g))}}),r}),ut=tt(function(e,t){var r={};return q(t).forEach(function(o){var i=o.key,p=o.val;p=e+p,r[i]=function(){if(!(e&&!et(this.$store,"mapGetters",e)))return this.$store.getters[p]},r[i].vuex=!0}),r}),Tt=tt(function(e,t){var r={};return q(t).forEach(function(o){var i=o.key,p=o.val;r[i]=function(){for(var g=[],y=arguments.length;y--;)g[y]=arguments[y];var O=this.$store.dispatch;if(e){var S=et(this.$store,"mapActions",e);if(!S)return;O=S.context.dispatch}return typeof p=="function"?p.apply(this,[O].concat(g)):O.apply(this.$store,[p].concat(g))}}),r}),se=function(e){return{mapState:Et.bind(null,e),mapGetters:ut.bind(null,e),mapMutations:kt.bind(null,e),mapActions:Tt.bind(null,e)}};function q(e){return ue(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function ue(e){return Array.isArray(e)||gt(e)}function tt(e){return function(t,r){return typeof t!="string"?(r=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,r)}}function et(e,t,r){var o=e._modulesNamespaceMap[r];return o}function le(e){e===void 0&&(e={});var t=e.collapsed;t===void 0&&(t=!0);var r=e.filter;r===void 0&&(r=function(S,j,T){return!0});var o=e.transformer;o===void 0&&(o=function(S){return S});var i=e.mutationTransformer;i===void 0&&(i=function(S){return S});var p=e.actionFilter;p===void 0&&(p=function(S,j){return!0});var x=e.actionTransformer;x===void 0&&(x=function(S){return S});var g=e.logMutations;g===void 0&&(g=!0);var y=e.logActions;y===void 0&&(y=!0);var O=e.logger;return O===void 0&&(O=console),function(S){var j=ot(S.state);typeof O>"u"||(g&&S.subscribe(function(T,P){var U=ot(P);if(r(T,j,U)){var ct=$t(),ft=i(T),Ve="mutation "+T.type+ct;jt(O,Ve,t),O.log("%c prev state","color: #9E9E9E; font-weight: bold",o(j)),O.log("%c mutation","color: #03A9F4; font-weight: bold",ft),O.log("%c next state","color: #4CAF50; font-weight: bold",o(U)),wt(O)}j=U}),y&&S.subscribeAction(function(T,P){if(p(T,P)){var U=$t(),ct=x(T),ft="action "+T.type+U;jt(O,ft,t),O.log("%c action","color: #03A9F4; font-weight: bold",ct),wt(O)}}))}}function jt(e,t,r){var o=r?e.groupCollapsed:e.group;try{o.call(e,t)}catch{e.log(t)}}function wt(e){try{e.groupEnd()}catch{e.log("\u2014\u2014 log end \u2014\u2014")}}function $t(){var e=new Date;return" @ "+rt(e.getHours(),2)+":"+rt(e.getMinutes(),2)+":"+rt(e.getSeconds(),2)+"."+rt(e.getMilliseconds(),3)}function ce(e,t){return new Array(t+1).join(e)}function rt(e,t){return ce("0",t-e.toString().length)+e}var tr={Store:G,install:Bt,version:"3.6.2",mapState:Et,mapMutations:kt,mapGetters:ut,mapActions:Tt,createNamespacedHelpers:se,createLogger:le},er=null,fe={name:"BkHeaderLogo",props:{to:{type:String,default:"/"},title:String},computed:{...ut(["menu"])}},de=fe,pe=b(de,Ut,Vt,!1,null,"071d9a26",null),Mt=pe.exports,ve={name:"BkContainer",components:{BkHeaderLogo:Mt,BkHeader:yt,BkMenu:N},props:{menusKey:String,menus:[],sideOpened:{type:Boolean,default:!0}},computed:{mainStyle(){let e=this.$config.globalAttrs.layout;return e.mainHeight==="fully"?{height:`calc(100vh - (${e.headerHeight} + ${e.footerHeight}))`}:{height:e.mainHeight}}},methods:{selectHandle(e,t){this.$emit("menu-select",e,t)},sideChange(){this.$emit("side-change")}}},he=ve,me=b(he,u,l,!1,null,"16b5be3e",null),ye=me.exports,ge=function(){var t=this,r=t._self._c;return r("el-table",t._g(t._b({attrs:{data:t.list},scopedSlots:t._u([{key:"append",fn:function(){return[t._t("append")]},proxy:!0}],null,!0)},"el-table",t.$globalAttrs.append(t.$attrs,"table"),!1),t.$listeners),[t._l(t.labels,function(o){return[o.slot&&(!o.children||!o.children.length)?r("el-table-column",t._b({scopedSlots:t._u([{key:"header",fn:function(i){return[t._t(`${o.slot}-header`,null,{column:i.column,index:i.$index})]}},{key:"default",fn:function(i){return[t._t(o.slot,null,{row:i.row,column:i.column,index:i.$index})]}}],null,!0)},"el-table-column",t.dealLabel(o),!1)):o?r("bk-table-column",t._b({},"bk-table-column",t.dealLabel(o),!1)):t._e()]})],2)},be=[],_e=function(){var t=this,r=t._self._c;return r("el-table-column",t._b({},"el-table-column",t.$attrs,!1),[t._l(t.$attrs.children,function(o){return t.$attrs.children&&t.$attrs.children.length>0?[r("bk-table-column",t._b({},"bk-table-column",o,!1))]:t._e()})],2)},xe=[],Oe={name:"BkTableColumn"},Se=Oe,Ce=b(Se,_e,xe,!1,null,"0c97ddb5",null),Be=Ce.exports,Ee={name:"BkTable",components:{BkTableColumn:Be},props:{labels:Array,data:Array},computed:{list(){return w.labelDataCope(this.labels,this.data)}},methods:{dealLabel(e){let t=Object.assign({},e);return delete t.slot,t}}},ke=Ee,Te=b(ke,ge,be,!1,null,"40890659",null),je=Te.exports,we=function(){var t=this,r=t._self._c;return r("el-form",t._g(t._b({attrs:{rules:t.ruleList,"validate-on-rule-change":!1}},"el-form",t.$attrs,!1),t.$listeners),[t._t("default"),t.btnTexts&&t.btnTexts.length?r("el-form-item",[t._l(t.btnTexts,function(o,i){return[i===1?r("el-button",{on:{click:t.onCancel}},[t._v(t._s(o))]):t._e(),i===0?r("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v(t._s(o))]):t._e()]})],2):t.btn?r("el-form-item",[r("el-button",{on:{click:t.onCancel}},[t._v("\u53D6\u6D88")]),r("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("\u63D0\u4EA4")])],1):t._e(),t._t("footer")],2)},$e=[],rr=M(7658),Me={name:"BkForm",props:{btn:Boolean,btnTexts:{type:Array,default:function(){return["\u63D0\u4EA4","\u53D6\u6D88"]}},verify:Function},data(){return{ruleList:{}}},methods:{onSubmit(){this.$emit("submit")},onCancel(){this.$emit("cancel")},notRequireRules(e){if(!e||e.length===0)return!0;for(let t of e)if(t.required)return!1;return!0},dealRule(e){let t=e.componentOptions,r="change",o="\u9009\u62E9",i=t.propsData,p=e.data.attrs;if(t.children){let y=e.componentOptions.children;for(let O of y)["el-input","el-input-number","input"].includes(O.componentOptions.tag)?(r="blur",o="\u8F93\u5165"):O.componentOptions.tag==="el-upload"&&(r="change",o="\u4E0A\u4F20")}let x=[],g="";if(this.verify&&(g=this.verify(i,e),g instanceof Function?x.push({validator:g,trigger:r}):g instanceof Object?x.push(g):g instanceof Array&&x.push.apply(x,g)),this.notRequireRules(x)&&(p.require||p.require==="")){let y=p.message;g=y||`\u8BF7${o}${i.label||"\u5185\u5BB9"}`,x.push({required:!0,message:g,trigger:r})}return x}},mounted(){this.$nextTick(()=>{let e={},t=this.$slots.default;for(let r of t){let o=r.componentOptions;if(o&&o.tag==="el-form-item"){let i=o.propsData;e[i.prop]=this.dealRule(r)}}this.ruleList=e})}},Ae=Me,Ie=b(Ae,we,$e,!1,null,"f0f2b948",null),Pe=Ie.exports,Fe=function(){var t=this,r=t._self._c;return r("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[r("router-view")],1)},He=[],Re={name:"BkMainContainer"},Le=Re,Ne=b(Le,Fe,He,!1,null,"26d1c1b8",null),De=Ne.exports,At={globalAttrs:{layout:{headerHeight:"60px",footerHeight:"40px",mainHeight:"fully",sideWith:"240px"},headerLogo:{color:"#dbebff"},table:{border:!0,stripe:!0},menu:{backgroundColor:"#409EFF",subBackgroundColor:"#006be0",hoverBackgroundColor:"#50aaff",hoverSubBackgroundColor:"#005cc0",activeBackgroundColor:"",textColor:"#dbebff",activeTextColor:"#fffd46",groupTitleColor:"#80bcff"}}},It={pickAttr(e,t,r,o){let i=this.getByKeys(t,[o]);return e[r]?e[r]:i[o]},append(e,t,r){let o=this.getByKeys(t,r);return Object.assign({},o,m.toHumpObject(e))},varStyle(e,t,r){let o=Object.assign({},this.getByKeys(t,r),this.filterKey(e,r)),i={};for(let p in o)i[`--${t}-${p}`]=o[p];return i},getByKeys(e,t){let r=At.globalAttrs;if(!Object.keys(r).includes(e))return{};let i=r[e];return t&&t.length?this.filterKey(i,t):i},filterKey(e,t){let r={};if(t&&t.length)for(let o of t){let i=e[o];i!=null&&(r[o]=i)}return r},deepAppend(e){return this.toDeepAppend(At,e)},toDeepAppend(e,t){let r={},o=Object.keys(e);for(let i in e)e[i]instanceof Object&&t[i]instanceof Object?r[i]=this.toDeepAppend(e[i],t[i]):r[i]=t[i];for(let i in t)o.includes(i)||(r[i]=t[i]);return r}},Ge={dealVar(e){let t="body {";for(let r in e)t+=` | |
| `+r+": "+e[r]+";";t+=` | |
| }`,this.styleInject(t)},styleInject(e,t){t===void 0&&(t={});var r=t.insertAt;if(!(!e||typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",r==="top"&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.id="global",i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}};let Pt=[ye,De,yt,Mt,je,Pe,N,$,mt],lt=function(e,t){if(lt.installed)return;let r=e.prototype.$config=It.deepAppend(e.prototype.$config),o={"--menu-backgroundColor":r.globalAttrs.menu.backgroundColor,"--layout-sideWith":r.globalAttrs.layout.sideWith};Ge.dealVar(o),e.prototype.$globalAttrs=It,Pt.forEach(i=>{e.component(i.name,i)})};typeof window<"u"&&window.Vue&<(window.Vue);var Ke={install:lt,...Pt},Ue=Ke})(),Ht.exports=z})()});var X={};Qe(X,{default:()=>Rt.default});nt(X,Ft(vt()));var Rt=Ft(vt());var export_default=Rt.default;export{export_default as default}; | |
| /*! | |
| * vuex v3.6.2 | |
| * (c) 2021 Evan You | |
| * @license MIT | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment