index-legacy.67870cbf.js 3.3 KB

1
  1. System.register(["./index-legacy.a9cc406e.js","./index-legacy.4930ffc1.js","./index-legacy.9df359ec.js","./header-legacy.951cecf1.js","./index-legacy.f8641610.js","./music-legacy.1c924052.js","./hooks-legacy.1d4168e3.js","./index-legacy.4ddb0119.js","./index-legacy.13f535d5.js","./use-tab-status-legacy.5d29085f.js","./index-legacy.00d337cc.js","./index-legacy.a8de4840.js","./use-id-legacy.30c2e9af.js","./use-refs-legacy.e503281e.js","./index-legacy.e8dcdcc8.js","./index-legacy.fc510843.js","./index-legacy.8a3dede6.js","./select-subject-legacy.484824c5.js","./index-legacy.28050159.js","./index-legacy.ab4325ad.js","./index-legacy.9d6d2a5c.js","./index-legacy.c8b60294.js","./icon-xin-legacy.18ed4a9d.js","./select-tag-legacy.b1189321.js","./index-legacy.421c6f71.js","./index-legacy.aee47fad.js","./index-legacy.6e10cd37.js","./index-legacy.d8170ee0.js","./index.module-legacy.7ae59c2a.js","./index-legacy.2c7bb048.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.78c8492b.js","./index-legacy.90f7f902.js","./use-height-legacy.be763bb2.js","./index-legacy.c3bbeade.js"],(function(e){"use strict";var c,n,a,i,u,l,t,f,s,o,d,g,r,j,y;return{setters:[function(e){c=e.c},function(e){n=e.default},function(e){a=e.default},function(e){i=e.m,u=e.s},function(e){l=e.d,t=e.P,f=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=t(),l=f(),v=s(e.query.keyword||""),b=s(e.query.tagids||""),m=s(),x=s(!1),h=c("music-search",[]),S=s("songe"),I=j(y.SEARCH);m.value=I.id;var p=function(e){var c,n;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===(c=(n=("album"===S.value?q:T).value).onSearch)||void 0===c||c.call(n,e)},_=function(e){var c,n,a=Object.values(e).flat().filter(Boolean).join(",");b.value=a,null===(c=(n=("album"===S.value?q:T).value).onComfirm)||void 0===c||c.call(n,e),x.value=!1},C=function(e){var c,n;m.value=e.id,null===(c=(n=("album"===S.value?q:T).value).onComfirmSubject)||void 0===c||c.call(n,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(n,{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(c){l.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)])}}}))}}}));