projet-probleme-inverse-3D/assets/PresenterPrint-c79f21f9.js

18 lines
1.6 KiB
JavaScript
Raw Normal View History

2023-06-25 13:29:07 +00:00
import{f as _,h as d,j as p,ag as h,c as m,ah as u,l as n,m as r,ai as t,aj as o,y as s,F as f,ak as g,al as v,am as x,an as y,ao as b,ap as N,n as k,aq as j,_ as w}from"./nav-1e818d35.js";import{N as P}from"./NoteViewer-0b2b5e23.js";import{u as V}from"./index-85fbf1a9.js";const S={class:"m-4"},L={class:"mb-10"},T={class:"text-4xl font-bold mt-2"},B={class:"opacity-50"},C={class:"text-lg"},D={class:"font-bold flex gap-2"},H={class:"opacity-50"},z=t("div",{class:"flex-auto"},null,-1),F={key:0,class:"border-gray-400/50 mb-8"},M=_({__name:"PresenterPrint",setup(q){d(p),h(`
@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;
}
`),V({title:`Notes - ${m.title}`});const i=u(()=>y.slice(0,-1).map(a=>{var l;return(l=a.meta)==null?void 0:l.slide}).filter(a=>a!==void 0&&a.notesHTML!==""));return(a,l)=>(n(),r("div",{id:"page-root",style:v(s(x))},[t("div",S,[t("div",L,[t("h1",T,o(s(m).title),1),t("div",B,o(new Date().toLocaleString()),1)]),(n(!0),r(f,null,g(s(i),(e,c)=>(n(),r("div",{key:c,class:"flex flex-col gap-4 break-inside-avoid-page"},[t("div",null,[t("h2",C,[t("div",D,[t("div",H,o(e==null?void 0:e.no)+"/"+o(s(b)),1),N(" "+o(e==null?void 0:e.title)+" ",1),z])]),k(P,{"note-html":e.notesHTML,class:"max-w-full"},null,8,["note-html"])]),c<s(i).length-1?(n(),r("hr",F)):j("v-if",!0)]))),128))])],4))}}),W=w(M,[["__file","/tmp/projet-probleme-inverse-3D/docs/node_modules/@slidev/client/internals/PresenterPrint.vue"]]);export{W as default};