This commit is contained in:
root 2023-06-26 12:00:45 +02:00
parent 4792b9a4d1
commit 3740ed0b81
14 changed files with 688 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{d as r,i as o,a as i,al as c,B as u,M as m,ah as n,Q as d,am as _,an as f,o as p,f as h,E as v,h as s,ag as t,_ as g}from"./index-d096ab01.js";const E=r({__name:"DrawingLayer",setup(w){o(i);const l=o(c),e=u();return m(()=>{n.mount(e.value,e.value.parentElement),d(l,a=>n.options.coordinateScale=1/a,{immediate:!0}),_()}),f(()=>{n.unmount()}),(a,j)=>(p(),h("svg",{ref_key:"svg",ref:e,class:v(["w-full h-full absolute top-0",{"pointer-events-none":!s(t),"touch-none":s(t)}])},null,2))}}),x=g(E,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{x as default};

View File

@ -0,0 +1 @@
import{d as r,i as o,a as i,al as c,B as u,M as m,ah as n,Q as d,am as _,an as f,o as p,f as h,E as v,h as s,ag as t,_ as g}from"./index-b914775c.js";const E=r({__name:"DrawingLayer",setup(w){o(i);const l=o(c),e=u();return m(()=>{n.mount(e.value,e.value.parentElement),d(l,a=>n.options.coordinateScale=1/a,{immediate:!0}),_()}),f(()=>{n.unmount()}),(a,j)=>(p(),h("svg",{ref_key:"svg",ref:e,class:v(["w-full h-full absolute top-0",{"pointer-events-none":!s(t),"touch-none":s(t)}])},null,2))}}),x=g(E,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{x as default};

View File

@ -0,0 +1 @@
import{d,i as p,a as u,o as i,f as l,E as s,g as r,t as c,_ as m}from"./index-d096ab01.js";const k=["innerHTML"],f=["textContent"],v=["textContent"],y=d({__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(t){const n=t;return p(u),(o,e)=>t.noteHtml?(i(),l("div",{key:0,class:s(["prose overflow-auto outline-none",n.class]),onClick:e[0]||(e[0]=a=>o.$emit("click")),innerHTML:t.noteHtml},null,10,k)):t.note?(i(),l("div",{key:1,class:s(["prose overflow-auto outline-none",n.class]),onClick:e[1]||(e[1]=a=>o.$emit("click"))},[r("p",{textContent:c(t.note)},null,8,f)],2)):(i(),l("div",{key:2,class:s(["prose overflow-auto outline-none opacity-50 italic",n.class]),onClick:e[2]||(e[2]=a=>o.$emit("click"))},[r("p",{textContent:c(n.placeholder||"No notes.")},null,8,v)],2))}}),g=m(y,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/NoteDisplay.vue"]]);export{g as N};

View File

@ -0,0 +1 @@
import{d,i as p,a as u,o as i,f as l,E as s,g as r,t as c,_ as m}from"./index-b914775c.js";const k=["innerHTML"],f=["textContent"],v=["textContent"],y=d({__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(t){const n=t;return p(u),(o,e)=>t.noteHtml?(i(),l("div",{key:0,class:s(["prose overflow-auto outline-none",n.class]),onClick:e[0]||(e[0]=a=>o.$emit("click")),innerHTML:t.noteHtml},null,10,k)):t.note?(i(),l("div",{key:1,class:s(["prose overflow-auto outline-none",n.class]),onClick:e[1]||(e[1]=a=>o.$emit("click"))},[r("p",{textContent:c(t.note)},null,8,f)],2)):(i(),l("div",{key:2,class:s(["prose overflow-auto outline-none opacity-50 italic",n.class]),onClick:e[2]||(e[2]=a=>o.$emit("click"))},[r("p",{textContent:c(n.placeholder||"No notes.")},null,8,v)],2))}}),g=m(y,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/NoteDisplay.vue"]]);export{g as N};

View File

@ -0,0 +1 @@
import{o as n,f as i,g as t,d as q,i as U,a as G,c as S,b as I,s as J,v as d,w as _,k as M,n as L,h as e,l as V,p as a,q as K,x as B,t as F,F as O,y as Q,z as W,A as X,_ as Y}from"./index-d096ab01.js";import{N as T}from"./NoteDisplay-392ab409.js";const ee={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},te=t("path",{fill:"currentColor",d:"M8 12h10v2H8z"},null,-1),oe=t("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(u,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=t("path",{fill:"currentColor",d:"M18 12h-4V8h-2v4H8v2h4v4h2v-4h4v-2z"},null,-1),ce=t("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(u,c){return n(),i("svg",ae,re)}const _e={name:"carbon-zoom-in",render:de},ue={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"},he={class:"flex-none border-t border-gray-400 border-opacity-20"},me={class:"flex gap-1 items-center px-6 py-3"},ve=t("div",{class:"flex-auto"},null,-1),fe={class:"p2 text-center"},xe=q({__name:"NotesView",setup(u){U(G);const c=S.titleTemplate.replace("%s",S.title||"Slidev");I({title:`Notes - ${c}`});const{isFullscreen:H,toggle:p}=Q,s=J("slidev-notes-font-size",18),l=d(()=>{var o;return((o=_.lastUpdate)==null?void 0:o.type)==="viewer"?_.viewerPage:_.page}),h=d(()=>M.find(o=>o.path===`${l.value}`)),r=d(()=>M.find(o=>o.path===`${l.value+1}`));function j(){s.value=s.value+1}function E(){s.value=s.value-1}return(o,m)=>{var v,f,x,g,b,y,z,$,w,k,N,C;const Z=W,A=X,P=_e,R=le;return n(),i(O,null,[t("div",{class:"fixed top-0 left-0 h-2px bg-teal-500 transition-all duration-500",style:L({width:`${(e(l)-1)/e(V)*100}%`})},null,4),t("div",ue,[t("div",{class:"px-5 flex-auto h-full overflow-auto",style:L({fontSize:`${e(s)}px`})},[a(T,{note:(x=(f=(v=e(h))==null?void 0:v.meta)==null?void 0:f.slide)==null?void 0:x.note,"note-html":(y=(b=(g=e(h))==null?void 0:g.meta)==null?void 0:b.slide)==null?void 0:y.noteHTML,placeholder:`No notes for Slide ${e(l)}.`},null,8,["note","note-html","placeholder"])],4),e(r)?(n(),i("div",pe,[a(T,{class:"opacity-50",note:(w=($=(z=e(r))==null?void 0:z.meta)==null?void 0:$.slide)==null?void 0:w.note,"note-html":(C=(N=(k=e(r))==null?void 0:k.meta)==null?void 0:N.slide)==null?void 0:C.noteHTML,placeholder:"No notes for next slide."},null,8,["note","note-html"])])):K("v-if",!0),t("div",he,[t("div",me,[t("button",{class:"slidev-icon-btn",onClick:m[0]||(m[0]=(...D)=>e(p)&&e(p)(...D))},[e(H)?(n(),B(Z,{key:0})):(n(),B(A,{key:1}))]),t("button",{class:"slidev-icon-btn",onClick:j},[a(P)]),t("button",{class:"slidev-icon-btn",onClick:E},[a(R)]),ve,t("div",fe,F(e(l))+" / "+F(e(V)),1)])])])],64)}}}),ye=Y(xe,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/NotesView.vue"]]);export{ye as default};

View File

@ -0,0 +1 @@
import{o as n,f as i,g as t,d as q,i as U,a as G,c as S,b as I,s as J,v as d,w as _,k as M,n as L,h as e,l as V,p as a,q as K,x as B,t as F,F as O,y as Q,z as W,A as X,_ as Y}from"./index-b914775c.js";import{N as T}from"./NoteDisplay-86852ae8.js";const ee={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},te=t("path",{fill:"currentColor",d:"M8 12h10v2H8z"},null,-1),oe=t("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(u,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=t("path",{fill:"currentColor",d:"M18 12h-4V8h-2v4H8v2h4v4h2v-4h4v-2z"},null,-1),ce=t("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(u,c){return n(),i("svg",ae,re)}const _e={name:"carbon-zoom-in",render:de},ue={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"},he={class:"flex-none border-t border-gray-400 border-opacity-20"},me={class:"flex gap-1 items-center px-6 py-3"},ve=t("div",{class:"flex-auto"},null,-1),fe={class:"p2 text-center"},xe=q({__name:"NotesView",setup(u){U(G);const c=S.titleTemplate.replace("%s",S.title||"Slidev");I({title:`Notes - ${c}`});const{isFullscreen:H,toggle:p}=Q,s=J("slidev-notes-font-size",18),l=d(()=>{var o;return((o=_.lastUpdate)==null?void 0:o.type)==="viewer"?_.viewerPage:_.page}),h=d(()=>M.find(o=>o.path===`${l.value}`)),r=d(()=>M.find(o=>o.path===`${l.value+1}`));function j(){s.value=s.value+1}function E(){s.value=s.value-1}return(o,m)=>{var v,f,x,g,b,y,z,$,w,k,N,C;const Z=W,A=X,P=_e,R=le;return n(),i(O,null,[t("div",{class:"fixed top-0 left-0 h-2px bg-teal-500 transition-all duration-500",style:L({width:`${(e(l)-1)/e(V)*100}%`})},null,4),t("div",ue,[t("div",{class:"px-5 flex-auto h-full overflow-auto",style:L({fontSize:`${e(s)}px`})},[a(T,{note:(x=(f=(v=e(h))==null?void 0:v.meta)==null?void 0:f.slide)==null?void 0:x.note,"note-html":(y=(b=(g=e(h))==null?void 0:g.meta)==null?void 0:b.slide)==null?void 0:y.noteHTML,placeholder:`No notes for Slide ${e(l)}.`},null,8,["note","note-html","placeholder"])],4),e(r)?(n(),i("div",pe,[a(T,{class:"opacity-50",note:(w=($=(z=e(r))==null?void 0:z.meta)==null?void 0:$.slide)==null?void 0:w.note,"note-html":(C=(N=(k=e(r))==null?void 0:k.meta)==null?void 0:N.slide)==null?void 0:C.noteHTML,placeholder:"No notes for next slide."},null,8,["note","note-html"])])):K("v-if",!0),t("div",he,[t("div",me,[t("button",{class:"slidev-icon-btn",onClick:m[0]||(m[0]=(...D)=>e(p)&&e(p)(...D))},[e(H)?(n(),B(Z,{key:0})):(n(),B(A,{key:1}))]),t("button",{class:"slidev-icon-btn",onClick:j},[a(P)]),t("button",{class:"slidev-icon-btn",onClick:E},[a(R)]),ve,t("div",fe,F(e(l))+" / "+F(e(V)),1)])])])],64)}}}),ye=Y(xe,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/NotesView.vue"]]);export{ye as default};

View File

@ -0,0 +1 @@
import{o as d,f as y,g as e,B as S,C as H,v,d as V,i as E,a as M,D as k,x as h,E as B,h as t,_ as j,G as z,H as D,c as b,b as I,I as T,J as R,K as A,L,M as q,N as F,O,P as U,Q as W,p as u,t as Z,n as x,j as $,R as N,S as G,T as P,U as J,V as K,q as Q,W as X,l as Y,X as w,Y as ee,Z as te,F as se,$ as oe,a0 as ne,w as le,a1 as ae,a2 as ie,a3 as ce,a4 as re}from"./index-d096ab01.js";import{N as ue}from"./NoteDisplay-392ab409.js";import de from"./DrawingControls-8e5f370c.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 he(n,a){return d(),y("svg",_e,pe)}const ve={name:"carbon-renew",render:he},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(n,a){return d(),y("svg",fe,we)}const ke={name:"carbon-time",render:Se},ye="/technik/assets/logo-title-horizontal-96c3c915.png";function Ce(){const n=S(Date.now()),a=H({interval:1e3}),_=v(()=>{const s=(a.value-n.value)/1e3,l=Math.floor(s%60).toString().padStart(2,"0");return`${Math.floor(s/60).toString().padStart(2,"0")}:${l}`});function m(){n.value=a.value}return{timer:_,resetTimer:m}}const be=V({__name:"NoteStatic",props:{class:{type:String,required:!1}},setup(n){const a=n;E(M);const _=v(()=>{var s,l,o;return(o=(l=(s=k.value)==null?void 0:s.meta)==null?void 0:l.slide)==null?void 0:o.note}),m=v(()=>{var s,l,o;return(o=(l=(s=k.value)==null?void 0:s.meta)==null?void 0:l.slide)==null?void 0:o.noteHTML});return(s,l)=>(d(),h(ue,{class:B(a.class),note:t(_),"note-html":t(m)},null,8,["class","note","note-html"]))}}),Te=j(be,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/NoteStatic.vue"]]),f=n=>(oe("data-v-574fd206"),n=n(),ne(),n),$e={class:"bg-main h-full slidev-presenter"},Ne={class:"grid-container"},Pe={class:"grid-section top flex"},Ve=f(()=>e("img",{src:ye,class:"ml-2 my-auto h-10 py-1 lg:h-14 lg:py-2"},null,-1)),Ee=f(()=>e("div",{class:"flex-auto"},null,-1)),Me={class:"text-2xl pl-2 pr-6 my-auto tabular-nums"},Be=f(()=>e("div",{class:"context"}," current ",-1)),je=f(()=>e("div",{class:"context"}," next ",-1)),He={class:"grid-section note overflow-auto"},ze={class:"grid-section bottom"},De={class:"progress-bar"},Ie=V({__name:"Presenter",setup(n){E(M);const a=S();z(),D(a);const _=b.titleTemplate.replace("%s",b.title||"Slidev");I({title:`Presenter - ${_}`});const{timer:m,resetTimer:s}=Ce(),l=S([]),o=v(()=>T.value<R.value?{route:k.value,clicks:T.value+1}:A.value?{route:L.value,clicks:0}:null);return q(()=>{const C=a.value.querySelector("#slide-content"),c=F(O()),g=U();W(()=>{if(!g.value||ae.value||!ie.value)return;const r=C.getBoundingClientRect(),i=(c.x-r.left)/r.width*100,p=(c.y-r.top)/r.height*100;if(!(i<0||i>100||p<0||p>100))return{x:i,y:p}},r=>{le.cursor=r})}),(C,c)=>{const g=ke,r=ve;return d(),y(se,null,[e("div",$e,[e("div",Ne,[e("div",Pe,[Ve,Ee,e("div",{class:"timer-btn my-auto relative w-22px h-22px cursor-pointer text-lg",opacity:"50 hover:100",onClick:c[0]||(c[0]=(...i)=>t(s)&&t(s)(...i))},[u(g,{class:"absolute"}),u(r,{class:"absolute opacity-0"})]),e("div",Me,Z(t(m)),1)]),e("div",{ref_key:"main",ref:a,class:"relative grid-section main flex flex-col p-2 lg:p-4",style:x(t($))},[u(P,{key:"main",class:"h-full w-full"},{default:N(()=>[u(G,{context:"presenter"})]),_:1}),Be],4),e("div",{class:"relative grid-section next flex flex-col p-2 lg:p-4",style:x(t($))},[t(o)?(d(),h(P,{key:"next",class:"h-full w-full"},{default:N(()=>{var i;return[u(t(K),{is:(i=t(o).route)==null?void 0:i.component,"clicks-elements":l.value,"onUpdate:clicksElements":c[1]||(c[1]=p=>l.value=p),clicks:t(o).clicks,"clicks-disabled":!1,class:B(t(J)(t(o).route)),route:t(o).route,context:"previewNext"},null,8,["is","clicks-elements","clicks","class","route"])]}),_:1})):Q("v-if",!0),je],4),e("div",He,[(d(),h(Te,{key:1,class:"w-full h-full overflow-auto p-2 lg:p-4"}))]),e("div",ze,[u(ce,{persist:!0})]),(d(),h(de,{key:0}))]),e("div",De,[e("div",{class:"progress h-2px bg-primary transition-all",style:x({width:`${(t(X)-1)/(t(Y)-1)*100}%`})},null,4)])]),u(re),u(te,{modelValue:t(w),"onUpdate:modelValue":c[2]||(c[2]=i=>ee(w)?w.value=i:null)},null,8,["modelValue"])],64)}}});const qe=j(Ie,[["__scopeId","data-v-574fd206"],["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/Presenter.vue"]]);export{qe as default};

