create-jsview 2.1.367-test.0 → 2.1.428

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 (264) 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/.DS_Store +0 -0
  5. package/template-vue-vite/dist-test-jsview-chunk/assets/1.54c7645a.png +0 -0
  6. package/template-vue-vite/dist-test-jsview-chunk/assets/1.5dc15599.png +0 -0
  7. package/template-vue-vite/dist-test-jsview-chunk/assets/1280x7200.f72b317a.jpg +0 -0
  8. package/template-vue-vite/dist-test-jsview-chunk/assets/2.c46fde4a.png +0 -0
  9. package/template-vue-vite/dist-test-jsview-chunk/assets/2.df10a8ad.png +0 -0
  10. package/template-vue-vite/dist-test-jsview-chunk/assets/3.920d6934.png +0 -0
  11. package/template-vue-vite/dist-test-jsview-chunk/assets/3.dd39d2bc.png +0 -0
  12. package/template-vue-vite/dist-test-jsview-chunk/assets/4.4cd633a0.jpg +0 -0
  13. package/template-vue-vite/dist-test-jsview-chunk/assets/4.f58de085.png +0 -0
  14. package/template-vue-vite/dist-test-jsview-chunk/assets/Couplets.22a8bcb3.png +0 -0
  15. package/template-vue-vite/dist-test-jsview-chunk/assets/Square.2085a1e3.png +0 -0
  16. package/template-vue-vite/dist-test-jsview-chunk/assets/animated_webp.df116064.webp +0 -0
  17. package/template-vue-vite/dist-test-jsview-chunk/assets/ball_3.6443240f.webp +0 -0
  18. package/template-vue-vite/dist-test-jsview-chunk/assets/bg1.9dacd4a9.png +0 -0
  19. package/template-vue-vite/dist-test-jsview-chunk/assets/bg2.05147169.png +0 -0
  20. package/template-vue-vite/dist-test-jsview-chunk/assets/bg3.4725410a.png +0 -0
  21. package/template-vue-vite/dist-test-jsview-chunk/assets/bg4.67998d21.png +0 -0
  22. package/template-vue-vite/dist-test-jsview-chunk/assets/bg5.e6aeb8ef.png +0 -0
  23. package/template-vue-vite/dist-test-jsview-chunk/assets/bg_btn.3bc67ce7.png +0 -0
  24. package/template-vue-vite/dist-test-jsview-chunk/assets/bgimage.9ebd66c5.jpg +0 -0
  25. package/template-vue-vite/dist-test-jsview-chunk/assets/bgmusic.bf797943.mp3 +0 -0
  26. package/template-vue-vite/dist-test-jsview-chunk/assets/blue_egg.a2c54f95.png +0 -0
  27. package/template-vue-vite/dist-test-jsview-chunk/assets/bmpDemo.e06bdb19.bmp +0 -0
  28. package/template-vue-vite/dist-test-jsview-chunk/assets/boom.159be4de.mp3 +0 -0
  29. package/template-vue-vite/dist-test-jsview-chunk/assets/border.32f99a05.png +0 -0
  30. package/template-vue-vite/dist-test-jsview-chunk/assets/btn_ok.a0827ed4.png +0 -0
  31. package/template-vue-vite/dist-test-jsview-chunk/assets/coin.50aac2a4.mp3 +0 -0
  32. package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_left.c9f544cb.png +0 -0
  33. package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_mid.ef262879.png +0 -0
  34. package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_right.248ee7dc.png +0 -0
  35. package/template-vue-vite/dist-test-jsview-chunk/assets/egg_break.e01a800c.png +0 -0
  36. package/template-vue-vite/dist-test-jsview-chunk/assets/fail.446dfd56.png +0 -0
  37. package/template-vue-vite/dist-test-jsview-chunk/assets/firecracker.bf5b0aa9.png +0 -0
  38. package/template-vue-vite/dist-test-jsview-chunk/assets/fireworks.1c112f43.png +0 -0
  39. package/template-vue-vite/dist-test-jsview-chunk/assets/focus1.ff67f2e6.png +0 -0
  40. package/template-vue-vite/dist-test-jsview-chunk/assets/get.3509893a.mp3 +0 -0
  41. package/template-vue-vite/dist-test-jsview-chunk/assets/girl_run.1c322b33.gif +0 -0
  42. package/template-vue-vite/dist-test-jsview-chunk/assets/goldencoin1.d31809e9.png +0 -0
  43. package/template-vue-vite/dist-test-jsview-chunk/assets/goldencoin2.3f5b59d2.png +0 -0
  44. package/template-vue-vite/dist-test-jsview-chunk/assets/holder_logo.5d13253c.png +0 -0
  45. package/template-vue-vite/dist-test-jsview-chunk/assets/icon.0d3ef206.png +0 -0
  46. package/template-vue-vite/dist-test-jsview-chunk/assets/jpegDemo.ede7ed35.jpeg +0 -0
  47. package/template-vue-vite/dist-test-jsview-chunk/assets/jump.d2e172b2.mp3 +0 -0
  48. package/template-vue-vite/dist-test-jsview-chunk/assets/jump_down.68b45798.png +0 -0
  49. package/template-vue-vite/dist-test-jsview-chunk/assets/jump_up.2f896dd9.png +0 -0
  50. package/template-vue-vite/dist-test-jsview-chunk/assets/leadWire.0c2130df.png +0 -0
  51. package/template-vue-vite/dist-test-jsview-chunk/assets/light.fd536e0c.png +0 -0
  52. package/template-vue-vite/dist-test-jsview-chunk/assets/light2.eac76425.png +0 -0
  53. package/template-vue-vite/dist-test-jsview-chunk/assets/line_left.36cc4bd9.png +0 -0
  54. package/template-vue-vite/dist-test-jsview-chunk/assets/line_mid.21f25bbe.png +0 -0
  55. package/template-vue-vite/dist-test-jsview-chunk/assets/line_right.3a4bbae6.png +0 -0
  56. package/template-vue-vite/dist-test-jsview-chunk/assets/lose.86f51553.mp3 +0 -0
  57. package/template-vue-vite/dist-test-jsview-chunk/assets/mask.c1211360.png +0 -0
  58. package/template-vue-vite/dist-test-jsview-chunk/assets/mathjax-tex-svg.d4295dc3.txt +1 -0
  59. package/template-vue-vite/dist-test-jsview-chunk/assets/php.9533a06f.jpg +0 -0
  60. package/template-vue-vite/dist-test-jsview-chunk/assets/php2.7e5cf392.png +0 -0
  61. package/template-vue-vite/dist-test-jsview-chunk/assets/pngNoAlphaDemo.8d9edc0f.png +0 -0
  62. package/template-vue-vite/dist-test-jsview-chunk/assets/purpleStar.b1920ac5.png +0 -0
  63. package/template-vue-vite/dist-test-jsview-chunk/assets/quan.54556d84.webp +0 -0
  64. package/template-vue-vite/dist-test-jsview-chunk/assets/redCircle.091d191f.png +0 -0
  65. package/template-vue-vite/dist-test-jsview-chunk/assets/redStar.9c31bb42.png +0 -0
  66. package/template-vue-vite/dist-test-jsview-chunk/assets/red_egg.27ca7d39.png +0 -0
  67. package/template-vue-vite/dist-test-jsview-chunk/assets/redpacket1.72196c20.png +0 -0
  68. package/template-vue-vite/dist-test-jsview-chunk/assets/redpacket2.0ae89a46.png +0 -0
  69. package/template-vue-vite/dist-test-jsview-chunk/assets/resultSquare.b9e3527b.png +0 -0
  70. package/template-vue-vite/dist-test-jsview-chunk/assets/roll.aa0dfe6f.png +0 -0
  71. package/template-vue-vite/dist-test-jsview-chunk/assets/run.b84383b2.png +0 -0
  72. package/template-vue-vite/dist-test-jsview-chunk/assets/scroll.c4efa5a1.png +0 -0
  73. package/template-vue-vite/dist-test-jsview-chunk/assets/scroll1.744c0b08.png +0 -0
  74. package/template-vue-vite/dist-test-jsview-chunk/assets/snow.22f35787.png +0 -0
  75. package/template-vue-vite/dist-test-jsview-chunk/assets/spark.50b3f017.png +0 -0
  76. package/template-vue-vite/dist-test-jsview-chunk/assets/star1.dd634833.png +0 -0
  77. package/template-vue-vite/dist-test-jsview-chunk/assets/star2.df352429.png +0 -0
  78. package/template-vue-vite/dist-test-jsview-chunk/assets/star3.5a62b76f.png +0 -0
  79. package/template-vue-vite/dist-test-jsview-chunk/assets/star4.2283606c.png +0 -0
  80. package/template-vue-vite/dist-test-jsview-chunk/assets/swipLight.ab6b2bc2.png +0 -0
  81. package/template-vue-vite/dist-test-jsview-chunk/assets/tease.3d7fb077.png +0 -0
  82. package/template-vue-vite/dist-test-jsview-chunk/assets/tease_lock.3602bb0d.png +0 -0
  83. package/template-vue-vite/dist-test-jsview-chunk/assets/test.671066bc.jpg +0 -0
  84. package/template-vue-vite/dist-test-jsview-chunk/assets/webpDemo.eb0b7786.webp +0 -0
  85. package/template-vue-vite/dist-test-jsview-chunk/assets/yellowStar.d80f0718.png +0 -0
  86. package/template-vue-vite/dist-test-jsview-chunk/css/App.0e83537d.css +6 -0
  87. package/template-vue-vite/dist-test-jsview-chunk/css/App.10e9d05f.css +14 -0
  88. package/template-vue-vite/dist-test-jsview-chunk/css/App.16cc5e4a.css +20 -0
  89. package/template-vue-vite/dist-test-jsview-chunk/css/App.18bd653b.css +10 -0
  90. package/template-vue-vite/dist-test-jsview-chunk/css/App.2943d6ec.css +9 -0
  91. package/template-vue-vite/dist-test-jsview-chunk/css/App.329ae9f6.css +23 -0
  92. package/template-vue-vite/dist-test-jsview-chunk/css/App.32c55297.css +8 -0
  93. package/template-vue-vite/dist-test-jsview-chunk/css/App.3e2a4eb1.css +108 -0
  94. package/template-vue-vite/dist-test-jsview-chunk/css/App.4ea37a27.css +39 -0
  95. package/template-vue-vite/dist-test-jsview-chunk/css/App.54fdcefd.css +51 -0
  96. package/template-vue-vite/dist-test-jsview-chunk/css/App.6406907b.css +9 -0
  97. package/template-vue-vite/dist-test-jsview-chunk/css/App.643b5c1b.css +8 -0
  98. package/template-vue-vite/dist-test-jsview-chunk/css/App.66f2f353.css +553 -0
  99. package/template-vue-vite/dist-test-jsview-chunk/css/App.76117f77.css +21 -0
  100. package/template-vue-vite/dist-test-jsview-chunk/css/App.7a70ea9d.css +20 -0
  101. package/template-vue-vite/dist-test-jsview-chunk/css/App.7ee969c5.css +40 -0
  102. package/template-vue-vite/dist-test-jsview-chunk/css/App.8056ee27.css +144 -0
  103. package/template-vue-vite/dist-test-jsview-chunk/css/App.81e870e8.css +16 -0
  104. package/template-vue-vite/dist-test-jsview-chunk/css/App.8a41b2c9.css +4 -0
  105. package/template-vue-vite/dist-test-jsview-chunk/css/App.8b7fc4be.css +21 -0
  106. package/template-vue-vite/dist-test-jsview-chunk/css/App.9acd4020.css +9 -0
  107. package/template-vue-vite/dist-test-jsview-chunk/css/App.9b8ef7c4.css +17 -0
  108. package/template-vue-vite/dist-test-jsview-chunk/css/App.9c2363fe.css +11 -0
  109. package/template-vue-vite/dist-test-jsview-chunk/css/App.9c9050df.css +10 -0
  110. package/template-vue-vite/dist-test-jsview-chunk/css/App.a37ce6b4.css +78 -0
  111. package/template-vue-vite/dist-test-jsview-chunk/css/App.acd46c9f.css +29 -0
  112. package/template-vue-vite/dist-test-jsview-chunk/css/App.be6992f1.css +5 -0
  113. package/template-vue-vite/dist-test-jsview-chunk/css/App.ce985162.css +37 -0
  114. package/template-vue-vite/dist-test-jsview-chunk/css/App.cf0eea52.css +29 -0
  115. package/template-vue-vite/dist-test-jsview-chunk/css/App.d80395de.css +76 -0
  116. package/template-vue-vite/dist-test-jsview-chunk/css/App.dc17d9ed.css +355 -0
  117. package/template-vue-vite/dist-test-jsview-chunk/css/App.e25f7308.css +20 -0
  118. package/template-vue-vite/dist-test-jsview-chunk/css/App.e3998d69.css +10 -0
  119. package/template-vue-vite/dist-test-jsview-chunk/css/App.e864d83a.css +99 -0
  120. package/template-vue-vite/dist-test-jsview-chunk/css/App.eea7c4d0.css +37 -0
  121. package/template-vue-vite/dist-test-jsview-chunk/css/App.f7bae60e.css +24 -0
  122. package/template-vue-vite/dist-test-jsview-chunk/css/App.fb916576.css +53 -0
  123. package/template-vue-vite/dist-test-jsview-chunk/css/App.ff455e8a.css +23 -0
  124. package/template-vue-vite/dist-test-jsview-chunk/css/DispersedItemSample.24d1e5c2.css +31 -0
  125. package/template-vue-vite/dist-test-jsview-chunk/css/Homepage.6291bd50.css +60 -0
  126. package/template-vue-vite/dist-test-jsview-chunk/css/HorizontalButtonList.f4192657.css +12 -0
  127. package/template-vue-vite/dist-test-jsview-chunk/css/MainPage.7bafbf88.css +9 -0
  128. package/template-vue-vite/dist-test-jsview-chunk/css/SubPage.e3029827.css +17 -0
  129. package/template-vue-vite/dist-test-jsview-chunk/css/index.bc47ba9c.css +20 -0
  130. package/template-vue-vite/dist-test-jsview-chunk/css/main.78821670.css +11 -0
  131. package/template-vue-vite/dist-test-jsview-chunk/debug/jsview-jsmap-serve.mjs +130 -0
  132. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-browser.min.24b59670.js.map +1 -0
  133. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-entry.280f04b1.js.map +1 -0
  134. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-native.min.0039079f.js.map +1 -0
  135. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-engine-js-browser.min.f40edc22.js.map +1 -0
  136. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.bfab260e.js.map +1 -0
  137. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.min.26efdcd1.js.map +1 -0
  138. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-loader.f9249ad3.js.map +1 -0
  139. package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-vue-entry.415721d8.js.map +1 -0
  140. package/template-vue-vite/dist-test-jsview-chunk/index.html +14 -0
  141. package/template-vue-vite/dist-test-jsview-chunk/js/App.0020360a.js +141 -0
  142. package/template-vue-vite/dist-test-jsview-chunk/js/App.073cedd6.js +399 -0
  143. package/template-vue-vite/dist-test-jsview-chunk/js/App.0f963d38.js +95 -0
  144. package/template-vue-vite/dist-test-jsview-chunk/js/App.11cde12f.js +344 -0
  145. package/template-vue-vite/dist-test-jsview-chunk/js/App.121965ad.js +116 -0
  146. package/template-vue-vite/dist-test-jsview-chunk/js/App.1575b8f0.js +200 -0
  147. package/template-vue-vite/dist-test-jsview-chunk/js/App.21ff555f.js +455 -0
  148. package/template-vue-vite/dist-test-jsview-chunk/js/App.29b9c765.js +383 -0
  149. package/template-vue-vite/dist-test-jsview-chunk/js/App.34ff6b40.js +107 -0
  150. package/template-vue-vite/dist-test-jsview-chunk/js/App.361be0b7.js +144 -0
  151. package/template-vue-vite/dist-test-jsview-chunk/js/App.368006e4.js +431 -0
  152. package/template-vue-vite/dist-test-jsview-chunk/js/App.36fc32c5.js +192 -0
  153. package/template-vue-vite/dist-test-jsview-chunk/js/App.386a753e.js +259 -0
  154. package/template-vue-vite/dist-test-jsview-chunk/js/App.3b0de676.js +321 -0
  155. package/template-vue-vite/dist-test-jsview-chunk/js/App.3e808b09.js +92 -0
  156. package/template-vue-vite/dist-test-jsview-chunk/js/App.40f6e609.js +97 -0
  157. package/template-vue-vite/dist-test-jsview-chunk/js/App.539ee14e.js +331 -0
  158. package/template-vue-vite/dist-test-jsview-chunk/js/App.55166fae.js +189 -0
  159. package/template-vue-vite/dist-test-jsview-chunk/js/App.56200035.js +221 -0
  160. package/template-vue-vite/dist-test-jsview-chunk/js/App.5698ed0a.js +243 -0
  161. package/template-vue-vite/dist-test-jsview-chunk/js/App.5788a834.js +1675 -0
  162. package/template-vue-vite/dist-test-jsview-chunk/js/App.5a51ba28.js +788 -0
  163. package/template-vue-vite/dist-test-jsview-chunk/js/App.5db3be20.js +215 -0
  164. package/template-vue-vite/dist-test-jsview-chunk/js/App.5f895413.js +53 -0
  165. package/template-vue-vite/dist-test-jsview-chunk/js/App.5f95520c.js +320 -0
  166. package/template-vue-vite/dist-test-jsview-chunk/js/App.64e2a47b.js +276 -0
  167. package/template-vue-vite/dist-test-jsview-chunk/js/App.69ca326b.js +107 -0
  168. package/template-vue-vite/dist-test-jsview-chunk/js/App.6f92a934.js +277 -0
  169. package/template-vue-vite/dist-test-jsview-chunk/js/App.6fafe9e2.js +430 -0
  170. package/template-vue-vite/dist-test-jsview-chunk/js/App.7067dfe2.js +120 -0
  171. package/template-vue-vite/dist-test-jsview-chunk/js/App.754fa30e.js +776 -0
  172. package/template-vue-vite/dist-test-jsview-chunk/js/App.7a63fc1e.js +240 -0
  173. package/template-vue-vite/dist-test-jsview-chunk/js/App.7b9d1275.js +447 -0
  174. package/template-vue-vite/dist-test-jsview-chunk/js/App.7bf78a71.js +89 -0
  175. package/template-vue-vite/dist-test-jsview-chunk/js/App.832753e3.js +98 -0
  176. package/template-vue-vite/dist-test-jsview-chunk/js/App.83b9bc1a.js +194 -0
  177. package/template-vue-vite/dist-test-jsview-chunk/js/App.8473b928.js +568 -0
  178. package/template-vue-vite/dist-test-jsview-chunk/js/App.85f0e26b.js +1342 -0
  179. package/template-vue-vite/dist-test-jsview-chunk/js/App.8e86826b.js +502 -0
  180. package/template-vue-vite/dist-test-jsview-chunk/js/App.94064c31.js +104 -0
  181. package/template-vue-vite/dist-test-jsview-chunk/js/App.9625268d.js +173 -0
  182. package/template-vue-vite/dist-test-jsview-chunk/js/App.96596f9f.js +119 -0
  183. package/template-vue-vite/dist-test-jsview-chunk/js/App.977c745b.js +237 -0
  184. package/template-vue-vite/dist-test-jsview-chunk/js/App.9e7fbf3c.js +122 -0
  185. package/template-vue-vite/dist-test-jsview-chunk/js/App.a059fc60.js +676 -0
  186. package/template-vue-vite/dist-test-jsview-chunk/js/App.a446bb49.js +369 -0
  187. package/template-vue-vite/dist-test-jsview-chunk/js/App.a485fc61.js +139 -0
  188. package/template-vue-vite/dist-test-jsview-chunk/js/App.a574bf96.js +122 -0
  189. package/template-vue-vite/dist-test-jsview-chunk/js/App.a58787a4.js +225 -0
  190. package/template-vue-vite/dist-test-jsview-chunk/js/App.a6e90b5c.js +614 -0
  191. package/template-vue-vite/dist-test-jsview-chunk/js/App.a6ef2ea5.js +241 -0
  192. package/template-vue-vite/dist-test-jsview-chunk/js/App.a82ae465.js +119 -0
  193. package/template-vue-vite/dist-test-jsview-chunk/js/App.ab97fadc.js +306 -0
  194. package/template-vue-vite/dist-test-jsview-chunk/js/App.b8d07d60.js +68 -0
  195. package/template-vue-vite/dist-test-jsview-chunk/js/App.ba82ae89.js +731 -0
  196. package/template-vue-vite/dist-test-jsview-chunk/js/App.c0fa704f.js +181 -0
  197. package/template-vue-vite/dist-test-jsview-chunk/js/App.ca457df6.js +193 -0
  198. package/template-vue-vite/dist-test-jsview-chunk/js/App.cab5b11a.js +182 -0
  199. package/template-vue-vite/dist-test-jsview-chunk/js/App.ceb70fcc.js +395 -0
  200. package/template-vue-vite/dist-test-jsview-chunk/js/App.d1955c7b.js +139 -0
  201. package/template-vue-vite/dist-test-jsview-chunk/js/App.d35f431e.js +524 -0
  202. package/template-vue-vite/dist-test-jsview-chunk/js/App.d434d1bc.js +1201 -0
  203. package/template-vue-vite/dist-test-jsview-chunk/js/App.d9ea2537.js +172 -0
  204. package/template-vue-vite/dist-test-jsview-chunk/js/App.dce9c295.js +209 -0
  205. package/template-vue-vite/dist-test-jsview-chunk/js/App.e06251fc.js +157 -0
  206. package/template-vue-vite/dist-test-jsview-chunk/js/App.e160a2dd.js +587 -0
  207. package/template-vue-vite/dist-test-jsview-chunk/js/App.e1d44beb.js +198 -0
  208. package/template-vue-vite/dist-test-jsview-chunk/js/App.e442e6e0.js +611 -0
  209. package/template-vue-vite/dist-test-jsview-chunk/js/App.e75db44d.js +257 -0
  210. package/template-vue-vite/dist-test-jsview-chunk/js/App.ebb89cc7.js +97 -0
  211. package/template-vue-vite/dist-test-jsview-chunk/js/App.f5f253ec.js +143 -0
  212. package/template-vue-vite/dist-test-jsview-chunk/js/App.f6a2ac1e.js +251 -0
  213. package/template-vue-vite/dist-test-jsview-chunk/js/App2.f586c86d.js +112 -0
  214. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.64639b51.js +112 -0
  215. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.vue.5e093f8c.js +130 -0
  216. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.8b0c8a0a.js +106 -0
  217. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.vue.7959bd77.js +124 -0
  218. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApicLib.14ef44a9.js +416 -0
  219. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.28bef0de.js +251 -0
  220. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.vue.b874d583.js +265 -0
  221. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.06fbda62.js +100 -0
  222. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.vue.f0cdb016.js +112 -0
  223. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.a6858caf.js +563 -0
  224. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.vue.8615ee65.js +575 -0
  225. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.fe21457d.js +139 -0
  226. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.vue.23eda6fd.js +146 -0
  227. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.727b4b8f.js +175 -0
  228. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.vue.8e2b3454.js +181 -0
  229. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.b126f2ae.js +57 -0
  230. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.vue.52301a81.js +70 -0
  231. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.e70349c2.js +315 -0
  232. package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.vue.5426b5db.js +327 -0
  233. package/template-vue-vite/dist-test-jsview-chunk/js/DispersedItemSample.9696c982.js +534 -0
  234. package/template-vue-vite/dist-test-jsview-chunk/js/GifData.e5dd9fac.js +429 -0
  235. package/template-vue-vite/dist-test-jsview-chunk/js/Homepage.d8afeb55.js +466 -0
  236. package/template-vue-vite/dist-test-jsview-chunk/js/HorizontalButtonList.bbdbc725.js +160 -0
  237. package/template-vue-vite/dist-test-jsview-chunk/js/MainPage.cff1e89b.js +57 -0
  238. package/template-vue-vite/dist-test-jsview-chunk/js/SubPage.9633adf8.js +59 -0
  239. package/template-vue-vite/dist-test-jsview-chunk/js/app.config.92148fde.js +18 -0
  240. package/template-vue-vite/dist-test-jsview-chunk/js/export-sfc.2749ebea.js +23 -0
  241. package/template-vue-vite/dist-test-jsview-chunk/js/index.32520aa9.js +938 -0
  242. package/template-vue-vite/dist-test-jsview-chunk/js/index.56197146.js +2892 -0
  243. package/template-vue-vite/dist-test-jsview-chunk/js/index.f76869d4.js +7522 -0
  244. package/template-vue-vite/dist-test-jsview-chunk/js/jpegDemo.ff177df5.js +7 -0
  245. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-browser.min.24b59670.js +1913 -0
  246. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-entry.280f04b1.js +76 -0
  247. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-native.min.0039079f.js +1487 -0
  248. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-engine-js-browser.min.f40edc22.js +10684 -0
  249. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.bfab260e.js +9 -0
  250. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.min.26efdcd1.js +97 -0
  251. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-loader.f9249ad3.js +238 -0
  252. package/template-vue-vite/dist-test-jsview-chunk/js/jsview-vue-entry.415721d8.js +22233 -0
  253. package/template-vue-vite/dist-test-jsview-chunk/js/jsview.config.a8cf302c.js +49 -0
  254. package/template-vue-vite/dist-test-jsview-chunk/js/main.bd759d7c.js +565 -0
  255. package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.51a0d4f8.mjs +28 -0
  256. package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.mjs +28 -0
  257. package/template-vue-vite/dist-test-jsview-chunk/js/permission.88de599e.js +7 -0
  258. package/template-vue-vite/dist-test-jsview-chunk/js/pngNoAlphaDemo.fbc58313.js +7 -0
  259. package/template-vue-vite/dist-test-jsview-chunk/js/vue.889a9b8b.js +5382 -0
  260. package/template-vue-vite/dist-test-jsview-chunk/jsv-info.json +9 -0
  261. package/template-vue-vite/dist-test-jsview-chunk/jsv-list.json +248 -0
  262. package/template-vue-vite/package-lock-json +6 -6
  263. package/template-vue-vite/package.json +2 -2
  264. package/template-vue-vite/src/permissionResult.tsx +5 -3
