PageSourceSearch

https://seriesaddict.fr/assets/chaines-D5ANdLiw.js

js seriesaddict.fr collected 2026-10-02 06:30:35 UTC 4,465 bytes, 1 lines download raw bytes

1import{_ as e}from"./SAConfirmDeletion.vue_vue_type_script_setup_true_lang-D5OfULvC.js";import{_ as t}from"./HandleSerieWithItem.vue_vue_type_script_setup_true_lang-BNFiNqAN.js";import{_ as a}from"./AddEditChannel.vue_vue_type_script_setup_true_lang-BKdl7FQq.js";import{_ as s}from"./VLoader.vue_vue_type_style_index_0_lang-CDfFGEG0.js";import{_ as i}from"./VFlexPagination-Brn7tJ-c.js";import{_ as o}from"./SAItemWithSeries-CwlKHrdw.js";import{_ as l}from"./IsEmpty-Cv0f8zgL.js";import{_ as n}from"./VButton.vue_vue_type_style_index_0_lang-2ixw7Nsq.js";import{_ as r}from"./VIconButton.vue_vue_type_script_lang-1aTcTqVa.js";import{_ as u}from"./VBreadcrumb.vue_vue_type_style_index_0_lang-CeSBuhFn.js";import{q as p,r as c,o as _,a as d,C as m,f as v,x as g,d as y,J as h,N as f,z as j,I as w,O as x,y as b,b as k,k as S,F as P,j as A}from"./index-CBidmUkf.js";import{u as V}from"./viewWrapper-CSq1cahJ.js";import{u as C}from"./defaultResource-nNNw8NJ5.js";import{b as H}from"./route-block-B_A1xBdJ.js";import"./VModal.vue_vue_type_style_index_0_lang-DbjVMeUF.js";import"./SAAlertText-CRexs1kr.js";import"./_plugin-vue_export-helper-BCo6x5W8.js";import"./SAHover-C24iZr9Z.js";import"./HandleRecommendation.vue_vue_type_script_setup_true_lang-B9tvlw0N.js";import"./SAMember-CFjQiQP-.js";import"./customResource-DTYch6s3.js";import"./useNotyf-C4gVVOZS.js";import"./VInput.vue_vue_type_script_setup_true_lang-aAuqgsTm.js";import"./SANoteVal-AvgpKuci.js";import"./vue-quill.snow-Bv1oNpP4.js";const I={class:"is-app_container"},q={class:"container pt-5"},D={class:"is-flex is-justify-content-space-between mb-5"},E={class:"is-flex gap-1"},N={class:"search-widget",style:{"min-width":"400px"}},R={class:"field"},W={class:"control"},$=["disabled"],B={class:"is-grid grid-cols-4 gap-2 mb-5"},F=p({__name:"chaines",setup(p){const H=C(),F=V(),U=[{icon:"feather:home",to:{name:"/app/"}},{icon:"solar:station-minimalistic-bold-duotone",label:"Chaines"}],z=c([]),L=c(),M=c(!1),O=c(!1),T=c(!1),J=c(""),K=c({currentPage:1,perPage:12,total:0}),X=async e=>{K.value.currentPage=e,await Y()},G=async()=>{J.value="",await Y()},Q=()=>{L.value=void 0,M.value=!1},Y=async()=>{const e=K.value.currentPage,t=J.value,a=K.value.perPage,{total:s,data:i}=await H.list(`full-channels?p=${e}&limit=${a}&q=${t}`,!0);z.value=i,K.value.total=s};return _(async()=>{F.setPageTitle("Chaines"),await Y()}),(p,c)=>{const _=u,V=r,C=n,F=l,Z=o,ee=i,te=s,ae=a,se=t,ie=e;return k(),d("div",I,[m(_,{class:"r-card",items:U,separator:"arrow","with-icons":""}),v("section",q,[v("div",D,[v("div",E,[v("div",N,[v("div",R,[v("div",W,[h(v("input",{"onUpdate:modelValue":c[0]||(c[0]=e=>x(J)?J.value=e:null),type:"text",class:"input",placeholder:"Search...",onKeypress:w(Y,["enter"])},null,544),[[f,j(J)]]),v("button",{class:"search-button",disabled:j(J).length<1,onClick:Y},[...c[5]||(c[5]=[v("i",{"aria-hidden":"true",class:"iconify","data-icon":"feather:search"},null,-1)])],8,$)])])]),j(J).length>1?(k(),g(V,{key:0,icon:"solar:restart-line-duotone",color:"success",style:{width:"42px",height:"42px"},elevated:"",onClick:G})):y("",!0)]),m(C,{color:"primary",icon:"solar:add-square-bold-duotone",elevated:"",onClick:c[1]||(c[1]=()=>{L.value=void 0,M.value=!0})},{default:b(()=>[...c[6]||(c[6]=[S(" Chaine ",-1)])]),_:1})]),m(te,{size:"large",active:j(H).isLoading},{default:b(()=>{var e;return[0===(null==(e=j(z))?void 0:e.length)?(k(),g(F,{key:0,img:"search-1"})):(k(),d(P,{key:1},[v("div",B,[(k(!0),d(P,null,A(j(z),(e,t)=>(k(),g(Z,{key:t,entity:e,tag:"chaines","is-admin":"",onEdit:()=>{L.value=e,M.value=!0},onAdd:()=>{L.value=e,T.value=!0},onDelete:()=>{L.value=e,O.value=!0}},null,8,["entity","onEdit","onAdd","onDelete"]))),128))]),j(K).total>j(K).perPage?(k(),g(ee,{key:0,"current-page":j(K).currentPage,"onUpdate:currentPage":[c[2]||(c[2]=e=>j(K).currentPage=e),X],"item-per-page":j(K).perPage,"total-items":j(K).total,"max-links-displayed":2,"no-router":""},null,8,["current-page","item-per-page","total-items"])):y("",!0)],64))]}),_:1},8,["active"])]),j(M)?(k(),g(ae,{key:0,show:j(M),channel:j(L),onHide:Q,onSuccess:Y},null,8,["show","channel"])):y("",!0),j(T)?(k(),g(se,{key:1,show:j(T),item:j(L),target:"channels","is-uniq":"",onHide:c[3]||(c[3]=e=>T.value=!1),onSuccess:Y},null,8,["show","item"])):y("",!0),j(O)?(k(),g(ie,{key:2,show:j(O),item:j(L),target:"channels",onHide:c[4]||(c[4]=e=>O.value=!1),onSuccess:Y},null,8,["show","item"])):y("",!0)])}}});"function"==typeof H&&H(F);export{F as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.