View File

@ -0,0 +1 @@
import{o as d,f as y,g as e,B as S,C as H,v,d as V,i as E,a as M,D as k,x as h,E as B,h as t,_ as j,G as z,H as D,c as b,b as I,I as T,J as R,K as A,L,M as q,N as F,O,P as U,Q as W,p as u,t as Z,n as x,j as $,R as N,S as G,T as P,U as J,V as K,q as Q,W as X,l as Y,X as w,Y as ee,Z as te,F as se,$ as oe,a0 as ne,w as le,a1 as ae,a2 as ie,a3 as ce,a4 as re}from"./index-b914775c.js";import{N as ue}from"./NoteDisplay-86852ae8.js";import de from"./DrawingControls-f37eeade.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 he(n,a){return d(),y("svg",_e,pe)}const ve={name:"carbon-renew",render:he},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(n,a){return d(),y("svg",fe,we)}const ke={name:"carbon-time",render:Se},ye="/technik/assets/logo-title-horizontal-96c3c915.png";function Ce(){const n=S(Date.now()),a=H({interval:1e3}),_=v(()=>{const s=(a.value-n.value)/1e3,l=Math.floor(s%60).toString().padStart(2,"0");return`${Math.floor(s/60).toString().padStart(2,"0")}:${l}`});function m(){n.value=a.value}return{timer:_,resetTimer:m}}const be=V({__name:"NoteStatic",props:{class:{type:String,required:!1}},setup(n){const a=n;E(M);const _=v(()=>{var s,l,o;return(o=(l=(s=k.value)==null?void 0:s.meta)==null?void 0:l.slide)==null?void 0:o.note}),m=v(()=>{var s,l,o;return(o=(l=(s=k.value)==null?void 0:s.meta)==null?void 0:l.slide)==null?void 0:o.noteHTML});return(s,l)=>(d(),h(ue,{class:B(a.class),note:t(_),"note-html":t(m)},null,8,["class","note","note-html"]))}}),Te=j(be,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/NoteStatic.vue"]]),f=n=>(oe("data-v-574fd206"),n=n(),ne(),n),$e={class:"bg-main h-full slidev-presenter"},Ne={class:"grid-container"},Pe={class:"grid-section top flex"},Ve=f(()=>e("img",{src:ye,class:"ml-2 my-auto h-10 py-1 lg:h-14 lg:py-2"},null,-1)),Ee=f(()=>e("div",{class:"flex-auto"},null,-1)),Me={class:"text-2xl pl-2 pr-6 my-auto tabular-nums"},Be=f(()=>e("div",{class:"context"}," current ",-1)),je=f(()=>e("div",{class:"context"}," next ",-1)),He={class:"grid-section note overflow-auto"},ze={class:"grid-section bottom"},De={class:"progress-bar"},Ie=V({__name:"Presenter",setup(n){E(M);const a=S();z(),D(a);const _=b.titleTemplate.replace("%s",b.title||"Slidev");I({title:`Presenter - ${_}`});const{timer:m,resetTimer:s}=Ce(),l=S([]),o=v(()=>T.value<R.value?{route:k.value,clicks:T.value+1}:A.value?{route:L.value,clicks:0}:null);return q(()=>{const C=a.value.querySelector("#slide-content"),c=F(O()),g=U();W(()=>{if(!g.value||ae.value||!ie.value)return;const r=C.getBoundingClientRect(),i=(c.x-r.left)/r.width*100,p=(c.y-r.top)/r.height*100;if(!(i<0||i>100||p<0||p>100))return{x:i,y:p}},r=>{le.cursor=r})}),(C,c)=>{const g=ke,r=ve;return d(),y(se,null,[e("div",$e,[e("div",Ne,[e("div",Pe,[Ve,Ee,e("div",{class:"timer-btn my-auto relative w-22px h-22px cursor-pointer text-lg",opacity:"50 hover:100",onClick:c[0]||(c[0]=(...i)=>t(s)&&t(s)(...i))},[u(g,{class:"absolute"}),u(r,{class:"absolute opacity-0"})]),e("div",Me,Z(t(m)),1)]),e("div",{ref_key:"main",ref:a,class:"relative grid-section main flex flex-col p-2 lg:p-4",style:x(t($))},[u(P,{key:"main",class:"h-full w-full"},{default:N(()=>[u(G,{context:"presenter"})]),_:1}),Be],4),e("div",{class:"relative grid-section next flex flex-col p-2 lg:p-4",style:x(t($))},[t(o)?(d(),h(P,{key:"next",class:"h-full w-full"},{default:N(()=>{var i;return[u(t(K),{is:(i=t(o).route)==null?void 0:i.component,"clicks-elements":l.value,"onUpdate:clicksElements":c[1]||(c[1]=p=>l.value=p),clicks:t(o).clicks,"clicks-disabled":!1,class:B(t(J)(t(o).route)),route:t(o).route,context:"previewNext"},null,8,["is","clicks-elements","clicks","class","route"])]}),_:1})):Q("v-if",!0),je],4),e("div",He,[(d(),h(Te,{key:1,class:"w-full h-full overflow-auto p-2 lg:p-4"}))]),e("div",ze,[u(ce,{persist:!0})]),(d(),h(de,{key:0}))]),e("div",De,[e("div",{class:"progress h-2px bg-primary transition-all",style:x({width:`${(t(X)-1)/(t(Y)-1)*100}%`})},null,4)])]),u(re),u(te,{modelValue:t(w),"onUpdate:modelValue":c[2]||(c[2]=i=>ee(w)?w.value=i:null)},null,8,["modelValue"])],64)}}});const qe=j(Ie,[["__scopeId","data-v-574fd206"],["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/Presenter.vue"]]);export{qe as default};

