create-jsview 2.1.428 → 2.1.448-test.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 (263) hide show
  1. package/package.json +3 -3
  2. package/template-react-webpack/package-lock-json +6 -6
  3. package/template-react-webpack/package.json +2 -2
  4. package/template-vue-vite/package-lock-json +6 -6
  5. package/template-vue-vite/package.json +2 -2
  6. package/template-vue-vite/.DS_Store +0 -0
  7. package/template-vue-vite/dist-test-jsview-chunk/assets/1.54c7645a.png +0 -0
  8. package/template-vue-vite/dist-test-jsview-chunk/assets/1.5dc15599.png +0 -0
  9. package/template-vue-vite/dist-test-jsview-chunk/assets/1280x7200.f72b317a.jpg +0 -0
  10. package/template-vue-vite/dist-test-jsview-chunk/assets/2.c46fde4a.png +0 -0
  11. package/template-vue-vite/dist-test-jsview-chunk/assets/2.df10a8ad.png +0 -0
  12. package/template-vue-vite/dist-test-jsview-chunk/assets/3.920d6934.png +0 -0
  13. package/template-vue-vite/dist-test-jsview-chunk/assets/3.dd39d2bc.png +0 -0
  14. package/template-vue-vite/dist-test-jsview-chunk/assets/4.4cd633a0.jpg +0 -0
  15. package/template-vue-vite/dist-test-jsview-chunk/assets/4.f58de085.png +0 -0
  16. package/template-vue-vite/dist-test-jsview-chunk/assets/Couplets.22a8bcb3.png +0 -0
  17. package/template-vue-vite/dist-test-jsview-chunk/assets/Square.2085a1e3.png +0 -0
  18. package/template-vue-vite/dist-test-jsview-chunk/assets/animated_webp.df116064.webp +0 -0
  19. package/template-vue-vite/dist-test-jsview-chunk/assets/ball_3.6443240f.webp +0 -0
  20. package/template-vue-vite/dist-test-jsview-chunk/assets/bg1.9dacd4a9.png +0 -0
  21. package/template-vue-vite/dist-test-jsview-chunk/assets/bg2.05147169.png +0 -0
  22. package/template-vue-vite/dist-test-jsview-chunk/assets/bg3.4725410a.png +0 -0
  23. package/template-vue-vite/dist-test-jsview-chunk/assets/bg4.67998d21.png +0 -0
  24. package/template-vue-vite/dist-test-jsview-chunk/assets/bg5.e6aeb8ef.png +0 -0
  25. package/template-vue-vite/dist-test-jsview-chunk/assets/bg_btn.3bc67ce7.png +0 -0
  26. package/template-vue-vite/dist-test-jsview-chunk/assets/bgimage.9ebd66c5.jpg +0 -0
  27. package/template-vue-vite/dist-test-jsview-chunk/assets/bgmusic.bf797943.mp3 +0 -0
  28. package/template-vue-vite/dist-test-jsview-chunk/assets/blue_egg.a2c54f95.png +0 -0
  29. package/template-vue-vite/dist-test-jsview-chunk/assets/bmpDemo.e06bdb19.bmp +0 -0
  30. package/template-vue-vite/dist-test-jsview-chunk/assets/boom.159be4de.mp3 +0 -0
  31. package/template-vue-vite/dist-test-jsview-chunk/assets/border.32f99a05.png +0 -0
  32. package/template-vue-vite/dist-test-jsview-chunk/assets/btn_ok.a0827ed4.png +0 -0
  33. package/template-vue-vite/dist-test-jsview-chunk/assets/coin.50aac2a4.mp3 +0 -0
  34. package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_left.c9f544cb.png +0 -0
  35. package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_mid.ef262879.png +0 -0
  36. package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_right.248ee7dc.png +0 -0
  37. package/template-vue-vite/dist-test-jsview-chunk/assets/egg_break.e01a800c.png +0 -0
  38. package/template-vue-vite/dist-test-jsview-chunk/assets/fail.446dfd56.png +0 -0
  39. package/template-vue-vite/dist-test-jsview-chunk/assets/firecracker.bf5b0aa9.png +0 -0
  40. package/template-vue-vite/dist-test-jsview-chunk/assets/fireworks.1c112f43.png +0 -0
  41. package/template-vue-vite/dist-test-jsview-chunk/assets/focus1.ff67f2e6.png +0 -0
  42. package/template-vue-vite/dist-test-jsview-chunk/assets/get.3509893a.mp3 +0 -0
  43. package/template-vue-vite/dist-test-jsview-chunk/assets/girl_run.1c322b33.gif +0 -0
  44. package/template-vue-vite/dist-test-jsview-chunk/assets/goldencoin1.d31809e9.png +0 -0
  45. package/template-vue-vite/dist-test-jsview-chunk/assets/goldencoin2.3f5b59d2.png +0 -0
  46. package/template-vue-vite/dist-test-jsview-chunk/assets/holder_logo.5d13253c.png +0 -0
  47. package/template-vue-vite/dist-test-jsview-chunk/assets/icon.0d3ef206.png +0 -0
  48. package/template-vue-vite/dist-test-jsview-chunk/assets/jpegDemo.ede7ed35.jpeg +0 -0
  49. package/template-vue-vite/dist-test-jsview-chunk/assets/jump.d2e172b2.mp3 +0 -0
  50. package/template-vue-vite/dist-test-jsview-chunk/assets/jump_down.68b45798.png +0 -0
  51. package/template-vue-vite/dist-test-jsview-chunk/assets/jump_up.2f896dd9.png +0 -0
  52. package/template-vue-vite/dist-test-jsview-chunk/assets/leadWire.0c2130df.png +0 -0
  53. package/template-vue-vite/dist-test-jsview-chunk/assets/light.fd536e0c.png +0 -0
  54. package/template-vue-vite/dist-test-jsview-chunk/assets/light2.eac76425.png +0 -0
  55. package/template-vue-vite/dist-test-jsview-chunk/assets/line_left.36cc4bd9.png +0 -0
  56. package/template-vue-vite/dist-test-jsview-chunk/assets/line_mid.21f25bbe.png +0 -0
  57. package/template-vue-vite/dist-test-jsview-chunk/assets/line_right.3a4bbae6.png +0 -0
  58. package/template-vue-vite/dist-test-jsview-chunk/assets/lose.86f51553.mp3 +0 -0
  59. package/template-vue-vite/dist-test-jsview-chunk/assets/mask.c1211360.png +0 -0
  60. package/template-vue-vite/dist-test-jsview-chunk/assets/mathjax-tex-svg.d4295dc3.txt +0 -1
  61. package/template-vue-vite/dist-test-jsview-chunk/assets/php.9533a06f.jpg +0 -0
  62. package/template-vue-vite/dist-test-jsview-chunk/assets/php2.7e5cf392.png +0 -0
  63. package/template-vue-vite/dist-test-jsview-chunk/assets/pngNoAlphaDemo.8d9edc0f.png +0 -0
  64. package/template-vue-vite/dist-test-jsview-chunk/assets/purpleStar.b1920ac5.png +0 -0
  65. package/template-vue-vite/dist-test-jsview-chunk/assets/quan.54556d84.webp +0 -0
  66. package/template-vue-vite/dist-test-jsview-chunk/assets/redCircle.091d191f.png +0 -0
  67. package/template-vue-vite/dist-test-jsview-chunk/assets/redStar.9c31bb42.png +0 -0
  68. package/template-vue-vite/dist-test-jsview-chunk/assets/red_egg.27ca7d39.png +0 -0
  69. package/template-vue-vite/dist-test-jsview-chunk/assets/redpacket1.72196c20.png +0 -0
  70. package/template-vue-vite/dist-test-jsview-chunk/assets/redpacket2.0ae89a46.png +0 -0
  71. package/template-vue-vite/dist-test-jsview-chunk/assets/resultSquare.b9e3527b.png +0 -0
  72. package/template-vue-vite/dist-test-jsview-chunk/assets/roll.aa0dfe6f.png +0 -0
  73. package/template-vue-vite/dist-test-jsview-chunk/assets/run.b84383b2.png +0 -0
  74. package/template-vue-vite/dist-test-jsview-chunk/assets/scroll.c4efa5a1.png +0 -0
  75. package/template-vue-vite/dist-test-jsview-chunk/assets/scroll1.744c0b08.png +0 -0
  76. package/template-vue-vite/dist-test-jsview-chunk/assets/snow.22f35787.png +0 -0
  77. package/template-vue-vite/dist-test-jsview-chunk/assets/spark.50b3f017.png +0 -0
  78. package/template-vue-vite/dist-test-jsview-chunk/assets/star1.dd634833.png +0 -0
  79. package/template-vue-vite/dist-test-jsview-chunk/assets/star2.df352429.png +0 -0
  80. package/template-vue-vite/dist-test-jsview-chunk/assets/star3.5a62b76f.png +0 -0
  81. package/template-vue-vite/dist-test-jsview-chunk/assets/star4.2283606c.png +0 -0
  82. package/template-vue-vite/dist-test-jsview-chunk/assets/swipLight.ab6b2bc2.png +0 -0
  83. package/template-vue-vite/dist-test-jsview-chunk/assets/tease.3d7fb077.png +0 -0
  84. package/template-vue-vite/dist-test-jsview-chunk/assets/tease_lock.3602bb0d.png +0 -0
  85. package/template-vue-vite/dist-test-jsview-chunk/assets/test.671066bc.jpg +0 -0
  86. package/template-vue-vite/dist-test-jsview-chunk/assets/webpDemo.eb0b7786.webp +0 -0
  87. package/template-vue-vite/dist-test-jsview-chunk/assets/yellowStar.d80f0718.png +0 -0
  88. package/template-vue-vite/dist-test-jsview-chunk/css/App.0e83537d.css +0 -6
  89. package/template-vue-vite/dist-test-jsview-chunk/css/App.10e9d05f.css +0 -14
  90. package/template-vue-vite/dist-test-jsview-chunk/css/App.16cc5e4a.css +0 -20
  91. package/template-vue-vite/dist-test-jsview-chunk/css/App.18bd653b.css +0 -10
  92. package/template-vue-vite/dist-test-jsview-chunk/css/App.2943d6ec.css +0 -9
  93. package/template-vue-vite/dist-test-jsview-chunk/css/App.329ae9f6.css +0 -23
  94. package/template-vue-vite/dist-test-jsview-chunk/css/App.32c55297.css +0 -8
  95. package/template-vue-vite/dist-test-jsview-chunk/css/App.3e2a4eb1.css +0 -108
  96. package/template-vue-vite/dist-test-jsview-chunk/css/App.4ea37a27.css +0 -39
  97. package/template-vue-vite/dist-test-jsview-chunk/css/App.54fdcefd.css +0 -51
  98. package/template-vue-vite/dist-test-jsview-chunk/css/App.6406907b.css +0 -9
  99. package/template-vue-vite/dist-test-jsview-chunk/css/App.643b5c1b.css +0 -8
  100. package/template-vue-vite/dist-test-jsview-chunk/css/App.66f2f353.css +0 -553
  101. package/template-vue-vite/dist-test-jsview-chunk/css/App.76117f77.css +0 -21
  102. package/template-vue-vite/dist-test-jsview-chunk/css/App.7a70ea9d.css +0 -20
  103. package/template-vue-vite/dist-test-jsview-chunk/css/App.7ee969c5.css +0 -40
  104. package/template-vue-vite/dist-test-jsview-chunk/css/App.8056ee27.css +0 -144
  105. package/template-vue-vite/dist-test-jsview-chunk/css/App.81e870e8.css +0 -16
  106. package/template-vue-vite/dist-test-jsview-chunk/css/App.8a41b2c9.css +0 -4
  107. package/template-vue-vite/dist-test-jsview-chunk/css/App.8b7fc4be.css +0 -21
  108. package/template-vue-vite/dist-test-jsview-chunk/css/App.9acd4020.css +0 -9
  109. package/template-vue-vite/dist-test-jsview-chunk/css/App.9b8ef7c4.css +0 -17
  110. package/template-vue-vite/dist-test-jsview-chunk/css/App.9c2363fe.css +0 -11
  111. package/template-vue-vite/dist-test-jsview-chunk/css/App.9c9050df.css +0 -10
  112. package/template-vue-vite/dist-test-jsview-chunk/css/App.a37ce6b4.css +0 -78
  113. package/template-vue-vite/dist-test-jsview-chunk/css/App.acd46c9f.css +0 -29
  114. package/template-vue-vite/dist-test-jsview-chunk/css/App.be6992f1.css +0 -5
  115. package/template-vue-vite/dist-test-jsview-chunk/css/App.ce985162.css +0 -37
  116. package/template-vue-vite/dist-test-jsview-chunk/css/App.cf0eea52.css +0 -29
  117. package/template-vue-vite/dist-test-jsview-chunk/css/App.d80395de.css +0 -76
  118. package/template-vue-vite/dist-test-jsview-chunk/css/App.dc17d9ed.css +0 -355
  119. package/template-vue-vite/dist-test-jsview-chunk/css/App.e25f7308.css +0 -20
  120. package/template-vue-vite/dist-test-jsview-chunk/css/App.e3998d69.css +0 -10
  121. package/template-vue-vite/dist-test-jsview-chunk/css/App.e864d83a.css +0 -99
  122. package/template-vue-vite/dist-test-jsview-chunk/css/App.eea7c4d0.css +0 -37
  123. package/template-vue-vite/dist-test-jsview-chunk/css/App.f7bae60e.css +0 -24
  124. package/template-vue-vite/dist-test-jsview-chunk/css/App.fb916576.css +0 -53
  125. package/template-vue-vite/dist-test-jsview-chunk/css/App.ff455e8a.css +0 -23
  126. package/template-vue-vite/dist-test-jsview-chunk/css/DispersedItemSample.24d1e5c2.css +0 -31
  127. package/template-vue-vite/dist-test-jsview-chunk/css/Homepage.6291bd50.css +0 -60
  128. package/template-vue-vite/dist-test-jsview-chunk/css/HorizontalButtonList.f4192657.css +0 -12
  129. package/template-vue-vite/dist-test-jsview-chunk/css/MainPage.7bafbf88.css +0 -9
  130. package/template-vue-vite/dist-test-jsview-chunk/css/SubPage.e3029827.css +0 -17
  131. package/template-vue-vite/dist-test-jsview-chunk/css/index.bc47ba9c.css +0 -20
  132. package/template-vue-vite/dist-test-jsview-chunk/css/main.78821670.css +0 -11
  133. package/template-vue-vite/dist-test-jsview-chunk/debug/jsview-jsmap-serve.mjs +0 -130
  134. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-browser.min.24b59670.js.map +0 -1
  135. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-entry.280f04b1.js.map +0 -1
  136. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-native.min.0039079f.js.map +0 -1
  137. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-engine-js-browser.min.f40edc22.js.map +0 -1
  138. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.bfab260e.js.map +0 -1
  139. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.min.26efdcd1.js.map +0 -1
  140. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-loader.f9249ad3.js.map +0 -1
  141. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-vue-entry.415721d8.js.map +0 -1
  142. package/template-vue-vite/dist-test-jsview-chunk/index.html +0 -14
  143. package/template-vue-vite/dist-test-jsview-chunk/js/App.0020360a.js +0 -141
  144. package/template-vue-vite/dist-test-jsview-chunk/js/App.073cedd6.js +0 -399
  145. package/template-vue-vite/dist-test-jsview-chunk/js/App.0f963d38.js +0 -95
  146. package/template-vue-vite/dist-test-jsview-chunk/js/App.11cde12f.js +0 -344
  147. package/template-vue-vite/dist-test-jsview-chunk/js/App.121965ad.js +0 -116
  148. package/template-vue-vite/dist-test-jsview-chunk/js/App.1575b8f0.js +0 -200
  149. package/template-vue-vite/dist-test-jsview-chunk/js/App.21ff555f.js +0 -455
  150. package/template-vue-vite/dist-test-jsview-chunk/js/App.29b9c765.js +0 -383
  151. package/template-vue-vite/dist-test-jsview-chunk/js/App.34ff6b40.js +0 -107
  152. package/template-vue-vite/dist-test-jsview-chunk/js/App.361be0b7.js +0 -144
  153. package/template-vue-vite/dist-test-jsview-chunk/js/App.368006e4.js +0 -431
  154. package/template-vue-vite/dist-test-jsview-chunk/js/App.36fc32c5.js +0 -192
  155. package/template-vue-vite/dist-test-jsview-chunk/js/App.386a753e.js +0 -259
  156. package/template-vue-vite/dist-test-jsview-chunk/js/App.3b0de676.js +0 -321
  157. package/template-vue-vite/dist-test-jsview-chunk/js/App.3e808b09.js +0 -92
  158. package/template-vue-vite/dist-test-jsview-chunk/js/App.40f6e609.js +0 -97
  159. package/template-vue-vite/dist-test-jsview-chunk/js/App.539ee14e.js +0 -331
  160. package/template-vue-vite/dist-test-jsview-chunk/js/App.55166fae.js +0 -189
  161. package/template-vue-vite/dist-test-jsview-chunk/js/App.56200035.js +0 -221
  162. package/template-vue-vite/dist-test-jsview-chunk/js/App.5698ed0a.js +0 -243
  163. package/template-vue-vite/dist-test-jsview-chunk/js/App.5788a834.js +0 -1675
  164. package/template-vue-vite/dist-test-jsview-chunk/js/App.5a51ba28.js +0 -788
  165. package/template-vue-vite/dist-test-jsview-chunk/js/App.5db3be20.js +0 -215
  166. package/template-vue-vite/dist-test-jsview-chunk/js/App.5f895413.js +0 -53
  167. package/template-vue-vite/dist-test-jsview-chunk/js/App.5f95520c.js +0 -320
  168. package/template-vue-vite/dist-test-jsview-chunk/js/App.64e2a47b.js +0 -276
  169. package/template-vue-vite/dist-test-jsview-chunk/js/App.69ca326b.js +0 -107
  170. package/template-vue-vite/dist-test-jsview-chunk/js/App.6f92a934.js +0 -277
  171. package/template-vue-vite/dist-test-jsview-chunk/js/App.6fafe9e2.js +0 -430
  172. package/template-vue-vite/dist-test-jsview-chunk/js/App.7067dfe2.js +0 -120
  173. package/template-vue-vite/dist-test-jsview-chunk/js/App.754fa30e.js +0 -776
  174. package/template-vue-vite/dist-test-jsview-chunk/js/App.7a63fc1e.js +0 -240
  175. package/template-vue-vite/dist-test-jsview-chunk/js/App.7b9d1275.js +0 -447
  176. package/template-vue-vite/dist-test-jsview-chunk/js/App.7bf78a71.js +0 -89
  177. package/template-vue-vite/dist-test-jsview-chunk/js/App.832753e3.js +0 -98
  178. package/template-vue-vite/dist-test-jsview-chunk/js/App.83b9bc1a.js +0 -194
  179. package/template-vue-vite/dist-test-jsview-chunk/js/App.8473b928.js +0 -568
  180. package/template-vue-vite/dist-test-jsview-chunk/js/App.85f0e26b.js +0 -1342
  181. package/template-vue-vite/dist-test-jsview-chunk/js/App.8e86826b.js +0 -502
  182. package/template-vue-vite/dist-test-jsview-chunk/js/App.94064c31.js +0 -104
  183. package/template-vue-vite/dist-test-jsview-chunk/js/App.9625268d.js +0 -173
  184. package/template-vue-vite/dist-test-jsview-chunk/js/App.96596f9f.js +0 -119
  185. package/template-vue-vite/dist-test-jsview-chunk/js/App.977c745b.js +0 -237
  186. package/template-vue-vite/dist-test-jsview-chunk/js/App.9e7fbf3c.js +0 -122
  187. package/template-vue-vite/dist-test-jsview-chunk/js/App.a059fc60.js +0 -676
  188. package/template-vue-vite/dist-test-jsview-chunk/js/App.a446bb49.js +0 -369
  189. package/template-vue-vite/dist-test-jsview-chunk/js/App.a485fc61.js +0 -139
  190. package/template-vue-vite/dist-test-jsview-chunk/js/App.a574bf96.js +0 -122
  191. package/template-vue-vite/dist-test-jsview-chunk/js/App.a58787a4.js +0 -225
  192. package/template-vue-vite/dist-test-jsview-chunk/js/App.a6e90b5c.js +0 -614
  193. package/template-vue-vite/dist-test-jsview-chunk/js/App.a6ef2ea5.js +0 -241
  194. package/template-vue-vite/dist-test-jsview-chunk/js/App.a82ae465.js +0 -119
  195. package/template-vue-vite/dist-test-jsview-chunk/js/App.ab97fadc.js +0 -306
  196. package/template-vue-vite/dist-test-jsview-chunk/js/App.b8d07d60.js +0 -68
  197. package/template-vue-vite/dist-test-jsview-chunk/js/App.ba82ae89.js +0 -731
  198. package/template-vue-vite/dist-test-jsview-chunk/js/App.c0fa704f.js +0 -181
  199. package/template-vue-vite/dist-test-jsview-chunk/js/App.ca457df6.js +0 -193
  200. package/template-vue-vite/dist-test-jsview-chunk/js/App.cab5b11a.js +0 -182
  201. package/template-vue-vite/dist-test-jsview-chunk/js/App.ceb70fcc.js +0 -395
  202. package/template-vue-vite/dist-test-jsview-chunk/js/App.d1955c7b.js +0 -139
  203. package/template-vue-vite/dist-test-jsview-chunk/js/App.d35f431e.js +0 -524
  204. package/template-vue-vite/dist-test-jsview-chunk/js/App.d434d1bc.js +0 -1201
  205. package/template-vue-vite/dist-test-jsview-chunk/js/App.d9ea2537.js +0 -172
  206. package/template-vue-vite/dist-test-jsview-chunk/js/App.dce9c295.js +0 -209
  207. package/template-vue-vite/dist-test-jsview-chunk/js/App.e06251fc.js +0 -157
  208. package/template-vue-vite/dist-test-jsview-chunk/js/App.e160a2dd.js +0 -587
  209. package/template-vue-vite/dist-test-jsview-chunk/js/App.e1d44beb.js +0 -198
  210. package/template-vue-vite/dist-test-jsview-chunk/js/App.e442e6e0.js +0 -611
  211. package/template-vue-vite/dist-test-jsview-chunk/js/App.e75db44d.js +0 -257
  212. package/template-vue-vite/dist-test-jsview-chunk/js/App.ebb89cc7.js +0 -97
  213. package/template-vue-vite/dist-test-jsview-chunk/js/App.f5f253ec.js +0 -143
  214. package/template-vue-vite/dist-test-jsview-chunk/js/App.f6a2ac1e.js +0 -251
  215. package/template-vue-vite/dist-test-jsview-chunk/js/App2.f586c86d.js +0 -112
  216. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.64639b51.js +0 -112
  217. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.vue.5e093f8c.js +0 -130
  218. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.8b0c8a0a.js +0 -106
  219. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.vue.7959bd77.js +0 -124
  220. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApicLib.14ef44a9.js +0 -416
  221. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.28bef0de.js +0 -251
  222. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.vue.b874d583.js +0 -265
  223. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.06fbda62.js +0 -100
  224. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.vue.f0cdb016.js +0 -112
  225. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.a6858caf.js +0 -563
  226. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.vue.8615ee65.js +0 -575
  227. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.fe21457d.js +0 -139
  228. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.vue.23eda6fd.js +0 -146
  229. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.727b4b8f.js +0 -175
  230. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.vue.8e2b3454.js +0 -181
  231. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.b126f2ae.js +0 -57
  232. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.vue.52301a81.js +0 -70
  233. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.e70349c2.js +0 -315
  234. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.vue.5426b5db.js +0 -327
  235. package/template-vue-vite/dist-test-jsview-chunk/js/DispersedItemSample.9696c982.js +0 -534
  236. package/template-vue-vite/dist-test-jsview-chunk/js/GifData.e5dd9fac.js +0 -429
  237. package/template-vue-vite/dist-test-jsview-chunk/js/Homepage.d8afeb55.js +0 -466
  238. package/template-vue-vite/dist-test-jsview-chunk/js/HorizontalButtonList.bbdbc725.js +0 -160
  239. package/template-vue-vite/dist-test-jsview-chunk/js/MainPage.cff1e89b.js +0 -57
  240. package/template-vue-vite/dist-test-jsview-chunk/js/SubPage.9633adf8.js +0 -59
  241. package/template-vue-vite/dist-test-jsview-chunk/js/app.config.92148fde.js +0 -18
  242. package/template-vue-vite/dist-test-jsview-chunk/js/export-sfc.2749ebea.js +0 -23
  243. package/template-vue-vite/dist-test-jsview-chunk/js/index.32520aa9.js +0 -938
  244. package/template-vue-vite/dist-test-jsview-chunk/js/index.56197146.js +0 -2892
  245. package/template-vue-vite/dist-test-jsview-chunk/js/index.f76869d4.js +0 -7522
  246. package/template-vue-vite/dist-test-jsview-chunk/js/jpegDemo.ff177df5.js +0 -7
  247. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-browser.min.24b59670.js +0 -1913
  248. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-entry.280f04b1.js +0 -76
  249. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-native.min.0039079f.js +0 -1487
  250. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-engine-js-browser.min.f40edc22.js +0 -10684
  251. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.bfab260e.js +0 -9
  252. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.min.26efdcd1.js +0 -97
  253. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-loader.f9249ad3.js +0 -238
  254. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-vue-entry.415721d8.js +0 -22233
  255. package/template-vue-vite/dist-test-jsview-chunk/js/jsview.config.a8cf302c.js +0 -49
  256. package/template-vue-vite/dist-test-jsview-chunk/js/main.bd759d7c.js +0 -565
  257. package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.51a0d4f8.mjs +0 -28
  258. package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.mjs +0 -28
  259. package/template-vue-vite/dist-test-jsview-chunk/js/permission.88de599e.js +0 -7
  260. package/template-vue-vite/dist-test-jsview-chunk/js/pngNoAlphaDemo.fbc58313.js +0 -7
  261. package/template-vue-vite/dist-test-jsview-chunk/js/vue.889a9b8b.js +0 -5382
  262. package/template-vue-vite/dist-test-jsview-chunk/jsv-info.json +0 -9
  263. package/template-vue-vite/dist-test-jsview-chunk/jsv-list.json +0 -248
