[{"data":1,"prerenderedAt":1011},["ShallowReactive",2],{"navigation_docs":3,"-api-props":139,"-api-props-surround":1007},[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":15,"body":141,"description":535,"extension":1002,"links":1003,"meta":1004,"navigation":614,"path":16,"seo":1005,"stem":17,"__hash__":1006},"docs\u002Fapi\u002F02.props.md",{"type":142,"value":143,"toc":999},"minimark",[144,148,520,524,529,886,919,922,995],[145,146,15],"h1",{"id":147},"core-props",[149,150,151,170],"table",{},[152,153,154],"thead",{},[155,156,157,161,164,167],"tr",{},[158,159,160],"th",{},"Prop",[158,162,163],{},"Type",[158,165,166],{},"Default",[158,168,169],{},"Description",[171,172,173,193,213,231,250,268,286,306,324,342,361,379,397,413,430,448,465,483,502],"tbody",{},[155,174,175,182,185,188],{},[176,177,178],"td",{},[179,180,181],"code",{},"renderMode",[176,183,184],{},"`'canvas' \\",[176,186,187],{},"'text'`",[176,189,190],{},[179,191,192],{},"'canvas'",[155,194,195,200,205,210],{},[176,196,197],{},[179,198,199],{},"showLayout",[176,201,202],{},[179,203,204],{},"boolean",[176,206,207],{},[179,208,209],{},"false",[176,211,212],{},"Show export layout.",[155,214,215,220,224,228],{},[176,216,217],{},[179,218,219],{},"floatLayout",[176,221,222],{},[179,223,204],{},[176,225,226],{},[179,227,209],{},[176,229,230],{},"Use fixed\u002Ffloating export layout.",[155,232,233,238,242,247],{},[176,234,235],{},[179,236,237],{},"enableDownload",[176,239,240],{},[179,241,204],{},[176,243,244],{},[179,245,246],{},"true",[176,248,249],{},"Download after generation.",[155,251,252,257,261,265],{},[176,253,254],{},[179,255,256],{},"previewModal",[176,258,259],{},[179,260,204],{},[176,262,263],{},[179,264,209],{},[176,266,267],{},"Show PDF preview modal.",[155,269,270,275,280,283],{},[176,271,272],{},[179,273,274],{},"filename",[176,276,277],{},[179,278,279],{},"string",[176,281,282],{},"timestamp fallback",[176,284,285],{},"PDF filename.",[155,287,288,293,298,303],{},[176,289,290],{},[179,291,292],{},"pdfQuality",[176,294,295],{},[179,296,297],{},"number",[176,299,300],{},[179,301,302],{},"2",[176,304,305],{},"Default html2canvas scale; mainly relevant to canvas mode\u002Fimages.",[155,307,308,313,316,321],{},[176,309,310],{},[179,311,312],{},"pdfFormat",[176,314,315],{},"PDF format",[176,317,318],{},[179,319,320],{},"'a4'",[176,322,323],{},"PDF format.",[155,325,326,331,334,337],{},[176,327,328],{},[179,329,330],{},"pdfOrientation",[176,332,333],{},"`'portrait' \\",[176,335,336],{},"'landscape'`",[176,338,339],{},[179,340,341],{},"'portrait'",[155,343,344,349,353,358],{},[176,345,346],{},[179,347,348],{},"pdfContentWidth",[176,350,351],{},[179,352,279],{},[176,354,355],{},[179,356,357],{},"'800px'",[176,359,360],{},"Export wrapper width.",[155,362,363,368,373,376],{},[176,364,365],{},[179,366,367],{},"htmlToPdfOptions",[176,369,370],{},[179,371,372],{},"Html2PdfOptions",[176,374,375],{},"package defaults",[176,377,378],{},"Advanced options.",[155,380,381,386,391,394],{},[176,382,383],{},[179,384,385],{},"metadata",[176,387,388],{},[179,389,390],{},"PdfMetadataOptions",[176,392,393],{},"undefined",[176,395,396],{},"PDF metadata.",[155,398,399,404,408,410],{},[176,400,401],{},[179,402,403],{},"compress",[176,405,406],{},[179,407,204],{},[176,409,393],{},[176,411,412],{},"jsPDF stream compression override.",[155,414,415,420,425,427],{},[176,416,417],{},[179,418,419],{},"security",[176,421,422],{},[179,423,424],{},"PdfSecurityOptions",[176,426,393],{},[176,428,429],{},"Password\u002Fsecurity configuration.",[155,431,432,437,441,445],{},[176,433,434],{},[179,435,436],{},"manualPagination",[176,438,439],{},[179,440,204],{},[176,442,443],{},[179,444,209],{},[176,446,447],{},"Manual pagination mode.",[155,449,450,455,459,462],{},[176,451,452],{},[179,453,454],{},"paginateElementsByHeight",[176,456,457],{},[179,458,297],{},[176,460,461],{},"required for auto mode",[176,463,464],{},"Automatic page height.",[155,466,467,472,476,480],{},[176,468,469],{},[179,470,471],{},"showLoader",[176,473,474],{},[179,475,204],{},[176,477,478],{},[179,479,246],{},[176,481,482],{},"Show loader.",[155,484,485,490,494,499],{},[176,486,487],{},[179,488,489],{},"loaderText",[176,491,492],{},[179,493,279],{},[176,495,496],{},[179,497,498],{},"'Generating PDF...'",[176,500,501],{},"Loader text.",[155,503,504,509,514,517],{},[176,505,506],{},[179,507,508],{},"watermark",[176,510,511],{},[179,512,513],{},"WatermarkOptions",[176,515,516],{},"disabled",[176,518,519],{},"Watermark configuration.",[521,522,523],"p",{},"Header and footer props are documented in their dedicated sections.",[525,526,528],"h2",{"id":527},"advanced-html2pdf-options","Advanced html2pdf Options",[530,531,536],"pre",{"className":532,"code":533,"language":534,"meta":535,"style":535},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const htmlToPdfOptions = {\n  margin: [0, 0, 0, 0],\n  enableLinks: true,\n\n  pagebreak: {\n    mode: ['css', 'legacy'],\n  },\n\n  image: {\n    type: 'jpeg',\n    quality: 1,\n  },\n\n  html2canvas: {\n    scale: 3,\n    useCORS: true,\n    backgroundColor: '#FFFFFF',\n  },\n\n  jsPDF: {\n    unit: 'px',\n    format: 'a4',\n    orientation: 'p',\n    hotfixes: ['px_scaling'],\n    optimizeForBrowser: true,\n  },\n}\n","ts","",[179,537,538,558,595,609,616,626,659,665,670,680,697,710,715,720,730,743,755,772,777,782,792,809,826,842,863,875,880],{"__ignoreMap":535},[539,540,543,547,551,555],"span",{"class":541,"line":542},"line",1,[539,544,546],{"class":545},"spNyl","const",[539,548,550],{"class":549},"sTEyZ"," htmlToPdfOptions ",[539,552,554],{"class":553},"sMK4o","=",[539,556,557],{"class":553}," {\n",[539,559,561,565,568,571,575,578,581,583,585,587,589,592],{"class":541,"line":560},2,[539,562,564],{"class":563},"swJcz","  margin",[539,566,567],{"class":553},":",[539,569,570],{"class":549}," [",[539,572,574],{"class":573},"sbssI","0",[539,576,577],{"class":553},",",[539,579,580],{"class":573}," 0",[539,582,577],{"class":553},[539,584,580],{"class":573},[539,586,577],{"class":553},[539,588,580],{"class":573},[539,590,591],{"class":549},"]",[539,593,594],{"class":553},",\n",[539,596,598,601,603,607],{"class":541,"line":597},3,[539,599,600],{"class":563},"  enableLinks",[539,602,567],{"class":553},[539,604,606],{"class":605},"sfNiH"," true",[539,608,594],{"class":553},[539,610,612],{"class":541,"line":611},4,[539,613,615],{"emptyLinePlaceholder":614},true,"\n",[539,617,619,622,624],{"class":541,"line":618},5,[539,620,621],{"class":563},"  pagebreak",[539,623,567],{"class":553},[539,625,557],{"class":553},[539,627,629,632,634,636,639,643,645,647,650,653,655,657],{"class":541,"line":628},6,[539,630,631],{"class":563},"    mode",[539,633,567],{"class":553},[539,635,570],{"class":549},[539,637,638],{"class":553},"'",[539,640,642],{"class":641},"sfazB","css",[539,644,638],{"class":553},[539,646,577],{"class":553},[539,648,649],{"class":553}," '",[539,651,652],{"class":641},"legacy",[539,654,638],{"class":553},[539,656,591],{"class":549},[539,658,594],{"class":553},[539,660,662],{"class":541,"line":661},7,[539,663,664],{"class":553},"  },\n",[539,666,668],{"class":541,"line":667},8,[539,669,615],{"emptyLinePlaceholder":614},[539,671,673,676,678],{"class":541,"line":672},9,[539,674,675],{"class":563},"  image",[539,677,567],{"class":553},[539,679,557],{"class":553},[539,681,683,686,688,690,693,695],{"class":541,"line":682},10,[539,684,685],{"class":563},"    type",[539,687,567],{"class":553},[539,689,649],{"class":553},[539,691,692],{"class":641},"jpeg",[539,694,638],{"class":553},[539,696,594],{"class":553},[539,698,700,703,705,708],{"class":541,"line":699},11,[539,701,702],{"class":563},"    quality",[539,704,567],{"class":553},[539,706,707],{"class":573}," 1",[539,709,594],{"class":553},[539,711,713],{"class":541,"line":712},12,[539,714,664],{"class":553},[539,716,718],{"class":541,"line":717},13,[539,719,615],{"emptyLinePlaceholder":614},[539,721,723,726,728],{"class":541,"line":722},14,[539,724,725],{"class":563},"  html2canvas",[539,727,567],{"class":553},[539,729,557],{"class":553},[539,731,733,736,738,741],{"class":541,"line":732},15,[539,734,735],{"class":563},"    scale",[539,737,567],{"class":553},[539,739,740],{"class":573}," 3",[539,742,594],{"class":553},[539,744,746,749,751,753],{"class":541,"line":745},16,[539,747,748],{"class":563},"    useCORS",[539,750,567],{"class":553},[539,752,606],{"class":605},[539,754,594],{"class":553},[539,756,758,761,763,765,768,770],{"class":541,"line":757},17,[539,759,760],{"class":563},"    backgroundColor",[539,762,567],{"class":553},[539,764,649],{"class":553},[539,766,767],{"class":641},"#FFFFFF",[539,769,638],{"class":553},[539,771,594],{"class":553},[539,773,775],{"class":541,"line":774},18,[539,776,664],{"class":553},[539,778,780],{"class":541,"line":779},19,[539,781,615],{"emptyLinePlaceholder":614},[539,783,785,788,790],{"class":541,"line":784},20,[539,786,787],{"class":563},"  jsPDF",[539,789,567],{"class":553},[539,791,557],{"class":553},[539,793,795,798,800,802,805,807],{"class":541,"line":794},21,[539,796,797],{"class":563},"    unit",[539,799,567],{"class":553},[539,801,649],{"class":553},[539,803,804],{"class":641},"px",[539,806,638],{"class":553},[539,808,594],{"class":553},[539,810,812,815,817,819,822,824],{"class":541,"line":811},22,[539,813,814],{"class":563},"    format",[539,816,567],{"class":553},[539,818,649],{"class":553},[539,820,821],{"class":641},"a4",[539,823,638],{"class":553},[539,825,594],{"class":553},[539,827,829,832,834,836,838,840],{"class":541,"line":828},23,[539,830,831],{"class":563},"    orientation",[539,833,567],{"class":553},[539,835,649],{"class":553},[539,837,521],{"class":641},[539,839,638],{"class":553},[539,841,594],{"class":553},[539,843,845,848,850,852,854,857,859,861],{"class":541,"line":844},24,[539,846,847],{"class":563},"    hotfixes",[539,849,567],{"class":553},[539,851,570],{"class":549},[539,853,638],{"class":553},[539,855,856],{"class":641},"px_scaling",[539,858,638],{"class":553},[539,860,591],{"class":549},[539,862,594],{"class":553},[539,864,866,869,871,873],{"class":541,"line":865},25,[539,867,868],{"class":563},"    optimizeForBrowser",[539,870,567],{"class":553},[539,872,606],{"class":605},[539,874,594],{"class":553},[539,876,878],{"class":541,"line":877},26,[539,879,664],{"class":553},[539,881,883],{"class":541,"line":882},27,[539,884,885],{"class":553},"}\n",[530,887,891],{"className":888,"code":889,"language":890,"meta":535,"style":535},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CHtml2Pdf :html-to-pdf-options=\"htmlToPdfOptions\" \u002F>\n","vue",[179,892,893],{"__ignoreMap":535},[539,894,895,898,901,904,907,909,912,914,916],{"class":541,"line":542},[539,896,897],{"class":553},"\u003C",[539,899,900],{"class":563},"Html2Pdf",[539,902,903],{"class":553}," :",[539,905,906],{"class":545},"html-to-pdf-options",[539,908,554],{"class":553},[539,910,911],{"class":553},"\"",[539,913,367],{"class":549},[539,915,911],{"class":553},[539,917,918],{"class":553}," \u002F>\n",[521,920,921],{},"Important precedence rules:",[923,924,925,935,942,948,954,965,974,980,986,989],"ul",{},[926,927,928,930,931,934],"li",{},[179,929,385],{}," overrides raw ",[179,932,933],{},"htmlToPdfOptions.metadata"," when provided.",[926,936,937,930,939,934],{},[179,938,403],{},[179,940,941],{},"htmlToPdfOptions.jsPDF.compress",[926,943,944,947],{},[179,945,946],{},"security.enabled: true"," overrides raw jsPDF encryption.",[926,949,950,953],{},[179,951,952],{},"security.enabled: false"," removes raw encryption.",[926,955,956,957,960,961,964],{},"Non-empty ",[179,958,959],{},"headerHtml"," takes precedence over ",[179,962,963],{},"headerText",".",[926,966,967,968,960,971,964],{},"In HTML footer mode, non-empty ",[179,969,970],{},"footerHtml",[179,972,973],{},"footerText",[926,975,976,979],{},[179,977,978],{},"headerLogoEnabled"," controls only header logo visibility.",[926,981,982,985],{},[179,983,984],{},"footerLogoEnabled"," controls only footer logo visibility.",[926,987,988],{},"Explicit user margins remain even when header\u002Ffooter rendering is disabled.",[926,990,991,994],{},[179,992,993],{},"enableLinks: true"," enables generated PDF link annotations.",[996,997,998],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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 pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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":535,"searchDepth":560,"depth":560,"links":1000},[1001],{"id":527,"depth":560,"text":528},"md",null,{},{"title":15,"description":535},"QGfgInge3yKIEL-zR_cjZJs3zDevDUlWCiQxIaJTWDM",[1008,1010],{"title":11,"path":12,"stem":13,"description":1009,"children":-1},"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.",{"title":19,"path":20,"stem":21,"description":535,"children":-1},1788876782130]