1 |
- System.register(["./index-legacy.e29ebc18.js","./index-legacy.8ab2848d.js","./index-legacy.769ba996.js","./index-legacy.8782e390.js","./header-legacy.42ac9a85.js","./music-legacy.44152ebc.js","./hooks-legacy.894ea94a.js","./index-legacy.34375aa8.js","./index-legacy.0389f2f7.js","./use-tab-status-legacy.4656d4d6.js","./index-legacy.da20f473.js","./index-legacy.edf184f2.js","./use-id-legacy.6fce8b0d.js","./use-refs-legacy.023819b4.js","./index-legacy.94b6d64c.js","./index-legacy.06d9aa13.js","./index-legacy.1e1ec9e6.js","./select-subject-legacy.3d1d470f.js","./index-legacy.9a585ba5.js","./index-legacy.da271bf1.js","./index-legacy.0476c0b9.js","./index-legacy.bd25e127.js","./icon-xin-legacy.18ed4a9d.js","./select-tag-legacy.5c0f9c23.js","./index-legacy.246e5e3c.js","./index-legacy.e79acf3d.js","./index-legacy.6e10cd37.js","./index-legacy.8a3c049a.js","./index.module-legacy.7ae59c2a.js","./index-legacy.971a5a1b.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.328e8c31.js","./index-legacy.ec3a5bfc.js","./use-height-legacy.ea04c122.js"],(function(e){"use strict";var n,c,a,u,i,l,t,s,o,f,d,g,r,j,y;return{setters:[function(e){n=e.d,c=e.O,a=e.P,u=e.S,i=e.U,l=e.bC,t=e.j},function(e){s=e.c},function(e){o=e.default},function(e){f=e.default},function(e){d=e.m,g=e.s},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(){}],execute:function(){e("default",n({name:"MusicSearch",emits:["confirm"],setup:function(){localStorage.setItem("behaviorId",r());var e=c(),n=a(),v=u(e.query.keyword||""),b=u(e.query.tagids||""),m=u(),x=u(!1),h=s("music-search",[]),S=u("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=u(null),T=u(null),k=function(e){S.value=e};return i((function(){d.on("changeTab",k),d.on("search",p),d.on("confirm",_),d.on("confirmSubject",C)})),l((function(){d.off("changeTab",k),d.off("search",p),d.off("confirm",_),d.off("confirmSubject",C)})),function(){return t("div",{class:g.search},["album"===S.value?t(o,{hideSearch:!0,ref:q,defauleParams:{search:v.value,tagids:b.value,albumTagIds:b.value,subjectIds:m.value}},null):t(f,{hideSearch:!0,ref:T,onItemClick:function(c){n.push({path:"/music-detail",query:{id:c.id,albumId:e.params.id}})},defauleParams:{search:v.value,tagids:b.value,musicTagIds:b.value,subjectIds:m.value}},null)])}}}))}}}));
|