This commit is contained in:
Laureηt 2023-09-06 22:54:14 +02:00
parent e07d96afbe
commit 32fe5c7ec6
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
9 changed files with 97 additions and 103 deletions

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;600&family=Roboto+Slab:wght@200;400;600&family=Roboto+Mono:wght@200;400;600&display=swap" type="text/css">
<script type="module" crossorigin src="/projet-fin-etude/assets/index-d6d34a4d.js"></script>
<script type="module" crossorigin src="/projet-fin-etude/assets/index-621d9fd0.js"></script>
<link rel="stylesheet" href="/projet-fin-etude/assets/index-85c84566.css">
</head>
<body>

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
import{d as r,i as s,a as i,al as u,B as c,M as d,aj as a,Q as m,am as _,an as f,o as p,f as v,E,h as o,aa as t,_ as g}from"./index-d6d34a4d.js";const h=r({__name:"DrawingLayer",setup(w){s(i);const l=s(u),e=c();return d(()=>{a.mount(e.value,e.value.parentElement),m(l,n=>a.options.coordinateScale=1/n,{immediate:!0}),_()}),f(()=>{a.unmount()}),(n,C)=>(p(),v("svg",{ref_key:"svg",ref:e,class:E(["w-full h-full absolute top-0",{"pointer-events-none":!o(t),"touch-none":o(t)}])},null,2))}}),b=g(h,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{b as default};
import{d as r,i as s,a as i,al as u,B as c,M as d,aj as a,Q as m,am as _,an as f,o as p,f as v,E,h as o,aa as t,_ as g}from"./index-621d9fd0.js";const h=r({__name:"DrawingLayer",setup(w){s(i);const l=s(u),e=c();return d(()=>{a.mount(e.value,e.value.parentElement),m(l,n=>a.options.coordinateScale=1/n,{immediate:!0}),_()}),f(()=>{a.unmount()}),(n,C)=>(p(),v("svg",{ref_key:"svg",ref:e,class:E(["w-full h-full absolute top-0",{"pointer-events-none":!o(t),"touch-none":o(t)}])},null,2))}}),b=g(h,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{b as default};

View file

@ -1 +1 @@
import{d as c,i as u,a as d,o as n,f as s,E as l,g as r,t as a,_ as m}from"./index-d6d34a4d.js";const f=["innerHTML"],k=["textContent"],v=["textContent"],y=c({__name:"NoteDisplay",props:{class:{type:String,required:!1},noteHtml:{type:String,required:!1},note:{type:String,required:!1},placeholder:{type:String,required:!1}},emits:["click"],setup(p){const o=p;return u(d),(e,t)=>e.noteHtml?(n(),s("div",{key:0,class:l(["prose overflow-auto outline-none",o.class]),onClick:t[0]||(t[0]=i=>e.$emit("click")),innerHTML:e.noteHtml},null,10,f)):e.note?(n(),s("div",{key:1,class:l(["prose overflow-auto outline-none",o.class]),onClick:t[1]||(t[1]=i=>e.$emit("click"))},[r("p",{textContent:a(e.note)},null,8,k)],2)):(n(),s("div",{key:2,class:l(["prose overflow-auto outline-none opacity-50 italic",o.class]),onClick:t[2]||(t[2]=i=>e.$emit("click"))},[r("p",{textContent:a(o.placeholder||"No notes.")},null,8,v)],2))}}),N=m(y,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/NoteDisplay.vue"]]);export{N};
import{d as c,i as u,a as d,o as n,f as s,E as l,g as r,t as a,_ as m}from"./index-621d9fd0.js";const f=["innerHTML"],k=["textContent"],v=["textContent"],y=c({__name:"NoteDisplay",props:{class:{type:String,required:!1},noteHtml:{type:String,required:!1},note:{type:String,required:!1},placeholder:{type:String,required:!1}},emits:["click"],setup(p){const o=p;return u(d),(e,t)=>e.noteHtml?(n(),s("div",{key:0,class:l(["prose overflow-auto outline-none",o.class]),onClick:t[0]||(t[0]=i=>e.$emit("click")),innerHTML:e.noteHtml},null,10,f)):e.note?(n(),s("div",{key:1,class:l(["prose overflow-auto outline-none",o.class]),onClick:t[1]||(t[1]=i=>e.$emit("click"))},[r("p",{textContent:a(e.note)},null,8,k)],2)):(n(),s("div",{key:2,class:l(["prose overflow-auto outline-none opacity-50 italic",o.class]),onClick:t[2]||(t[2]=i=>e.$emit("click"))},[r("p",{textContent:a(o.placeholder||"No notes.")},null,8,v)],2))}}),N=m(y,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/NoteDisplay.vue"]]);export{N};

View file

@ -1 +1 @@
import{o as n,f as i,g as e,d as I,i as U,a as q,c as k,b as G,s as J,v as d,w as u,j as M,n as F,h as o,m as a,p as K,x as L,t as V,F as O,k as B,y as Q,z as W,A as X,_ as Y}from"./index-d6d34a4d.js";import{N as H}from"./NoteDisplay-6984e6f7.js";const ee={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},te=e("path",{fill:"currentColor",d:"M8 12h10v2H8z"},null,-1),oe=e("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9Z"},null,-1),ne=[te,oe];function se(_,c){return n(),i("svg",ee,ne)}const le={name:"carbon-zoom-out",render:se},ae={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ie=e("path",{fill:"currentColor",d:"M18 12h-4V8h-2v4H8v2h4v4h2v-4h4v-2z"},null,-1),ce=e("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9Z"},null,-1),re=[ie,ce];function de(_,c){return n(),i("svg",ae,re)}const ue={name:"carbon-zoom-in",render:de},_e={class:"h-full flex flex-col"},pe={key:0,class:"px-5 py-2 max-h-60 overflow-auto border-t border-gray-400 border-opacity-20"},me={class:"flex-none border-t border-gray-400 border-opacity-20"},ve={class:"flex gap-1 items-center px-6 py-3"},he=e("div",{class:"flex-auto"},null,-1),fe={class:"p2 text-center"},xe=I({__name:"NotesView",setup(_){U(q);const c=k.titleTemplate.replace("%s",k.title||"Slidev");G({title:`Notes - ${c}`});const{isFullscreen:E,toggle:p}=Q,s=J("slidev-notes-font-size",18),l=d(()=>{var t;return((t=u.lastUpdate)==null?void 0:t.type)==="viewer"?u.viewerPage:u.page}),m=d(()=>M.find(t=>t.path===`${l.value}`)),r=d(()=>M.find(t=>t.path===`${l.value+1}`));function T(){s.value=s.value+1}function Z(){s.value=s.value-1}return(t,v)=>{var h,f,x,g,b,y,z,$,w,N,C,S;const j=W,A=X,D=ue,R=le;return n(),i(O,null,[e("div",{class:"fixed top-0 left-0 h-2px bg-teal-500 transition-all duration-500",style:F({width:`${(l.value-1)/o(B)*100}%`})},null,4),e("div",_e,[e("div",{class:"px-5 flex-auto h-full overflow-auto",style:F({fontSize:`${o(s)}px`})},[a(H,{note:(x=(f=(h=m.value)==null?void 0:h.meta)==null?void 0:f.slide)==null?void 0:x.note,"note-html":(y=(b=(g=m.value)==null?void 0:g.meta)==null?void 0:b.slide)==null?void 0:y.noteHTML,placeholder:`No notes for Slide ${l.value}.`},null,8,["note","note-html","placeholder"])],4),r.value?(n(),i("div",pe,[a(H,{class:"opacity-50",note:(w=($=(z=r.value)==null?void 0:z.meta)==null?void 0:$.slide)==null?void 0:w.note,"note-html":(S=(C=(N=r.value)==null?void 0:N.meta)==null?void 0:C.slide)==null?void 0:S.noteHTML,placeholder:"No notes for next slide."},null,8,["note","note-html"])])):K("v-if",!0),e("div",me,[e("div",ve,[e("button",{class:"slidev-icon-btn",onClick:v[0]||(v[0]=(...P)=>o(p)&&o(p)(...P))},[o(E)?(n(),L(j,{key:0})):(n(),L(A,{key:1}))]),e("button",{class:"slidev-icon-btn",onClick:T},[a(D)]),e("button",{class:"slidev-icon-btn",onClick:Z},[a(R)]),he,e("div",fe,V(l.value)+" / "+V(o(B)),1)])])])],64)}}}),ye=Y(xe,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/NotesView.vue"]]);export{ye as default};
import{o as n,f as i,g as e,d as I,i as U,a as q,c as k,b as G,s as J,v as d,w as u,j as M,n as F,h as o,m as a,p as K,x as L,t as V,F as O,k as B,y as Q,z as W,A as X,_ as Y}from"./index-621d9fd0.js";import{N as H}from"./NoteDisplay-b086c452.js";const ee={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},te=e("path",{fill:"currentColor",d:"M8 12h10v2H8z"},null,-1),oe=e("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9Z"},null,-1),ne=[te,oe];function se(_,c){return n(),i("svg",ee,ne)}const le={name:"carbon-zoom-out",render:se},ae={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ie=e("path",{fill:"currentColor",d:"M18 12h-4V8h-2v4H8v2h4v4h2v-4h4v-2z"},null,-1),ce=e("path",{fill:"currentColor",d:"M21.448 20A10.856 10.856 0 0 0 24 13a11 11 0 1 0-11 11a10.856 10.856 0 0 0 7-2.552L27.586 29L29 27.586ZM13 22a9 9 0 1 1 9-9a9.01 9.01 0 0 1-9 9Z"},null,-1),re=[ie,ce];function de(_,c){return n(),i("svg",ae,re)}const ue={name:"carbon-zoom-in",render:de},_e={class:"h-full flex flex-col"},pe={key:0,class:"px-5 py-2 max-h-60 overflow-auto border-t border-gray-400 border-opacity-20"},me={class:"flex-none border-t border-gray-400 border-opacity-20"},ve={class:"flex gap-1 items-center px-6 py-3"},he=e("div",{class:"flex-auto"},null,-1),fe={class:"p2 text-center"},xe=I({__name:"NotesView",setup(_){U(q);const c=k.titleTemplate.replace("%s",k.title||"Slidev");G({title:`Notes - ${c}`});const{isFullscreen:E,toggle:p}=Q,s=J("slidev-notes-font-size",18),l=d(()=>{var t;return((t=u.lastUpdate)==null?void 0:t.type)==="viewer"?u.viewerPage:u.page}),m=d(()=>M.find(t=>t.path===`${l.value}`)),r=d(()=>M.find(t=>t.path===`${l.value+1}`));function T(){s.value=s.value+1}function Z(){s.value=s.value-1}return(t,v)=>{var h,f,x,g,b,y,z,$,w,N,C,S;const j=W,A=X,D=ue,R=le;return n(),i(O,null,[e("div",{class:"fixed top-0 left-0 h-2px bg-teal-500 transition-all duration-500",style:F({width:`${(l.value-1)/o(B)*100}%`})},null,4),e("div",_e,[e("div",{class:"px-5 flex-auto h-full overflow-auto",style:F({fontSize:`${o(s)}px`})},[a(H,{note:(x=(f=(h=m.value)==null?void 0:h.meta)==null?void 0:f.slide)==null?void 0:x.note,"note-html":(y=(b=(g=m.value)==null?void 0:g.meta)==null?void 0:b.slide)==null?void 0:y.noteHTML,placeholder:`No notes for Slide ${l.value}.`},null,8,["note","note-html","placeholder"])],4),r.value?(n(),i("div",pe,[a(H,{class:"opacity-50",note:(w=($=(z=r.value)==null?void 0:z.meta)==null?void 0:$.slide)==null?void 0:w.note,"note-html":(S=(C=(N=r.value)==null?void 0:N.meta)==null?void 0:C.slide)==null?void 0:S.noteHTML,placeholder:"No notes for next slide."},null,8,["note","note-html"])])):K("v-if",!0),e("div",me,[e("div",ve,[e("button",{class:"slidev-icon-btn",onClick:v[0]||(v[0]=(...P)=>o(p)&&o(p)(...P))},[o(E)?(n(),L(j,{key:0})):(n(),L(A,{key:1}))]),e("button",{class:"slidev-icon-btn",onClick:T},[a(D)]),e("button",{class:"slidev-icon-btn",onClick:Z},[a(R)]),he,e("div",fe,V(l.value)+" / "+V(o(B)),1)])])])],64)}}}),ye=Y(xe,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/NotesView.vue"]]);export{ye as default};

View file

@ -1 +1 @@
import{o as d,f as k,g as e,B as S,C as D,v as h,d as V,i as P,a as H,D as y,x as v,E as M,_ as B,G as I,H as z,c as b,b as F,I as N,J as R,K as A,L,M as j,N as q,O,P as U,Q as W,h as i,m as u,t as Z,n as x,R as $,S as E,p as G,T as J,U as w,V as K,F as Q,W as X,X as Y,w as ee,Y as te,Z as se,q as T,$ as oe,a0 as le,a1 as ne,a2 as ae,a3 as ie,k as re,a4 as ce}from"./index-d6d34a4d.js";import{N as ue}from"./NoteDisplay-6984e6f7.js";import de from"./DrawingControls-574185f1.js";const _e={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},me=e("path",{fill:"currentColor",d:"M12 10H6.78A11 11 0 0 1 27 16h2A13 13 0 0 0 6 7.68V4H4v8h8zm8 12h5.22A11 11 0 0 1 5 16H3a13 13 0 0 0 23 8.32V28h2v-8h-8z"},null,-1),pe=[me];function ve(o,n){return d(),k("svg",_e,pe)}const he={name:"carbon-renew",render:ve},fe={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ge=e("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14Zm0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4Z"},null,-1),xe=e("path",{fill:"currentColor",d:"M20.59 22L15 16.41V7h2v8.58l5 5.01L20.59 22z"},null,-1),we=[ge,xe];function Se(o,n){return d(),k("svg",fe,we)}const ye={name:"carbon-time",render:Se},ke="/projet-fin-etude/assets/logo-title-horizontal-96c3c915.png";function Ce(){const o=S(Date.now()),n=D({interval:1e3}),_=h(()=>{const t=(n.value-o.value)/1e3,l=Math.floor(t%60).toString().padStart(2,"0");return`${Math.floor(t/60).toString().padStart(2,"0")}:${l}`});function m(){o.value=n.value}return{timer:_,resetTimer:m}}const be=V({__name:"NoteStatic",props:{class:{type:String,required:!1}},setup(o){const n=o;P(H);const _=h(()=>{var t,l,s;return(s=(l=(t=y.value)==null?void 0:t.meta)==null?void 0:l.slide)==null?void 0:s.note}),m=h(()=>{var t,l,s;return(s=(l=(t=y.value)==null?void 0:t.meta)==null?void 0:l.slide)==null?void 0:s.noteHTML});return(t,l)=>(d(),v(ue,{class:M(n.class),note:_.value,"note-html":m.value},null,8,["class","note","note-html"]))}}),Ne=B(be,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/NoteStatic.vue"]]),f=o=>(X("data-v-574fd206"),o=o(),Y(),o),$e={class:"bg-main h-full slidev-presenter"},Ee={class:"grid-container"},Te={class:"grid-section top flex"},Ve=f(()=>e("img",{src:ke,class:"ml-2 my-auto h-10 py-1 lg:h-14 lg:py-2",style:{height:"3.5rem"}},null,-1)),Pe=f(()=>e("div",{class:"flex-auto"},null,-1)),He={class:"text-2xl pl-2 pr-6 my-auto tabular-nums"},Me=f(()=>e("div",{class:"context"}," current ",-1)),Be=f(()=>e("div",{class:"context"}," next ",-1)),De={class:"grid-section note overflow-auto"},Ie={class:"grid-section bottom"},ze={class:"progress-bar"},Fe=V({__name:"Presenter",setup(o){P(H);const n=S();I(),z(n);const _=b.titleTemplate.replace("%s",b.title||"Slidev");F({title:`Presenter - ${_}`});const{timer:m,resetTimer:t}=Ce(),l=S([]),s=h(()=>N.value<R.value?{route:y.value,clicks:N.value+1}:A.value?{route:L.value,clicks:0}:null);return j(()=>{const C=n.value.querySelector("#slide-content"),r=q(O()),g=U();W(()=>{if(!g.value||te.value||!se.value)return;const c=C.getBoundingClientRect(),a=(r.x-c.left)/c.width*100,p=(r.y-c.top)/c.height*100;if(!(a<0||a>100||p<0||p>100))return{x:a,y:p}},c=>{ee.cursor=c})}),(C,r)=>{const g=ye,c=he;return d(),k(Q,null,[e("div",$e,[e("div",Ee,[e("div",Te,[Ve,Pe,e("div",{class:"timer-btn my-auto relative w-22px h-22px cursor-pointer text-lg",opacity:"50 hover:100",onClick:r[0]||(r[0]=(...a)=>i(t)&&i(t)(...a))},[u(g,{class:"absolute"}),u(c,{class:"absolute opacity-0"})]),e("div",He,Z(i(m)),1)]),e("div",{ref_key:"main",ref:n,class:"relative grid-section main flex flex-col p-2 lg:p-4",style:x(i(T))},[u(E,{key:"main",class:"h-full w-full"},{default:$(()=>[u(oe,{context:"presenter"})]),_:1}),Me],4),e("div",{class:"relative grid-section next flex flex-col p-2 lg:p-4",style:x(i(T))},[s.value?(d(),v(E,{key:"next",class:"h-full w-full"},{default:$(()=>{var a;return[u(i(ne),{is:(a=s.value.route)==null?void 0:a.component,"clicks-elements":l.value,"onUpdate:clicksElements":r[1]||(r[1]=p=>l.value=p),clicks:s.value.clicks,"clicks-disabled":!1,class:M(i(le)(s.value.route)),route:s.value.route,context:"previewNext"},null,8,["is","clicks-elements","clicks","class","route"])]}),_:1})):G("v-if",!0),Be],4),e("div",De,[(d(),v(Ne,{key:1,class:"w-full max-w-full h-full overflow-auto p-2 lg:p-4"}))]),e("div",Ie,[u(ae,{persist:!0})]),(d(),v(de,{key:0}))]),e("div",ze,[e("div",{class:"progress h-2px bg-primary transition-all",style:x({width:`${(i(ie)-1)/(i(re)-1)*100}%`})},null,4)])]),u(ce),u(K,{modelValue:i(w),"onUpdate:modelValue":r[2]||(r[2]=a=>J(w)?w.value=a:null)},null,8,["modelValue"])],64)}}});const je=B(Fe,[["__scopeId","data-v-574fd206"],["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/Presenter.vue"]]);export{je as default};
import{o as d,f as k,g as e,B as S,C as D,v as h,d as V,i as P,a as H,D as y,x as v,E as M,_ as B,G as I,H as z,c as b,b as F,I as N,J as R,K as A,L,M as j,N as q,O,P as U,Q as W,h as i,m as u,t as Z,n as x,R as $,S as E,p as G,T as J,U as w,V as K,F as Q,W as X,X as Y,w as ee,Y as te,Z as se,q as T,$ as oe,a0 as le,a1 as ne,a2 as ae,a3 as ie,k as re,a4 as ce}from"./index-621d9fd0.js";import{N as ue}from"./NoteDisplay-b086c452.js";import de from"./DrawingControls-b71ecd01.js";const _e={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},me=e("path",{fill:"currentColor",d:"M12 10H6.78A11 11 0 0 1 27 16h2A13 13 0 0 0 6 7.68V4H4v8h8zm8 12h5.22A11 11 0 0 1 5 16H3a13 13 0 0 0 23 8.32V28h2v-8h-8z"},null,-1),pe=[me];function ve(o,n){return d(),k("svg",_e,pe)}const he={name:"carbon-renew",render:ve},fe={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},ge=e("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14Zm0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4Z"},null,-1),xe=e("path",{fill:"currentColor",d:"M20.59 22L15 16.41V7h2v8.58l5 5.01L20.59 22z"},null,-1),we=[ge,xe];function Se(o,n){return d(),k("svg",fe,we)}const ye={name:"carbon-time",render:Se},ke="/projet-fin-etude/assets/logo-title-horizontal-96c3c915.png";function Ce(){const o=S(Date.now()),n=D({interval:1e3}),_=h(()=>{const t=(n.value-o.value)/1e3,l=Math.floor(t%60).toString().padStart(2,"0");return`${Math.floor(t/60).toString().padStart(2,"0")}:${l}`});function m(){o.value=n.value}return{timer:_,resetTimer:m}}const be=V({__name:"NoteStatic",props:{class:{type:String,required:!1}},setup(o){const n=o;P(H);const _=h(()=>{var t,l,s;return(s=(l=(t=y.value)==null?void 0:t.meta)==null?void 0:l.slide)==null?void 0:s.note}),m=h(()=>{var t,l,s;return(s=(l=(t=y.value)==null?void 0:t.meta)==null?void 0:l.slide)==null?void 0:s.noteHTML});return(t,l)=>(d(),v(ue,{class:M(n.class),note:_.value,"note-html":m.value},null,8,["class","note","note-html"]))}}),Ne=B(be,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/NoteStatic.vue"]]),f=o=>(X("data-v-574fd206"),o=o(),Y(),o),$e={class:"bg-main h-full slidev-presenter"},Ee={class:"grid-container"},Te={class:"grid-section top flex"},Ve=f(()=>e("img",{src:ke,class:"ml-2 my-auto h-10 py-1 lg:h-14 lg:py-2",style:{height:"3.5rem"}},null,-1)),Pe=f(()=>e("div",{class:"flex-auto"},null,-1)),He={class:"text-2xl pl-2 pr-6 my-auto tabular-nums"},Me=f(()=>e("div",{class:"context"}," current ",-1)),Be=f(()=>e("div",{class:"context"}," next ",-1)),De={class:"grid-section note overflow-auto"},Ie={class:"grid-section bottom"},ze={class:"progress-bar"},Fe=V({__name:"Presenter",setup(o){P(H);const n=S();I(),z(n);const _=b.titleTemplate.replace("%s",b.title||"Slidev");F({title:`Presenter - ${_}`});const{timer:m,resetTimer:t}=Ce(),l=S([]),s=h(()=>N.value<R.value?{route:y.value,clicks:N.value+1}:A.value?{route:L.value,clicks:0}:null);return j(()=>{const C=n.value.querySelector("#slide-content"),r=q(O()),g=U();W(()=>{if(!g.value||te.value||!se.value)return;const c=C.getBoundingClientRect(),a=(r.x-c.left)/c.width*100,p=(r.y-c.top)/c.height*100;if(!(a<0||a>100||p<0||p>100))return{x:a,y:p}},c=>{ee.cursor=c})}),(C,r)=>{const g=ye,c=he;return d(),k(Q,null,[e("div",$e,[e("div",Ee,[e("div",Te,[Ve,Pe,e("div",{class:"timer-btn my-auto relative w-22px h-22px cursor-pointer text-lg",opacity:"50 hover:100",onClick:r[0]||(r[0]=(...a)=>i(t)&&i(t)(...a))},[u(g,{class:"absolute"}),u(c,{class:"absolute opacity-0"})]),e("div",He,Z(i(m)),1)]),e("div",{ref_key:"main",ref:n,class:"relative grid-section main flex flex-col p-2 lg:p-4",style:x(i(T))},[u(E,{key:"main",class:"h-full w-full"},{default:$(()=>[u(oe,{context:"presenter"})]),_:1}),Me],4),e("div",{class:"relative grid-section next flex flex-col p-2 lg:p-4",style:x(i(T))},[s.value?(d(),v(E,{key:"next",class:"h-full w-full"},{default:$(()=>{var a;return[u(i(ne),{is:(a=s.value.route)==null?void 0:a.component,"clicks-elements":l.value,"onUpdate:clicksElements":r[1]||(r[1]=p=>l.value=p),clicks:s.value.clicks,"clicks-disabled":!1,class:M(i(le)(s.value.route)),route:s.value.route,context:"previewNext"},null,8,["is","clicks-elements","clicks","class","route"])]}),_:1})):G("v-if",!0),Be],4),e("div",De,[(d(),v(Ne,{key:1,class:"w-full max-w-full h-full overflow-auto p-2 lg:p-4"}))]),e("div",Ie,[u(ae,{persist:!0})]),(d(),v(de,{key:0}))]),e("div",ze,[e("div",{class:"progress h-2px bg-primary transition-all",style:x({width:`${(i(ie)-1)/(i(re)-1)*100}%`})},null,4)])]),u(ce),u(K,{modelValue:i(w),"onUpdate:modelValue":r[2]||(r[2]=a=>J(w)?w.value=a:null)},null,8,["modelValue"])],64)}}});const je=B(Fe,[["__scopeId","data-v-574fd206"],["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/Presenter.vue"]]);export{je as default};

View file

@ -1,4 +1,4 @@
import{d,i as _,a as u,u as p,b as h,c as m,e as f,o as n,f as l,g as t,t as s,h as a,F as g,r as v,n as x,j as b,k as y,l as N,m as k,p as P,q as S,_ as w}from"./index-d6d34a4d.js";import{N as E}from"./NoteDisplay-6984e6f7.js";const T={class:"m-4"},V={class:"mb-10"},j={class:"text-4xl font-bold mt-2"},C={class:"opacity-50"},D={class:"text-lg"},H={class:"font-bold flex gap-2"},L={class:"opacity-50"},B=t("div",{class:"flex-auto"},null,-1),F={key:0,class:"border-gray-400/50 mb-8"},z=d({__name:"PresenterPrint",setup(M){_(u),p(`
import{d,i as _,a as u,u as p,b as h,c as m,e as f,o as n,f as l,g as t,t as s,h as a,F as g,r as v,n as x,j as b,k as y,l as N,m as k,p as P,q as S,_ as w}from"./index-621d9fd0.js";import{N as E}from"./NoteDisplay-b086c452.js";const T={class:"m-4"},V={class:"mb-10"},j={class:"text-4xl font-bold mt-2"},C={class:"opacity-50"},D={class:"text-lg"},H={class:"font-bold flex gap-2"},L={class:"opacity-50"},B=t("div",{class:"flex-auto"},null,-1),F={key:0,class:"border-gray-400/50 mb-8"},z=d({__name:"PresenterPrint",setup(M){_(u),p(`
@page {
size: A4;
margin-top: 1.5cm;

File diff suppressed because one or more lines are too long

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;600&family=Roboto+Slab:wght@200;400;600&family=Roboto+Mono:wght@200;400;600&display=swap" type="text/css">
<script type="module" crossorigin src="/projet-fin-etude/assets/index-d6d34a4d.js"></script>
<script type="module" crossorigin src="/projet-fin-etude/assets/index-621d9fd0.js"></script>
<link rel="stylesheet" href="/projet-fin-etude/assets/index-85c84566.css">
</head>
<body>