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