PageSourceSearch

https://cahiersafricains.com/_nuxt/Beo63cny.js

js cahiersafricains.com collected 2026-10-06 17:00:53 UTC 2,164 bytes, 1 lines download raw bytes

1import{_ as U}from"./C1tHJQkS.js";import{_ as D}from"./DBr9AmEg.js";import{_ as I}from"./DZ-tcpdP.js";import{P as S}from"./CwJ1TlaY.js";import{u as T}from"./DBniYehG.js";import{d as q,a as w,j as n,k as N,b as y,o as l,e as g,f as h,i as _,g as t,s as R}from"./DvYsSARs.js";import"./9sJ-dY--.js";import"./DdPALy2O.js";import"./CCaFlLis.js";import"./DlAai6Mn.js";import"./SEV47QXu.js";import"./C174hTF6.js";import"./CLDdK3p8.js";import"./BSCy8xD7.js";import"./9FUplgBl.js";import"./BkdmuJg9.js";import"./CU2c3V00.js";import"./CZTAu6YZ.js";import"./CMw5ukFL.js";import"./Dxxncf46.js";import"./DVMbtpht.js";import"./CoPyHsik.js";import"./C0i8_Uf2.js";import"./-gdSATQk.js";import"./znIm5TNX.js";const j={class:""},F={class:"flex-1 p-4 sm:p-6 lg:p-8"},H={key:1,class:""},z={class:""},ve=q({__name:"index",setup(G){const b=T();w({title:"Contribution"});const i=n(!1),o=n([]),u=n(null),r=n(1),d=n(0),c=n(!1),s=n(!1),p=n("create_version");function k(e){i.value=!0,u.value=e,p.value="update"}function x(e){i.value=!0,u.value=e,p.value="create_version",console.log("ok")}function V(){i.value=!0}function B(){i.value=!1}function E(e){r.value=e,m()}async function M(e){P(),await m(e)}function P(){o.value=[],c.value=!1,s.value=!1,r.value=1}async function m(e=""){try{s.value=!0;const{data:a}=await b.getMe(r.value,e);o.value=a.member,d.value=a.totalItems,s.value=!1}catch{c.value=!0}finally{}}function f(e){o.value=o.value.filter(a=>a.uniqId!==e.uniqId),o.value.unshift(e)}return N(()=>{m()}),(e,a)=>{const A=U,v=D,C=I;return l(),y("div",j,[g(S,{onOnAdd:V,onOnSearch:M}),h("div",F,[g(A,{modelValue:t(i),"onUpdate:modelValue":a[0]||(a[0]=O=>R(i)?i.value=O:null),type:t(p),entity:t(u),onClose:B,onUpdateEntityTable:f},null,8,["modelValue","type","entity"]),t(s)?(l(),_(v,{key:0,"data-loading":t(s)},null,8,["data-loading"])):(l(),y("div",H,[h("div",z,[t(o).length>0?(l(),_(C,{key:0,onOpenUpdateEntityModal:k,onOpenAddVersionModal:x,onChangePage:E,onUpdateEntityTable:f,entities:t(o),"total-items":t(d),page:t(r)},null,8,["entities","total-items","page"])):(l(),_(v,{key:1,empty:t(o).length===0,"is-error":t(c)},null,8,["empty","is-error"]))])]))])])}}});export{ve 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.