View File

@ -0,0 +1,17 @@
import{d as _,i as d,a as h,u as p,b as u,c as m,e as f,o as n,f as i,g as t,t as s,h as a,F as g,r as v,n as x,j as y,k as b,l as k,m as N,p as P,q as j,_ as T}from"./index-d096ab01.js";import{N as w}from"./NoteDisplay-392ab409.js";const S={class:"m-4"},V={class:"mb-10"},E={class:"text-4xl font-bold mt-2"},L={class:"opacity-50"},B={class:"text-lg"},C={class:"font-bold flex gap-2"},D={class:"opacity-50"},H=t("div",{class:"flex-auto"},null,-1),z={key:0,class:"border-gray-400/50 mb-8"},F=_({__name:"PresenterPrint",setup(M){d(h),p(`
@page {
size: A4;
margin-top: 1.5cm;
margin-bottom: 1cm;
}
* {
-webkit-print-color-adjust: exact;
}
html,
html body,
html #app,
html #page-root {
height: auto;
overflow: auto !important;
}
`),u({title:`Notes - ${m.title}`});const r=f(()=>b.slice(0,-1).map(o=>{var l;return(l=o.meta)==null?void 0:l.slide}).filter(o=>o!==void 0&&o.noteHTML!==""));return(o,l)=>(n(),i("div",{id:"page-root",style:x(a(y))},[t("div",S,[t("div",V,[t("h1",E,s(a(m).title),1),t("div",L,s(new Date().toLocaleString()),1)]),(n(!0),i(g,null,v(a(r),(e,c)=>(n(),i("div",{key:c,class:"flex flex-col gap-4 break-inside-avoid-page"},[t("div",null,[t("h2",B,[t("div",C,[t("div",D,s(e==null?void 0:e.no)+"/"+s(a(k)),1),N(" "+s(e==null?void 0:e.title)+" ",1),H])]),P(w,{"note-html":e.noteHTML,class:"max-w-full"},null,8,["note-html"])]),c<a(r).length-1?(n(),i("hr",z)):j("v-if",!0)]))),128))])],4))}}),R=T(F,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/PresenterPrint.vue"]]);export{R as default};

View File

@ -0,0 +1,17 @@
import{d as _,i as d,a as h,u as p,b as u,c as m,e as f,o as n,f as i,g as t,t as s,h as a,F as g,r as v,n as x,j as y,k as b,l as k,m as N,p as P,q as j,_ as T}from"./index-b914775c.js";import{N as w}from"./NoteDisplay-86852ae8.js";const S={class:"m-4"},V={class:"mb-10"},E={class:"text-4xl font-bold mt-2"},L={class:"opacity-50"},B={class:"text-lg"},C={class:"font-bold flex gap-2"},D={class:"opacity-50"},H=t("div",{class:"flex-auto"},null,-1),z={key:0,class:"border-gray-400/50 mb-8"},F=_({__name:"PresenterPrint",setup(M){d(h),p(`
@page {
size: A4;
margin-top: 1.5cm;
margin-bottom: 1cm;
}
* {
-webkit-print-color-adjust: exact;
}
html,
html body,
html #app,
html #page-root {
height: auto;
overflow: auto !important;
}
`),u({title:`Notes - ${m.title}`});const r=f(()=>b.slice(0,-1).map(o=>{var l;return(l=o.meta)==null?void 0:l.slide}).filter(o=>o!==void 0&&o.noteHTML!==""));return(o,l)=>(n(),i("div",{id:"page-root",style:x(a(y))},[t("div",S,[t("div",V,[t("h1",E,s(a(m).title),1),t("div",L,s(new Date().toLocaleString()),1)]),(n(!0),i(g,null,v(a(r),(e,c)=>(n(),i("div",{key:c,class:"flex flex-col gap-4 break-inside-avoid-page"},[t("div",null,[t("h2",B,[t("div",C,[t("div",D,s(e==null?void 0:e.no)+"/"+s(a(k)),1),N(" "+s(e==null?void 0:e.title)+" ",1),H])]),P(w,{"note-html":e.noteHTML,class:"max-w-full"},null,8,["note-html"])]),c<a(r).length-1?(n(),i("hr",z)):j("v-if",!0)]))),128))])],4))}}),R=T(F,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/PresenterPrint.vue"]]);export{R as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long