[{"data":1,"prerenderedAt":686},["ShallowReactive",2],{"navigation_docs":3,"-api-component":139,"-api-component-surround":684},[4,55,89],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":54},"API","i-lucide-braces","\u002Fapi","api",[10,14,18,22,26,30,34,38,42,46,50],{"title":11,"path":12,"stem":13},"Html2Pdf Component","\u002Fapi\u002Fcomponent","api\u002F01.component",{"title":15,"path":16,"stem":17},"Core Props","\u002Fapi\u002Fprops","api\u002F02.props",{"title":19,"path":20,"stem":21},"Headers","\u002Fapi\u002Fheaders","api\u002F03.headers",{"title":23,"path":24,"stem":25},"Footers","\u002Fapi\u002Ffooters","api\u002F04.footers",{"title":27,"path":28,"stem":29},"Security","\u002Fapi\u002Fsecurity","api\u002F05.security",{"title":31,"path":32,"stem":33},"Watermarks","\u002Fapi\u002Fwatermarks","api\u002F06.watermarks",{"title":35,"path":36,"stem":37},"Metadata & Compression","\u002Fapi\u002Fmetadata-compression","api\u002F07.metadata-compression",{"title":39,"path":40,"stem":41},"Programmatic API","\u002Fapi\u002Fprogrammatic-api","api\u002F08.programmatic-api",{"title":43,"path":44,"stem":45},"Loader, Progress, Events & Slots","\u002Fapi\u002Fevents-slots","api\u002F09.events-slots",{"title":47,"path":48,"stem":49},"TypeScript","\u002Fapi\u002Ftypescript","api\u002F10.typescript",{"title":51,"path":52,"stem":53},"Full README Reference","\u002Fapi\u002Ffull-reference","api\u002F11.full-reference",false,{"title":56,"icon":57,"path":58,"stem":59,"children":60,"page":54},"Get Started","i-lucide-book-open","\u002Fget-started","get-started",[61,65,69,73,77,81,85],{"title":62,"path":63,"stem":64},"Introduction","\u002Fget-started\u002Fintroduction","get-started\u002F01.introduction",{"title":66,"path":67,"stem":68},"Installation","\u002Fget-started\u002Finstallation","get-started\u002F02.installation",{"title":70,"path":71,"stem":72},"Quick Start","\u002Fget-started\u002Fquick-start","get-started\u002F03.quick-start",{"title":74,"path":75,"stem":76},"Rendering Modes","\u002Fget-started\u002Frendering-modes","get-started\u002F04.rendering-modes",{"title":78,"path":79,"stem":80},"Component Registration","\u002Fget-started\u002Fregistration","get-started\u002F05.registration",{"title":82,"path":83,"stem":84},"Preview & Download","\u002Fget-started\u002Fpreview-download","get-started\u002F06.preview-download",{"title":86,"path":87,"stem":88},"Pagination","\u002Fget-started\u002Fpagination","get-started\u002F07.pagination",{"title":90,"icon":91,"path":92,"stem":93,"children":94,"page":54},"Use Cases","i-lucide-flask-conical","\u002Fuse-cases","use-cases",[95,99,103,107,111,115,119,123,127,131,135],{"title":96,"path":97,"stem":98},"Playground","\u002Fuse-cases\u002Fplayground","use-cases\u002F01.playground",{"title":100,"path":101,"stem":102},"Selectable Text","\u002Fuse-cases\u002Fselectable-text","use-cases\u002F02.selectable-text",{"title":104,"path":105,"stem":106},"Clickable PDF Links","\u002Fuse-cases\u002Fclickable-links","use-cases\u002F03.clickable-links",{"title":108,"path":109,"stem":110},"Images & CORS","\u002Fuse-cases\u002Fimages-cors","use-cases\u002F04.images-cors",{"title":112,"path":113,"stem":114},"Production Guide","\u002Fuse-cases\u002Fproduction-guide","use-cases\u002F05.production-guide",{"title":116,"path":117,"stem":118},"Troubleshooting","\u002Fuse-cases\u002Ftroubleshooting","use-cases\u002F06.troubleshooting",{"title":120,"path":121,"stem":122},"Testing & Browser Support","\u002Fuse-cases\u002Ftesting-browser-support","use-cases\u002F07.testing-browser-support",{"title":124,"path":125,"stem":126},"Performance Engineering","\u002Fuse-cases\u002Fperformance-engineering","use-cases\u002F08.performance-engineering",{"title":128,"path":129,"stem":130},"Full Performance Engineering Report","\u002Fuse-cases\u002Fperformance-report","use-cases\u002F09.performance-report",{"title":132,"path":133,"stem":134},"Community & Feedback","\u002Fuse-cases\u002Fcommunity","use-cases\u002F10.community",{"title":136,"path":137,"stem":138},"Acknowledgements","\u002Fuse-cases\u002Facknowledgements","use-cases\u002F11.acknowledgements",{"id":140,"title":11,"body":141,"description":155,"extension":678,"links":679,"meta":680,"navigation":681,"path":12,"seo":682,"stem":13,"__hash__":683},"docs\u002Fapi\u002F01.component.md",{"type":142,"value":143,"toc":674},"minimark",[144,152,156,161,532,535,539,663,670],[145,146,148],"h1",{"id":147},"html2pdf",[149,150,151],"code",{},"\u003CHtml2Pdf>",[153,154,155],"p",{},"The component owns the export DOM, generation state, preview\u002Fdownload flow, cancellation state and exposed methods. Use it directly when you want a template-first Vue API.",[157,158,160],"h2",{"id":159},"core-props","Core props",[162,163,164,183],"table",{},[165,166,167],"thead",{},[168,169,170,174,177,180],"tr",{},[171,172,173],"th",{},"Prop",[171,175,176],{},"Type",[171,178,179],{},"Default",[171,181,182],{},"Description",[184,185,186,205,225,243,262,280,298,318,336,354,373,391,409,425,442,460,477,495,514],"tbody",{},[168,187,188,194,197,200],{},[189,190,191],"td",{},[149,192,193],{},"renderMode",[189,195,196],{},"`'canvas' \\",[189,198,199],{},"'text'`",[189,201,202],{},[149,203,204],{},"'canvas'",[168,206,207,212,217,222],{},[189,208,209],{},[149,210,211],{},"showLayout",[189,213,214],{},[149,215,216],{},"boolean",[189,218,219],{},[149,220,221],{},"false",[189,223,224],{},"Show export layout.",[168,226,227,232,236,240],{},[189,228,229],{},[149,230,231],{},"floatLayout",[189,233,234],{},[149,235,216],{},[189,237,238],{},[149,239,221],{},[189,241,242],{},"Use fixed\u002Ffloating export layout.",[168,244,245,250,254,259],{},[189,246,247],{},[149,248,249],{},"enableDownload",[189,251,252],{},[149,253,216],{},[189,255,256],{},[149,257,258],{},"true",[189,260,261],{},"Download after generation.",[168,263,264,269,273,277],{},[189,265,266],{},[149,267,268],{},"previewModal",[189,270,271],{},[149,272,216],{},[189,274,275],{},[149,276,221],{},[189,278,279],{},"Show PDF preview modal.",[168,281,282,287,292,295],{},[189,283,284],{},[149,285,286],{},"filename",[189,288,289],{},[149,290,291],{},"string",[189,293,294],{},"timestamp fallback",[189,296,297],{},"PDF filename.",[168,299,300,305,310,315],{},[189,301,302],{},[149,303,304],{},"pdfQuality",[189,306,307],{},[149,308,309],{},"number",[189,311,312],{},[149,313,314],{},"2",[189,316,317],{},"Default html2canvas scale; mainly relevant to canvas mode\u002Fimages.",[168,319,320,325,328,333],{},[189,321,322],{},[149,323,324],{},"pdfFormat",[189,326,327],{},"PDF format",[189,329,330],{},[149,331,332],{},"'a4'",[189,334,335],{},"PDF format.",[168,337,338,343,346,349],{},[189,339,340],{},[149,341,342],{},"pdfOrientation",[189,344,345],{},"`'portrait' \\",[189,347,348],{},"'landscape'`",[189,350,351],{},[149,352,353],{},"'portrait'",[168,355,356,361,365,370],{},[189,357,358],{},[149,359,360],{},"pdfContentWidth",[189,362,363],{},[149,364,291],{},[189,366,367],{},[149,368,369],{},"'800px'",[189,371,372],{},"Export wrapper width.",[168,374,375,380,385,388],{},[189,376,377],{},[149,378,379],{},"htmlToPdfOptions",[189,381,382],{},[149,383,384],{},"Html2PdfOptions",[189,386,387],{},"package defaults",[189,389,390],{},"Advanced options.",[168,392,393,398,403,406],{},[189,394,395],{},[149,396,397],{},"metadata",[189,399,400],{},[149,401,402],{},"PdfMetadataOptions",[189,404,405],{},"undefined",[189,407,408],{},"PDF metadata.",[168,410,411,416,420,422],{},[189,412,413],{},[149,414,415],{},"compress",[189,417,418],{},[149,419,216],{},[189,421,405],{},[189,423,424],{},"jsPDF stream compression override.",[168,426,427,432,437,439],{},[189,428,429],{},[149,430,431],{},"security",[189,433,434],{},[149,435,436],{},"PdfSecurityOptions",[189,438,405],{},[189,440,441],{},"Password\u002Fsecurity configuration.",[168,443,444,449,453,457],{},[189,445,446],{},[149,447,448],{},"manualPagination",[189,450,451],{},[149,452,216],{},[189,454,455],{},[149,456,221],{},[189,458,459],{},"Manual pagination mode.",[168,461,462,467,471,474],{},[189,463,464],{},[149,465,466],{},"paginateElementsByHeight",[189,468,469],{},[149,470,309],{},[189,472,473],{},"required for auto mode",[189,475,476],{},"Automatic page height.",[168,478,479,484,488,492],{},[189,480,481],{},[149,482,483],{},"showLoader",[189,485,486],{},[149,487,216],{},[189,489,490],{},[149,491,258],{},[189,493,494],{},"Show loader.",[168,496,497,502,506,511],{},[189,498,499],{},[149,500,501],{},"loaderText",[189,503,504],{},[149,505,291],{},[189,507,508],{},[149,509,510],{},"'Generating PDF...'",[189,512,513],{},"Loader text.",[168,515,516,521,526,529],{},[189,517,518],{},[149,519,520],{},"watermark",[189,522,523],{},[149,524,525],{},"WatermarkOptions",[189,527,528],{},"disabled",[189,530,531],{},"Watermark configuration.",[153,533,534],{},"Header and footer props are documented in their dedicated sections.",[157,536,538],{"id":537},"exposed-methods","Exposed methods",[540,541,546],"pre",{"className":542,"code":543,"language":544,"meta":545,"style":545},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","interface Html2PdfInstance {\n  generatePdf: () => Promise\u003CBlob>\n  print: () => Promise\u003Cvoid>\n  closePreview: () => void\n  resetPagination: () => void\n  cancelGeneration: () => void\n}\n","ts","",[149,547,548,565,593,614,629,643,657],{"__ignoreMap":545},[549,550,553,557,561],"span",{"class":551,"line":552},"line",1,[549,554,556],{"class":555},"spNyl","interface",[549,558,560],{"class":559},"sBMFI"," Html2PdfInstance",[549,562,564],{"class":563},"sMK4o"," {\n",[549,566,568,572,575,578,581,584,587,590],{"class":551,"line":567},2,[549,569,571],{"class":570},"swJcz","  generatePdf",[549,573,574],{"class":563},":",[549,576,577],{"class":563}," ()",[549,579,580],{"class":555}," =>",[549,582,583],{"class":559}," Promise",[549,585,586],{"class":563},"\u003C",[549,588,589],{"class":559},"Blob",[549,591,592],{"class":563},">\n",[549,594,596,599,601,603,605,607,609,612],{"class":551,"line":595},3,[549,597,598],{"class":570},"  print",[549,600,574],{"class":563},[549,602,577],{"class":563},[549,604,580],{"class":555},[549,606,583],{"class":559},[549,608,586],{"class":563},[549,610,611],{"class":559},"void",[549,613,592],{"class":563},[549,615,617,620,622,624,626],{"class":551,"line":616},4,[549,618,619],{"class":570},"  closePreview",[549,621,574],{"class":563},[549,623,577],{"class":563},[549,625,580],{"class":555},[549,627,628],{"class":559}," void\n",[549,630,632,635,637,639,641],{"class":551,"line":631},5,[549,633,634],{"class":570},"  resetPagination",[549,636,574],{"class":563},[549,638,577],{"class":563},[549,640,580],{"class":555},[549,642,628],{"class":559},[549,644,646,649,651,653,655],{"class":551,"line":645},6,[549,647,648],{"class":570},"  cancelGeneration",[549,650,574],{"class":563},[549,652,577],{"class":563},[549,654,580],{"class":555},[549,656,628],{"class":559},[549,658,660],{"class":551,"line":659},7,[549,661,662],{"class":563},"}\n",[153,664,665,666,669],{},"See ",[667,668,39],"a",{"href":40}," for behavior and cancellation details.",[671,672,673],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":545,"searchDepth":567,"depth":567,"links":675},[676,677],{"id":159,"depth":567,"text":160},{"id":537,"depth":567,"text":538},"md",null,{},true,{"title":11,"description":155},"9MTWJMCRDlRZt9uSg06u19ZU4wKkElV3SlZnMtAfvAU",[679,685],{"title":15,"path":16,"stem":17,"description":545,"children":-1},1788876780323]