UNPKG

shu-c-view

Version:

rollup 打包vue组件库框架

7 lines (6 loc) 17.7 kB
/*! * shu-c-view v1.2.37 * (c) 2022-09-22 * @license MIT */ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("lodash/assign"),e=require("lodash/isNil"),n=require("lodash/has"),r=require("lodash/map"),o=require("lodash/isArray"),i=require("lodash/isEmpty"),c=require("lodash/includes"),a=require("lodash/get"),u=require("lodash/find");function s(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var l=s(t),f=s(e),p=s(n),d=s(r),g=s(o),h=s(i),v=s(c),y=s(a),m=s(u),b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},E=function(t){return t&&t.Math==Math&&t},x=E("object"==typeof globalThis&&globalThis)||E("object"==typeof window&&window)||E("object"==typeof self&&self)||E("object"==typeof b&&b)||function(){return this}()||Function("return this")(),S={},w=function(t){try{return!!t()}catch(t){return!0}},_=!w((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),O={},$={}.propertyIsEnumerable,R=Object.getOwnPropertyDescriptor,P=R&&!$.call({1:2},1);O.f=P?function(t){var e=R(this,t);return!!e&&e.enumerable}:$;var j=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},I={}.toString,T=function(t){return I.call(t).slice(8,-1)},A=T,k="".split,N=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},C=w((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==A(t)?k.call(t,""):Object(t)}:Object,D=N,M=function(t){return C(D(t))},U=function(t){return"object"==typeof t?null!==t:"function"==typeof t},z=U,q=function(t,e){if(!z(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!z(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!z(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!z(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},L={}.hasOwnProperty,F=function(t,e){return L.call(t,e)},B=U,K=x.document,G=B(K)&&B(K.createElement),Y=function(t){return G?K.createElement(t):{}},V=!_&&!w((function(){return 7!=Object.defineProperty(Y("div"),"a",{get:function(){return 7}}).a})),J=_,W=O,X=j,H=M,Q=q,Z=F,tt=V,et=Object.getOwnPropertyDescriptor;S.f=J?et:function(t,e){if(t=H(t),e=Q(e,!0),tt)try{return et(t,e)}catch(t){}if(Z(t,e))return X(!W.f.call(t,e),t[e])};var nt={},rt=U,ot=function(t){if(!rt(t))throw TypeError(String(t)+" is not an object");return t},it=_,ct=V,at=ot,ut=q,st=Object.defineProperty;nt.f=it?st:function(t,e,n){if(at(t),e=ut(e,!0),at(n),ct)try{return st(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var lt=nt,ft=j,pt=_?function(t,e,n){return lt.f(t,e,ft(1,n))}:function(t,e,n){return t[e]=n,t},dt={exports:{}},gt=x,ht=pt,vt=function(t,e){try{ht(gt,t,e)}catch(n){gt[t]=e}return e},yt=vt,mt=x["__core-js_shared__"]||yt("__core-js_shared__",{}),bt=mt,Et=Function.toString;"function"!=typeof bt.inspectSource&&(bt.inspectSource=function(t){return Et.call(t)});var xt=bt.inspectSource,St=xt,wt=x.WeakMap,_t="function"==typeof wt&&/native code/.test(St(wt)),Ot={exports:{}},$t=mt;(Ot.exports=function(t,e){return $t[t]||($t[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var Rt,Pt,jt,It=0,Tt=Math.random(),At=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++It+Tt).toString(36)},kt=Ot.exports,Nt=At,Ct=kt("keys"),Dt={},Mt=_t,Ut=U,zt=pt,qt=F,Lt=mt,Ft=function(t){return Ct[t]||(Ct[t]=Nt(t))},Bt=Dt,Kt=x.WeakMap;if(Mt){var Gt=Lt.state||(Lt.state=new Kt),Yt=Gt.get,Vt=Gt.has,Jt=Gt.set;Rt=function(t,e){return e.facade=t,Jt.call(Gt,t,e),e},Pt=function(t){return Yt.call(Gt,t)||{}},jt=function(t){return Vt.call(Gt,t)}}else{var Wt=Ft("state");Bt[Wt]=!0,Rt=function(t,e){return e.facade=t,zt(t,Wt,e),e},Pt=function(t){return qt(t,Wt)?t[Wt]:{}},jt=function(t){return qt(t,Wt)}}var Xt={set:Rt,get:Pt,has:jt,enforce:function(t){return jt(t)?Pt(t):Rt(t,{})},getterFor:function(t){return function(e){var n;if(!Ut(e)||(n=Pt(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},Ht=x,Qt=pt,Zt=F,te=vt,ee=xt,ne=Xt.get,re=Xt.enforce,oe=String(String).split("String");(dt.exports=function(t,e,n,r){var o,i=!!r&&!!r.unsafe,c=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||Zt(n,"name")||Qt(n,"name",e),(o=re(n)).source||(o.source=oe.join("string"==typeof e?e:""))),t!==Ht?(i?!a&&t[e]&&(c=!0):delete t[e],c?t[e]=n:Qt(t,e,n)):c?t[e]=n:te(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&ne(this).source||ee(this)}));var ie=x,ce=x,ae=function(t){return"function"==typeof t?t:void 0},ue=function(t,e){return arguments.length<2?ae(ie[t])||ae(ce[t]):ie[t]&&ie[t][e]||ce[t]&&ce[t][e]},se={},le=Math.ceil,fe=Math.floor,pe=function(t){return isNaN(t=+t)?0:(t>0?fe:le)(t)},de=pe,ge=Math.min,he=function(t){return t>0?ge(de(t),9007199254740991):0},ve=pe,ye=Math.max,me=Math.min,be=M,Ee=he,xe=function(t,e){var n=ve(t);return n<0?ye(n+e,0):me(n,e)},Se=function(t){return function(e,n,r){var o,i=be(e),c=Ee(i.length),a=xe(r,c);if(t&&n!=n){for(;c>a;)if((o=i[a++])!=o)return!0}else for(;c>a;a++)if((t||a in i)&&i[a]===n)return t||a||0;return!t&&-1}},we={includes:Se(!0),indexOf:Se(!1)},_e=F,Oe=M,$e=we.indexOf,Re=Dt,Pe=function(t,e){var n,r=Oe(t),o=0,i=[];for(n in r)!_e(Re,n)&&_e(r,n)&&i.push(n);for(;e.length>o;)_e(r,n=e[o++])&&(~$e(i,n)||i.push(n));return i},je=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");se.f=Object.getOwnPropertyNames||function(t){return Pe(t,je)};var Ie={};Ie.f=Object.getOwnPropertySymbols;var Te=se,Ae=Ie,ke=ot,Ne=ue("Reflect","ownKeys")||function(t){var e=Te.f(ke(t)),n=Ae.f;return n?e.concat(n(t)):e},Ce=F,De=Ne,Me=S,Ue=nt,ze=w,qe=/#|\.prototype\./,Le=function(t,e){var n=Be[Fe(t)];return n==Ge||n!=Ke&&("function"==typeof e?ze(e):!!e)},Fe=Le.normalize=function(t){return String(t).replace(qe,".").toLowerCase()},Be=Le.data={},Ke=Le.NATIVE="N",Ge=Le.POLYFILL="P",Ye=Le,Ve=x,Je=S.f,We=pt,Xe=dt.exports,He=vt,Qe=function(t,e){for(var n=De(e),r=Ue.f,o=Me.f,i=0;i<n.length;i++){var c=n[i];Ce(t,c)||r(t,c,o(e,c))}},Ze=Ye,tn=ot,en=function(){var t=tn(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},nn={},rn=w;function on(t,e){return RegExp(t,e)}nn.UNSUPPORTED_Y=rn((function(){var t=on("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),nn.BROKEN_CARET=rn((function(){var t=on("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));var cn=en,an=nn,un=RegExp.prototype.exec,sn=String.prototype.replace,ln=un,fn=function(){var t=/a/,e=/b*/g;return un.call(t,"a"),un.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),pn=an.UNSUPPORTED_Y||an.BROKEN_CARET,dn=void 0!==/()??/.exec("")[1];(fn||dn||pn)&&(ln=function(t){var e,n,r,o,i=this,c=pn&&i.sticky,a=cn.call(i),u=i.source,s=0,l=t;return c&&(-1===(a=a.replace("y","")).indexOf("g")&&(a+="g"),l=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",l=" "+l,s++),n=new RegExp("^(?:"+u+")",a)),dn&&(n=new RegExp("^"+u+"$(?!\\s)",a)),fn&&(e=i.lastIndex),r=un.call(c?n:i,l),c?r?(r.input=r.input.slice(s),r[0]=r[0].slice(s),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:fn&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),dn&&r&&r.length>1&&sn.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var gn=ln;(function(t,e){var n,r,o,i,c,a=t.target,u=t.global,s=t.stat;if(n=u?Ve:s?Ve[a]||He(a,{}):(Ve[a]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(c=Je(n,r))&&c.value:n[r],!Ze(u?r:a+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Qe(i,o)}(t.sham||o&&o.sham)&&We(i,"sham",!0),Xe(n,r,i,t)}})({target:"RegExp",proto:!0,forced:/./.exec!==gn},{exec:gn});var hn,vn,yn="process"==T(x.process),mn=ue("navigator","userAgent")||"",bn=x.process,En=bn&&bn.versions,xn=En&&En.v8;xn?vn=(hn=xn.split("."))[0]+hn[1]:mn&&(!(hn=mn.match(/Edge\/(\d+)/))||hn[1]>=74)&&(hn=mn.match(/Chrome\/(\d+)/))&&(vn=hn[1]);var Sn=yn,wn=vn&&+vn,_n=w,On=!!Object.getOwnPropertySymbols&&!_n((function(){return!Symbol.sham&&(Sn?38===wn:wn>37&&wn<41)})),$n=On&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Rn=x,Pn=Ot.exports,jn=F,In=At,Tn=On,An=$n,kn=Pn("wks"),Nn=Rn.Symbol,Cn=An?Nn:Nn&&Nn.withoutSetter||In,Dn=function(t){return jn(kn,t)&&(Tn||"string"==typeof kn[t])||(Tn&&jn(Nn,t)?kn[t]=Nn[t]:kn[t]=Cn("Symbol."+t)),kn[t]},Mn=dt.exports,Un=w,zn=Dn,qn=gn,Ln=pt,Fn=zn("species"),Bn=!Un((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),Kn="$0"==="a".replace(/./,"$0"),Gn=zn("replace"),Yn=!!/./[Gn]&&""===/./[Gn]("a","$0"),Vn=!Un((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Jn=pe,Wn=N,Xn=function(t){return function(e,n){var r,o,i=String(Wn(e)),c=Jn(n),a=i.length;return c<0||c>=a?t?"":void 0:(r=i.charCodeAt(c))<55296||r>56319||c+1===a||(o=i.charCodeAt(c+1))<56320||o>57343?t?i.charAt(c):r:t?i.slice(c,c+2):o-56320+(r-55296<<10)+65536}},Hn={codeAt:Xn(!1),charAt:Xn(!0)}.charAt,Qn=N,Zn=function(t){return Object(Qn(t))},tr=Math.floor,er="".replace,nr=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,rr=/\$([$&'`]|\d{1,2})/g,or=T,ir=gn,cr=function(t,e,n,r){var o=zn(t),i=!Un((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),c=i&&!Un((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Fn]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!c||"replace"===t&&(!Bn||!Kn||Yn)||"split"===t&&!Vn){var a=/./[o],u=n(o,""[t],(function(t,e,n,r,o){return e.exec===qn?i&&!o?{done:!0,value:a.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Kn,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Yn}),s=u[0],l=u[1];Mn(String.prototype,t,s),Mn(RegExp.prototype,o,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)})}r&&Ln(RegExp.prototype[o],"sham",!0)},ar=ot,ur=he,sr=pe,lr=N,fr=function(t,e,n){return e+(n?Hn(t,e).length:1)},pr=function(t,e,n,r,o,i){var c=n+t.length,a=r.length,u=rr;return void 0!==o&&(o=Zn(o),u=nr),er.call(i,u,(function(i,u){var s;switch(u.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(c);case"<":s=o[u.slice(1,-1)];break;default:var l=+u;if(0===l)return i;if(l>a){var f=tr(l/10);return 0===f?i:f<=a?void 0===r[f-1]?u.charAt(1):r[f-1]+u.charAt(1):i}s=r[l-1]}return void 0===s?"":s}))},dr=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==or(t))throw TypeError("RegExp#exec called on incompatible receiver");return ir.call(t,e)},gr=Math.max,hr=Math.min;cr("replace",2,(function(t,e,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,c=o?"$":"$0";return[function(n,r){var o=lr(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(c)){var a=n(e,t,this,r);if(a.done)return a.value}var u=ar(t),s=String(this),l="function"==typeof r;l||(r=String(r));var f=u.global;if(f){var p=u.unicode;u.lastIndex=0}for(var d=[];;){var g=dr(u,s);if(null===g)break;if(d.push(g),!f)break;""===String(g[0])&&(u.lastIndex=fr(s,ur(u.lastIndex),p))}for(var h,v="",y=0,m=0;m<d.length;m++){g=d[m];for(var b=String(g[0]),E=gr(hr(sr(g.index),s.length),0),x=[],S=1;S<g.length;S++)x.push(void 0===(h=g[S])?h:String(h));var w=g.groups;if(l){var _=[b].concat(x,E,s);void 0!==w&&_.push(w);var O=String(r.apply(void 0,_))}else O=pr(b,s,E,x,w,r);E>=y&&(v+=s.slice(y,E)+O,y=E+b.length)}return v+s.slice(y)}]}));var vr=_,yr=nt.f,mr=Function.prototype,br=mr.toString,Er=/^\s*function ([^ (]*)/;vr&&!("name"in mr)&&yr(mr,"name",{configurable:!0,get:function(){try{return br.call(this).match(Er)[1]}catch(t){return""}}});var xr=U,Sr=ot,wr=function(t){if(!xr(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},_r=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return Sr(n),wr(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),Or=U,$r=_r,Rr=U,Pr=T,jr=Dn("match"),Ir=ue,Tr=nt,Ar=_,kr=Dn("species"),Nr=_,Cr=x,Dr=Ye,Mr=function(t,e,n){var r,o;return $r&&"function"==typeof(r=e.constructor)&&r!==n&&Or(o=r.prototype)&&o!==n.prototype&&$r(t,o),t},Ur=nt.f,zr=se.f,qr=function(t){var e;return Rr(t)&&(void 0!==(e=t[jr])?!!e:"RegExp"==Pr(t))},Lr=en,Fr=nn,Br=dt.exports,Kr=w,Gr=Xt.set,Yr=function(t){var e=Ir(t),n=Tr.f;Ar&&e&&!e[kr]&&n(e,kr,{configurable:!0,get:function(){return this}})},Vr=Dn("match"),Jr=Cr.RegExp,Wr=Jr.prototype,Xr=/a/g,Hr=/a/g,Qr=new Jr(Xr)!==Xr,Zr=Fr.UNSUPPORTED_Y;if(Nr&&Dr("RegExp",!Qr||Zr||Kr((function(){return Hr[Vr]=!1,Jr(Xr)!=Xr||Jr(Hr)==Hr||"/a/i"!=Jr(Xr,"i")})))){for(var to=function(t,e){var n,r=this instanceof to,o=qr(t),i=void 0===e;if(!r&&o&&t.constructor===to&&i)return t;Qr?o&&!i&&(t=t.source):t instanceof to&&(i&&(e=Lr.call(t)),t=t.source),Zr&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var c=Mr(Qr?new Jr(t,e):Jr(t,e),r?this:Wr,to);return Zr&&n&&Gr(c,{sticky:n}),c},eo=function(t){t in to||Ur(to,t,{configurable:!0,get:function(){return Jr[t]},set:function(e){Jr[t]=e}})},no=zr(Jr),ro=0;no.length>ro;)eo(no[ro++]);Wr.constructor=to,to.prototype=Wr,Br(Cr,"RegExp",to)}Yr("RegExp");var oo=dt.exports,io=ot,co=w,ao=en,uo=RegExp.prototype,so=uo.toString,lo=co((function(){return"/a/b"!=so.call({source:"a",flags:"b"})})),fo="toString"!=so.name;(lo||fo)&&oo(RegExp.prototype,"toString",(function(){var t=io(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in uo)?ao.call(t):n)}),{unsafe:!0});var po=function(t){"development"!==process.env.NODE_ENV&&"dev"!==process.env.NODE_ENV||console.warn(t)};var go={name:"BaseSvgIcon",props:{size:{type:String,default:"1em"},iconname:{type:String,default:""},cls:{type:String,default:""}},computed:{},data:function(){return{}},created:function(){},methods:{},render:function(t){var e,n,r,o=this;return t("div",{class:(e={"base-svg-content":!0},n=this.cls,r=this.cls,n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e),on:{click:function(t){o.$emit("click",o.iconname)}}},[t("svg",{class:"navIcon",attrs:{"aria-hidden":!0},style:{width:this.size,height:this.size,"vertical-align":"-0.15em"}},[t("use",{attrs:{"xlink:href":"#"+this.iconname}},[])])])},install:function(t,e){if(po("按需加载独立组件:"+go.name),g(e)&&!h(e))for(var n=0;n<e.length;n++)e[n].name!==go.name&&t.use(e[n]);t.component(go.name,go)}},ho={name:"BaseDropColumnDown",inheritAttrs:!1,props:{title:{type:String,default:""},icon:{type:String},options:{type:Array},svgSize:{type:String,default:"16px"}},data:function(){return{curHideOnClick:!0}},methods:{createElDropdownItem:function(){var t=this,e=[];if(!f(this.options))for(var n=0,r=this.options.length;n<r;n++){for(var o=this.options[n],i=[],c=0,a=o.length;c<a;c++){var u=o[c],s=d(u.list,(function(e){return t.$createElement("div",{on:{click:function(n){p(t.$listeners,"click")&&(t.$listeners.click(n,JSON.parse(JSON.stringify(e))),setTimeout((function(){f(t.$refs["".concat(t._uid,"-base-drop-column-down-title")])||t.$refs["".concat(t._uid,"-base-drop-column-down-title")].click()}),0)),"hover"!==t.$attrs.trigger&&!f(t.$attrs.trigger)||!f(t.$attrs["hide-on-click"])&&!0!==t.$attrs["hide-on-click"]||(t.$refs["".concat(t._uid,"-base-drop-column-down")].$children[0].$el.style.display="none")}}},[t.getIconNode(e),e.label])}));i.push(this.$createElement("div",{},[this.$createElement("div",{class:"title"},[u.title]),s]))}var l=this.$createElement("div",{class:"column"},i);e.push(l)}return this.$createElement("div",{ref:"".concat(this._uid,"-base-drop-column-down"),class:"base-drop-column-down-menu"},e)},getIconNode:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=y(t,"icon","");if(v(e,"svg-")){var n=e.replace("svg-",""),r=m(this.svgIcons,(function(t){return t.name===n}));f(r)||(e=this.$createElement(y(r,"component","span"),{style:{width:this.svgSize,height:this.svgSize,marginRight:"5px"}}))}else e=/\.(gif|png|jpg|jpeg|webp|svg|psd|bmp|tif)$/.test(e)?this.$createElement("img",{style:{marginRight:"5px"},attrs:{src:e,width:this.svgSize,height:this.svgSize}}):-1!==e.indexOf("symbol-")?this.$createElement(go,{style:{marginRight:"5px"},props:{size:this.svgSize,iconname:e.replace("symbol-","")}},[]):this.$createElement("i",{class:e});return e}},render:function(t){return t("el-dropdown",{ref:"".concat(this._uid,"-base-drop-column-down"),attrs:{id:this.$attrs.id},class:{"base-drop-column-down":!0},props:l({},this.$attrs),on:this.$listeners},[t("span",{ref:"".concat(this._uid,"-base-drop-column-down-title"),class:"el-dropdown-link"},[f(this.icon)?t():t("i",{class:this.icon,style:{"padding-right":"9px"}}),this.title,t("i",{class:"el-icon-arrow-down el-icon--right"})]),t("el-dropdown-menu",{slot:"dropdown"},[this.createElDropdownItem()])])},install:function(t,e){if(po("按需加载独立组件:"+ho.name),g(e)&&!h(e))for(var n=0;n<e.length;n++)e[n].name!==ho.name&&t.use(e[n]);t.component(ho.name,ho)}};exports.BaseDropColumnDown=ho;