@file-viewer/assets-ppt 3.3.1 → 3.3.4

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 (109) hide show
  1. package/README.en.md +3 -1
  2. package/README.md +3 -1
  3. package/README.zh-CN.md +3 -1
  4. package/package.json +96 -9
  5. package/viewer/THIRD_PARTY_LICENSES.assets.json +837 -54
  6. package/viewer/file-viewer-asset-pack.json +20 -31
  7. package/viewer/vendor/ppt/LICENSE +160 -122
  8. package/viewer/vendor/ppt/NOTICE.md +30 -0
  9. package/viewer/vendor/ppt/README.md +86 -0
  10. package/viewer/vendor/ppt/dist/core/binary.d.ts +31 -0
  11. package/viewer/vendor/ppt/dist/core/binary.js +102 -0
  12. package/viewer/vendor/ppt/dist/core/cfb.d.ts +38 -0
  13. package/viewer/vendor/ppt/dist/core/cfb.js +208 -0
  14. package/viewer/vendor/ppt/dist/core/crypto.d.ts +12 -0
  15. package/viewer/vendor/ppt/dist/core/crypto.js +64 -0
  16. package/viewer/vendor/ppt/dist/core/errors.d.ts +5 -0
  17. package/viewer/vendor/ppt/dist/core/errors.js +5 -0
  18. package/viewer/vendor/ppt/dist/core/inflate.d.ts +11 -0
  19. package/viewer/vendor/ppt/dist/core/inflate.js +337 -0
  20. package/viewer/vendor/ppt/dist/core/pict.d.ts +14 -0
  21. package/viewer/vendor/ppt/dist/core/pict.js +472 -0
  22. package/viewer/vendor/ppt/dist/core/raster.d.ts +7 -0
  23. package/viewer/vendor/ppt/dist/core/raster.js +101 -0
  24. package/viewer/vendor/ppt/dist/core/tiff.d.ts +20 -0
  25. package/viewer/vendor/ppt/dist/core/tiff.js +254 -0
  26. package/viewer/vendor/ppt/dist/core/utils.d.ts +9 -0
  27. package/viewer/vendor/ppt/dist/core/utils.js +13 -0
  28. package/viewer/vendor/ppt/dist/core/vector-font.d.ts +12 -0
  29. package/viewer/vendor/ppt/dist/core/vector-font.js +29 -0
  30. package/viewer/vendor/ppt/dist/core/vector.d.ts +19 -0
  31. package/viewer/vendor/ppt/dist/core/vector.js +1570 -0
  32. package/viewer/vendor/ppt/dist/core/xml-text.d.ts +1 -0
  33. package/viewer/vendor/ppt/dist/core/xml-text.js +6 -0
  34. package/viewer/vendor/ppt/dist/index.d.ts +12 -0
  35. package/viewer/vendor/ppt/dist/index.js +8 -0
  36. package/viewer/vendor/ppt/dist/layout/measure.d.ts +15 -0
  37. package/viewer/vendor/ppt/dist/layout/measure.js +54 -0
  38. package/viewer/vendor/ppt/dist/layout/text-layout.d.ts +48 -0
  39. package/viewer/vendor/ppt/dist/layout/text-layout.js +272 -0
  40. package/viewer/vendor/ppt/dist/manifest.json +13 -0
  41. package/viewer/vendor/ppt/dist/playback/media.d.ts +11 -0
  42. package/viewer/vendor/ppt/dist/playback/media.js +37 -0
  43. package/viewer/vendor/ppt/dist/playback/navigation.d.ts +2 -0
  44. package/viewer/vendor/ppt/dist/playback/navigation.js +14 -0
  45. package/viewer/vendor/ppt/dist/playback/timeline.d.ts +47 -0
  46. package/viewer/vendor/ppt/dist/playback/timeline.js +154 -0
  47. package/viewer/vendor/ppt/dist/playback/transitions.d.ts +14 -0
  48. package/viewer/vendor/ppt/dist/playback/transitions.js +41 -0
  49. package/viewer/vendor/ppt/dist/ppt/animation.d.ts +3 -0
  50. package/viewer/vendor/ppt/dist/ppt/animation.js +67 -0
  51. package/viewer/vendor/ppt/dist/ppt/constants.d.ts +72 -0
  52. package/viewer/vendor/ppt/dist/ppt/constants.js +21 -0
  53. package/viewer/vendor/ppt/dist/ppt/drawing.d.ts +15 -0
  54. package/viewer/vendor/ppt/dist/ppt/drawing.js +508 -0
  55. package/viewer/vendor/ppt/dist/ppt/encryption.d.ts +14 -0
  56. package/viewer/vendor/ppt/dist/ppt/encryption.js +241 -0
  57. package/viewer/vendor/ppt/dist/ppt/extras.d.ts +14 -0
  58. package/viewer/vendor/ppt/dist/ppt/extras.js +225 -0
  59. package/viewer/vendor/ppt/dist/ppt/geometry.d.ts +29 -0
  60. package/viewer/vendor/ppt/dist/ppt/geometry.js +448 -0
  61. package/viewer/vendor/ppt/dist/ppt/headers-footers.d.ts +11 -0
  62. package/viewer/vendor/ppt/dist/ppt/headers-footers.js +97 -0
  63. package/viewer/vendor/ppt/dist/ppt/interactions.d.ts +12 -0
  64. package/viewer/vendor/ppt/dist/ppt/interactions.js +104 -0
  65. package/viewer/vendor/ppt/dist/ppt/parser.d.ts +12 -0
  66. package/viewer/vendor/ppt/dist/ppt/parser.js +356 -0
  67. package/viewer/vendor/ppt/dist/ppt/pictures.d.ts +10 -0
  68. package/viewer/vendor/ppt/dist/ppt/pictures.js +215 -0
  69. package/viewer/vendor/ppt/dist/ppt/records.d.ts +13 -0
  70. package/viewer/vendor/ppt/dist/ppt/records.js +49 -0
  71. package/viewer/vendor/ppt/dist/ppt/text.d.ts +19 -0
  72. package/viewer/vendor/ppt/dist/ppt/text.js +789 -0
  73. package/viewer/vendor/ppt/dist/pptjs.browser.js +9651 -0
  74. package/viewer/vendor/ppt/dist/pptjs.mjs +9663 -0
  75. package/viewer/vendor/ppt/dist/pptjs.worker.js +9650 -0
  76. package/viewer/vendor/ppt/dist/render/effects.d.ts +23 -0
  77. package/viewer/vendor/ppt/dist/render/effects.js +125 -0
  78. package/viewer/vendor/ppt/dist/render/fields.d.ts +11 -0
  79. package/viewer/vendor/ppt/dist/render/fields.js +176 -0
  80. package/viewer/vendor/ppt/dist/render/geometry.d.ts +11 -0
  81. package/viewer/vendor/ppt/dist/render/geometry.js +131 -0
  82. package/viewer/vendor/ppt/dist/render/safe.d.ts +12 -0
  83. package/viewer/vendor/ppt/dist/render/safe.js +48 -0
  84. package/viewer/vendor/ppt/dist/render/svg.d.ts +4 -0
  85. package/viewer/vendor/ppt/dist/render/svg.js +279 -0
  86. package/viewer/vendor/ppt/dist/render/text.d.ts +9 -0
  87. package/viewer/vendor/ppt/dist/render/text.js +181 -0
  88. package/viewer/vendor/ppt/dist/render/three-d.d.ts +32 -0
  89. package/viewer/vendor/ppt/dist/render/three-d.js +219 -0
  90. package/viewer/vendor/ppt/dist/render/wordart.d.ts +16 -0
  91. package/viewer/vendor/ppt/dist/render/wordart.js +214 -0
  92. package/viewer/vendor/ppt/dist/runtime.d.ts +125 -0
  93. package/viewer/vendor/ppt/dist/runtime.js +226 -0
  94. package/viewer/vendor/ppt/dist/types.d.ts +546 -0
  95. package/viewer/vendor/ppt/dist/types.js +1 -0
  96. package/viewer/vendor/ppt/dist/viewer.d.ts +3 -0
  97. package/viewer/vendor/ppt/dist/viewer.js +264 -0
  98. package/viewer/vendor/ppt/dist/worker-client.d.ts +25 -0
  99. package/viewer/vendor/ppt/dist/worker-client.js +61 -0
  100. package/viewer/vendor/ppt/dist/worker.d.ts +1 -0
  101. package/viewer/vendor/ppt/dist/worker.js +25 -0
  102. package/viewer/vendor/ppt/package.json +40 -52
  103. package/viewer/vendor/ppt/NOTICE +0 -229
  104. package/viewer/vendor/ppt/frame-cache.mjs +0 -731
  105. package/viewer/vendor/ppt/index.mjs +0 -941
  106. package/viewer/vendor/ppt/manifest.json +0 -44
  107. package/viewer/vendor/ppt/ppt-font-cjk.otf +0 -0
  108. package/viewer/vendor/ppt/ppt-native.wasm +0 -0
  109. package/viewer/vendor/ppt/worker.mjs +0 -1720
