dsh-pdf-workbench 1.3.3 → 1.4.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 (82) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +225 -199
  3. package/assets/screenshot-attachments.jpg +0 -0
  4. package/assets/screenshot-canvas.jpg +0 -0
  5. package/assets/screenshot-questions.jpg +0 -0
  6. package/assets/screenshot-settings-data.jpg +0 -0
  7. package/assets/screenshot-settings-mode.jpg +0 -0
  8. package/assets/screenshot-settings-reading.jpg +0 -0
  9. package/client.js +5700 -849
  10. package/docs/DETAIL.md +1 -69
  11. package/docs/RELEASE.md +119 -119
  12. package/docs/SIDE-PREVIEW.md +5 -1
  13. package/docs/preview.svg +86 -0
  14. package/icon.svg +7 -6
  15. package/index.js +18 -2
  16. package/locale/en.json +1 -1
  17. package/locale/zh.json +1 -1
  18. package/package.json +1 -1
  19. package/screenshots.json +13 -8
  20. package/src/client/host-ui-entry.js +11 -11
  21. package/src/client/react-jsx-runtime.cjs +21 -21
  22. package/src/client/viewer.js +80 -80
  23. package/src/host/artifacts.js +31 -3
  24. package/src/host/attachments.js +159 -0
  25. package/src/host/backup.js +457 -0
  26. package/src/host/base-session.js +146 -0
  27. package/src/host/book-import.js +98 -0
  28. package/src/host/chapter-sessions.js +154 -0
  29. package/src/host/chapter-text.js +91 -0
  30. package/src/host/fonts.js +190 -0
  31. package/src/host/pdf-stream.js +168 -0
  32. package/src/host/ppt.js +153 -0
  33. package/src/host/print.js +191 -0
  34. package/src/host/questions.js +186 -0
  35. package/src/host/routes.js +671 -25
  36. package/src/host/state.js +1 -1
  37. package/src/host/zip.js +186 -0
  38. package/tools/AGENTS.md +33 -33
  39. package/tools/README.md +138 -138
  40. package/tools/auto_chapters.py +122 -122
  41. package/tools/dsfile.mjs +198 -198
  42. package/tools/export_chapter.py +108 -108
  43. package/tools/export_page.py +91 -91
  44. package/tools/md2overlay.py +200 -200
  45. package/tools/md2tex.py +422 -422
  46. package/tools/pdf_blocks.py +110 -110
  47. package/tools/pdf_fontsize.py +20 -20
  48. package/tools/pdf_merge.py +15 -15
  49. package/tools/pdf_pagesizes.py +8 -8
  50. package/tools/pdf_raster.py +21 -21
  51. package/tools/pdf_text.py +34 -0
  52. package/tools/pdfkit.py +896 -896
  53. package/tools/realign_overlay.py +248 -248
  54. package/tools/rebuild_overlay.py +55 -55
  55. package/tools/rename_chapters.py +93 -93
  56. package/tools//350/247/204/350/214/203/00_/345/205/261/345/220/214/347/272/246/345/256/232.md +142 -142
  57. package/tools//350/247/204/350/214/203/01_/346/226/207/346/234/254/346/217/220/345/217/226.md +204 -204
  58. package/tools//350/247/204/350/214/203/02_/347/255/224/347/226/221.md +61 -61
  59. package/tools//350/247/204/350/214/203/03_/344/271/240/351/242/230/350/247/243/347/255/224.md +77 -77
  60. package/tools//350/247/204/350/214/203/api/346/217/220/347/244/272/350/257/215_/346/217/220/345/217/226.md +11 -11
  61. package/vendor/cmaps/LICENSE.txt +36 -36
  62. package/vendor/fonts/excalifont/OFL.txt +98 -98
  63. package/vendor/fonts/zhhand/OFL.txt +99 -99
  64. package/vendor/host-ui.cjs +1719 -1719
  65. package/vendor/host-ui.css +799 -799
  66. package/vendor/pdf.min.mjs +28 -28
  67. package/vendor/pdf.worker.min.mjs +28 -28
  68. package/vendor/pdfjs-LICENSE.txt +177 -177
  69. package/vendor/rough/LICENSE +21 -21
  70. package/vendor/rough/rough.mjs +1 -1
  71. package/vendor/wasm/LICENSE_JBIG2 +196 -196
  72. package/vendor/wasm/LICENSE_OPENJPEG +39 -39
  73. package/vendor/wasm/LICENSE_PDFJS_JBIG2 +13 -13
  74. package/vendor/wasm/LICENSE_PDFJS_OPENJPEG +22 -22
  75. package/vendor/wasm/LICENSE_PDFJS_QCMS +19 -19
  76. package/vendor/wasm/LICENSE_QCMS +21 -21
  77. package/vendor/wasm/jbig2_nowasm_fallback.js +15 -15
  78. package/vendor/wasm/openjpeg_nowasm_fallback.js +17 -17
  79. package//345/256/211/350/243/205/344/270/216/345/210/206/345/217/221.md +1 -1
  80. package/tools/node.cmd +0 -3
  81. package/tools/py.cmd +0 -3
  82. package/vendor/fonts/zhhand/Xiaolai-Regular.ttf +0 -0
@@ -1,21 +1,21 @@
1
- qcms
2
- Copyright (C) 2009-2024 Mozilla Corporation
3
- Copyright (C) 1998-2007 Marti Maria
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the "Software"),
7
- to deal in the Software without restriction, including without limitation
8
- the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
- and/or sell copies of the Software, and to permit persons to whom the Software
10
- is furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
17
- THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ qcms
2
+ Copyright (C) 2009-2024 Mozilla Corporation
3
+ Copyright (C) 1998-2007 Marti Maria
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the "Software"),
7
+ to deal in the Software without restriction, including without limitation
8
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
+ and/or sell copies of the Software, and to permit persons to whom the Software
10
+ is furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
17
+ THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.