shu-c-view
Version:
rollup 打包vue@2.7组件库框架
7 lines (6 loc) • 18.3 kB
JavaScript
/*!
* shu-c-view v2.0.0
* (c) 2024-04-23
* @license MIT
*/
;Object.defineProperty(exports,"__esModule",{value:!0});var t,e,r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=function(t){try{return!!t()}catch(t){return!0}},o=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),i=function(t){return t&&t.Math==Math&&t},u=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof r&&r)||function(){return this}()||Function("return this")(),c=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),a=c,f=Function.prototype,s=f.call,l=a&&f.bind.bind(s,s),p=a?l:function(t){return function(){return s.apply(t,arguments)}},h="object"==typeof document&&document.all,y={all:h,IS_HTMLDDA:void 0===h&&void 0!==h},d=y.all,v=y.IS_HTMLDDA?function(t){return"function"==typeof t||t===d}:function(t){return"function"==typeof t},b=n,g=v,m=/#|\.prototype\./,S=function(t,e){var r=w[O(t)];return r==j||r!=C&&(g(e)?b(e):!!e)},O=S.normalize=function(t){return String(t).replace(m,".").toLowerCase()},w=S.data={},C=S.NATIVE="N",j=S.POLYFILL="P",E=S,L={},T=v,N=y.all,P=y.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:T(t)||t===N}:function(t){return"object"==typeof t?null!==t:T(t)},_=P,x=u.document,k=_(x)&&_(x.createElement),I=function(t){return k?x.createElement(t):{}},A=I,M=!o&&!n((function(){return 7!=Object.defineProperty(A("div"),"a",{get:function(){return 7}}).a})),F=o&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),V=P,D=String,G=TypeError,R=function(t){if(V(t))return t;throw G(D(t)+" is not an object")},$=c,z=Function.prototype.call,B=$?z.bind(z):function(){return z.apply(z,arguments)},H=u,W=v,U=function(t){return W(t)?t:void 0},q=function(t,e){return arguments.length<2?U(H[t]):H[t]&&H[t][e]},X=p({}.isPrototypeOf),Y=u,K=q("navigator","userAgent")||"",J=Y.process,Q=Y.Deno,Z=J&&J.versions||Q&&Q.version,tt=Z&&Z.v8;tt&&(e=(t=tt.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&K&&(!(t=K.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=K.match(/Chrome\/(\d+)/))&&(e=+t[1]);var et=e,rt=et,nt=n,ot=!!Object.getOwnPropertySymbols&&!nt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&rt&&rt<41})),it=ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ut=q,ct=v,at=X,ft=Object,st=it?function(t){return"symbol"==typeof t}:function(t){var e=ut("Symbol");return ct(e)&&at(e.prototype,ft(t))},lt=String,pt=v,ht=function(t){try{return lt(t)}catch(t){return"Object"}},yt=TypeError,dt=function(t){if(pt(t))return t;throw yt(ht(t)+" is not a function")},vt=function(t){return null==t},bt=dt,gt=vt,mt=B,St=v,Ot=P,wt=TypeError,Ct={exports:{}},jt=u,Et=Object.defineProperty,Lt=function(t,e){try{Et(jt,t,{value:e,configurable:!0,writable:!0})}catch(r){jt[t]=e}return e},Tt=Lt,Nt=u["__core-js_shared__"]||Tt("__core-js_shared__",{}),Pt=Nt;(Ct.exports=function(t,e){return Pt[t]||(Pt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var _t=vt,xt=TypeError,kt=function(t){if(_t(t))throw xt("Can't call method on "+t);return t},It=kt,At=Object,Mt=function(t){return At(It(t))},Ft=Mt,Vt=p({}.hasOwnProperty),Dt=Object.hasOwn||function(t,e){return Vt(Ft(t),e)},Gt=p,Rt=0,$t=Math.random(),zt=Gt(1..toString),Bt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+zt(++Rt+$t,36)},Ht=u,Wt=Ct.exports,Ut=Dt,qt=Bt,Xt=ot,Yt=it,Kt=Wt("wks"),Jt=Ht.Symbol,Qt=Jt&&Jt.for,Zt=Yt?Jt:Jt&&Jt.withoutSetter||qt,te=function(t){if(!Ut(Kt,t)||!Xt&&"string"!=typeof Kt[t]){var e="Symbol."+t;Xt&&Ut(Jt,t)?Kt[t]=Jt[t]:Kt[t]=Yt&&Qt?Qt(e):Zt(e)}return Kt[t]},ee=B,re=P,ne=st,oe=function(t,e){var r=t[e];return gt(r)?void 0:bt(r)},ie=function(t,e){var r,n;if("string"===e&&St(r=t.toString)&&!Ot(n=mt(r,t)))return n;if(St(r=t.valueOf)&&!Ot(n=mt(r,t)))return n;if("string"!==e&&St(r=t.toString)&&!Ot(n=mt(r,t)))return n;throw wt("Can't convert object to primitive value")},ue=TypeError,ce=te("toPrimitive"),ae=function(t,e){if(!re(t)||ne(t))return t;var r,n=oe(t,ce);if(n){if(void 0===e&&(e="default"),r=ee(n,t,e),!re(r)||ne(r))return r;throw ue("Can't convert object to primitive value")}return void 0===e&&(e="number"),ie(t,e)},fe=ae,se=st,le=function(t){var e=fe(t,"string");return se(e)?e:e+""},pe=o,he=M,ye=F,de=R,ve=le,be=TypeError,ge=Object.defineProperty,me=Object.getOwnPropertyDescriptor;L.f=pe?ye?function(t,e,r){if(de(t),e=ve(e),de(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=me(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return ge(t,e,r)}:ge:function(t,e,r){if(de(t),e=ve(e),de(r),he)try{return ge(t,e,r)}catch(t){}if("get"in r||"set"in r)throw be("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Se={exports:{}},Oe=o,we=Dt,Ce=Function.prototype,je=Oe&&Object.getOwnPropertyDescriptor,Ee=we(Ce,"name"),Le={EXISTS:Ee,PROPER:Ee&&"something"===function(){}.name,CONFIGURABLE:Ee&&(!Oe||Oe&&je(Ce,"name").configurable)},Te=v,Ne=Nt,Pe=p(Function.toString);Te(Ne.inspectSource)||(Ne.inspectSource=function(t){return Pe(t)});var _e,xe,ke,Ie=Ne.inspectSource,Ae=v,Me=u.WeakMap,Fe=Ae(Me)&&/native code/.test(String(Me)),Ve=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},De=L,Ge=Ve,Re=o?function(t,e,r){return De.f(t,e,Ge(1,r))}:function(t,e,r){return t[e]=r,t},$e=Ct.exports,ze=Bt,Be=$e("keys"),He={},We=Fe,Ue=u,qe=P,Xe=Re,Ye=Dt,Ke=Nt,Je=function(t){return Be[t]||(Be[t]=ze(t))},Qe=He,Ze=Ue.TypeError,tr=Ue.WeakMap;if(We||Ke.state){var er=Ke.state||(Ke.state=new tr);er.get=er.get,er.has=er.has,er.set=er.set,_e=function(t,e){if(er.has(t))throw Ze("Object already initialized");return e.facade=t,er.set(t,e),e},xe=function(t){return er.get(t)||{}},ke=function(t){return er.has(t)}}else{var rr=Je("state");Qe[rr]=!0,_e=function(t,e){if(Ye(t,rr))throw Ze("Object already initialized");return e.facade=t,Xe(t,rr,e),e},xe=function(t){return Ye(t,rr)?t[rr]:{}},ke=function(t){return Ye(t,rr)}}var nr={set:_e,get:xe,has:ke,enforce:function(t){return ke(t)?xe(t):_e(t,{})},getterFor:function(t){return function(e){var r;if(!qe(e)||(r=xe(e)).type!==t)throw Ze("Incompatible receiver, "+t+" required");return r}}},or=n,ir=v,ur=Dt,cr=o,ar=Le.CONFIGURABLE,fr=Ie,sr=nr.enforce,lr=nr.get,pr=Object.defineProperty,hr=cr&&!or((function(){return 8!==pr((function(){}),"length",{value:8}).length})),yr=String(String).split("String"),dr=Se.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!ur(t,"name")||ar&&t.name!==e)&&(cr?pr(t,"name",{value:e,configurable:!0}):t.name=e),hr&&r&&ur(r,"arity")&&t.length!==r.arity&&pr(t,"length",{value:r.arity});try{r&&ur(r,"constructor")&&r.constructor?cr&&pr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=sr(t);return ur(n,"source")||(n.source=yr.join("string"==typeof e?e:"")),t};Function.prototype.toString=dr((function(){return ir(this)&&lr(this).source||fr(this)}),"toString");var vr=v,br=L,gr=Se.exports,mr=Lt,Sr=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(vr(r)&&gr(r,i,n),n.global)o?t[e]=r:mr(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=r:br.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Or=v,wr=String,Cr=TypeError,jr=p,Er=R,Lr=function(t){if("object"==typeof t||Or(t))return t;throw Cr("Can't set "+wr(t)+" as a prototype")},Tr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=jr(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Er(r),Lr(n),e?t(r,n):r.__proto__=n,r}}():void 0),Nr=v,Pr=P,_r=Tr,xr={},kr=p,Ir=kr({}.toString),Ar=kr("".slice),Mr=function(t){return Ar(Ir(t),8,-1)},Fr=n,Vr=Mr,Dr=Object,Gr=p("".split),Rr=Fr((function(){return!Dr("z").propertyIsEnumerable(0)}))?function(t){return"String"==Vr(t)?Gr(t,""):Dr(t)}:Dr,$r=Rr,zr=kt,Br=function(t){return $r(zr(t))},Hr=Math.ceil,Wr=Math.floor,Ur=Math.trunc||function(t){var e=+t;return(e>0?Wr:Hr)(e)},qr=function(t){var e=+t;return e!=e||0===e?0:Ur(e)},Xr=qr,Yr=Math.max,Kr=Math.min,Jr=qr,Qr=Math.min,Zr=function(t){return t>0?Qr(Jr(t),9007199254740991):0},tn=function(t){return Zr(t.length)},en=Br,rn=function(t,e){var r=Xr(t);return r<0?Yr(r+e,0):Kr(r,e)},nn=tn,on=function(t){return function(e,r,n){var o,i=en(e),u=nn(i),c=rn(n,u);if(t&&r!=r){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},un={includes:on(!0),indexOf:on(!1)},cn=Dt,an=Br,fn=un.indexOf,sn=He,ln=p([].push),pn=function(t,e){var r,n=an(t),o=0,i=[];for(r in n)!cn(sn,r)&&cn(n,r)&&ln(i,r);for(;e.length>o;)cn(n,r=e[o++])&&(~fn(i,r)||ln(i,r));return i},hn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");xr.f=Object.getOwnPropertyNames||function(t){return pn(t,hn)};var yn={},dn={},vn={}.propertyIsEnumerable,bn=Object.getOwnPropertyDescriptor,gn=bn&&!vn.call({1:2},1);dn.f=gn?function(t){var e=bn(this,t);return!!e&&e.enumerable}:vn;var mn=o,Sn=B,On=dn,wn=Ve,Cn=Br,jn=le,En=Dt,Ln=M,Tn=Object.getOwnPropertyDescriptor;yn.f=mn?Tn:function(t,e){if(t=Cn(t),e=jn(e),Ln)try{return Tn(t,e)}catch(t){}if(En(t,e))return wn(!Sn(On.f,t,e),t[e])};var Nn=p(1..valueOf),Pn={};Pn[te("toStringTag")]="z";var _n="[object z]"===String(Pn),xn=_n,kn=v,In=Mr,An=te("toStringTag"),Mn=Object,Fn="Arguments"==In(function(){return arguments}()),Vn=xn?In:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Mn(t),An))?r:Fn?In(e):"Object"==(n=In(e))&&kn(e.callee)?"Arguments":n},Dn=Vn,Gn=String,Rn=kt,$n=function(t){if("Symbol"===Dn(t))throw TypeError("Cannot convert a Symbol value to a string");return Gn(t)},zn=p("".replace),Bn="[\t\n\v\f\r \u2028\u2029\ufeff]",Hn=RegExp("^"+Bn+Bn+"*"),Wn=RegExp(Bn+Bn+"*$"),Un=function(t){return function(e){var r=$n(Rn(e));return 1&t&&(r=zn(r,Hn,"")),2&t&&(r=zn(r,Wn,"")),r}},qn={start:Un(1),end:Un(2),trim:Un(3)},Xn=o,Yn=u,Kn=p,Jn=E,Qn=Sr,Zn=Dt,to=function(t,e,r){var n,o;return _r&&Nr(n=e.constructor)&&n!==r&&Pr(o=n.prototype)&&o!==r.prototype&&_r(t,o),t},eo=X,ro=st,no=ae,oo=n,io=xr.f,uo=yn.f,co=L.f,ao=Nn,fo=qn.trim,so=Yn.Number,lo=so.prototype,po=Yn.TypeError,ho=Kn("".slice),yo=Kn("".charCodeAt),vo=function(t){var e=no(t,"number");return"bigint"==typeof e?e:bo(e)},bo=function(t){var e,r,n,o,i,u,c,a,f=no(t,"number");if(ro(f))throw po("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=fo(f),43===(e=yo(f,0))||45===e){if(88===(r=yo(f,2))||120===r)return NaN}else if(48===e){switch(yo(f,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+f}for(u=(i=ho(f,2)).length,c=0;c<u;c++)if((a=yo(i,c))<48||a>o)return NaN;return parseInt(i,n)}return+f};if(Jn("Number",!so(" 0o1")||!so("0b1")||so("+0x1"))){for(var go,mo=function(t){var e=arguments.length<1?0:so(vo(t)),r=this;return eo(lo,r)&&oo((function(){ao(r)}))?to(Object(e),r,mo):e},So=Xn?io(so):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Oo=0;So.length>Oo;Oo++)Zn(so,go=So[Oo])&&!Zn(mo,go)&&co(mo,go,uo(so,go));mo.prototype=lo,lo.constructor=mo,Qn(Yn,"Number",mo,{constructor:!0})}var wo=Vn,Co=_n?{}.toString:function(){return"[object "+wo(this)+"]"};_n||Sr(Object.prototype,"toString",Co,{unsafe:!0});var jo=I("span").classList,Eo=jo&&jo.constructor&&jo.constructor.prototype,Lo=Eo===Object.prototype?void 0:Eo,To=Mr,No=p,Po=function(t){if("Function"===To(t))return No(t)},_o=dt,xo=c,ko=Po(Po.bind),Io=Mr,Ao=Array.isArray||function(t){return"Array"==Io(t)},Mo=p,Fo=n,Vo=v,Do=Vn,Go=Ie,Ro=function(){},$o=[],zo=q("Reflect","construct"),Bo=/^\s*(?:class|function)\b/,Ho=Mo(Bo.exec),Wo=!Bo.exec(Ro),Uo=function(t){if(!Vo(t))return!1;try{return zo(Ro,$o,t),!0}catch(t){return!1}},qo=function(t){if(!Vo(t))return!1;switch(Do(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Wo||!!Ho(Bo,Go(t))}catch(t){return!0}};qo.sham=!0;var Xo=!zo||Fo((function(){var t;return Uo(Uo.call)||!Uo(Object)||!Uo((function(){t=!0}))||t}))?qo:Uo,Yo=Ao,Ko=Xo,Jo=P,Qo=te("species"),Zo=Array,ti=function(t){var e;return Yo(t)&&(e=t.constructor,(Ko(e)&&(e===Zo||Yo(e.prototype))||Jo(e)&&null===(e=e[Qo]))&&(e=void 0)),void 0===e?Zo:e},ei=function(t,e){return _o(t),void 0===e?t:xo?ko(t,e):function(){return t.apply(e,arguments)}},ri=Rr,ni=Mt,oi=tn,ii=function(t,e){return new(ti(t))(0===e?0:e)},ui=p([].push),ci=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,u=7==t,c=5==t||i;return function(a,f,s,l){for(var p,h,y=ni(a),d=ri(y),v=ei(f,s),b=oi(d),g=0,m=l||ii,S=e?m(a,b):r||u?m(a,0):void 0;b>g;g++)if((c||g in d)&&(h=v(p=d[g],g,y),t))if(e)S[g]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return g;case 2:ui(S,p)}else switch(t){case 4:return!1;case 7:ui(S,p)}return i?-1:n||o?o:S}},ai={forEach:ci(0),map:ci(1),filter:ci(2),some:ci(3),every:ci(4),find:ci(5),findIndex:ci(6),filterReject:ci(7)},fi=n,si=ai.forEach,li=u,pi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},hi=Lo,yi=function(t,e){var r=[][t];return!!r&&fi((function(){r.call(null,e||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return si(this,t,arguments.length>1?arguments[1]:void 0)},di=Re,vi=function(t){if(t&&t.forEach!==yi)try{di(t,"forEach",yi)}catch(e){t.forEach=yi}};for(var bi in pi)pi[bi]&&vi(li[bi]&&li[bi].prototype);vi(hi);var gi={};gi.f=Object.getOwnPropertySymbols;var mi=q,Si=xr,Oi=gi,wi=R,Ci=p([].concat),ji=mi("Reflect","ownKeys")||function(t){var e=Si.f(wi(t)),r=Oi.f;return r?Ci(e,r(t)):e},Ei=Dt,Li=ji,Ti=yn,Ni=L,Pi=u,_i=yn.f,xi=Re,ki=Sr,Ii=Lt,Ai=function(t,e,r){for(var n=Li(e),o=Ni.f,i=Ti.f,u=0;u<n.length;u++){var c=n[u];Ei(t,c)||r&&Ei(r,c)||o(t,c,i(e,c))}},Mi=E,Fi=function(t,e){var r,n,o,i,u,c=t.target,a=t.global,f=t.stat;if(r=a?Pi:f?Pi[c]||Ii(c,{}):(Pi[c]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(u=_i(r,n))&&u.value:r[n],!Mi(a?n:c+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ai(i,o)}(t.sham||o&&o.sham)&&xi(i,"sham",!0),ki(r,n,i,t)}},Vi=n,Di=et,Gi=te("species"),Ri=function(t){return Di>=51||!Vi((function(){var e=[];return(e.constructor={})[Gi]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},$i=ai.map;Fi({target:"Array",proto:!0,forced:!Ri("map")},{map:function(t){return $i(this,t,arguments.length>1?arguments[1]:void 0)}});var zi=ai.filter;Fi({target:"Array",proto:!0,forced:!Ri("filter")},{filter:function(t){return zi(this,t,arguments.length>1?arguments[1]:void 0)}});var Bi={name:"BaseSelectCheckbox",props:{data:{type:Array,default:function(){return[]}},panelWidth:{type:String,default:""},value:{type:[String,Number,Array],required:!0},displayValue:{type:String,default:"name"},bindValue:{type:String,default:"id"},maxChoiceNum:{type:[String,Number],default:1e3},bindChildren:{type:String,default:"children"}},model:{prop:"value",event:"selectChange"},watch:{value:{handler:function(){},deep:!0}},computed:{},mounted:function(){var t=this;setTimeout((function(){t.initParams()}),1500)},data:function(){return this.h=this.$createElement,{value1:[],checkedCities:[]}},methods:{initParams:function(){var t=this;this.checkedCities=[],this.value.forEach((function(e){t.recursionCom(t.data,e,t.bindValue)})),this.recursionCom.length&&(this.value1=this.checkedCities.map((function(e){return e[t.displayValue]}))),this.$emit("returnparam",this.checkedCities)},recursionCom:function(t,e,r){var n=this;t.forEach((function(t){t[r]===e&&n.checkedCities.push(t),t[n.bindChildren]&&n.recursionCom(t[n.bindChildren],e,r)}))},createCheckGroup:function(){var t=this;return this.h("el-checkbox-group",{props:{value:this.checkedCities,max:this.maxChoiceNum},on:{change:function(e){t.value1=t.checkedCities.map((function(e){return e[t.displayValue]}));var r=t.checkedCities.map((function(e){return e[t.bindValue]}));t.$emit("selectChange",r),t.$emit("returnparam",e)},input:function(e){t.checkedCities=e}}},this.createCheckBox())},createCheckBox:function(){var t=this;return this.data.map((function(e){return t.h("div",{},[t.h("div",{style:{fontSize:"16px",margin:"8px 0"}},[e[t.displayValue]]),t.h("div",{},[e.children.map((function(e){return t.h("el-checkbox",{props:{label:e}},[e[t.displayValue]])}))])])}))}},render:function(t){var e=this;return t("div",{},[t("el-select",{props:{value:this.value1,multiple:!0,clearable:!0},on:{clear:function(){e.value1=[],e.checkedCities=[],e.$emit("selectChange",[]),e.$emit("returnparam",[])},"remove-tag":function(t){e.checkedCities=[],e.value1=e.value1.filter((function(e){return e!==t})),e.value1.forEach((function(t){e.recursionCom(e.data,t,e.displayValue)}));var r=e.checkedCities.map((function(t){return t[e.bindValue]}));e.$emit("selectChange",r),e.$emit("returnparam",e.checkedCities)}}},[t("div",{slot:"empty",style:{width:this.panelWidth?this.panelWidth:"100%",height:"280px",padding:"10px"}},[t("div",{style:{width:"100%",height:this.$slots.default?"20px":0}},this.$slots.default),t("div",{style:{width:"100%",height:this.$slots.default?"calc(100% - 20px)":"100%",overflow:"auto"}},[this.createCheckGroup()])])])])}};exports.BaseSelectCheckbox=Bi;