@@ -0,0 +1,575 @@
1
+ import { F as Forge } from "./jsview-forge-define.bfab260e.js";
2
+ import { _ as _export_sfc } from "./export-sfc.2749ebea.js";
3
+ import { s as shallowRef, o as openBlock, e as createElementBlock, f as createBaseVNode, g as normalizeStyle } from "./vue.889a9b8b.js";
4
+ import "./jsview-dom-entry.280f04b1.js";
5
+ //!
6
+ //! utils/JsViewPlugin/JsvPlayer/JsvMediaBrowserInterface.js;
7
+ //!
8
+ let methods = {
9
+ /**
10
+ * 要求终端访问指定的频道,并立即返回。对由本地设置为跳过的频道,也返回-1。
11
+ * 频道地址为通过 CTCSetConfig 设置的频道列表中的地址:
12
+ * 如频道地址为 igmp://的组播地址,则加入组播频道,播放器开始播放组播频道,并处理相应的时移等功能;
13
+ * 如频道地址为 rtsp://的单播地址,则连接单播频道,播放器开始播放;
14
+ * 如频道地址为 http://的地址,则浏览器直接发起请求,访问该页面。
15
+ * 【注】:在加入一个频道之前已经加入另外一个频道,需先调用 leaveChannel 方法离开前一个频道。
16
+ * @param {int} channelID 用户频道号。
17
+ * @returns {int} 0,表示成功;-1:表示频道号无效。
18
+ */
19
+ joinChannel(channelID) {
20
+ console.log(`PC simulate browser player joinChannel(${channelID})`);
21
+ },
22
+ /**
23
+ * 要求终端离开指定的频道,并立即返回。
24
+ * 如原频道地址为 igmp://的组播地址,则立即离开组播频道,播放器停止播放组播频道,并断开相应的时移连接;
25
+ * 如频道地址为 rtsp://的单播地址,则断开单播频道,播放器停止播放;
26
+ * 如频道地址为 http://的地址,则浏览器不作操作。
27
+ * 【注】:本方法只用于离开通过 joinChannel 方法加入的频道。
28
+ * @returns {int} 0,表示成功;-1:表示频道号无效。
29
+ */
30
+ leaveChannel() {
31
+ console.log(`PC simulate browser player leaveChannel()`);
32
+ return 0;
33
+ },
34
+ // /**
35
+ // * 快进。
36
+ // * @param {float} speed 2至32
37
+ // */
38
+ // fastForward(value) {
39
+ // console.log(`browser player fastForward(${value})`);
40
+ // },
41
+ // /**
42
+ // * 快退。
43
+ // * @param {float} speed -2至-32
44
+ // */
45
+ // fastRewind(value) {
46
+ // console.log(`browser player fastRewind(${value})`);
47
+ // },
48
+ /**
49
+ * 获取系统音量。
50
+ * @param {int} max_volume 音量范围,即可设置的最大音量值,一般有16和100两种值。
51
+ * @return {int} 当前音量,根据max_volume进行了换算。
52
+ * */
53
+ getGlobalVolume(max_volume) {
54
+ console.log(`PC simulate browser player getGlobalVolume(${max_volume})`);
55
+ return 0;
56
+ },
57
+ /**
58
+ * 设置系统音量。
59
+ * @param {int} volume 0-max_volume,音量值。
60
+ * @param {int} flags 1表示显示音量调节UI;4表示使用提示音。两个值可以是或的关系。
61
+ * @param {int} max_volume 音量范围,即可设置的最大音量值,一般有16和100两种值。
62
+ * */
63
+ setGlobalVolume(volume, flags, max_volume) {
64
+ console.log(`PC simulate browser player setGlobalVolume(${volume}, ${flags}, ${max_volume})`);
65
+ },
66
+ /**
67
+ * 调整系统音量,一次设置一个步长。
68
+ * @param {int} direction 1增大音量;-1减小音量。
69
+ * @param {int} flags FLAG_SHOW_UI(1)表示显示音量调节UI;FLAG_PLAY_SOUND(4)表示使用提示音。两个值可以是或的关系。
70
+ * */
71
+ adjustGlobalVolume(direction, flags) {
72
+ console.log(`PC simulate browser player adjustGlobalVolume(${direction}, ${flags})`);
73
+ },
74
+ /**
75
+ * 回到视频的开头。
76
+ */
77
+ gotoStart() {
78
+ console.log(`PC simulate browser player gotoStart()`);
79
+ },
80
+ /**
81
+ * 到达视频的末尾。
82
+ */
83
+ gotoEnd() {
84
+ console.log(`PC simulate browser player gotoEnd()`);
85
+ },
86
+ /**
87
+ * 设置播放地址。
88
+ * @param {string} url 播放地址。
89
+ * @param {string} head 网络请求的head信息,可以为NULL。
90
+ * @param {int} type 类型,1表示点播,2表示直播,3表示时移,默认1。
91
+ */
92
+ setSrc(url, head, type) {
93
+ console.log(`PC simulate setSrc url=${url} head=${head} type=${type}`);
94
+ this.src = url;
95
+ }
96
+ };
97
+ //!
98
+ //! utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer.vue;
99
+ //!
100
+ /*!
101
+
102
+
103
+
104
+
105
+ */
106
+ let logDebug = console.log;
107
+ const _sfc_main = {
108
+ props: {
109
+ /**
110
+ * 回调函数,播放器对象通知接口
111
+ * @param {Object} video对象,可以通过此video对象调用video相关属性和方法,具体属性和方法定义见JsvMedia.js文件里相关说明。
112
+ */
113
+ onRef: { type: Function, default: () => {
114
+ } },
115
+ /**
116
+ * 属性,Boolean类型,true表示自动播放,默认false。
117
+ */
118
+ autoplay: { type: Boolean, default: false },
119
+ /**
120
+ * 属性,String类型,播放器实例索引,同样的key使用同一个播放器实例。
121
+ */
122
+ playerKey: { type: String, default: null },
123
+ /**
124
+ * 属性,String类型,播放器窗口模式,默认resizable模式。
125
+ * full:观影模式,全屏方式,不建议修改w/h/l/t,视频清晰度/流畅度最佳;
126
+ * resizable:可变窗口模式,可以随意修改w/h/l/t,支持动画效果,视频清晰度/流畅度表现可能不如full模式;
127
+ * pip:画中画模式,只在支持多路硬解的情况下使用,用户画中画的小窗播放,对清晰度/流畅度要求较差,可能会有反交错问题。
128
+ */
129
+ windowMode: { type: String, default: "resizable" },
130
+ /**
131
+ * 属性,int类型,底层使用的播放器类型。1:系统播放器;2:jsv播放器。默认2。
132
+ */
133
+ playerType: { type: Number, default: 2 },
134
+ /**
135
+ * 属性,int类型,播放器解码方式。0:根据硬件能力自动匹配;1:硬解码;2:软解码。默认0(根据芯片能力自动匹配)。
136
+ */
137
+ decodeType: { type: Number, default: 0 },
138
+ /**
139
+ * 属性,Boolean类型,层级关系,true表示在界面的下面,false表示在界面上面,默认true。
140
+ */
141
+ background: { type: Boolean, default: true },
142
+ /**
143
+ * 属性,Boolean类型,true表示静音,默认false。
144
+ */
145
+ muted: { type: Boolean, default: false },
146
+ /**
147
+ * 属性,Boolean类型,true表示循环播放,默认false。
148
+ */
149
+ loop: { type: Boolean, default: false },
150
+ /**
151
+ * 属性,String类型,播放地址。
152
+ */
153
+ src: { type: String, default: "" },
154
+ /**
155
+ * 属性,Double类型,起播时间,0-duration。
156
+ */
157
+ currentTime: { type: Number, default: 0 },
158
+ /**
159
+ * 属性,Boolean类型,是否保留最后一帧,true保留,false不保留。
160
+ */
161
+ keepLastFrame: { type: Boolean, default: true },
162
+ /**
163
+ * 属性,String类型,视频显示比例,origin原始比例显示,full全屏显示,x:y按照指定比例显示。
164
+ */
165
+ videoAspectRatio: { type: String, default: "origin" },
166
+ /**
167
+ * 属性,JSON Object类型,色度抠像参数,包含color,colorDistance,edgeDistance,greenOffset四个参数,
168
+ * 参考格式:{color: 0x30FF30, colorDistance: 0.15, edgeDistance: 0.4, greenOffset: 0.05}
169
+ * color,色值,int类型,为抠图色值范围的中心点,格式为0xRRGGBB。
170
+ * colorDistance,float类型,色域范围,范围0-1.0。
171
+ * edgeDistance,float类型,alpha透明度距离,范围colorDistance-1.0,从colorDistance到edgeDistance的alpha值从1.0-0线性递减。
172
+ * greenOffset,float类型,红蓝差值,范围0-1.0。
173
+ * 目前只支持扣绿。
174
+ */
175
+ chromaKey: { type: Object, default: null },
176
+ /**
177
+ * 回调函数,播放结束时通过此回调接口通知。
178
+ */
179
+ onEnded: {
180
+ type: Function,
181
+ default: () => {
182
+ return {};
183
+ }
184
+ },
185
+ /**
186
+ * 回调函数,播放错误时通过此接口通知。
187
+ * @param {int} 错误类型,当前定义了四种错误。1是异常中断;2是网络错误;3是解码错误;4是格式不支持。
188
+ */
189
+ onError: {
190
+ type: Function,
191
+ default: () => {
192
+ return {};
193
+ }
194
+ },
195
+ // onAbort: {type: Function, default: ()=>{return{}}},
196
+ /**
197
+ * 回调函数,当正常播放时,每0.5秒上报一次,回调接口里会带上当前时间,也可以使用video对象的currentTime属性去获取当前时间。
198
+ * @param {Long} 当前播放时间,单位秒。
199
+ */
200
+ onTimeUpdate: {
201
+ type: Function,
202
+ default: () => {
203
+ return {};
204
+ }
205
+ },
206
+ /**
207
+ * 回调函数,开始加载,设置完播放地址后,上报此事件。
208
+ */
209
+ onLoadStart: {
210
+ type: Function,
211
+ default: () => {
212
+ return {};
213
+ }
214
+ },
215
+ /**
216
+ * 回调函数,开始正常播放,同一个播放地址仅触发一次。
217
+ */
218
+ onCanPlayThrough: {
219
+ type: Function,
220
+ default: () => {
221
+ return {};
222
+ }
223
+ },
224
+ /**
225
+ * 回调函数,正常下载,duration不变的情况下只触发一次。
226
+ */
227
+ onProgress: {
228
+ type: Function,
229
+ default: () => {
230
+ return {};
231
+ }
232
+ },
233
+ /**
234
+ * 回调函数,视频准备好后触发。
235
+ */
236
+ onLoadedMetaData: {
237
+ type: Function,
238
+ default: () => {
239
+ return {};
240
+ }
241
+ },
242
+ /**
243
+ * 回调函数,视频准备好后触发,这个时候可以正常seek。
244
+ */
245
+ onLoad: {
246
+ type: Function,
247
+ default: () => {
248
+ return {};
249
+ }
250
+ },
251
+ /**
252
+ * 回调函数,视频准备好后触发,这个时候可以获取duration。
253
+ */
254
+ onDurationChange: {
255
+ type: Function,
256
+ default: () => {
257
+ return {};
258
+ }
259
+ },
260
+ /**
261
+ * 回调函数,视频准备好后,seek(修改currentTime)会出发此事件。
262
+ */
263
+ onSeeking: {
264
+ type: Function,
265
+ default: () => {
266
+ return {};
267
+ }
268
+ },
269
+ /**
270
+ * 回调函数,seek完成后触发此事件。
271
+ */
272
+ onSeeked: {
273
+ type: Function,
274
+ default: () => {
275
+ return {};
276
+ }
277
+ },
278
+ /**
279
+ * 回调函数,缓冲时触发。
280
+ */
281
+ onStalled: {
282
+ type: Function,
283
+ default: () => {
284
+ return {};
285
+ }
286
+ },
287
+ /**
288
+ * 回调函数,正常播放后触发。
289
+ */
290
+ onPlaying: {
291
+ type: Function,
292
+ default: () => {
293
+ return {};
294
+ }
295
+ },
296
+ /**
297
+ * 回调函数,正常显示后触发此事件。
298
+ */
299
+ onCanPlay: {
300
+ type: Function,
301
+ default: () => {
302
+ return {};
303
+ }
304
+ },
305
+ /**
306
+ * 回调函数,音频失去焦点后触发此事件,可能会导致pause(点播)或者离开频道(直播)。
307
+ */
308
+ onAudioFocusLoss: {
309
+ type: Function,
310
+ default: () => {
311
+ return {};
312
+ }
313
+ },
314
+ /**
315
+ * 回调函数,音频获取焦点后触发此事件,可能会触发resume(点播)或者加入频道(直播)。
316
+ */
317
+ onAudioFocusGain: {
318
+ type: Function,
319
+ default: () => {
320
+ return {};
321
+ }
322
+ },
323
+ /**
324
+ * 回调函数,直播进入时移状态时,触发此事件。
325
+ */
326
+ onTimeShift: {
327
+ type: Function,
328
+ default: () => {
329
+ return {};
330
+ }
331
+ },
332
+ /**
333
+ * 回调函数,直播进入时移状态时,成功播放触发此事件。
334
+ */
335
+ onTimeShifted: {
336
+ type: Function,
337
+ default: () => {
338
+ return {};
339
+ }
340
+ },
341
+ /**
342
+ * 回调函数,时移回到直播状态,触发此事件。
343
+ */
344
+ onBackLive: {
345
+ type: Function,
346
+ default: () => {
347
+ return {};
348
+ }
349
+ },
350
+ /**
351
+ * 回调函数,时移回到直播状态时,成功播放触发此事件。
352
+ */
353
+ onBackLived: {
354
+ type: Function,
355
+ default: () => {
356
+ return {};
357
+ }
358
+ },
359
+ /**
360
+ * 属性,Object类型,设置窗口属性,同其他组件的style设置。
361
+ */
362
+ style: {
363
+ type: Object,
364
+ default: () => {
365
+ return {};
366
+ }
367
+ },
368
+ /**
369
+ * 属性,Boolean类型,活跃状态,当多个JsvPlayer组件指向一个video对象时,只能有一个处于活跃状态。
370
+ * 视频显示在活跃JsvPlayer设置的显示区域内,事件通知也只会送给活跃的JsvPlayer组件注册的回调函数。
371
+ */
372
+ active: { type: Boolean, default: true }
373
+ },
374
+ components: {},
375
+ watch: {
376
+ active(newValue) {
377
+ console.log("LudlDebug active newValue: " + newValue);
378
+ if (this.video) {
379
+ if (newValue) {
380
+ this.registerEvent();
381
+ this.video.setHoleID(this.holeId);
382
+ this.holeStyle = {
383
+ left: 0,
384
+ top: 0,
385
+ width: this.style.width,
386
+ height: this.style.height
387
+ };
388
+ } else {
389
+ this.holeStyle = {
390
+ left: 0,
391
+ top: 0,
392
+ width: 0,
393
+ height: 0
394
+ };
395
+ }
396
+ }
397
+ },
398
+ style(newValue) {
399
+ logDebug(
400
+ "holeStyle newValue: left=" + newValue.left + ", top=" + newValue.top + ", width=" + newValue.width + ", height=" + newValue.height
401
+ );
402
+ if (this.active) {
403
+ this.holeStyle = {
404
+ left: 0,
405
+ top: 0,
406
+ width: newValue.width,
407
+ height: newValue.height
408
+ };
409
+ }
410
+ },
411
+ keepLastFrame(newValue) {
412
+ logDebug("keepLastFrame newValue: " + newValue);
413
+ if (this.video && this.active) {
414
+ this.video.keepLastFrame = this.keepLastFrame;
415
+ }
416
+ }
417
+ },
418
+ setup() {
419
+ return {
420
+ video: null,
421
+ holeId: "",
422
+ jsvMainView: shallowRef(null),
423
+ innerViewId: shallowRef(-1)
424
+ };
425
+ },
426
+ data() {
427
+ return {
428
+ holeStyle: {}
429
+ };
430
+ },
431
+ created() {
432
+ },
433
+ mounted() {
434
+ logDebug("JsvPlayer:", this.style);
435
+ let key = "Jsv_" + Math.floor(Math.random() * 1e4);
436
+ if (this.playerKey) {
437
+ key = this.playerKey;
438
+ }
439
+ logDebug("player key:" + key);
440
+ if (this.playerType)
441
+ this.playerType;
442
+ let background = true;
443
+ if (!this.background)
444
+ background = this.background;
445
+ logDebug("JsvPlayer background:" + background);
446
+ window.Forge.DesignMap();
447
+ logDebug("JsvPlayer:", this.holeId);
448
+ let first_create = true;
449
+ if (!this.video) {
450
+ this.video = window.originDocument.createElement("video");
451
+ this._extendsApi(this.video);
452
+ } else {
453
+ this.video.setRef();
454
+ first_create = false;
455
+ }
456
+ if (this.video != null) {
457
+ if (this.active) {
458
+ this.registerEvent();
459
+ if (this.src && this.src !== "")
460
+ this.video.src = this.src;
461
+ if (this.currentTime !== 0)
462
+ this.video.currentTime = this.currentTime;
463
+ if (this.autoplay) {
464
+ this.video.autoplay = this.autoplay;
465
+ }
466
+ if (this.muted) {
467
+ this.video.muted = this.muted;
468
+ }
469
+ if (this.loop) {
470
+ this.video.loop = this.loop;
471
+ }
472
+ if (!this.keepLastFrame) {
473
+ this.video.keepLastFrame = this.keepLastFrame;
474
+ }
475
+ if (this.videoAspectRatio !== "origin") {
476
+ this.video.videoAspectRatio = this.videoAspectRatio;
477
+ }
478
+ if (this.chromaKey && this.chromaKey !== "") {
479
+ this.video.setChromaKey(this.chromaKey);
480
+ }
481
+ if (!first_create) {
482
+ this.video.setHoleID(this.holeId);
483
+ this.holeStyle = {
484
+ left: 0,
485
+ top: 0,
486
+ width: this.style.width,
487
+ height: this.style.height
488
+ };
489
+ }
490
+ }
491
+ this.jsvMainView = new Forge.VideoView(this.video, null);
492
+ this.innerViewId = Forge.sViewStore.add(
493
+ new Forge.ViewInfo(this.jsvMainView)
494
+ );
495
+ this.onRef?.(this.video);
496
+ }
497
+ },
498
+ unmounted() {
499
+ if (this.video != null) {
500
+ if (this.innerViewId !== -1) {
501
+ Forge.sViewStore.remove(this.innerViewId);
502
+ this.innerViewId = -1;
503
+ this.jsvMainView = null;
504
+ }
505
+ this.onRef?.(null);
506
+ }
507
+ },
508
+ methods: {
509
+ getHoleId(id) {
510
+ logDebug("getHoleId:", id);
511
+ this.holeId = id;
512
+ },
513
+ registerEvent() {
514
+ if (this.video && this.active) {
515
+ this.video.addEventListener("end", this.onEnded);
516
+ this.video.addEventListener("error", this.onError);
517
+ this.video.addEventListener("timeupdate", this.onTimeUpdate);
518
+ this.video.addEventListener("loadstart", () => {
519
+ logDebug("JsvPlayer received loadstart event.");
520
+ this.holeStyle = {
521
+ left: 0,
522
+ top: 0,
523
+ width: this.style.width,
524
+ height: this.style.height
525
+ };
526
+ this.onLoadStart();
527
+ });
528
+ this.video.addEventListener("canplaythrough", this.onCanPlayThrough);
529
+ this.video.addEventListener("progress", this.onProgress);
530
+ this.video.addEventListener("loadedmetadata", this.onLoadedMetaData);
531
+ this.video.addEventListener("load", this.onLoad);
532
+ this.video.addEventListener("durationchange", this.onDurationChange);
533
+ this.video.addEventListener("seeking", this.onSeeking);
534
+ this.video.addEventListener("seeked", this.onSeeked);
535
+ this.video.addEventListener("stalled", this.onStalled);
536
+ this.video.addEventListener("playing", this.onPlaying);
537
+ this.video.addEventListener("canplay", this.onCanPlay);
538
+ this.video.addEventListener("audiofocusloss", this.onAudioFocusLoss);
539
+ this.video.addEventListener("audiofocusgain", this.onAudioFocusGain);
540
+ this.video.addEventListener("timeshift", this.onTimeShift);
541
+ this.video.addEventListener("timeshifted", this.onTimeShifted);
542
+ this.video.addEventListener("backlive", this.onBackLive);
543
+ this.video.addEventListener("backlived", this.onBackLived);
544
+ }
545
+ },
546
+ _extendsApi(videoRef) {
547
+ for (let method_name in methods) {
548
+ videoRef[method_name] = methods[method_name].bind(videoRef);
549
+ }
550
+ }
551
+ }
552
+ };
553
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
554
+ return openBlock(), createElementBlock("div", {
555
+ style: normalizeStyle($data.holeStyle),
556
+ backgroundColor: "rgba(0,0,0,1)"
557
+ }, [
558
+ createBaseVNode("div", {
559
+ style: normalizeStyle({
560
+ left: $data.holeStyle.left,
561
+ top: $data.holeStyle.top,
562
+ width: $data.holeStyle.width,
563
+ height: $data.holeStyle.height
564
+ }),
565
+ "data-jsv-vw-innerview": $setup.innerViewId
566
+ }, null, 12, ["data-jsv-vw-innerview"])
567
+ ], 4);
568
+ }
569
+ const BrowserJsvPlayer = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
570
+ export {
571
+ BrowserJsvPlayer as default
572
+ };
573
+ //# sourceMappingURL=http://localhost:57245/map/BrowserJsvPlayer.vue.8615ee65.js.map
574
+
575
+ /*jsvmd5:fdee8926a04f0180b7f7c6e83050915a*/
@@ -0,0 +1,139 @@
1
+ import { r as reactive, B as watchEffect, E as onBeforeUnmount, o as openBlock, e as createElementBlock, q as createCommentVNode } from "./vue.889a9b8b.js";
2
+ const _sfc_main = {
3
+ __name: "BrowserPreload",
4
+ props: {
5
+ preloadList: Array,
6
+ downloadList: Array,
7
+ onPreloadDone: Function,
8
+ // 预加载完成回调
9
+ onDownloadDone: Function,
10
+ // 预下载完成回调
11
+ onPreloading: Function
12
+ },
13
+ setup(__props) {
14
+ const props = __props;
15
+ const loadViewList = reactive({
16
+ preloadViewList: [],
17
+ downloadViewList: []
18
+ });
19
+ let preloadIsNullNum = 0;
20
+ let downloadIsNullNum = 0;
21
+ let preloadResultMap = {};
22
+ let downloadResultMap = {};
23
+ let downloadUrlList = [];
24
+ let unmountStatus = { unmount: false };
25
+ let preloadStateList = null;
26
+ let downloadStateList = null;
27
+ const getPreloadList = () => {
28
+ preloadStateList = new Array(props.preloadList.length).fill(false);
29
+ let preloadListData = props.preloadList;
30
+ for (let i = 0; i < preloadListData.length; i++) {
31
+ if (!preloadListData[i] || !preloadListData[i].url) {
32
+ preloadListData.splice(i, 1);
33
+ preloadIsNullNum++;
34
+ i--;
35
+ }
36
+ }
37
+ loadViewList.preloadViewList = preloadListData.map((item, index) => {
38
+ if (!item || !item.url) {
39
+ preloadStateList[index] = true;
40
+ return null;
41
+ }
42
+ const image = new Image();
43
+ const unmount_track = unmountStatus;
44
+ image.onload = () => {
45
+ if (unmount_track.unmount) {
46
+ return;
47
+ }
48
+ preloadResultMap[item.url] = {
49
+ width: image.width,
50
+ height: image.height
51
+ };
52
+ preloadStateList[index] = true;
53
+ let loadedNum = 0;
54
+ preloadStateList.map((item2) => {
55
+ loadedNum += item2 ? 1 : 0;
56
+ });
57
+ props.onPreloading?.(loadedNum / preloadStateList.length);
58
+ if (props.onPreloadDone && loadedNum + preloadIsNullNum == preloadStateList.length) {
59
+ props.onPreloadDone?.(preloadResultMap);
60
+ }
61
+ };
62
+ image.src = item.url;
63
+ });
64
+ };
65
+ const getDownloadList = () => {
66
+ downloadStateList = new Array(props.downloadList.length).fill(false);
67
+ downloadUrlList = new Array(downloadStateList.length);
68
+ let downloadListData = props.downloadList;
69
+ for (let i = 0; i < downloadListData.length; i++) {
70
+ if (!downloadListData[i] || !downloadListData[i].url) {
71
+ downloadListData.splice(i, 1);
72
+ downloadUrlList[i] = "invalid";
73
+ downloadIsNullNum++;
74
+ i--;
75
+ }
76
+ }
77
+ loadViewList.downloadViewList = downloadListData.map((item, index) => {
78
+ if (!item || !item.url) {
79
+ downloadStateList[index] = true;
80
+ downloadUrlList[index] = "invalid";
81
+ return null;
82
+ }
83
+ const image = new Image();
84
+ const unmount_track = unmountStatus;
85
+ image.onload = () => {
86
+ if (unmount_track.unmount) {
87
+ return;
88
+ }
89
+ downloadStateList[index] = true;
90
+ downloadUrlList[index] = item.url;
91
+ downloadResultMap[item.url] = {
92
+ width: image.width,
93
+ height: image.height
94
+ };
95
+ console.log(`pre download succeed ${item.url}`);
96
+ if (props.onDownloadDone) {
97
+ let downloadNum = 0;
98
+ downloadStateList.map((item2) => {
99
+ downloadNum += item2 ? 1 : 0;
100
+ });
101
+ if (downloadNum + downloadIsNullNum == downloadStateList.length) {
102
+ props.onDownloadDone?.(downloadUrlList, downloadResultMap);
103
+ }
104
+ }
105
+ };
106
+ image.src = item.url;
107
+ });
108
+ };
109
+ watchEffect(() => {
110
+ if (props.preloadList) {
111
+ console.log("JsvPreload: update preloadList");
112
+ preloadIsNullNum = 0;
113
+ preloadResultMap = {};
114
+ getPreloadList();
115
+ }
116
+ });
117
+ watchEffect(() => {
118
+ if (props.downloadList) {
119
+ console.log("JsvPreload: update downloadList");
120
+ downloadIsNullNum = 0;
121
+ downloadResultMap = {};
122
+ downloadUrlList = [];
123
+ getDownloadList();
124
+ }
125
+ });
126
+ onBeforeUnmount(() => {
127
+ unmountStatus.unmount = true;
128
+ });
129
+ return (_ctx, _cache) => {
130
+ return !__props.preloadList ? (openBlock(), createElementBlock("div", { key: 0 })) : createCommentVNode("", true);
131
+ };
132
+ }
133
+ };
134
+ export {
135
+ _sfc_main as default
136
+ };
137
+ //# sourceMappingURL=http://localhost:57245/map/BrowserPreload.fe21457d.js.map
138
+
139
+ /*jsvmd5:434a8b788cccef031709c37226ae2e68*/