Skip to content

Commit

Permalink
deploy: d276b35
Browse files Browse the repository at this point in the history
  • Loading branch information
Priestch committed Dec 8, 2023
1 parent 9423138 commit 4d32d1d
Show file tree
Hide file tree
Showing 39 changed files with 61 additions and 60 deletions.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demos/document-viewer/web/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demos/document-viewer/web/app.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" href="/document-viewer/demos/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
<script type="module" crossorigin src="/document-viewer/demos/assets/index-0845f304.js"></script>
<script type="module" crossorigin src="/document-viewer/demos/assets/index-e5ac00f9.js"></script>
<link rel="stylesheet" href="/document-viewer/demos/assets/index-01539bd9.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="preload" href="/document-viewer/docs/assets/inter-roman-latin.2ed14f66.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/document-viewer/docs/assets/chunks/framework.03d10376.js">
<link rel="modulepreload" href="/document-viewer/docs/assets/chunks/theme.d0f694e5.js">
<link rel="modulepreload" href="/document-viewer/docs/assets/api.md.5700a251.lean.js">
<link rel="modulepreload" href="/document-viewer/docs/assets/api.md.cb2c3338.lean.js">
<script>(function(t,n,r,e,m){t[e]=t[e]||[],t[e].push({"gtm.start":new Date().getTime(),event:"gtm.js"});var g=n.getElementsByTagName(r)[0],a=n.createElement(r),s=e!="dataLayer"?"&l="+e:"";a.async=!0,a.src="https://www.googletagmanager.com/gtm.js?id="+m+s,g.parentNode.insertBefore(a,g)})(window,document,"script","dataLayer","GTM-N4MC8X9M");</script>
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
Expand All @@ -21,8 +21,8 @@
<span class="line"><span style="color:#E1E4E8;"> </span><span style="color:#6A737D;">// ...</span></span>
<span class="line"><span style="color:#E1E4E8;">}</span></span></code></pre><pre class="shiki github-light vp-code-light"><code><span class="line"><span style="color:#D73A49;">function</span><span style="color:#24292E;"> </span><span style="color:#6F42C1;">createViewerApp</span><span style="color:#24292E;">(</span><span style="color:#E36209;">options</span><span style="color:#D73A49;">:</span><span style="color:#24292E;"> </span><span style="color:#6F42C1;">Options</span><span style="color:#24292E;">)</span><span style="color:#D73A49;">:</span><span style="color:#24292E;"> </span><span style="color:#6F42C1;">PDFViewerApplication</span><span style="color:#24292E;"> {</span></span>
<span class="line"><span style="color:#24292E;"> </span><span style="color:#6A737D;">// ...</span></span>
<span class="line"><span style="color:#24292E;">}</span></span></code></pre></div><p>Create a viewer app.</p><ul><li><a href="#Options">Options</a></li></ul><h2 id="options" tabindex="-1">Options <a class="header-anchor" href="#options" aria-label="Permalink to &quot;Options&quot;"></a></h2><h4 id="properties" tabindex="-1">properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;properties&quot;"></a></h4><table><thead><tr><th>name</th><th>type</th><th>description</th><th>defaultValue</th></tr></thead><tbody><tr><td>parent</td><td><code>HTMLElement</code></td><td>Element the PDF viewer will be render to.</td><td>-</td></tr><tr><td>src</td><td><code>string,TypedArray,ArrayBuffer</code></td><td>The source of the PDF document.</td><td>-</td></tr><tr><td>resourcePath</td><td><code>string</code></td><td>The resource path of pdf.js.</td><td>-</td></tr><tr><td>disableCORSCheck <code>optional</code></td><td><code>boolean</code></td><td>Disable CORS check of pdf.js.</td><td>false</td></tr><tr><td>disableAutoSetTitle <code>optional</code></td><td><code>boolean</code></td><td>Disable auto-set title of document caused by pdf.js.</td><td>false</td></tr><tr><td><a href="https://github.com/mozilla/pdf.js/blob/master/web/app_options.js" target="_blank" rel="noreferrer">appOptions</a> <code>optional</code></td><td><code>AppOptions</code></td><td>Default app options of pdf.js.</td><td>{}</td></tr></tbody></table></div></div></main><footer class="VPDocFooter" data-v-7d2be7d2 data-v-f948c78d><!--[--><!--]--><div class="edit-info" data-v-f948c78d><!----><div class="last-updated" data-v-f948c78d><p class="VPLastUpdated" data-v-f948c78d data-v-4f9fb653>Last updated: <time datetime="2023-12-08T12:56:50.000Z" data-v-4f9fb653></time></p></div></div><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"communication.md\":\"40d3d9f9\",\"learned-knowledge_parts_application.md\":\"61e43db1\",\"pitfalls.md\":\"117ab376\",\"get-started.md\":\"2c932430\",\"learned-knowledge_parts_events.md\":\"0aba07d9\",\"learned-knowledge_index.md\":\"55e193b2\",\"index.md\":\"e51703d0\",\"api.md\":\"5700a251\",\"resources.md\":\"02bdacbf\",\"learned-knowledge_parts_app-options.md\":\"8f0d8276\",\"architecture.md\":\"caa19245\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"PDF Viewer\",\"titleTemplate\":\"Free PDF Viewer build on PDF.js\",\"description\":\"The open source out-of-the-box PDF reader & viewer build on PDF.js. Integrate the PDF Viewer to your project at ease!\",\"base\":\"/document-viewer/docs/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"search\":{\"provider\":\"local\"},\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"API\",\"link\":\"/api\"},{\"text\":\"Resources\",\"link\":\"/resources\"},{\"text\":\"Learn PDF.js\",\"items\":[{\"text\":\"Learned Knowledge\",\"link\":\"/learned-knowledge/\"},{\"text\":\"Architecture\",\"link\":\"/architecture\"},{\"text\":\"Common Pitfalls\",\"link\":\"/pitfalls\"},{\"text\":\"Threads Communication\",\"link\":\"/communication\"}]},{\"text\":\"Links\",\"items\":[{\"text\":\"Npm Package\",\"link\":\"https://www.npmjs.com/package/@document-kits/viewer\"},{\"text\":\"Releases\",\"link\":\"https://github.com/Priestch/document-viewer/tags\"}]},{\"text\":\"Demos\",\"link\":\"https://priestch.github.io/document-viewer/demos/\"}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Priestch/document-viewer\"},{\"icon\":\"discord\",\"link\":\"https://discord.gg/hYXtcr37tz\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}");</script>
<span class="line"><span style="color:#24292E;">}</span></span></code></pre></div><p>Create a viewer app.</p><ul><li><a href="#Options">Options</a></li></ul><h2 id="options" tabindex="-1">Options <a class="header-anchor" href="#options" aria-label="Permalink to &quot;Options&quot;"></a></h2><h4 id="properties" tabindex="-1">properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;properties&quot;"></a></h4><table><thead><tr><th>name</th><th>type</th><th>description</th><th>defaultValue</th></tr></thead><tbody><tr><td>parent</td><td><code>HTMLElement</code></td><td>Element the PDF viewer will be render to.</td><td>-</td></tr><tr><td>src</td><td><code>string,TypedArray,ArrayBuffer</code></td><td>The source of the PDF document.</td><td>-</td></tr><tr><td>resourcePath</td><td><code>string</code></td><td>The resource path of pdf.js.</td><td>-</td></tr><tr><td>disableCORSCheck <code>optional</code></td><td><code>boolean</code></td><td>Disable CORS check of pdf.js.</td><td>false</td></tr><tr><td>disableAutoSetTitle <code>optional</code></td><td><code>boolean</code></td><td>Disable auto-set title of document caused by pdf.js.</td><td>false</td></tr><tr><td><a href="https://github.com/mozilla/pdf.js/blob/master/web/app_options.js" target="_blank" rel="noreferrer">appOptions</a> <code>optional</code></td><td><code>AppOptions</code></td><td>Default app options of pdf.js.</td><td>{}</td></tr></tbody></table></div></div></main><footer class="VPDocFooter" data-v-7d2be7d2 data-v-f948c78d><!--[--><!--]--><div class="edit-info" data-v-f948c78d><!----><div class="last-updated" data-v-f948c78d><p class="VPLastUpdated" data-v-f948c78d data-v-4f9fb653>Last updated: <time datetime="2023-12-08T13:04:16.000Z" data-v-4f9fb653></time></p></div></div><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"communication.md\":\"3f1a39fb\",\"learned-knowledge_parts_application.md\":\"d7e32dea\",\"resources.md\":\"122d88ca\",\"pitfalls.md\":\"fe527389\",\"architecture.md\":\"1ea495ff\",\"learned-knowledge_parts_events.md\":\"73dd4c14\",\"learned-knowledge_parts_app-options.md\":\"14f0b17d\",\"api.md\":\"cb2c3338\",\"learned-knowledge_index.md\":\"e0c85cad\",\"get-started.md\":\"0879d407\",\"index.md\":\"e9d05218\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"PDF Viewer\",\"titleTemplate\":\"Free PDF Viewer build on PDF.js\",\"description\":\"The open source out-of-the-box PDF reader & viewer build on PDF.js. Integrate the PDF Viewer to your project at ease!\",\"base\":\"/document-viewer/docs/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"search\":{\"provider\":\"local\"},\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"API\",\"link\":\"/api\"},{\"text\":\"Resources\",\"link\":\"/resources\"},{\"text\":\"Learn PDF.js\",\"items\":[{\"text\":\"Learned Knowledge\",\"link\":\"/learned-knowledge/\"},{\"text\":\"Architecture\",\"link\":\"/architecture\"},{\"text\":\"Common Pitfalls\",\"link\":\"/pitfalls\"},{\"text\":\"Threads Communication\",\"link\":\"/communication\"}]},{\"text\":\"Links\",\"items\":[{\"text\":\"Npm Package\",\"link\":\"https://www.npmjs.com/package/@document-kits/viewer\"},{\"text\":\"Releases\",\"link\":\"https://github.com/Priestch/document-viewer/tags\"}]},{\"text\":\"Demos\",\"link\":\"https://priestch.github.io/document-viewer/demos/\"}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Priestch/document-viewer\"},{\"icon\":\"discord\",\"link\":\"https://discord.gg/hYXtcr37tz\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}");</script>

</body>
</html>
6 changes: 3 additions & 3 deletions docs/architecture.html

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4d32d1d

Please sign in to comment.