@cocoar/vue-document-viewer 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +212 -0
  3. package/dist/CoarDocumentViewer.vue.d.ts +243 -0
  4. package/dist/CoarDocumentViewer.vue.d.ts.map +1 -0
  5. package/dist/index.d.ts +7 -0
  6. package/dist/index.d.ts.map +1 -0
  7. package/dist/index.js +3283 -0
  8. package/dist/internal/AnnotationLayer.vue.d.ts +23 -0
  9. package/dist/internal/AnnotationLayer.vue.d.ts.map +1 -0
  10. package/dist/internal/AnnotationPopover.vue.d.ts +35 -0
  11. package/dist/internal/AnnotationPopover.vue.d.ts.map +1 -0
  12. package/dist/internal/DocumentAnnotationPanel.vue.d.ts +27 -0
  13. package/dist/internal/DocumentAnnotationPanel.vue.d.ts.map +1 -0
  14. package/dist/internal/DocumentInfoSection.vue.d.ts +18 -0
  15. package/dist/internal/DocumentInfoSection.vue.d.ts.map +1 -0
  16. package/dist/internal/DocumentSearchBar.vue.d.ts +23 -0
  17. package/dist/internal/DocumentSearchBar.vue.d.ts.map +1 -0
  18. package/dist/internal/DocumentSidebar.vue.d.ts +33 -0
  19. package/dist/internal/DocumentSidebar.vue.d.ts.map +1 -0
  20. package/dist/internal/DocumentToolbar.vue.d.ts +92 -0
  21. package/dist/internal/DocumentToolbar.vue.d.ts.map +1 -0
  22. package/dist/internal/PdfOutlineList.vue.d.ts +35 -0
  23. package/dist/internal/PdfOutlineList.vue.d.ts.map +1 -0
  24. package/dist/internal/effective-tools.d.ts +10 -0
  25. package/dist/internal/effective-tools.d.ts.map +1 -0
  26. package/dist/internal/page-provider.d.ts +51 -0
  27. package/dist/internal/page-provider.d.ts.map +1 -0
  28. package/dist/internal/useAnnotationEditor.d.ts +210 -0
  29. package/dist/internal/useAnnotationEditor.d.ts.map +1 -0
  30. package/dist/internal/useDocumentLoader.d.ts +20 -0
  31. package/dist/internal/useDocumentLoader.d.ts.map +1 -0
  32. package/dist/internal/usePageRenderer.d.ts +52 -0
  33. package/dist/internal/usePageRenderer.d.ts.map +1 -0
  34. package/dist/internal/usePdfSearch.d.ts +27 -0
  35. package/dist/internal/usePdfSearch.d.ts.map +1 -0
  36. package/dist/internal/usePositionMemory.d.ts +24 -0
  37. package/dist/internal/usePositionMemory.d.ts.map +1 -0
  38. package/dist/pdf.js +19 -0
  39. package/dist/source-types.d.ts +100 -0
  40. package/dist/source-types.d.ts.map +1 -0
  41. package/dist/sources/image-adapter.d.ts +38 -0
  42. package/dist/sources/image-adapter.d.ts.map +1 -0
  43. package/dist/sources/image-gallery-adapter.d.ts +14 -0
  44. package/dist/sources/image-gallery-adapter.d.ts.map +1 -0
  45. package/dist/sources/image.d.ts +32 -0
  46. package/dist/sources/image.d.ts.map +1 -0
  47. package/dist/sources/pdf-adapter.d.ts +27 -0
  48. package/dist/sources/pdf-adapter.d.ts.map +1 -0
  49. package/dist/sources/pdf.d.ts +20 -0
  50. package/dist/sources/pdf.d.ts.map +1 -0
  51. package/dist/types.d.ts +132 -0
  52. package/dist/types.d.ts.map +1 -0
  53. package/dist/vue-document-viewer.css +2 -0
  54. package/package.json +64 -0
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@cocoar/vue-document-viewer",
3
+ "version": "2.3.0",
4
+ "description": "Universal document viewer for Vue 3 — PDFs, images, and more, with annotations and Cocoar Design System styling",
5
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/cocoar-dev/cocoar-ui-vue.git",
9
+ "directory": "packages/document-viewer"
10
+ },
11
+ "homepage": "https://docs.cocoar.dev/cocoar-ui-vue/",
12
+ "bugs": "https://github.com/cocoar-dev/cocoar-ui-vue/issues",
13
+ "keywords": [
14
+ "vue",
15
+ "vue3",
16
+ "pdf",
17
+ "image",
18
+ "viewer",
19
+ "pdfjs",
20
+ "annotations"
21
+ ],
22
+ "type": "module",
23
+ "sideEffects": [
24
+ "*.css"
25
+ ],
26
+ "main": "./dist/index.js",
27
+ "module": "./dist/index.js",
28
+ "types": "./dist/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "import": "./dist/index.js",
32
+ "types": "./dist/index.d.ts"
33
+ },
34
+ "./pdf": {
35
+ "import": "./dist/pdf.js",
36
+ "types": "./dist/pdf.d.ts"
37
+ },
38
+ "./styles": "./dist/vue-document-viewer.css"
39
+ },
40
+ "files": [
41
+ "dist"
42
+ ],
43
+ "scripts": {
44
+ "build": "vite build",
45
+ "test": "vitest run --passWithNoTests",
46
+ "lint": "eslint src/",
47
+ "typecheck": "vue-tsc --noEmit"
48
+ },
49
+ "peerDependencies": {
50
+ "@cocoar/vue-ui": "2.3.0",
51
+ "pdfjs-dist": "^5.0.0",
52
+ "vue": "^3.5.0"
53
+ },
54
+ "peerDependenciesMeta": {
55
+ "pdfjs-dist": {
56
+ "optional": true
57
+ }
58
+ },
59
+ "devDependencies": {
60
+ "@cocoar/vue-ui": "workspace:*",
61
+ "pdfjs-dist": "^5.7.0",
62
+ "vue": "^3.5.32"
63
+ }
64
+ }