@@ -1,229 +0,0 @@
1
- @file-viewer/ppt
2
- Copyright 2026 Flyfish.
3
-
4
- PROPRIETARY PUBLIC WATERMARKED RUNTIME — NOT OPEN SOURCE
5
-
6
- This npm package is governed by the included Flyfish Public Watermarked Runtime
7
- License. It is not licensed under Apache-2.0. Apache-2.0 terms that may apply to
8
- File Viewer or a separately identified source delivery do not extend to this
9
- runtime.
10
-
11
- The unmodified public runtime may be used by individuals and organizations for
12
- personal, internal, commercial, production, SaaS, hosted, and customer-facing
13
- applications. It may be bundled, copied, hosted, mirrored, and redistributed as
14
- an integrated dependency of File Viewer or another application, including npm,
15
- Full, CDN/IIFE, Docker, offline, copy-assets, and GitHub Release distributions.
16
-
17
- Every public rendering must display the unmodified Flyfish Viewer watermark.
18
- Only separate written commercial authorization may permit removing, replacing,
19
- hiding, or weakening that watermark or using a watermark-free build.
20
-
21
- The package contains a native PPT parsing and Canvas rasterization WebAssembly
22
- runtime plus generated public declarations. It does not include source-delivery
23
- rights, watermark-removal capability, or readable parser/renderer source.
24
-
25
- Commercial watermark authorization: https://dev.flyfish.group/shop
26
-
27
- The package ships deterministic fallback font resources separately from the
28
- native engine. Their copyright notices and full font licenses are appended to
29
- this NOTICE in the published package.
30
-
31
- THIRD-PARTY FONT NOTICES
32
-
33
- Liberation Sans Regular
34
- Digitized data copyright (c) 2010 Google Corporation; Copyright (c) 2012 Red Hat, Inc.
35
- Licensed under the SIL Open Font License 1.1:
36
- Digitized data copyright (c) 2010 Google Corporation
37
- with Reserved Font Arimo, Tinos and Cousine.
38
- Copyright (c) 2012 Red Hat, Inc.
39
- with Reserved Font Name Liberation.
40
-
41
- This Font Software is licensed under the SIL Open Font License,
42
- Version 1.1.
43
-
44
- This license is copied below, and is also available with a FAQ at:
45
- http://scripts.sil.org/OFL
46
-
47
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
48
-
49
- PREAMBLE The goals of the Open Font License (OFL) are to stimulate
50
- worldwide development of collaborative font projects, to support the font
51
- creation efforts of academic and linguistic communities, and to provide
52
- a free and open framework in which fonts may be shared and improved in
53
- partnership with others.
54
-
55
- The OFL allows the licensed fonts to be used, studied, modified and
56
- redistributed freely as long as they are not sold by themselves.
57
- The fonts, including any derivative works, can be bundled, embedded,
58
- redistributed and/or sold with any software provided that any reserved
59
- names are not used by derivative works. The fonts and derivatives,
60
- however, cannot be released under any other type of license. The
61
- requirement for fonts to remain under this license does not apply to
62
- any document created using the fonts or their derivatives.
63
-
64
-
65
- DEFINITIONS
66
- "Font Software" refers to the set of files released by the Copyright
67
- Holder(s) under this license and clearly marked as such.
68
- This may include source files, build scripts and documentation.
69
-
70
- "Reserved Font Name" refers to any names specified as such after the
71
- copyright statement(s).
72
-
73
- "Original Version" refers to the collection of Font Software components
74
- as distributed by the Copyright Holder(s).
75
-
76
- "Modified Version" refers to any derivative made by adding to, deleting,
77
- or substituting ? in part or in whole ?
78
- any of the components of the Original Version, by changing formats or
79
- by porting the Font Software to a new environment.
80
-
81
- "Author" refers to any designer, engineer, programmer, technical writer
82
- or other person who contributed to the Font Software.
83
-
84
-
85
- PERMISSION & CONDITIONS
86
-
87
- Permission is hereby granted, free of charge, to any person obtaining a
88
- copy of the Font Software, to use, study, copy, merge, embed, modify,
89
- redistribute, and sell modified and unmodified copies of the Font
90
- Software, subject to the following conditions:
91
-
92
- 1) Neither the Font Software nor any of its individual components,in
93
- Original or Modified Versions, may be sold by itself.
94
-
95
- 2) Original or Modified Versions of the Font Software may be bundled,
96
- redistributed and/or sold with any software, provided that each copy
97
- contains the above copyright notice and this license. These can be
98
- included either as stand-alone text files, human-readable headers or
99
- in the appropriate machine-readable metadata fields within text or
100
- binary files as long as those fields can be easily viewed by the user.
101
-
102
- 3) No Modified Version of the Font Software may use the Reserved Font
103
- Name(s) unless explicit written permission is granted by the
104
- corresponding Copyright Holder. This restriction only applies to the
105
- primary font name as presented to the users.
106
-
107
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
108
- Software shall not be used to promote, endorse or advertise any
109
- Modified Version, except to acknowledge the contribution(s) of the
110
- Copyright Holder(s) and the Author(s) or with their explicit written
111
- permission.
112
-
113
- 5) The Font Software, modified or unmodified, in part or in whole, must
114
- be distributed entirely under this license, and must not be distributed
115
- under any other license. The requirement for fonts to remain under
116
- this license does not apply to any document created using the Font
117
- Software.
118
-
119
-
120
- TERMINATION
121
- This license becomes null and void if any of the above conditions are not met.
122
-
123
-
124
- DISCLAIMER
125
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
126
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
127
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
128
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
129
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
130
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
131
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
132
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
133
- DEALINGS IN THE FONT SOFTWARE.
134
-
135
- Noto Sans CJK SC Regular
136
- Copyright 2014-2021 Adobe. Noto is a trademark of Google Inc.
137
- Licensed under the SIL Open Font License 1.1:
138
- This Font Software is licensed under the SIL Open Font License,
139
- Version 1.1.
140
-
141
- This license is copied below, and is also available with a FAQ at:
142
- http://scripts.sil.org/OFL
143
-
144
- -----------------------------------------------------------
145
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
146
- -----------------------------------------------------------
147
-
148
- PREAMBLE
149
- The goals of the Open Font License (OFL) are to stimulate worldwide
150
- development of collaborative font projects, to support the font
151
- creation efforts of academic and linguistic communities, and to
152
- provide a free and open framework in which fonts may be shared and
153
- improved in partnership with others.
154
-
155
- The OFL allows the licensed fonts to be used, studied, modified and
156
- redistributed freely as long as they are not sold by themselves. The
157
- fonts, including any derivative works, can be bundled, embedded,
158
- redistributed and/or sold with any software provided that any reserved
159
- names are not used by derivative works. The fonts and derivatives,
160
- however, cannot be released under any other type of license. The
161
- requirement for fonts to remain under this license does not apply to
162
- any document created using the fonts or their derivatives.
163
-
164
- DEFINITIONS
165
- "Font Software" refers to the set of files released by the Copyright
166
- Holder(s) under this license and clearly marked as such. This may
167
- include source files, build scripts and documentation.
168
-
169
- "Reserved Font Name" refers to any names specified as such after the
170
- copyright statement(s).
171
-
172
- "Original Version" refers to the collection of Font Software
173
- components as distributed by the Copyright Holder(s).
174
-
175
- "Modified Version" refers to any derivative made by adding to,
176
- deleting, or substituting -- in part or in whole -- any of the
177
- components of the Original Version, by changing formats or by porting
178
- the Font Software to a new environment.
179
-
180
- "Author" refers to any designer, engineer, programmer, technical
181
- writer or other person who contributed to the Font Software.
182
-
183
- PERMISSION & CONDITIONS
184
- Permission is hereby granted, free of charge, to any person obtaining
185
- a copy of the Font Software, to use, study, copy, merge, embed,
186
- modify, redistribute, and sell modified and unmodified copies of the
187
- Font Software, subject to the following conditions:
188
-
189
- 1) Neither the Font Software nor any of its individual components, in
190
- Original or Modified Versions, may be sold by itself.
191
-
192
- 2) Original or Modified Versions of the Font Software may be bundled,
193
- redistributed and/or sold with any software, provided that each copy
194
- contains the above copyright notice and this license. These can be
195
- included either as stand-alone text files, human-readable headers or
196
- in the appropriate machine-readable metadata fields within text or
197
- binary files as long as those fields can be easily viewed by the user.
198
-
199
- 3) No Modified Version of the Font Software may use the Reserved Font
200
- Name(s) unless explicit written permission is granted by the
201
- corresponding Copyright Holder. This restriction only applies to the
202
- primary font name as presented to the users.
203
-
204
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
205
- Software shall not be used to promote, endorse or advertise any
206
- Modified Version, except to acknowledge the contribution(s) of the
207
- Copyright Holder(s) and the Author(s) or with their explicit written
208
- permission.
209
-
210
- 5) The Font Software, modified or unmodified, in part or in whole,
211
- must be distributed entirely under this license, and must not be
212
- distributed under any other license. The requirement for fonts to
213
- remain under this license does not apply to any document created using
214
- the Font Software.
215
-
216
- TERMINATION
217
- This license becomes null and void if any of the above conditions are
218
- not met.
219
-
220
- DISCLAIMER
221
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
222
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
223
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
224
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
225
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
226
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
227
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
228
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
229
- OTHER DEALINGS IN THE FONT SOFTWARE.