14 |
15 |
16 |
33 |
34 |
62 |
--------------------------------------------------------------------------------
/src/assets/icons/LICENSE.txt:
--------------------------------------------------------------------------------
1 | Font license info
2 |
3 |
4 | ## Font Awesome
5 |
6 | Copyright (C) 2016 by Dave Gandy
7 |
8 | Author: Dave Gandy
9 | License: SIL ()
10 | Homepage: http://fortawesome.github.com/Font-Awesome/
11 |
12 |
13 | ## Fontelico
14 |
15 | Copyright (C) 2012 by Fontello project
16 |
17 | Author: Crowdsourced, for Fontello project
18 | License: SIL (http://scripts.sil.org/OFL)
19 | Homepage: http://fontello.com
20 |
21 |
22 |
--------------------------------------------------------------------------------
/src/assets/icons/README.txt:
--------------------------------------------------------------------------------
1 | This webfont is generated by https://fontello.com open source project.
2 |
3 |
4 | ================================================================================
5 | Please, note, that you should obey original font licenses, used to make this
6 | webfont pack. Details available in LICENSE.txt file.
7 |
8 | - Usually, it's enough to publish content of LICENSE.txt file somewhere on your
9 | site in "About" section.
10 |
11 | - If your project is open-source, usually, it will be ok to make LICENSE.txt
12 | file publicly available in your repository.
13 |
14 | - Fonts, used in Fontello, don't require a clickable link on your site.
15 | But any kind of additional authors crediting is welcome.
16 | ================================================================================
17 |
18 |
19 | Comments on archive content
20 | ---------------------------
21 |
22 | - /font/* - fonts in different formats
23 |
24 | - /css/* - different kinds of css, for all situations. Should be ok with
25 | twitter bootstrap. Also, you can skip style and assign icon classes
26 | directly to text elements, if you don't mind about IE7.
27 |
28 | - demo.html - demo file, to show your webfont content
29 |
30 | - LICENSE.txt - license info about source fonts, used to build your one.
31 |
32 | - config.json - keeps your settings. You can import it back into fontello
33 | anytime, to continue your work
34 |
35 |
36 | Why so many CSS files ?
37 | -----------------------
38 |
39 | Because we like to fit all your needs :)
40 |
41 | - basic file, .css - is usually enough, it contains @font-face
42 | and character code definitions
43 |
44 | - *-ie7.css - if you need IE7 support, but still don't wish to put char codes
45 | directly into html
46 |
47 | - *-codes.css and *-ie7-codes.css - if you like to use your own @font-face
48 | rules, but still wish to benefit from css generation. That can be very
49 | convenient for automated asset build systems. When you need to update font -
50 | no need to manually edit files, just override old version with archive
51 | content. See fontello source code for examples.
52 |
53 | - *-embedded.css - basic css file, but with embedded WOFF font, to avoid
54 | CORS issues in Firefox and IE9+, when fonts are hosted on the separate domain.
55 | We strongly recommend to resolve this issue by `Access-Control-Allow-Origin`
56 | server headers. But if you ok with dirty hack - this file is for you. Note,
57 | that data url moved to separate @font-face to avoid problems with
--------------------------------------------------------------------------------
/src/assets/images/shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/assets/images/shadow.png
--------------------------------------------------------------------------------
/src/assets/images/treeitem-collapsed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/assets/images/treeitem-collapsed.png
--------------------------------------------------------------------------------
/src/assets/images/treeitem-collapsed@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/assets/images/treeitem-collapsed@2x.png
--------------------------------------------------------------------------------
/src/assets/images/treeitem-expanded.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/assets/images/treeitem-expanded.png
--------------------------------------------------------------------------------
/src/assets/images/treeitem-expanded@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/assets/images/treeitem-expanded@2x.png
--------------------------------------------------------------------------------
/src/components/about-view.vue:
--------------------------------------------------------------------------------
1 |
2 |
About page
3 |
4 |
5 |
10 |
--------------------------------------------------------------------------------
/src/main.ts:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 | import App from './app.vue'
3 | import router from '@/router'
4 |
5 | createApp(App).use(router).mount('#app')
6 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Community Participation Guidelines
2 |
3 | This repository is governed by Mozilla's code of conduct and etiquette guidelines.
4 | For more details, please read the
5 | [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/).
6 |
7 | ## How to Report
8 | For more information on how to report violations of the Community Participation Guidelines, please read our '[How to Report](https://www.mozilla.org/about/governance/policies/participation/reporting/)' page.
9 |
10 |
16 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/README.md:
--------------------------------------------------------------------------------
1 | # PDF.js
2 |
3 | PDF.js is a Portable Document Format (PDF) library that is built with HTML5.
4 | Our goal is to create a general-purpose, web standards-based platform for
5 | parsing and rendering PDFs.
6 |
7 | This is a pre-built version of the PDF.js source code. It is automatically
8 | generated by the build scripts.
9 |
10 | For usage with older browsers/environments, without support for modern features
11 | such as e.g. `async`/`await`, `Promise`, and `ReadableStream`,
12 | please refer to the `es5` folder.
13 |
14 | See https://github.com/mozilla/pdf.js for learning and contributing.
15 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "pdfjs-dist",
3 | "version": "2.4.456",
4 | "main": [
5 | "build/pdf.js",
6 | "build/pdf.worker.js"
7 | ],
8 | "ignore": [],
9 | "keywords": [
10 | "Mozilla",
11 | "pdf",
12 | "pdf.js"
13 | ]
14 | }
--------------------------------------------------------------------------------
/src/pdfjs-dist/build/pdf.worker.entry.js:
--------------------------------------------------------------------------------
1 | /* Copyright 2020 Mozilla Foundation
2 | *
3 | * Licensed under the Apache License, Version 2.0 (the "License");
4 | * you may not use this file except in compliance with the License.
5 | * You may obtain a copy of the License at
6 | *
7 | * http://www.apache.org/licenses/LICENSE-2.0
8 | *
9 | * Unless required by applicable law or agreed to in writing, software
10 | * distributed under the License is distributed on an "AS IS" BASIS,
11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | * See the License for the specific language governing permissions and
13 | * limitations under the License.
14 | */
15 |
16 | (typeof window !== "undefined"
17 | ? window
18 | : {}
19 | ).pdfjsWorker = require("./pdf.worker.js");
20 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/78-EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/78-EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/78-EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/78-EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/78-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/78-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/78-RKSJ-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/78-RKSJ-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/78-RKSJ-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/78-RKSJ-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/78-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/78-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/78ms-RKSJ-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/78ms-RKSJ-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/78ms-RKSJ-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/78ms-RKSJ-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/83pv-RKSJ-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/83pv-RKSJ-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/90ms-RKSJ-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/90ms-RKSJ-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/90ms-RKSJ-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/90ms-RKSJ-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/90msp-RKSJ-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/90msp-RKSJ-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/90msp-RKSJ-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/90msp-RKSJ-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/90pv-RKSJ-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/90pv-RKSJ-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/90pv-RKSJ-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/90pv-RKSJ-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Add-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Add-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Add-RKSJ-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Add-RKSJ-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Add-RKSJ-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Add-RKSJ-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Add-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Add-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-CNS1-0.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-CNS1-0.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-CNS1-1.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-CNS1-1.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-CNS1-2.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-CNS1-2.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-CNS1-3.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-CNS1-3.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-CNS1-4.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-CNS1-4.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-CNS1-5.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-CNS1-5.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-CNS1-6.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-CNS1-6.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-CNS1-UCS2.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-CNS1-UCS2.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-GB1-0.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-GB1-0.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-GB1-1.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-GB1-1.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-GB1-2.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-GB1-2.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-GB1-3.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-GB1-3.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-GB1-4.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-GB1-4.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-GB1-5.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-GB1-5.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-GB1-UCS2.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-GB1-UCS2.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Japan1-0.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Japan1-0.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Japan1-1.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Japan1-1.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Japan1-2.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Japan1-2.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Japan1-3.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Japan1-3.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Japan1-4.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Japan1-4.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Japan1-5.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Japan1-5.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Japan1-6.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Japan1-6.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Japan1-UCS2.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Japan1-UCS2.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Korea1-0.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Korea1-0.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Korea1-1.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Korea1-1.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Korea1-2.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Korea1-2.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Adobe-Korea1-UCS2.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Adobe-Korea1-UCS2.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/B5-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/B5-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/B5-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/B5-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/B5pc-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/B5pc-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/B5pc-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/B5pc-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/CNS-EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/CNS-EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/CNS-EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/CNS-EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/CNS1-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/CNS1-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/CNS1-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/CNS1-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/CNS2-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/CNS2-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/CNS2-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/CNS2-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/ETHK-B5-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/ETHK-B5-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/ETHK-B5-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/ETHK-B5-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/ETen-B5-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/ETen-B5-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/ETen-B5-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/ETen-B5-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/ETenms-B5-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/ETenms-B5-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/ETenms-B5-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/ETenms-B5-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Ext-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Ext-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Ext-RKSJ-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Ext-RKSJ-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Ext-RKSJ-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Ext-RKSJ-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Ext-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Ext-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GB-EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GB-EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GB-EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GB-EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GB-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GB-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GB-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GB-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBK-EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBK-EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBK-EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBK-EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBK2K-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBK2K-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBK2K-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBK2K-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBKp-EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBKp-EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBKp-EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBKp-EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBT-EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBT-EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBT-EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBT-EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBT-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBT-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBT-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBT-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBTpc-EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBTpc-EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBTpc-EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBTpc-EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBpc-EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBpc-EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/GBpc-EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/GBpc-EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKdla-B5-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKdla-B5-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKdla-B5-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKdla-B5-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKdlb-B5-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKdlb-B5-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKdlb-B5-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKdlb-B5-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKgccs-B5-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKgccs-B5-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKgccs-B5-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKgccs-B5-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKm314-B5-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKm314-B5-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKm314-B5-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKm314-B5-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKm471-B5-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKm471-B5-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKm471-B5-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKm471-B5-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKscs-B5-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKscs-B5-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/HKscs-B5-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/HKscs-B5-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Hankaku.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Hankaku.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Hiragana.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Hiragana.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSC-EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSC-EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSC-EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSC-EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSC-Johab-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSC-Johab-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSC-Johab-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSC-Johab-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSCms-UHC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSCms-UHC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSCms-UHC-HW-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSCms-UHC-HW-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSCms-UHC-HW-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSCms-UHC-HW-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSCms-UHC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSCms-UHC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSCpc-EUC-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSCpc-EUC-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/KSCpc-EUC-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/KSCpc-EUC-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Katakana.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Katakana.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/LICENSE:
--------------------------------------------------------------------------------
1 | %%Copyright: -----------------------------------------------------------
2 | %%Copyright: Copyright 1990-2009 Adobe Systems Incorporated.
3 | %%Copyright: All rights reserved.
4 | %%Copyright:
5 | %%Copyright: Redistribution and use in source and binary forms, with or
6 | %%Copyright: without modification, are permitted provided that the
7 | %%Copyright: following conditions are met:
8 | %%Copyright:
9 | %%Copyright: Redistributions of source code must retain the above
10 | %%Copyright: copyright notice, this list of conditions and the following
11 | %%Copyright: disclaimer.
12 | %%Copyright:
13 | %%Copyright: Redistributions in binary form must reproduce the above
14 | %%Copyright: copyright notice, this list of conditions and the following
15 | %%Copyright: disclaimer in the documentation and/or other materials
16 | %%Copyright: provided with the distribution.
17 | %%Copyright:
18 | %%Copyright: Neither the name of Adobe Systems Incorporated nor the names
19 | %%Copyright: of its contributors may be used to endorse or promote
20 | %%Copyright: products derived from this software without specific prior
21 | %%Copyright: written permission.
22 | %%Copyright:
23 | %%Copyright: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
24 | %%Copyright: CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
25 | %%Copyright: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
26 | %%Copyright: MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27 | %%Copyright: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
28 | %%Copyright: CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29 | %%Copyright: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
30 | %%Copyright: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
31 | %%Copyright: LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 | %%Copyright: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 | %%Copyright: CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
34 | %%Copyright: OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
35 | %%Copyright: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 | %%Copyright: -----------------------------------------------------------
37 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/NWP-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/NWP-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/NWP-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/NWP-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/RKSJ-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/RKSJ-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/RKSJ-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/RKSJ-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/Roman.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/Roman.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniCNS-UCS2-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniCNS-UCS2-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniCNS-UCS2-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniCNS-UCS2-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniCNS-UTF16-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniCNS-UTF16-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniCNS-UTF16-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniCNS-UTF16-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniCNS-UTF32-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniCNS-UTF32-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniCNS-UTF32-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniCNS-UTF32-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniCNS-UTF8-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniCNS-UTF8-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniCNS-UTF8-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniCNS-UTF8-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniGB-UCS2-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniGB-UCS2-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniGB-UCS2-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniGB-UCS2-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniGB-UTF16-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniGB-UTF16-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniGB-UTF16-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniGB-UTF16-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniGB-UTF32-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniGB-UTF32-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniGB-UTF32-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniGB-UTF32-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniGB-UTF8-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniGB-UTF8-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniGB-UTF8-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniGB-UTF8-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS-UCS2-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS-UCS2-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS-UCS2-HW-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS-UCS2-HW-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS-UCS2-HW-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS-UCS2-HW-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS-UCS2-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS-UCS2-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS-UTF16-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS-UTF16-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS-UTF16-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS-UTF16-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS-UTF32-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS-UTF32-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS-UTF32-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS-UTF32-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS-UTF8-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS-UTF8-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS-UTF8-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS-UTF8-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS2004-UTF16-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS2004-UTF16-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS2004-UTF16-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS2004-UTF16-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS2004-UTF32-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS2004-UTF32-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS2004-UTF32-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS2004-UTF32-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS2004-UTF8-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS2004-UTF8-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJIS2004-UTF8-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJIS2004-UTF8-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJISPro-UCS2-HW-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJISPro-UCS2-HW-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJISPro-UCS2-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJISPro-UCS2-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJISPro-UTF8-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJISPro-UTF8-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJISX0213-UTF32-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJISX0213-UTF32-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJISX0213-UTF32-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJISX0213-UTF32-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJISX02132004-UTF32-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJISX02132004-UTF32-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniJISX02132004-UTF32-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniJISX02132004-UTF32-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniKS-UCS2-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniKS-UCS2-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniKS-UCS2-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniKS-UCS2-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniKS-UTF16-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniKS-UTF16-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniKS-UTF16-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniKS-UTF16-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniKS-UTF32-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniKS-UTF32-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniKS-UTF32-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniKS-UTF32-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniKS-UTF8-H.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniKS-UTF8-H.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/UniKS-UTF8-V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/UniKS-UTF8-V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/V.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/V.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/cmaps/WP-Symbol.bcmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/cmaps/WP-Symbol.bcmap
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/build/pdf.worker.entry.js:
--------------------------------------------------------------------------------
1 | /* Copyright 2020 Mozilla Foundation
2 | *
3 | * Licensed under the Apache License, Version 2.0 (the "License");
4 | * you may not use this file except in compliance with the License.
5 | * You may obtain a copy of the License at
6 | *
7 | * http://www.apache.org/licenses/LICENSE-2.0
8 | *
9 | * Unless required by applicable law or agreed to in writing, software
10 | * distributed under the License is distributed on an "AS IS" BASIS,
11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | * See the License for the specific language governing permissions and
13 | * limitations under the License.
14 | */
15 |
16 | (typeof window !== "undefined"
17 | ? window
18 | : {}
19 | ).pdfjsWorker = require("./pdf.worker.js");
20 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/annotation-check.svg:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/annotation-comment.svg:
--------------------------------------------------------------------------------
1 |
2 |
17 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/annotation-help.svg:
--------------------------------------------------------------------------------
1 |
2 |
27 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/annotation-insert.svg:
--------------------------------------------------------------------------------
1 |
2 |
11 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/annotation-key.svg:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/annotation-newparagraph.svg:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/annotation-noicon.svg:
--------------------------------------------------------------------------------
1 |
2 |
8 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/annotation-note.svg:
--------------------------------------------------------------------------------
1 |
2 |
43 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/annotation-paragraph.svg:
--------------------------------------------------------------------------------
1 |
2 |
17 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/loading-icon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/es5/web/images/loading-icon.gif
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/es5/web/images/shadow.png
--------------------------------------------------------------------------------
/src/pdfjs-dist/es5/web/images/texture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/es5/web/images/texture.png
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/README.md:
--------------------------------------------------------------------------------
1 | It's *very highly* recommended to *not* use these files, but rather use the
2 | pre-built library as found in e.g. the `/build`, `/web`, and `/image_decoders`
3 | folders in the root of this repository.
4 |
5 | Please note that the "lib" build target exists mostly to enable unit-testing in
6 | Node.js/Travis, and that you'll need to handle e.g. any Node.js dependencies
7 | yourself if using the files in this folder.
8 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/core/ccitt_stream.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.CCITTFaxStream = void 0;
28 |
29 | var _primitives = require("./primitives.js");
30 |
31 | var _ccitt = require("./ccitt.js");
32 |
33 | var _stream = require("./stream.js");
34 |
35 | var CCITTFaxStream = function CCITTFaxStreamClosure() {
36 | function CCITTFaxStream(str, maybeLength, params) {
37 | this.str = str;
38 | this.dict = str.dict;
39 |
40 | if (!(0, _primitives.isDict)(params)) {
41 | params = _primitives.Dict.empty;
42 | }
43 |
44 | const source = {
45 | next() {
46 | return str.getByte();
47 | }
48 |
49 | };
50 | this.ccittFaxDecoder = new _ccitt.CCITTFaxDecoder(source, {
51 | K: params.get("K"),
52 | EndOfLine: params.get("EndOfLine"),
53 | EncodedByteAlign: params.get("EncodedByteAlign"),
54 | Columns: params.get("Columns"),
55 | Rows: params.get("Rows"),
56 | EndOfBlock: params.get("EndOfBlock"),
57 | BlackIs1: params.get("BlackIs1")
58 | });
59 |
60 | _stream.DecodeStream.call(this, maybeLength);
61 | }
62 |
63 | CCITTFaxStream.prototype = Object.create(_stream.DecodeStream.prototype);
64 |
65 | CCITTFaxStream.prototype.readBlock = function () {
66 | while (!this.eof) {
67 | const c = this.ccittFaxDecoder.readNextChar();
68 |
69 | if (c === -1) {
70 | this.eof = true;
71 | return;
72 | }
73 |
74 | this.ensureBuffer(this.bufferLength + 1);
75 | this.buffer[this.bufferLength++] = c;
76 | }
77 | };
78 |
79 | return CCITTFaxStream;
80 | }();
81 |
82 | exports.CCITTFaxStream = CCITTFaxStream;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/core/image_utils.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.NativeImageDecoder = void 0;
28 |
29 | var _colorspace = require("./colorspace.js");
30 |
31 | var _jpeg_stream = require("./jpeg_stream.js");
32 |
33 | var _stream = require("./stream.js");
34 |
35 | class NativeImageDecoder {
36 | constructor({
37 | xref,
38 | resources,
39 | handler,
40 | forceDataSchema = false,
41 | pdfFunctionFactory
42 | }) {
43 | this.xref = xref;
44 | this.resources = resources;
45 | this.handler = handler;
46 | this.forceDataSchema = forceDataSchema;
47 | this.pdfFunctionFactory = pdfFunctionFactory;
48 | }
49 |
50 | canDecode(image) {
51 | return image instanceof _jpeg_stream.JpegStream && NativeImageDecoder.isDecodable(image, this.xref, this.resources, this.pdfFunctionFactory) && image.maybeValidDimensions;
52 | }
53 |
54 | decode(image) {
55 | const dict = image.dict;
56 | let colorSpace = dict.get("ColorSpace", "CS");
57 | colorSpace = _colorspace.ColorSpace.parse(colorSpace, this.xref, this.resources, this.pdfFunctionFactory);
58 | return this.handler.sendWithPromise("JpegDecode", [image.getIR(this.forceDataSchema), colorSpace.numComps]).then(function ({
59 | data,
60 | width,
61 | height
62 | }) {
63 | return new _stream.Stream(data, 0, data.length, dict);
64 | });
65 | }
66 |
67 | static isSupported(image, xref, res, pdfFunctionFactory) {
68 | const dict = image.dict;
69 |
70 | if (dict.has("DecodeParms") || dict.has("DP")) {
71 | return false;
72 | }
73 |
74 | const cs = _colorspace.ColorSpace.parse(dict.get("ColorSpace", "CS"), xref, res, pdfFunctionFactory);
75 |
76 | return (cs.name === "DeviceGray" || cs.name === "DeviceRGB") && cs.isDefaultDecode(dict.getArray("Decode", "D"));
77 | }
78 |
79 | static isDecodable(image, xref, res, pdfFunctionFactory) {
80 | const dict = image.dict;
81 |
82 | if (dict.has("DecodeParms") || dict.has("DP")) {
83 | return false;
84 | }
85 |
86 | const cs = _colorspace.ColorSpace.parse(dict.get("ColorSpace", "CS"), xref, res, pdfFunctionFactory);
87 |
88 | const bpc = dict.get("BitsPerComponent", "BPC") || 1;
89 | return (cs.numComps === 1 || cs.numComps === 3) && cs.isDefaultDecode(dict.getArray("Decode", "D"), bpc);
90 | }
91 |
92 | }
93 |
94 | exports.NativeImageDecoder = NativeImageDecoder;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/core/jbig2_stream.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.Jbig2Stream = void 0;
28 |
29 | var _primitives = require("./primitives.js");
30 |
31 | var _stream = require("./stream.js");
32 |
33 | var _jbig = require("./jbig2.js");
34 |
35 | var _util = require("../shared/util.js");
36 |
37 | const Jbig2Stream = function Jbig2StreamClosure() {
38 | function Jbig2Stream(stream, maybeLength, dict, params) {
39 | this.stream = stream;
40 | this.maybeLength = maybeLength;
41 | this.dict = dict;
42 | this.params = params;
43 |
44 | _stream.DecodeStream.call(this, maybeLength);
45 | }
46 |
47 | Jbig2Stream.prototype = Object.create(_stream.DecodeStream.prototype);
48 | Object.defineProperty(Jbig2Stream.prototype, "bytes", {
49 | get() {
50 | return (0, _util.shadow)(this, "bytes", this.stream.getBytes(this.maybeLength));
51 | },
52 |
53 | configurable: true
54 | });
55 |
56 | Jbig2Stream.prototype.ensureBuffer = function (requested) {};
57 |
58 | Jbig2Stream.prototype.readBlock = function () {
59 | if (this.eof) {
60 | return;
61 | }
62 |
63 | const jbig2Image = new _jbig.Jbig2Image();
64 | const chunks = [];
65 |
66 | if ((0, _primitives.isDict)(this.params)) {
67 | const globalsStream = this.params.get("JBIG2Globals");
68 |
69 | if ((0, _primitives.isStream)(globalsStream)) {
70 | const globals = globalsStream.getBytes();
71 | chunks.push({
72 | data: globals,
73 | start: 0,
74 | end: globals.length
75 | });
76 | }
77 | }
78 |
79 | chunks.push({
80 | data: this.bytes,
81 | start: 0,
82 | end: this.bytes.length
83 | });
84 | const data = jbig2Image.parseChunks(chunks);
85 | const dataLength = data.length;
86 |
87 | for (let i = 0; i < dataLength; i++) {
88 | data[i] ^= 0xff;
89 | }
90 |
91 | this.buffer = data;
92 | this.bufferLength = dataLength;
93 | this.eof = true;
94 | };
95 |
96 | return Jbig2Stream;
97 | }();
98 |
99 | exports.Jbig2Stream = Jbig2Stream;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/display/api_compatibility.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | const compatibilityParams = Object.create(null);
25 | {
26 | const {
27 | isNodeJS
28 | } = require("../shared/is_node.js");
29 |
30 | const userAgent = typeof navigator !== "undefined" && navigator.userAgent || "";
31 | const isIE = /Trident/.test(userAgent);
32 | const isIOSChrome = /CriOS/.test(userAgent);
33 |
34 | (function checkOnBlobSupport() {
35 | if (isIE || isIOSChrome) {
36 | compatibilityParams.disableCreateObjectURL = true;
37 | }
38 | })();
39 |
40 | (function checkFontFaceAndImage() {
41 | if (isNodeJS) {
42 | compatibilityParams.disableFontFace = true;
43 | compatibilityParams.nativeImageDecoderSupport = "none";
44 | }
45 | })();
46 | }
47 | exports.apiCompatibilityParams = Object.freeze(compatibilityParams);
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/display/worker_options.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.GlobalWorkerOptions = void 0;
28 | const GlobalWorkerOptions = Object.create(null);
29 | exports.GlobalWorkerOptions = GlobalWorkerOptions;
30 | GlobalWorkerOptions.workerPort = GlobalWorkerOptions.workerPort === undefined ? null : GlobalWorkerOptions.workerPort;
31 | GlobalWorkerOptions.workerSrc = GlobalWorkerOptions.workerSrc === undefined ? "" : GlobalWorkerOptions.workerSrc;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/pdf.worker.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | const pdfjsVersion = '2.4.456';
25 | const pdfjsBuild = '228a591c';
26 |
27 | const pdfjsCoreWorker = require("./core/worker.js");
28 |
29 | exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/shared/compatibility.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | ;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/shared/is_node.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.isNodeJS = void 0;
28 | const isNodeJS = typeof process === "object" && process + "" === "[object process]" && !process.versions["nw"] && !process.versions["electron"];
29 | exports.isNodeJS = isNodeJS;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/test/unit/bidi_spec.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | var _bidi = require("../../core/bidi.js");
25 |
26 | describe("bidi", function () {
27 | it("should mark text as RTL if more than 30% of text is RTL", function () {
28 | var test = "\u0645\u0635\u0631 Egypt";
29 | var result = "Egypt \u0631\u0635\u0645";
30 | var bidiText = (0, _bidi.bidi)(test, -1, false);
31 | expect(bidiText.str).toEqual(result);
32 | expect(bidiText.dir).toEqual("rtl");
33 | });
34 | it("should mark text as LTR if less than 30% of text is RTL", function () {
35 | var test = "Egypt is known as \u0645\u0635\u0631 in Arabic.";
36 | var result = "Egypt is known as \u0631\u0635\u0645 in Arabic.";
37 | var bidiText = (0, _bidi.bidi)(test, -1, false);
38 | expect(bidiText.str).toEqual(result);
39 | expect(bidiText.dir).toEqual("ltr");
40 | });
41 | });
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/test/unit/clitests_helper.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | var _util = require("../../shared/util.js");
25 |
26 | var _is_node = require("../../shared/is_node.js");
27 |
28 | var _node_stream = require("../../display/node_stream.js");
29 |
30 | var _api = require("../../display/api.js");
31 |
32 | if (!_is_node.isNodeJS) {
33 | throw new Error("The `gulp unittestcli` command can only be used in " + "Node.js environments.");
34 | }
35 |
36 | (0, _util.setVerbosityLevel)(_util.VerbosityLevel.ERRORS);
37 | (0, _api.setPDFNetworkStreamFactory)(function (params) {
38 | return new _node_stream.PDFNodeStream(params);
39 | });
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/test/unit/document_spec.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | var _test_utils = require("./test_utils.js");
25 |
26 | describe("document", function () {
27 | describe("Page", function () {
28 | it("should create correct objId using the idFactory", function () {
29 | const idFactory1 = (0, _test_utils.createIdFactory)(0);
30 | const idFactory2 = (0, _test_utils.createIdFactory)(1);
31 | expect(idFactory1.createObjId()).toEqual("p0_1");
32 | expect(idFactory1.createObjId()).toEqual("p0_2");
33 | expect(idFactory1.getDocId()).toEqual("g_d0");
34 | expect(idFactory2.createObjId()).toEqual("p1_1");
35 | expect(idFactory2.createObjId()).toEqual("p1_2");
36 | expect(idFactory2.getDocId()).toEqual("g_d0");
37 | expect(idFactory1.createObjId()).toEqual("p0_3");
38 | expect(idFactory1.createObjId()).toEqual("p0_4");
39 | expect(idFactory1.getDocId()).toEqual("g_d0");
40 | });
41 | });
42 | });
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/test/unit/encodings_spec.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | var _encodings = require("../../core/encodings.js");
25 |
26 | describe("encodings", function () {
27 | describe("getEncoding", function () {
28 | it("fetches a valid array for known encoding names", function () {
29 | const knownEncodingNames = ["ExpertEncoding", "MacExpertEncoding", "MacRomanEncoding", "StandardEncoding", "SymbolSetEncoding", "WinAnsiEncoding", "ZapfDingbatsEncoding"];
30 |
31 | for (const knownEncodingName of knownEncodingNames) {
32 | const encoding = (0, _encodings.getEncoding)(knownEncodingName);
33 | expect(Array.isArray(encoding)).toEqual(true);
34 | expect(encoding.length).toEqual(256);
35 |
36 | for (const item of encoding) {
37 | expect(typeof item).toEqual("string");
38 | }
39 | }
40 | });
41 | it("fetches `null` for unknown encoding names", function () {
42 | expect((0, _encodings.getEncoding)("FooBarEncoding")).toEqual(null);
43 | });
44 | });
45 | });
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/test/unit/murmurhash3_spec.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | var _murmurhash = require("../../core/murmurhash3.js");
25 |
26 | describe("MurmurHash3_64", function () {
27 | it("instantiates without seed", function () {
28 | var hash = new _murmurhash.MurmurHash3_64();
29 | expect(hash).toEqual(jasmine.any(_murmurhash.MurmurHash3_64));
30 | });
31 | it("instantiates with seed", function () {
32 | var hash = new _murmurhash.MurmurHash3_64(1);
33 | expect(hash).toEqual(jasmine.any(_murmurhash.MurmurHash3_64));
34 | });
35 | var hexDigestExpected = "f61cfdbfdae0f65e";
36 | var sourceText = "test";
37 | var sourceCharCodes = [116, 101, 115, 116];
38 | it("correctly generates a hash from a string", function () {
39 | var hash = new _murmurhash.MurmurHash3_64();
40 | hash.update(sourceText);
41 | expect(hash.hexdigest()).toEqual(hexDigestExpected);
42 | });
43 | it("correctly generates a hash from a Uint8Array", function () {
44 | var hash = new _murmurhash.MurmurHash3_64();
45 | hash.update(new Uint8Array(sourceCharCodes));
46 | expect(hash.hexdigest()).toEqual(hexDigestExpected);
47 | });
48 | it("correctly generates a hash from a Uint32Array", function () {
49 | var hash = new _murmurhash.MurmurHash3_64();
50 | hash.update(new Uint32Array(new Uint8Array(sourceCharCodes).buffer));
51 | expect(hash.hexdigest()).toEqual(hexDigestExpected);
52 | });
53 | it("changes the hash after update without seed", function () {
54 | var hash = new _murmurhash.MurmurHash3_64();
55 | var hexdigest1, hexdigest2;
56 | hash.update(sourceText);
57 | hexdigest1 = hash.hexdigest();
58 | hash.update(sourceText);
59 | hexdigest2 = hash.hexdigest();
60 | expect(hexdigest1).not.toEqual(hexdigest2);
61 | });
62 | it("changes the hash after update with seed", function () {
63 | var hash = new _murmurhash.MurmurHash3_64(1);
64 | var hexdigest1, hexdigest2;
65 | hash.update(sourceText);
66 | hexdigest1 = hash.hexdigest();
67 | hash.update(sourceText);
68 | hexdigest2 = hash.hexdigest();
69 | expect(hexdigest1).not.toEqual(hexdigest2);
70 | });
71 | });
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/test/unit/pdf_find_utils_spec.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | var _pdf_find_utils = require("../../web/pdf_find_utils.js");
25 |
26 | describe("pdf_find_utils", function () {
27 | describe("getCharacterType", function () {
28 | it("gets expected character types", function () {
29 | const characters = {
30 | A: _pdf_find_utils.CharacterType.ALPHA_LETTER,
31 | a: _pdf_find_utils.CharacterType.ALPHA_LETTER,
32 | "0": _pdf_find_utils.CharacterType.ALPHA_LETTER,
33 | "5": _pdf_find_utils.CharacterType.ALPHA_LETTER,
34 | Ä: _pdf_find_utils.CharacterType.ALPHA_LETTER,
35 | ä: _pdf_find_utils.CharacterType.ALPHA_LETTER,
36 | _: _pdf_find_utils.CharacterType.ALPHA_LETTER,
37 | " ": _pdf_find_utils.CharacterType.SPACE,
38 | "\t": _pdf_find_utils.CharacterType.SPACE,
39 | "\r": _pdf_find_utils.CharacterType.SPACE,
40 | "\n": _pdf_find_utils.CharacterType.SPACE,
41 | "\xA0": _pdf_find_utils.CharacterType.SPACE,
42 | "-": _pdf_find_utils.CharacterType.PUNCT,
43 | ",": _pdf_find_utils.CharacterType.PUNCT,
44 | ".": _pdf_find_utils.CharacterType.PUNCT,
45 | ";": _pdf_find_utils.CharacterType.PUNCT,
46 | ":": _pdf_find_utils.CharacterType.PUNCT,
47 | "\u2122": _pdf_find_utils.CharacterType.ALPHA_LETTER,
48 | ล: _pdf_find_utils.CharacterType.THAI_LETTER,
49 | 䀀: _pdf_find_utils.CharacterType.HAN_LETTER,
50 | 縷: _pdf_find_utils.CharacterType.HAN_LETTER,
51 | ダ: _pdf_find_utils.CharacterType.KATAKANA_LETTER,
52 | ぐ: _pdf_find_utils.CharacterType.HIRAGANA_LETTER,
53 | タ: _pdf_find_utils.CharacterType.HALFWIDTH_KATAKANA_LETTER
54 | };
55 |
56 | for (const character in characters) {
57 | const charCode = character.charCodeAt(0);
58 | const type = characters[character];
59 | expect((0, _pdf_find_utils.getCharacterType)(charCode)).toEqual(type);
60 | }
61 | });
62 | });
63 | });
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/test/unit/stream_spec.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | var _stream = require("../../core/stream.js");
25 |
26 | var _primitives = require("../../core/primitives.js");
27 |
28 | describe("stream", function () {
29 | beforeEach(function () {
30 | jasmine.addMatchers({
31 | toMatchTypedArray(util, customEqualityTesters) {
32 | return {
33 | compare(actual, expected) {
34 | var result = {};
35 |
36 | if (actual.length !== expected.length) {
37 | result.pass = false;
38 | result.message = "Array length: " + actual.length + ", expected: " + expected.length;
39 | return result;
40 | }
41 |
42 | result.pass = true;
43 |
44 | for (var i = 0, ii = expected.length; i < ii; i++) {
45 | var a = actual[i],
46 | b = expected[i];
47 |
48 | if (a !== b) {
49 | result.pass = false;
50 | break;
51 | }
52 | }
53 |
54 | return result;
55 | }
56 |
57 | };
58 | }
59 |
60 | });
61 | });
62 | describe("PredictorStream", function () {
63 | it("should decode simple predictor data", function () {
64 | var dict = new _primitives.Dict();
65 | dict.set("Predictor", 12);
66 | dict.set("Colors", 1);
67 | dict.set("BitsPerComponent", 8);
68 | dict.set("Columns", 2);
69 | var input = new _stream.Stream(new Uint8Array([2, 100, 3, 2, 1, 255, 2, 1, 255]), 0, 9, dict);
70 | var predictor = new _stream.PredictorStream(input, 9, dict);
71 | var result = predictor.getBytes(6);
72 | expect(result).toMatchTypedArray(new Uint8Array([100, 3, 101, 2, 102, 1]));
73 | predictor.reset();
74 | const clampedResult = predictor.getBytes(6, true);
75 | expect(clampedResult).toEqual(new Uint8ClampedArray([100, 3, 101, 2, 102, 1]));
76 | });
77 | });
78 | });
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/test/unit/testreporter.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | var TestReporter = function (browser, appPath) {
25 | function send(action, json, cb) {
26 | var r = new XMLHttpRequest();
27 | r.open("POST", action, true);
28 | r.setRequestHeader("Content-Type", "application/json");
29 |
30 | r.onreadystatechange = function sendTaskResultOnreadystatechange(e) {
31 | if (r.readyState === 4) {
32 | if (r.status !== 200) {
33 | send(action, json, cb);
34 | } else {
35 | if (cb) {
36 | cb();
37 | }
38 | }
39 | }
40 | };
41 |
42 | json["browser"] = browser;
43 | r.send(JSON.stringify(json));
44 | }
45 |
46 | function sendInfo(message) {
47 | send("/info", {
48 | message
49 | });
50 | }
51 |
52 | function sendResult(status, description, error) {
53 | var message = {
54 | status,
55 | description
56 | };
57 |
58 | if (typeof error !== "undefined") {
59 | message["error"] = error;
60 | }
61 |
62 | send("/submit_task_results", message);
63 | }
64 |
65 | function sendQuitRequest() {
66 | send("/tellMeToQuit?path=" + escape(appPath), {});
67 | }
68 |
69 | this.now = function () {
70 | return new Date().getTime();
71 | };
72 |
73 | this.jasmineStarted = function (suiteInfo) {
74 | this.runnerStartTime = this.now();
75 | sendInfo("Started tests for " + browser + ".");
76 | };
77 |
78 | this.suiteStarted = function (result) {};
79 |
80 | this.specStarted = function (result) {};
81 |
82 | this.specDone = function (result) {
83 | if (result.failedExpectations.length === 0) {
84 | sendResult("TEST-PASSED", result.description);
85 | } else {
86 | var failedMessages = "";
87 | var items = result.failedExpectations;
88 |
89 | for (var i = 0, ii = items.length; i < ii; i++) {
90 | failedMessages += items[i].message + " ";
91 | }
92 |
93 | sendResult("TEST-UNEXPECTED-FAIL", result.description, failedMessages);
94 | }
95 | };
96 |
97 | this.suiteDone = function (result) {};
98 |
99 | this.jasmineDone = function () {
100 | setTimeout(sendQuitRequest, 500);
101 | };
102 | };
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/web/download_manager.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.DownloadManager = void 0;
28 |
29 | var _pdf = require("../pdf");
30 |
31 | ;
32 | const DISABLE_CREATE_OBJECT_URL = _pdf.apiCompatibilityParams.disableCreateObjectURL || false;
33 |
34 | function download(blobUrl, filename) {
35 | const a = document.createElement("a");
36 |
37 | if (!a.click) {
38 | throw new Error('DownloadManager: "a.click()" is not supported.');
39 | }
40 |
41 | a.href = blobUrl;
42 | a.target = "_parent";
43 |
44 | if ("download" in a) {
45 | a.download = filename;
46 | }
47 |
48 | (document.body || document.documentElement).appendChild(a);
49 | a.click();
50 | a.remove();
51 | }
52 |
53 | class DownloadManager {
54 | constructor({
55 | disableCreateObjectURL = DISABLE_CREATE_OBJECT_URL
56 | }) {
57 | this.disableCreateObjectURL = disableCreateObjectURL;
58 | }
59 |
60 | downloadUrl(url, filename) {
61 | if (!(0, _pdf.createValidAbsoluteUrl)(url, "http://example.com")) {
62 | return;
63 | }
64 |
65 | download(url + "#pdfjs.action=download", filename);
66 | }
67 |
68 | downloadData(data, filename, contentType) {
69 | if (navigator.msSaveBlob) {
70 | navigator.msSaveBlob(new Blob([data], {
71 | type: contentType
72 | }), filename);
73 | return;
74 | }
75 |
76 | const blobUrl = (0, _pdf.createObjectURL)(data, contentType, this.disableCreateObjectURL);
77 | download(blobUrl, filename);
78 | }
79 |
80 | download(blob, url, filename) {
81 | if (navigator.msSaveBlob) {
82 | if (!navigator.msSaveBlob(blob, filename)) {
83 | this.downloadUrl(url, filename);
84 | }
85 |
86 | return;
87 | }
88 |
89 | if (this.disableCreateObjectURL) {
90 | this.downloadUrl(url, filename);
91 | return;
92 | }
93 |
94 | const blobUrl = URL.createObjectURL(blob);
95 | download(blobUrl, filename);
96 | }
97 |
98 | }
99 |
100 | exports.DownloadManager = DownloadManager;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/web/genericcom.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.GenericCom = void 0;
28 |
29 | var _app = require("./app.js");
30 |
31 | var _preferences = require("./preferences.js");
32 |
33 | var _download_manager = require("./download_manager.js");
34 |
35 | var _genericl10n = require("./genericl10n.js");
36 |
37 | ;
38 | const GenericCom = {};
39 | exports.GenericCom = GenericCom;
40 |
41 | class GenericPreferences extends _preferences.BasePreferences {
42 | async _writeToStorage(prefObj) {
43 | localStorage.setItem("pdfjs.preferences", JSON.stringify(prefObj));
44 | }
45 |
46 | async _readFromStorage(prefObj) {
47 | return JSON.parse(localStorage.getItem("pdfjs.preferences"));
48 | }
49 |
50 | }
51 |
52 | class GenericExternalServices extends _app.DefaultExternalServices {
53 | static createDownloadManager(options) {
54 | return new _download_manager.DownloadManager(options);
55 | }
56 |
57 | static createPreferences() {
58 | return new GenericPreferences();
59 | }
60 |
61 | static createL10n({
62 | locale = "en-US"
63 | }) {
64 | return new _genericl10n.GenericL10n(locale);
65 | }
66 |
67 | }
68 |
69 | _app.PDFViewerApplication.externalServices = GenericExternalServices;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/web/genericl10n.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.GenericL10n = void 0;
28 |
29 | require("../external/webL10n/l10n.js");
30 |
31 | const webL10n = document.webL10n;
32 |
33 | class GenericL10n {
34 | constructor(lang) {
35 | this._lang = lang;
36 | this._ready = new Promise((resolve, reject) => {
37 | webL10n.setLanguage(lang, () => {
38 | resolve(webL10n);
39 | });
40 | });
41 | }
42 |
43 | async getLanguage() {
44 | const l10n = await this._ready;
45 | return l10n.getLanguage();
46 | }
47 |
48 | async getDirection() {
49 | const l10n = await this._ready;
50 | return l10n.getDirection();
51 | }
52 |
53 | async get(property, args, fallback) {
54 | const l10n = await this._ready;
55 | return l10n.get(property, args, fallback);
56 | }
57 |
58 | async translate(element) {
59 | const l10n = await this._ready;
60 | return l10n.translate(element);
61 | }
62 |
63 | }
64 |
65 | exports.GenericL10n = GenericL10n;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/web/interfaces.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.IL10n = exports.IPDFAnnotationLayerFactory = exports.IPDFTextLayerFactory = exports.IRenderableView = exports.IPDFHistory = exports.IPDFLinkService = void 0;
28 |
29 | class IPDFLinkService {
30 | get pagesCount() {}
31 |
32 | get page() {}
33 |
34 | set page(value) {}
35 |
36 | get rotation() {}
37 |
38 | set rotation(value) {}
39 |
40 | get externalLinkEnabled() {}
41 |
42 | set externalLinkEnabled(value) {}
43 |
44 | navigateTo(dest) {}
45 |
46 | getDestinationHash(dest) {}
47 |
48 | getAnchorUrl(hash) {}
49 |
50 | setHash(hash) {}
51 |
52 | executeNamedAction(action) {}
53 |
54 | cachePageRef(pageNum, pageRef) {}
55 |
56 | isPageVisible(pageNumber) {}
57 |
58 | }
59 |
60 | exports.IPDFLinkService = IPDFLinkService;
61 |
62 | class IPDFHistory {
63 | initialize({
64 | fingerprint,
65 | resetHistory = false,
66 | updateUrl = false
67 | }) {}
68 |
69 | reset() {}
70 |
71 | push({
72 | namedDest = null,
73 | explicitDest,
74 | pageNumber
75 | }) {}
76 |
77 | pushCurrentPosition() {}
78 |
79 | back() {}
80 |
81 | forward() {}
82 |
83 | }
84 |
85 | exports.IPDFHistory = IPDFHistory;
86 |
87 | class IRenderableView {
88 | get renderingId() {}
89 |
90 | get renderingState() {}
91 |
92 | draw() {}
93 |
94 | resume() {}
95 |
96 | }
97 |
98 | exports.IRenderableView = IRenderableView;
99 |
100 | class IPDFTextLayerFactory {
101 | createTextLayerBuilder(textLayerDiv, pageIndex, viewport, enhanceTextSelection = false, eventBus) {}
102 |
103 | }
104 |
105 | exports.IPDFTextLayerFactory = IPDFTextLayerFactory;
106 |
107 | class IPDFAnnotationLayerFactory {
108 | createAnnotationLayerBuilder(pageDiv, pdfPage, imageResourcesPath = "", renderInteractiveForms = false, l10n = undefined) {}
109 |
110 | }
111 |
112 | exports.IPDFAnnotationLayerFactory = IPDFAnnotationLayerFactory;
113 |
114 | class IL10n {
115 | async getLanguage() {}
116 |
117 | async getDirection() {}
118 |
119 | async get(key, args, fallback) {}
120 |
121 | async translate(element) {}
122 |
123 | }
124 |
125 | exports.IL10n = IL10n;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/web/password_prompt.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.PasswordPrompt = void 0;
28 |
29 | var _ui_utils = require("./ui_utils.js");
30 |
31 | var _pdf = require("../pdf");
32 |
33 | class PasswordPrompt {
34 | constructor(options, overlayManager, l10n = _ui_utils.NullL10n) {
35 | this.overlayName = options.overlayName;
36 | this.container = options.container;
37 | this.label = options.label;
38 | this.input = options.input;
39 | this.submitButton = options.submitButton;
40 | this.cancelButton = options.cancelButton;
41 | this.overlayManager = overlayManager;
42 | this.l10n = l10n;
43 | this.updateCallback = null;
44 | this.reason = null;
45 | this.submitButton.addEventListener("click", this.verify.bind(this));
46 | this.cancelButton.addEventListener("click", this.close.bind(this));
47 | this.input.addEventListener("keydown", e => {
48 | if (e.keyCode === 13) {
49 | this.verify();
50 | }
51 | });
52 | this.overlayManager.register(this.overlayName, this.container, this.close.bind(this), true);
53 | }
54 |
55 | open() {
56 | this.overlayManager.open(this.overlayName).then(() => {
57 | this.input.focus();
58 | let promptString;
59 |
60 | if (this.reason === _pdf.PasswordResponses.INCORRECT_PASSWORD) {
61 | promptString = this.l10n.get("password_invalid", null, "Invalid password. Please try again.");
62 | } else {
63 | promptString = this.l10n.get("password_label", null, "Enter the password to open this PDF file.");
64 | }
65 |
66 | promptString.then(msg => {
67 | this.label.textContent = msg;
68 | });
69 | });
70 | }
71 |
72 | close() {
73 | this.overlayManager.close(this.overlayName).then(() => {
74 | this.input.value = "";
75 | });
76 | }
77 |
78 | verify() {
79 | const password = this.input.value;
80 |
81 | if (password && password.length > 0) {
82 | this.close();
83 | this.updateCallback(password);
84 | }
85 | }
86 |
87 | setUpdateCallback(updateCallback, reason) {
88 | this.updateCallback = updateCallback;
89 | this.reason = reason;
90 | }
91 |
92 | }
93 |
94 | exports.PasswordPrompt = PasswordPrompt;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/web/pdf_viewer.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.PDFViewer = void 0;
28 |
29 | var _base_viewer = require("./base_viewer.js");
30 |
31 | var _pdf = require("../pdf");
32 |
33 | class PDFViewer extends _base_viewer.BaseViewer {
34 | get _setDocumentViewerElement() {
35 | return (0, _pdf.shadow)(this, "_setDocumentViewerElement", this.viewer);
36 | }
37 |
38 | _scrollIntoView({
39 | pageDiv,
40 | pageSpot = null,
41 | pageNumber = null
42 | }) {
43 | if (!pageSpot && !this.isInPresentationMode) {
44 | const left = pageDiv.offsetLeft + pageDiv.clientLeft;
45 | const right = left + pageDiv.clientWidth;
46 | const {
47 | scrollLeft,
48 | clientWidth
49 | } = this.container;
50 |
51 | if (this._isScrollModeHorizontal || left < scrollLeft || right > scrollLeft + clientWidth) {
52 | pageSpot = {
53 | left: 0,
54 | top: 0
55 | };
56 | }
57 | }
58 |
59 | super._scrollIntoView({
60 | pageDiv,
61 | pageSpot,
62 | pageNumber
63 | });
64 | }
65 |
66 | _getVisiblePages() {
67 | if (this.isInPresentationMode) {
68 | return this._getCurrentVisiblePage();
69 | }
70 |
71 | return super._getVisiblePages();
72 | }
73 |
74 | _updateHelper(visiblePages) {
75 | if (this.isInPresentationMode) {
76 | return;
77 | }
78 |
79 | let currentId = this._currentPageNumber;
80 | let stillFullyVisible = false;
81 |
82 | for (const page of visiblePages) {
83 | if (page.percent < 100) {
84 | break;
85 | }
86 |
87 | if (page.id === currentId) {
88 | stillFullyVisible = true;
89 | break;
90 | }
91 | }
92 |
93 | if (!stillFullyVisible) {
94 | currentId = visiblePages[0].id;
95 | }
96 |
97 | this._setCurrentPageNumber(currentId);
98 | }
99 |
100 | }
101 |
102 | exports.PDFViewer = PDFViewer;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/web/view_history.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | Object.defineProperty(exports, "__esModule", {
25 | value: true
26 | });
27 | exports.ViewHistory = void 0;
28 | const DEFAULT_VIEW_HISTORY_CACHE_SIZE = 20;
29 |
30 | class ViewHistory {
31 | constructor(fingerprint, cacheSize = DEFAULT_VIEW_HISTORY_CACHE_SIZE) {
32 | this.fingerprint = fingerprint;
33 | this.cacheSize = cacheSize;
34 | this._initializedPromise = this._readFromStorage().then(databaseStr => {
35 | const database = JSON.parse(databaseStr || "{}");
36 |
37 | if (!("files" in database)) {
38 | database.files = [];
39 | } else {
40 | while (database.files.length >= this.cacheSize) {
41 | database.files.shift();
42 | }
43 | }
44 |
45 | let index = -1;
46 |
47 | for (let i = 0, length = database.files.length; i < length; i++) {
48 | const branch = database.files[i];
49 |
50 | if (branch.fingerprint === this.fingerprint) {
51 | index = i;
52 | break;
53 | }
54 | }
55 |
56 | if (index === -1) {
57 | index = database.files.push({
58 | fingerprint: this.fingerprint
59 | }) - 1;
60 | }
61 |
62 | this.file = database.files[index];
63 | this.database = database;
64 | });
65 | }
66 |
67 | async _writeToStorage() {
68 | const databaseStr = JSON.stringify(this.database);
69 | localStorage.setItem("pdfjs.history", databaseStr);
70 | }
71 |
72 | async _readFromStorage() {
73 | return localStorage.getItem("pdfjs.history");
74 | }
75 |
76 | async set(name, val) {
77 | await this._initializedPromise;
78 | this.file[name] = val;
79 | return this._writeToStorage();
80 | }
81 |
82 | async setMultiple(properties) {
83 | await this._initializedPromise;
84 |
85 | for (const name in properties) {
86 | this.file[name] = properties[name];
87 | }
88 |
89 | return this._writeToStorage();
90 | }
91 |
92 | async get(name, defaultValue) {
93 | await this._initializedPromise;
94 | const val = this.file[name];
95 | return val !== undefined ? val : defaultValue;
96 | }
97 |
98 | async getMultiple(properties) {
99 | await this._initializedPromise;
100 | const values = Object.create(null);
101 |
102 | for (const name in properties) {
103 | const val = this.file[name];
104 | values[name] = val !== undefined ? val : properties[name];
105 | }
106 |
107 | return values;
108 | }
109 |
110 | }
111 |
112 | exports.ViewHistory = ViewHistory;
--------------------------------------------------------------------------------
/src/pdfjs-dist/lib/web/viewer_compatibility.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @licstart The following is the entire license notice for the
3 | * Javascript code in this page
4 | *
5 | * Copyright 2020 Mozilla Foundation
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | *
19 | * @licend The above is the entire license notice for the
20 | * Javascript code in this page
21 | */
22 | "use strict";
23 |
24 | const compatibilityParams = Object.create(null);
25 | {
26 | const userAgent = typeof navigator !== "undefined" && navigator.userAgent || "";
27 | const platform = typeof navigator !== "undefined" && navigator.platform || "";
28 | const maxTouchPoints = typeof navigator !== "undefined" && navigator.maxTouchPoints || 1;
29 | const isAndroid = /Android/.test(userAgent);
30 | const isIOS = /\b(iPad|iPhone|iPod)(?=;)/.test(userAgent) || platform === "MacIntel" && maxTouchPoints > 1;
31 |
32 | (function checkCanvasSizeLimitation() {
33 | if (isIOS || isAndroid) {
34 | compatibilityParams.maxCanvasPixels = 5242880;
35 | }
36 | })();
37 | }
38 | exports.viewerCompatibilityParams = Object.freeze(compatibilityParams);
--------------------------------------------------------------------------------
/src/pdfjs-dist/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "_from": "pdfjs-dist",
3 | "_id": "pdfjs-dist@2.4.456",
4 | "_inBundle": false,
5 | "_integrity": "sha512-yckJEHq3F48hcp6wStEpbN9McOj328Ib09UrBlGAKxvN2k+qYPN5iq6TH6jD1C0pso7zTep+g/CKsYgdrQd5QA==",
6 | "_location": "/pdfjs-dist",
7 | "_phantomChildren": {},
8 | "_requested": {
9 | "type": "tag",
10 | "registry": true,
11 | "raw": "pdfjs-dist",
12 | "name": "pdfjs-dist",
13 | "escapedName": "pdfjs-dist",
14 | "rawSpec": "",
15 | "saveSpec": null,
16 | "fetchSpec": "latest"
17 | },
18 | "_requiredBy": [
19 | "#USER",
20 | "/"
21 | ],
22 | "_resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-2.4.456.tgz",
23 | "_shasum": "0eaad2906cda866bbb393e79a0e5b4e68bd75520",
24 | "_spec": "pdfjs-dist",
25 | "_where": "C:\\_my folder\\repos\\pdf-viewer",
26 | "browser": {
27 | "fs": false,
28 | "http": false,
29 | "https": false,
30 | "url": false,
31 | "zlib": false
32 | },
33 | "bugs": {
34 | "url": "https://github.com/mozilla/pdf.js/issues"
35 | },
36 | "bundleDependencies": false,
37 | "deprecated": false,
38 | "description": "Generic build of Mozilla's PDF.js library.",
39 | "format": "amd",
40 | "homepage": "http://mozilla.github.io/pdf.js/",
41 | "keywords": [
42 | "Mozilla",
43 | "pdf",
44 | "pdf.js"
45 | ],
46 | "license": "Apache-2.0",
47 | "main": "build/pdf.js",
48 | "name": "pdfjs-dist",
49 | "repository": {
50 | "type": "git",
51 | "url": "git+https://github.com/mozilla/pdfjs-dist.git"
52 | },
53 | "version": "2.4.456"
54 | }
55 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/annotation-check.svg:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/annotation-comment.svg:
--------------------------------------------------------------------------------
1 |
2 |
17 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/annotation-help.svg:
--------------------------------------------------------------------------------
1 |
2 |
27 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/annotation-insert.svg:
--------------------------------------------------------------------------------
1 |
2 |
11 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/annotation-key.svg:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/annotation-newparagraph.svg:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/annotation-noicon.svg:
--------------------------------------------------------------------------------
1 |
2 |
8 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/annotation-note.svg:
--------------------------------------------------------------------------------
1 |
2 |
43 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/annotation-paragraph.svg:
--------------------------------------------------------------------------------
1 |
2 |
17 |
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/loading-icon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/web/images/loading-icon.gif
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/web/images/shadow.png
--------------------------------------------------------------------------------
/src/pdfjs-dist/web/images/texture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stellR42/vue3-pdf-app/7c8f8200fb499384428d3e679f5032fae959d53b/src/pdfjs-dist/web/images/texture.png
--------------------------------------------------------------------------------
/src/pdfjs-dist/webpack.js:
--------------------------------------------------------------------------------
1 | /* Copyright 2020 Mozilla Foundation
2 | *
3 | * Licensed under the Apache License, Version 2.0 (the "License");
4 | * you may not use this file except in compliance with the License.
5 | * You may obtain a copy of the License at
6 | *
7 | * http://www.apache.org/licenses/LICENSE-2.0
8 | *
9 | * Unless required by applicable law or agreed to in writing, software
10 | * distributed under the License is distributed on an "AS IS" BASIS,
11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | * See the License for the specific language governing permissions and
13 | * limitations under the License.
14 | */
15 |
16 | "use strict";
17 |
18 | try {
19 | require.resolve("worker-loader");
20 | } catch (ex) {
21 | throw new Error(
22 | "Cannot find the `worker-loader` package, please make sure that it's correctly installed."
23 | );
24 | }
25 |
26 | var pdfjs = require("./build/pdf.js");
27 | var PdfjsWorker = require("worker-loader!./build/pdf.worker.js");
28 |
29 | if (typeof window !== "undefined" && "Worker" in window) {
30 | pdfjs.GlobalWorkerOptions.workerPort = new PdfjsWorker();
31 | }
32 |
33 | module.exports = pdfjs;
34 |
--------------------------------------------------------------------------------
/src/router/index.ts:
--------------------------------------------------------------------------------
1 | import { createRouter, createWebHistory } from 'vue-router'
2 | import PdfViewer from '@/views/pdf-app.vue'
3 | import ThemeToggling from '@/views/theme-toggling.vue'
4 | import About from '@/components/about-view.vue'
5 | import Sandbox from '@/views/sandbox-view.vue'
6 |
7 | export default createRouter({
8 | history: createWebHistory(process.env.BASE_URL),
9 | routes: [
10 | {
11 | path: '/',
12 | name: 'home',
13 | component: PdfViewer
14 | },
15 | {
16 | path: '/theme-toggling',
17 | name: 'theme-togglingh',
18 | component: ThemeToggling
19 | },
20 | {
21 | path: '/sandbox',
22 | name: 'sandbox',
23 | component: Sandbox
24 | },
25 | {
26 | path: '/about',
27 | name: 'about',
28 | component: About
29 | }
30 | ]
31 | })
32 |
--------------------------------------------------------------------------------
/src/sass/index.scss:
--------------------------------------------------------------------------------
1 | @import "@/sass/text_layer_builder.scss";
2 | @import "@/sass/annotation_layer_builder.scss";
3 | @import "@/sass/pdf_viewer.scss";
4 | @import "@/sass/viewer.scss";
--------------------------------------------------------------------------------
/src/sass/text_layer_builder.scss:
--------------------------------------------------------------------------------
1 | /* Copyright 2014 Mozilla Foundation
2 | *
3 | * Licensed under the Apache License, Version 2.0 (the "License");
4 | * you may not use this file except in compliance with the License.
5 | * You may obtain a copy of the License at
6 | *
7 | * http://www.apache.org/licenses/LICENSE-2.0
8 | *
9 | * Unless required by applicable law or agreed to in writing, software
10 | * distributed under the License is distributed on an "AS IS" BASIS,
11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | * See the License for the specific language governing permissions and
13 | * limitations under the License.
14 | */
15 |
16 | .pdf-app .textLayer {
17 | position: absolute;
18 | left: 0;
19 | top: 0;
20 | right: 0;
21 | bottom: 0;
22 | overflow: hidden;
23 | opacity: 0.2;
24 | line-height: 1;
25 | }
26 |
27 | .pdf-app .textLayer > span {
28 | color: transparent;
29 | position: absolute;
30 | white-space: pre;
31 | cursor: text;
32 | transform-origin: 0% 0%;
33 | }
34 |
35 | .pdf-app .textLayer .highlight {
36 | margin: -1px;
37 | padding: 1px;
38 | background-color: rgba(180, 0, 170, 1);
39 | border-radius: 4px;
40 | }
41 |
42 | .pdf-app .textLayer .highlight.begin {
43 | border-radius: 4px 0px 0px 4px;
44 | }
45 |
46 | .pdf-app .textLayer .highlight.end {
47 | border-radius: 0px 4px 4px 0px;
48 | }
49 |
50 | .pdf-app .textLayer .highlight.middle {
51 | border-radius: 0px;
52 | }
53 |
54 | .pdf-app .textLayer .highlight.selected {
55 | background-color: rgba(0, 100, 0, 1);
56 | }
57 |
58 | .pdf-app .textLayer ::selection {
59 | background: rgba(0, 0, 255, 1);
60 | }
61 |
62 | .pdf-app .textLayer .endOfContent {
63 | display: block;
64 | position: absolute;
65 | left: 0px;
66 | top: 100%;
67 | right: 0px;
68 | bottom: 0px;
69 | z-index: -1;
70 | cursor: default;
71 | user-select: none;
72 | }
73 |
74 | .pdf-app .textLayer .endOfContent.active {
75 | top: 0px;
76 | }
77 |
--------------------------------------------------------------------------------
/src/sass/variables.scss:
--------------------------------------------------------------------------------
1 | $pdf-sidebar-transition-duration: 200ms;
2 | $pdf-sidebar-transition-timing-function: ease;
3 |
4 | $pdf-app-background-color: rgb(29, 38, 54);
5 | $pdf-sidebar-content-color: rgba(36, 54, 78, 0.5);
6 | $pdf-toolbar-sidebar-color: rgb(36, 54, 78);
7 | $pdf-toolbar-color: rgb(36, 54, 78);
8 | $pdf-loading-bar-color: rgb(96, 108, 136);
9 | $pdf-loading-bar-secondary-color: rgb(17, 236, 229);
10 | $pdf-find-results-count-color: rgba(217, 217, 217, 1);
11 | $pdf-find-results-count-font-color: rgba(82, 82, 82, 1);
12 | $pdf-find-message-font-color: rgba(166, 183, 208, 1);
13 | $pdf-not-found-color: rgba(255, 102, 102, 1);
14 | $pdf-split-toolbar-button-separator-color: rgb(255, 255, 255);
15 | $pdf-toolbar-font-color: rgba(217, 217, 217, 1);
16 | $pdf-button-hover-font-color: rgb(17, 236, 229);
17 | $pdf-button-toggled-color: rgb(96, 108, 136);
18 | $pdf-horizontal-toolbar-separator-color: rgb(255, 255, 255);
19 | $pdf-input-color: rgb(96, 108, 136);
20 | $pdf-input-font-color: rgba(217, 217, 217, 1);
21 | $pdf-find-input-placeholder-font-color: rgb(17, 236, 229);
22 | $pdf-thumbnail-selection-ring-color: rgba(255, 255, 255, 0.15);
23 | $pdf-thumbnail-selection-ring-selected-color: rgba(255, 255, 255, 0.3);
24 | $pdf-error-wrapper-color: rgba(255, 85, 85, 1);
25 | $pdf-error-more-info-color: rgba(217, 217, 217, 1);
26 | $pdf-error-more-info-font-color: rgba(0, 0, 0, 1);
27 | $pdf-overlay-container-color: rgba(0, 0, 0, 0.2);
28 | $pdf-overlay-container-dialog-color: rgb(36, 54, 78);
29 | $pdf-overlay-container-dialog-font-color: rgba(217, 217, 217, 1);
30 | $pdf-overlay-container-dialog-separator-color: rgb(255, 255, 255);
31 | $pdf-dialog-button-color: rgb(96, 108, 136);
32 | $pdf-dialog-button-font-color: rgba(217, 217, 217, 1);
33 |
34 | // light theme
35 | $pdf-app-background-color-light: rgba(108, 117, 125, 0.3);
36 | $pdf-sidebar-content-color-light: rgb(108, 117, 125, 0.4);
37 | $pdf-toolbar-sidebar-color-light: rgba(108, 117, 125, 0.7);
38 | $pdf-toolbar-color-light: rgb(108, 117, 125);
39 | $pdf-loading-bar-color-light: rgb(63, 75, 91);;
40 | $pdf-loading-bar-secondary-color-light: rgb(141, 208, 255);;
41 | $pdf-find-results-count-color-light: rgb(63, 75, 91);
42 | $pdf-find-results-count-font-color-light: rgba(255, 255, 255, 0.87);
43 | $pdf-find-message-font-color-light: rgba(255, 255, 255, 0.87);
44 | $pdf-not-found-color-light: brown;
45 | $pdf-split-toolbar-button-separator-color-light: black;
46 | $pdf-toolbar-font-color-light: rgba(255, 255, 255, 0.87);
47 | $pdf-button-hover-font-color-light: rgb(141, 208, 255);
48 | $pdf-button-toggled-color-light: rgb(63, 75, 91);
49 | $pdf-horizontal-toolbar-separator-color-light: black;
50 | $pdf-input-color-light: rgb(63, 75, 91);
51 | $pdf-input-font-color-light: rgba(217, 217, 217, 1);
52 | $pdf-find-input-placeholder-font-color-light: rgb(141, 208, 255);
53 | $pdf-thumbnail-selection-ring-color-light: rgba(108, 117, 125, 0.7);
54 | $pdf-thumbnail-selection-ring-selected-color-light: rgb(63, 75, 91);
55 | $pdf-error-wrapper-color-light: rgba(255, 85, 85, 1);
56 | $pdf-error-more-info-color-light: rgba(217, 217, 217, 1);
57 | $pdf-error-more-info-font-color-light: rgba(0, 0, 0, 1);
58 | $pdf-overlay-container-color-light: rgba(108, 117, 125, 0.7);
59 | $pdf-overlay-container-dialog-color-light: rgb(108, 117, 125);
60 | $pdf-overlay-container-dialog-font-color-light: rgba(217, 217, 217, 1);
61 | $pdf-overlay-container-dialog-separator-color-light: black;
62 | $pdf-dialog-button-color-light: rgb(63, 75, 91);;
63 | $pdf-dialog-button-font-color-light: rgba(217, 217, 217, 1);
64 |
--------------------------------------------------------------------------------
/src/shims-tsx.d.ts:
--------------------------------------------------------------------------------
1 | import Vue, { VNode } from 'vue'
2 |
3 | declare global {
4 | namespace JSX {
5 | // tslint:disable no-empty-interface
6 | interface Element extends VNode {}
7 | // tslint:disable no-empty-interface
8 | interface ElementClass extends Vue {}
9 | interface IntrinsicElements {
10 | [elem: string]: any;
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/shims-vue.d.ts:
--------------------------------------------------------------------------------
1 | declare module '*.vue' {
2 | import Vue from 'vue'
3 | export default Vue
4 | }
5 |
--------------------------------------------------------------------------------
/src/types/index.ts:
--------------------------------------------------------------------------------
1 | export type ToolbarConfValue = boolean | ToolbarConfig | undefined;
2 |
3 | export interface ToolbarConfig {
4 | [key: string]: ToolbarConfValue;
5 | }
6 |
7 | export type Theme = "dark" | "light";
8 |
9 | export type PageScale =
10 | | number
11 | | "page-actual"
12 | | "page-width"
13 | | "page-height"
14 | | "page-fit"
15 | | "auto";
16 |
17 | export interface ToolbarIdConfig {
18 | cursorHandTool?: string;
19 | cursorSelectTool?: string;
20 | documentProperties?: string;
21 | download?: string;
22 | findbar?: string;
23 | findEntireWord?: string;
24 | findHighlightAll?: string;
25 | findInput?: string;
26 | findMatchCase?: string;
27 | findMessage?: string;
28 | findNext?: string;
29 | findPrevious?: string;
30 | findResultsCount?: string;
31 | firstPage?: string;
32 | lastPage?: string;
33 | nextPage?: string;
34 | numPages?: string;
35 | openFile?: string;
36 | pageNumber?: string;
37 | pageRotateCcw?: string;
38 | pageRotateCw?: string;
39 | presentationMode?: string;
40 | previousPage?: string;
41 | print?: string;
42 | scrollHorizontal?: string;
43 | scrollVertical?: string;
44 | scrollWrapped?: string;
45 | sidebarToggle?: string;
46 | spreadEven?: string;
47 | spreadNone?: string;
48 | spreadOdd?: string;
49 | toggleFindbar?: string;
50 | viewAttachments?: string;
51 | viewBookmark?: string;
52 | viewOutline?: string;
53 | viewThumbnail?: string;
54 | zoomIn?: string;
55 | zoomOut?: string;
56 | }
57 |
--------------------------------------------------------------------------------
/src/utils/constants.ts:
--------------------------------------------------------------------------------
1 | export const PDF_FILE_INPUT_ID = "pdfFileInput";
--------------------------------------------------------------------------------
/src/utils/toolbar-config.ts:
--------------------------------------------------------------------------------
1 | import { ToolbarConfValue, ToolbarConfig } from "@/types";
2 |
3 | export const toolbarConfig: ToolbarConfig = {
4 | sidebar: {
5 | viewThumbnail: true,
6 | viewOutline: true,
7 | viewAttachments: true
8 | },
9 | secondaryToolbar: {
10 | secondaryPresentationMode: true,
11 | secondaryOpenFile: true,
12 | secondaryPrint: true,
13 | secondaryDownload: true,
14 | secondaryViewBookmark: true,
15 | firstPage: true,
16 | lastPage: true,
17 | pageRotateCw: true,
18 | pageRotateCcw: true,
19 | cursorSelectTool: true,
20 | cursorHandTool: true,
21 | scrollVertical: true,
22 | scrollHorizontal: true,
23 | scrollWrapped: true,
24 | spreadNone: true,
25 | spreadOdd: true,
26 | spreadEven: true,
27 | documentProperties: true
28 | },
29 | toolbar: {
30 | toolbarViewerLeft: {
31 | findbar: true,
32 | previous: true,
33 | next: true,
34 | pageNumber: true
35 | },
36 | toolbarViewerRight: {
37 | presentationMode: true,
38 | openFile: true,
39 | print: true,
40 | download: true,
41 | viewBookmark: true
42 | },
43 | toolbarViewerMiddle: {
44 | zoomOut: true,
45 | zoomIn: true,
46 | scaleSelectContainer: true
47 | }
48 | },
49 | errorWrapper: true
50 | };
51 |
52 | export const getToolbarConfigValue = (
53 | config: ToolbarConfig,
54 | path: string
55 | ): ToolbarConfValue => {
56 | const props = path.split(".");
57 | let currValue = config[props[0]];
58 |
59 | for (let i = 1; i < props.length; i++) {
60 | if (typeof currValue === "object") {
61 | currValue = currValue[props[i]];
62 | } else break;
63 | }
64 | return currValue;
65 | };
66 |
--------------------------------------------------------------------------------
/src/views/pdf-app.vue:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
54 |
55 |
71 |
--------------------------------------------------------------------------------
/src/views/theme-toggling.vue:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
14 |
15 |
16 |
17 |
18 |
34 |
35 |
68 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "esnext",
4 | "module": "esnext",
5 | "strict": false,
6 | "noImplicitAny": false,
7 | "jsx": "preserve",
8 | "moduleResolution": "node",
9 | "skipLibCheck": true,
10 | "esModuleInterop": true,
11 | "allowSyntheticDefaultImports": true,
12 | "forceConsistentCasingInFileNames": true,
13 | "useDefineForClassFields": true,
14 | "sourceMap": true,
15 | "baseUrl": ".",
16 | "types": [
17 | "webpack-env"
18 | ],
19 | "paths": {
20 | "@/*": [
21 | "src/*"
22 | ]
23 | },
24 | "lib": [
25 | "esnext",
26 | "dom",
27 | "dom.iterable",
28 | "scripthost"
29 | ]
30 | },
31 | "include": [
32 | "src/**/*.ts",
33 | "src/**/*.tsx",
34 | "src/**/*.vue",
35 | "tests/**/*.ts",
36 | "tests/**/*.tsx"
37 | ],
38 | "exclude": [
39 | "node_modules"
40 | ]
41 | }
42 |
--------------------------------------------------------------------------------
/tsconfig.lib.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "outDir": "dist/types",
5 | "declaration": true,
6 | "declarationMap": true,
7 | "emitDeclarationOnly": true
8 | },
9 | "include": [
10 | "src/components/pdf-viewer.vue"
11 | ]
12 | }
--------------------------------------------------------------------------------
/vue.config.js:
--------------------------------------------------------------------------------
1 | const { defineConfig } = require('@vue/cli-service')
2 | module.exports = defineConfig({
3 | lintOnSave: false,
4 | css: { extract: false },
5 | transpileDependencies: ['pdfjs-dist'],
6 | configureWebpack: {
7 | // plugins: [new BundleAnalyzerPlugin()],
8 | module: {
9 | rules: [
10 | {
11 | test: /\.(cur)$/,
12 | use: ['file-loader']
13 | }
14 | ]
15 | }
16 | },
17 | chainWebpack: (config) => {
18 | const svgRule = config.module.rule('svg')
19 | svgRule.uses.clear()
20 | svgRule.use().loader('svg-url-loader')
21 | }
22 | })
23 |
--------------------------------------------------------------------------------
/webpack-icons.config.js:
--------------------------------------------------------------------------------
1 | const path = require('path')
2 | const MiniCssExtractPlugin = require('mini-css-extract-plugin')
3 |
4 | module.exports = {
5 | entry: './src/sass/icons.scss',
6 | mode: 'production',
7 | output: {
8 | path: path.resolve(__dirname, 'dist/icons')
9 | },
10 | module: {
11 | rules: [
12 | {
13 | test: /\.scss$/,
14 | use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader']
15 | },
16 | {
17 | test: /\.(woff|woff2|eot|ttf|otf|svg)$/i,
18 | type: 'asset/resource',
19 | dependency: { not: ['url'] }
20 | }
21 | ]
22 | },
23 | plugins: [new MiniCssExtractPlugin()]
24 | }
25 |
--------------------------------------------------------------------------------