@@ -1,106 +0,0 @@
1
- import { V as Viewer, L as LoopType, W as WebpData, G as GifData } from "./GifData.e5dd9fac.js";
2
- import { s as shallowRef, t as onMounted, o as openBlock, e as createElementBlock, g as normalizeStyle } from "./vue.889a9b8b.js";
3
- const _sfc_main = {
4
- __name: "BrowserApic2",
5
- props: {
6
- src: String,
7
- style: Object,
8
- onStart: Function,
9
- onEnd: Function,
10
- onLoad: Function
11
- },
12
- setup(__props, { expose }) {
13
- const props = __props;
14
- let waitForPlayInfo = null;
15
- const loadImage = (url) => {
16
- return new Promise((resolve, reject) => {
17
- let xhr = new XMLHttpRequest();
18
- xhr.open("GET", url);
19
- xhr.responseType = "arraybuffer";
20
- xhr.onreadystatechange = () => {
21
- if (xhr.readyState === 4 && xhr.status === 200) {
22
- if (xhr.status == 200) {
23
- let apic_data;
24
- if (url.indexOf(".webp") > 0) {
25
- apic_data = new WebpData(xhr.response);
26
- resolve(apic_data);
27
- } else if (url.indexOf(".gif") > 0) {
28
- apic_data = new GifData(xhr.response);
29
- resolve(apic_data);
30
- } else {
31
- reject("unsupport file " + url);
32
- }
33
- } else {
34
- reject("get image data failed. " + url + " " + xhr.status);
35
- }
36
- }
37
- };
38
- xhr.send();
39
- });
40
- };
41
- const getUrl = (base_url) => {
42
- let url_trim = base_url.trim();
43
- if (url_trim.indexOf("http") === 0) {
44
- return url_trim;
45
- } else if (url_trim.indexOf("url") === 0) {
46
- let index_1 = url_trim.indexOf("(");
47
- let index_2 = url_trim.indexOf(")");
48
- return url_trim.substring(index_1 + 1, index_2);
49
- } else {
50
- return url_trim;
51
- }
52
- };
53
- let viewer = null;
54
- let canvasProxyRef = shallowRef(null);
55
- onMounted(() => {
56
- let domLayoutView = canvasProxyRef.value.jsvGetProxyView();
57
- domLayoutView.RegisterOnProxyReady(() => {
58
- let canvas = window.originDocument.createElement("canvas");
59
- canvas.style.width = props.style.width + "px";
60
- canvas.style.height = props.style.height + "px";
61
- domLayoutView.HtmlGetElement().appendChild(canvas);
62
- loadImage(getUrl(props.src)).then((data) => {
63
- let listener = {
64
- onstart: props.onStart,
65
- onend: props.onEnd
66
- };
67
- viewer = new Viewer(data, canvas, listener);
68
- if (props.onLoad) {
69
- props.onLoad();
70
- }
71
- if (waitForPlayInfo) {
72
- viewer.play(...waitForPlayInfo);
73
- waitForPlayInfo = null;
74
- }
75
- }).catch((err) => console.error(err));
76
- });
77
- });
78
- expose({
79
- show: (frameIndex = 0) => {
80
- if (!isNaN(frameIndex)) {
81
- viewer?.play(LoopType.LOOP_SINGLE, [[0, frameIndex, 0]]);
82
- }
83
- },
84
- play: (...args) => {
85
- waitForPlayInfo = args;
86
- viewer?.play(...args);
87
- },
88
- stop: () => {
89
- viewer?.stop();
90
- }
91
- });
92
- return (_ctx, _cache) => {
93
- return openBlock(), createElementBlock("div", {
94
- ref_key: "canvasProxyRef",
95
- ref: canvasProxyRef,
96
- style: normalizeStyle(props.style)
97
- }, null, 4);
98
- };
99
- }
100
- };
101
- export {
102
- _sfc_main as default
103
- };
104
- //# sourceMappingURL=http://localhost:57245/map/BrowserApic2.8b0c8a0a.js.map
105
-
106
- /*jsvmd5:ef9cabe1c5ec4e0f18f68c10e5a27c62*/
@@ -1,124 +0,0 @@
1
- import { V as Viewer, W as WebpData, G as GifData } from "./BrowserApicLib.14ef44a9.js";
2
- import { L as LoopType } from "./jsview-vue-entry.415721d8.js";
3
- import { s as shallowRef, t as onMounted, o as openBlock, e as createElementBlock, g as normalizeStyle } from "./vue.889a9b8b.js";
4
- import "./jsview-forge-define.bfab260e.js";
5
- import "./jsview-dom-entry.280f04b1.js";
6
- import "./export-sfc.2749ebea.js";
7
- //!
8
- //! utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue;
9
- //!
10
- /*! <!--
11
- * @Author: ChenChanghua
12
- * @Date: 2021-10-13 13:14:49
13
- * @LastEditors: ChenChanghua
14
- * @LastEditTime: 2021-10-13 17:13:24
15
- * @Description: file content
16
- -->
17
-
18
-
19
-
20
- */
21
- const _sfc_main = {
22
- __name: "BrowserApic2",
23
- props: {
24
- src: String,
25
- style: Object,
26
- onStart: Function,
27
- onEnd: Function,
28
- onLoad: Function
29
- },
30
- setup(__props, { expose }) {
31
- const props = __props;
32
- let waitForPlayInfo = null;
33
- const loadImage = (url) => {
34
- return new Promise((resolve, reject) => {
35
- let xhr = new XMLHttpRequest();
36
- xhr.open("GET", url);
37
- xhr.responseType = "arraybuffer";
38
- xhr.onreadystatechange = () => {
39
- if (xhr.readyState === 4 && xhr.status === 200) {
40
- if (xhr.status == 200) {
41
- let apic_data;
42
- if (url.indexOf(".webp") > 0) {
43
- apic_data = new WebpData(xhr.response);
44
- resolve(apic_data);
45
- } else if (url.indexOf(".gif") > 0) {
46
- apic_data = new GifData(xhr.response);
47
- resolve(apic_data);
48
- } else {
49
- reject("unsupport file " + url);
50
- }
51
- } else {
52
- reject("get image data failed. " + url + " " + xhr.status);
53
- }
54
- }
55
- };
56
- xhr.send();
57
- });
58
- };
59
- const getUrl = (base_url) => {
60
- let url_trim = base_url.trim();
61
- if (url_trim.indexOf("http") === 0) {
62
- return url_trim;
63
- } else if (url_trim.indexOf("url") === 0) {
64
- let index_1 = url_trim.indexOf("(");
65
- let index_2 = url_trim.indexOf(")");
66
- return url_trim.substring(index_1 + 1, index_2);
67
- } else {
68
- return url_trim;
69
- }
70
- };
71
- let viewer = null;
72
- let canvasProxyRef = shallowRef(null);
73
- onMounted(() => {
74
- let domLayoutView = canvasProxyRef.value.jsvGetProxyView();
75
- domLayoutView.RegisterOnProxyReady(() => {
76
- let canvas = window.originDocument.createElement("canvas");
77
- canvas.style.width = props.style.width + "px";
78
- canvas.style.height = props.style.height + "px";
79
- domLayoutView.HtmlGetElement().appendChild(canvas);
80
- loadImage(getUrl(props.src)).then((data) => {
81
- let listener = {
82
- onstart: props.onStart,
83
- onend: props.onEnd
84
- };
85
- viewer = new Viewer(data, canvas, listener);
86
- if (props.onLoad) {
87
- props.onLoad();
88
- }
89
- if (waitForPlayInfo) {
90
- viewer.play(...waitForPlayInfo);
91
- waitForPlayInfo = null;
92
- }
93
- }).catch((err) => console.error(err));
94
- });
95
- });
96
- expose({
97
- show: (frameIndex = 0) => {
98
- if (!isNaN(frameIndex)) {
99
- viewer?.play(LoopType.LOOP_SINGLE, [[0, frameIndex, 0]]);
100
- }
101
- },
102
- play: (...args) => {
103
- waitForPlayInfo = args;
104
- viewer?.play(...args);
105
- },
106
- stop: () => {
107
- viewer?.stop();
108
- }
109
- });
110
- return (_ctx, _cache) => {
111
- return openBlock(), createElementBlock("div", {
112
- ref_key: "canvasProxyRef",
113
- ref: canvasProxyRef,
114
- style: normalizeStyle(props.style)
115
- }, null, 4);
116
- };
117
- }
118
- };
119
- export {
120
- _sfc_main as default
121
- };
122
- //# sourceMappingURL=http://localhost:57245/map/BrowserApic2.vue.7959bd77.js.map
123
-
124
- /*jsvmd5:2100f449099edc18caaaf696917888e6*/
@@ -1,416 +0,0 @@
1
- import { A as ApicEndState, L as LoopType, f as LoopToolBase } from "./jsview-vue-entry.415721d8.js";
2
- //!
3
- //! utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/PartLoopTool.js;
4
- //!
5
- class PartLoopTool extends LoopToolBase {
6
- constructor(info_list) {
7
- super();
8
- this.mLoopPeriod = 0;
9
- this.mCurLoopStartFrame = 0;
10
- this.mCurLoopEndFrame = 0;
11
- this.mCurLoopNum = 0;
12
- this.mCurLoopCount = 0;
13
- if (info_list == null) {
14
- console.error("PartLoopTool info is null.");
15
- return;
16
- }
17
- this.mLoopInfo = info_list;
18
- }
19
- getNextIndex(curIndex) {
20
- if (!this.mValid) {
21
- return -1;
22
- }
23
- let next_index = -1;
24
- let loop_period_num = this.mLoopInfo.length;
25
- if (this.mLoopPeriod < loop_period_num) {
26
- if (curIndex < this.mCurLoopEndFrame) {
27
- next_index = curIndex + 1;
28
- } else {
29
- if (this.mCurLoopNum <= 0) {
30
- next_index = this.mCurLoopStartFrame;
31
- } else {
32
- this.mCurLoopCount++;
33
- if (this.mCurLoopCount >= this.mCurLoopNum) {
34
- this.mLoopPeriod++;
35
- if (this.mLoopPeriod < loop_period_num) {
36
- this.mValid = this.updateLoop();
37
- if (this.mValid) {
38
- this.mCurLoopCount = 0;
39
- next_index = this.mCurLoopStartFrame;
40
- }
41
- }
42
- } else {
43
- next_index = this.mCurLoopStartFrame;
44
- }
45
- }
46
- }
47
- }
48
- return next_index;
49
- }
50
- updateLoop() {
51
- let loop = this.mLoopInfo[this.mLoopPeriod];
52
- this.mCurLoopNum = loop[0];
53
- this.mCurLoopStartFrame = loop[1];
54
- this.mCurLoopEndFrame = loop[2];
55
- if (isNaN(this.mCurLoopNum) || isNaN(this.mCurLoopStartFrame) || isNaN(this.mCurLoopEndFrame) || this.mCurLoopStartFrame >= this.mTotalFrameNum || this.mCurLoopEndFrame >= this.mTotalFrameNum || this.mCurLoopStartFrame >= this.mCurLoopEndFrame) {
56
- console.error("data error, frame number out of size.", this.mLoopInfo);
57
- return false;
58
- } else {
59
- return true;
60
- }
61
- }
62
- setApicInfo(frameNum, loopNum) {
63
- this.mTotalFrameNum = frameNum;
64
- this.mValid = this.updateLoop();
65
- if (!this.mValid) {
66
- console.log("PartLoopTool init loop info error." + this.mLoopInfo.toString());
67
- } else {
68
- this.mNextFrameIndex = this.mCurLoopStartFrame;
69
- }
70
- }
71
- }
72
- //!
73
- //! utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/NormalLoopTool.js;
74
- //!
75
- class NormalLoopTool extends LoopToolBase {
76
- constructor(loop_type, loop_num) {
77
- super();
78
- this.mLoopType = loop_type;
79
- this.mLoopNum = loop_num;
80
- this.mLoopCount = 0;
81
- }
82
- getNextIndex(curFrame) {
83
- if (!this.mValid) {
84
- return -1;
85
- }
86
- let next_index = -1;
87
- switch (this.mLoopType) {
88
- case LoopType.LOOP_DEFAULT:
89
- if (this.mLoopNum <= 0) {
90
- next_index = (curFrame + 1) % this.mTotalFrameNum;
91
- } else {
92
- if (curFrame == this.mTotalFrameNum - 1) {
93
- this.mLoopCount++;
94
- }
95
- next_index = this.mLoopCount >= this.mLoopNum ? -1 : (curFrame + 1) % this.mTotalFrameNum;
96
- }
97
- break;
98
- case LoopType.LOOP_INFINITE:
99
- next_index = (curFrame + 1) % this.mTotalFrameNum;
100
- break;
101
- case LoopType.LOOP_FINITE:
102
- if (curFrame == this.mTotalFrameNum - 1) {
103
- this.mLoopCount++;
104
- }
105
- next_index = this.mLoopCount >= this.mLoopNum ? -1 : (curFrame + 1) % this.mTotalFrameNum;
106
- break;
107
- }
108
- return next_index;
109
- }
110
- setApicInfo(frameNum, loopNum) {
111
- this.mTotalFrameNum = frameNum;
112
- this.mLoopNum = this.mLoopType == LoopType.LOOP_DEFAULT ? loopNum : this.mLoopNum;
113
- this.mNextFrameIndex = 0;
114
- this.mValid = true;
115
- }
116
- }
117
- //!
118
- //! utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/SingleLoopTool.js;
119
- //!
120
- class SingleLoopTool extends LoopToolBase {
121
- constructor(index) {
122
- super();
123
- this.mTargetIndex = index;
124
- }
125
- getNextIndex(curIndex) {
126
- return -1;
127
- }
128
- setApicInfo(frame_num, loop_num) {
129
- this.mTotalFrameNum = frame_num;
130
- this.mNextFrameIndex = this.mTargetIndex;
131
- }
132
- }
133
- //!
134
- //! utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.js;
135
- //!
136
- class Viewer {
137
- constructor(apic_data, canvas, listener) {
138
- this._ApicData = apic_data;
139
- this._Canvas = canvas;
140
- this._Context = this._Canvas.getContext("2d");
141
- this._Listener = listener;
142
- this._TimeoutId = -1;
143
- this._EndState = ApicEndState.LAST_FRAME;
144
- }
145
- _createLoopTool(loop_type, loop_info) {
146
- let loop_num = null;
147
- switch (loop_type) {
148
- case LoopType.LOOP_DEFAULT:
149
- case LoopType.LOOP_INFINITE:
150
- case LoopType.LOOP_FINITE:
151
- loop_num = loop_type == LoopType.LOOP_DEFAULT ? this._ApicData.LoopCount : loop_info[0][0];
152
- this._LoopTool = new NormalLoopTool(
153
- loop_type,
154
- loop_num
155
- );
156
- break;
157
- case LoopType.LOOP_PART:
158
- this._LoopTool = new PartLoopTool(
159
- loop_info,
160
- this._ApicData.FrameCount
161
- );
162
- break;
163
- case LoopType.LOOP_SINGLE:
164
- this._LoopTool = new SingleLoopTool(loop_info[0][1]);
165
- break;
166
- default:
167
- this._LoopTool = new NormalLoopTool(
168
- LoopType.LOOP_DEFAULT,
169
- -1
170
- );
171
- }
172
- this._LoopTool.setApicInfo(this._ApicData.FrameCount, this._ApicData.LoopCount);
173
- }
174
- stop() {
175
- clearTimeout(this._TimeoutId);
176
- if (this._Listener?.onend) {
177
- this._Listener.onend();
178
- }
179
- }
180
- play(loopType, loopInfo, endState = ApicEndState.LAST_FRAME) {
181
- this._EndState = endState;
182
- let lInfo;
183
- if (loopInfo instanceof Array) {
184
- lInfo = loopInfo;
185
- } else if (!isNaN(loopInfo)) {
186
- lInfo = [[loopInfo, 0, 0]];
187
- } else {
188
- lInfo = [[0, 0, 0]];
189
- }
190
- this._createLoopTool(loopType, lInfo);
191
- clearTimeout(this._TimeoutId);
192
- this.renderLoop();
193
- if (this._Listener?.onstart) {
194
- this._Listener.onstart();
195
- }
196
- }
197
- renderLoop() {
198
- if (this._LoopTool.hasNext()) {
199
- let duration = this.renderFrame(this._LoopTool.next());
200
- this._TimeoutId = setTimeout(() => {
201
- this.renderLoop();
202
- }, duration);
203
- } else {
204
- console.log("loop finished");
205
- if (this._EndState == ApicEndState.HIDE) {
206
- this._Context.clearRect(0, 0, this._Canvas.width, this._Canvas.height);
207
- }
208
- if (this._Listener?.onend) {
209
- this._Listener.onend();
210
- }
211
- }
212
- }
213
- renderFrame(frame_index) {
214
- return this._ApicData.toImage(frame_index, this._Canvas, this._Context);
215
- }
216
- }
217
- //!
218
- //! utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.js;
219
- //!
220
- class ApicDataBase {
221
- constructor(arrayBuffer) {
222
- this.LoopCount = 0;
223
- this.FrameCount = 0;
224
- this.Width = 0;
225
- this.Height = 0;
226
- this._Canvas = window.originDocument.createElement("canvas");
227
- this._Context = this._Canvas.getContext("2d");
228
- this._DecodedData = null;
229
- this.decode(arrayBuffer);
230
- }
231
- decode(arrayBuffer) {
232
- console.log("decode need override ", arrayBuffer);
233
- }
234
- toImage(frameIndex, canvas, canvasCtx) {
235
- console.log("toImage need override ", frameIndex, canvas, canvasCtx);
236
- }
237
- }
238
- //!
239
- //! utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/WebpData.js;
240
- //!
241
- class WebpData extends ApicDataBase {
242
- decode(array_buffer) {
243
- let webp_data = new Uint8Array(array_buffer);
244
- let webp_decoder = new window.WebPDecoder();
245
- let image_data = window.WebPRiffParser(webp_data, 0);
246
- let blend = false;
247
- let header = image_data["header"] ? image_data["header"] : null;
248
- let frames = image_data["frames"] ? image_data["frames"] : null;
249
- if (header) {
250
- this.LoopCount = header["loop_count"];
251
- header["loop_counter"] = header["loop_count"];
252
- this._Canvas.height = header["canvas_height"];
253
- this._Canvas.width = header["canvas_width"];
254
- this.Width = header["canvas_width"];
255
- this.Height = header["canvas_height"];
256
- for (let f = 0; f < frames.length; f++) {
257
- if (frames[f]["blend"] === 0) {
258
- blend = true;
259
- break;
260
- }
261
- }
262
- }
263
- this.FrameCount = frames.length;
264
- for (let f = 0; f < frames.length; f++) {
265
- let height = [0];
266
- let width = [0];
267
- let frame = frames[f];
268
- let rgba = webp_decoder.WebPDecodeRGBA(
269
- webp_data,
270
- frame["src_off"],
271
- frame["src_size"],
272
- width,
273
- height
274
- );
275
- frame["rgba"] = rgba;
276
- frame["imgwidth"] = width[0];
277
- frame["imgheight"] = height[0];
278
- let oldimagedata = [];
279
- if (!header) {
280
- this._Canvas.height = height[0];
281
- this._Canvas.width = width[0];
282
- } else {
283
- if (blend) {
284
- let oldimagedata_ = this._Context.getImageData(
285
- frame["offset_x"],
286
- frame["offset_y"],
287
- width[0],
288
- height[0]
289
- );
290
- for (let i = 0; i < width[0] * height[0] * 4; i++) {
291
- oldimagedata[i] = oldimagedata_.data[i];
292
- }
293
- }
294
- }
295
- let imagedata = this._Context.createImageData(width[0], height[0]);
296
- if (frames.length === 1 && typeof frame["blend"] === "undefined" || frame["blend"] === 1) {
297
- for (let i = 0; i < width[0] * height[0] * 4; i++)
298
- imagedata.data[i] = rgba[i];
299
- } else {
300
- for (let i = 0; i < width[0] * height[0] * 4; i += 4) {
301
- if (rgba[i + 3] > 0) {
302
- imagedata.data[i + 3] = rgba[i + 3];
303
- imagedata.data[i] = rgba[i];
304
- imagedata.data[i + 1] = rgba[i + 1];
305
- imagedata.data[i + 2] = rgba[i + 2];
306
- } else {
307
- imagedata.data[i + 3] = oldimagedata[i + 3];
308
- imagedata.data[i] = oldimagedata[i];
309
- imagedata.data[i + 1] = oldimagedata[i + 1];
310
- imagedata.data[i + 2] = oldimagedata[i + 2];
311
- }
312
- }
313
- }
314
- if (frames.length === 1) {
315
- this._Context.putImageData(imagedata, 0, 0);
316
- } else {
317
- this._Context.putImageData(
318
- imagedata,
319
- frame["offset_x"],
320
- frame["offset_y"]
321
- );
322
- }
323
- frame["frameData"] = frame["rgba"] ? header ? this._Context.getImageData(
324
- 0,
325
- 0,
326
- header["canvas_width"],
327
- header["canvas_height"]
328
- ).data : rgba : null;
329
- if (frame["dispose"] === 1) {
330
- this._Context.clearRect(
331
- frame["offset_x"],
332
- frame["offset_y"],
333
- width[0],
334
- height[0]
335
- );
336
- }
337
- }
338
- this._DecodedData = image_data;
339
- }
340
- toImage(frame_index, canvas, canvas_ctx) {
341
- let frame = this._DecodedData["frames"][frame_index];
342
- let width = this._DecodedData["header"] ? this._DecodedData["header"]["canvas_width"] : frame["imgwidth"];
343
- let height = this._DecodedData["header"] ? this._DecodedData["header"]["canvas_height"] : frame["imgheight"];
344
- canvas.width = width;
345
- canvas.height = height;
346
- let image_data = canvas_ctx.createImageData(width, height);
347
- let frame_data = frame["frameData"];
348
- image_data.data.set(frame_data);
349
- canvas_ctx.putImageData(image_data, 0, 0);
350
- return frame["duration"];
351
- }
352
- }
353
- //!
354
- //! utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/GifData.js;
355
- //!
356
- class GifData extends ApicDataBase {
357
- decode(array_buffer) {
358
- const gif = window.ApicTools.parseGIF(array_buffer);
359
- this._DecodedData = window.ApicTools.decompressFrames(gif, true);
360
- this.LoopCount = 0;
361
- this.FrameCount = this._DecodedData.length;
362
- this.Width = this._DecodedData[0].dims.width;
363
- this.Height = this._DecodedData[0].dims.height;
364
- for (let i = 0; i < this._DecodedData.length; i++) {
365
- let frame = this._DecodedData[i];
366
- if (frame["dims"]["width"] !== this.Width || frame["dims"]["height"] !== this.Height) {
367
- let pre_frame_data = this._DecodedData[i - 1]["frameData"];
368
- let left = frame["dims"]["left"];
369
- let top = frame["dims"]["top"];
370
- let width = frame["dims"]["width"];
371
- let height = frame["dims"]["height"];
372
- let patch_data = frame["patch"];
373
- let image_data = new Uint8ClampedArray(this.Width * this.Height * 4);
374
- for (let x = 0; x < this.Width; x++) {
375
- for (let y = 0; y < this.Height; y++) {
376
- let patch_x = x - left;
377
- let patch_y = y - top;
378
- let pixel_index = y * this.Width + x;
379
- let patch_pixel_index = patch_y * width + patch_x;
380
- if (x >= left && x < left + width && y >= top && y < top + height && patch_data[patch_pixel_index * 4 + 3] > 0) {
381
- image_data[pixel_index * 4] = patch_data[patch_pixel_index * 4];
382
- image_data[pixel_index * 4 + 1] = patch_data[patch_pixel_index * 4 + 1];
383
- image_data[pixel_index * 4 + 2] = patch_data[patch_pixel_index * 4 + 2];
384
- image_data[pixel_index * 4 + 3] = patch_data[patch_pixel_index * 4 + 3];
385
- } else {
386
- image_data[pixel_index * 4] = pre_frame_data[pixel_index * 4];
387
- image_data[pixel_index * 4 + 1] = pre_frame_data[pixel_index * 4 + 1];
388
- image_data[pixel_index * 4 + 2] = pre_frame_data[pixel_index * 4 + 2];
389
- image_data[pixel_index * 4 + 3] = pre_frame_data[pixel_index * 4 + 3];
390
- }
391
- }
392
- }
393
- frame["frameData"] = image_data;
394
- } else {
395
- frame["frameData"] = frame["patch"];
396
- }
397
- }
398
- }
399
- toImage(frame_index, canvas, canvas_ctx) {
400
- canvas.width = this.Width;
401
- canvas.height = this.Height;
402
- let frame = this._DecodedData[frame_index];
403
- let image_data = canvas_ctx.createImageData(this.Width, this.Height);
404
- image_data.data.set(frame["frameData"]);
405
- canvas_ctx.putImageData(image_data, 0, 0);
406
- return frame["delay"];
407
- }
408
- }
409
- export {
410
- GifData as G,
411
- Viewer as V,
412
- WebpData as W
413
- };
414
- //# sourceMappingURL=http://localhost:57245/map/BrowserApicLib.14ef44a9.js.map
415
-
416
- /*jsvmd5:3a73143d324ba4ac42006d0ae50bebb0*/