1 |
- System.register(["./index-legacy.44baf7f8.js","./index-legacy.e64eb9e9.js","./index-legacy.f7167289.js","./header-legacy.94ced5d0.js","./index-legacy.b2528a15.js","./music-legacy.80266f81.js","./hooks-legacy.fb8d6c34.js","./index-legacy.4f922f18.js","./index-legacy.9cbe7ce8.js","./use-tab-status-legacy.5c2c2da3.js","./index-legacy.3f4943f0.js","./index-legacy.7e6f30e7.js","./use-id-legacy.4f071235.js","./use-refs-legacy.2f8acfce.js","./index-legacy.a87134f4.js","./index-legacy.207dc8c2.js","./index-legacy.ab501af1.js","./select-subject-legacy.c994b589.js","./index-legacy.edff980f.js","./index-legacy.3a0d59fb.js","./index-legacy.73f03537.js","./index-legacy.ca42ae97.js","./icon-xin-legacy.18ed4a9d.js","./select-tag-legacy.9deb7724.js","./index-legacy.987f23f1.js","./index-legacy.7d3d7cf1.js","./index-legacy.6e10cd37.js","./index-legacy.a493c461.js","./index.module-legacy.7ae59c2a.js","./index-legacy.21779c2e.js","./icon_uploader-legacy.db3a8c90.js","./icon_album-legacy.d489a774.js","./icon_album_active-legacy.d2829e23.js","./icon_exquisite-legacy.178b582f.js","./icon_music_active-legacy.cc68af68.js","./icon-play-legacy.50b88257.js","./index-legacy.81a64bb6.js","./index-legacy.f75b8290.js","./use-height-legacy.2a153aaf.js","./index-legacy.c610561c.js"],(function(e){"use strict";var n,c,a,i,u,l,f,t,s,o,d,g,r,j,y;return{setters:[function(e){n=e.c},function(e){c=e.default},function(e){a=e.default},function(e){i=e.m,u=e.s},function(e){l=e.d,f=e.P,t=e.Q,s=e.U,o=e.V,d=e.bC,g=e.i},function(e){r=e.g},function(e){j=e.a,y=e.S},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){e("default",l({name:"MusicSearch",emits:["confirm"],setup:function(){localStorage.setItem("behaviorId",r());var e=f(),l=t(),v=s(e.query.keyword||""),b=s(e.query.tagids||""),m=s(),x=s(!1),h=n("music-search",[]),S=s("songe"),I=j(y.SEARCH);m.value=I.id;var p=function(e){var n,c;v.value=e;var a=h.value.indexOf(e);a>-1&&h.value.splice(a,1),e&&(h.value.unshift(e),h.value.length=Math.min(h.value.length,5)),null===(n=(c=("album"===S.value?q:T).value).onSearch)||void 0===n||n.call(c,e)},_=function(e){var n,c,a=Object.values(e).flat().filter(Boolean).join(",");b.value=a,null===(n=(c=("album"===S.value?q:T).value).onComfirm)||void 0===n||n.call(c,e),x.value=!1},C=function(e){var n,c;m.value=e.id,null===(n=(c=("album"===S.value?q:T).value).onComfirmSubject)||void 0===n||n.call(c,e)},q=s(null),T=s(null),k=function(e){S.value=e};return o((function(){i.on("changeTab",k),i.on("search",p),i.on("confirm",_),i.on("confirmSubject",C)})),d((function(){i.off("changeTab",k),i.off("search",p),i.off("confirm",_),i.off("confirmSubject",C)})),function(){return g("div",{class:u.search},["album"===S.value?g(c,{hideSearch:!0,ref:q,defauleParams:{search:v.value,tagids:b.value,albumTagIds:b.value,subjectIds:m.value}},null):g(a,{hideSearch:!0,ref:T,onItemClick:function(n){l.push({path:"/music-detail",query:{id:n.id,albumId:e.params.id}})},defauleParams:{search:v.value,tagids:b.value,musicTagIds:b.value,subjectIds:m.value}},null)])}}}))}}}));
|