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.
- 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/.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 +1 -0
- 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 +6 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.10e9d05f.css +14 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.16cc5e4a.css +20 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.18bd653b.css +10 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.2943d6ec.css +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.329ae9f6.css +23 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.32c55297.css +8 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.3e2a4eb1.css +108 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.4ea37a27.css +39 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.54fdcefd.css +51 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.6406907b.css +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.643b5c1b.css +8 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.66f2f353.css +553 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.76117f77.css +21 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.7a70ea9d.css +20 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.7ee969c5.css +40 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8056ee27.css +144 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.81e870e8.css +16 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8a41b2c9.css +4 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8b7fc4be.css +21 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9acd4020.css +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9b8ef7c4.css +17 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9c2363fe.css +11 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9c9050df.css +10 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.a37ce6b4.css +78 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.acd46c9f.css +29 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.be6992f1.css +5 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.ce985162.css +37 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.cf0eea52.css +29 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.d80395de.css +76 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.dc17d9ed.css +355 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e25f7308.css +20 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e3998d69.css +10 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e864d83a.css +99 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.eea7c4d0.css +37 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.f7bae60e.css +24 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.fb916576.css +53 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.ff455e8a.css +23 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/DispersedItemSample.24d1e5c2.css +31 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/Homepage.6291bd50.css +60 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/HorizontalButtonList.f4192657.css +12 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/MainPage.7bafbf88.css +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/SubPage.e3029827.css +17 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/index.bc47ba9c.css +20 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/main.78821670.css +11 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/jsview-jsmap-serve.mjs +130 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-browser.min.24b59670.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-entry.280f04b1.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-native.min.0039079f.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-engine-js-browser.min.f40edc22.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.bfab260e.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.min.26efdcd1.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-loader.f9249ad3.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-vue-entry.415721d8.js.map +1 -0
- package/template-vue-vite/dist-test-jsview-chunk/index.html +14 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.0020360a.js +141 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.073cedd6.js +399 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.0f963d38.js +95 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.11cde12f.js +344 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.121965ad.js +116 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.1575b8f0.js +200 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.21ff555f.js +455 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.29b9c765.js +383 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.34ff6b40.js +107 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.361be0b7.js +144 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.368006e4.js +431 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.36fc32c5.js +192 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.386a753e.js +259 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.3b0de676.js +321 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.3e808b09.js +92 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.40f6e609.js +97 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.539ee14e.js +331 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.55166fae.js +189 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.56200035.js +221 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5698ed0a.js +243 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5788a834.js +1675 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5a51ba28.js +788 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5db3be20.js +215 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5f895413.js +53 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5f95520c.js +320 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.64e2a47b.js +276 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.69ca326b.js +107 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.6f92a934.js +277 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.6fafe9e2.js +430 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7067dfe2.js +120 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.754fa30e.js +776 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7a63fc1e.js +240 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7b9d1275.js +447 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7bf78a71.js +89 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.832753e3.js +98 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.83b9bc1a.js +194 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.8473b928.js +568 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.85f0e26b.js +1342 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.8e86826b.js +502 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.94064c31.js +104 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.9625268d.js +173 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.96596f9f.js +119 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.977c745b.js +237 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.9e7fbf3c.js +122 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a059fc60.js +676 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a446bb49.js +369 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a485fc61.js +139 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a574bf96.js +122 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a58787a4.js +225 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a6e90b5c.js +614 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a6ef2ea5.js +241 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a82ae465.js +119 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ab97fadc.js +306 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.b8d07d60.js +68 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ba82ae89.js +731 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.c0fa704f.js +181 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ca457df6.js +193 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.cab5b11a.js +182 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ceb70fcc.js +395 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d1955c7b.js +139 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d35f431e.js +524 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d434d1bc.js +1201 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d9ea2537.js +172 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.dce9c295.js +209 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e06251fc.js +157 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e160a2dd.js +587 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e1d44beb.js +198 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e442e6e0.js +611 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e75db44d.js +257 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ebb89cc7.js +97 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.f5f253ec.js +143 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App.f6a2ac1e.js +251 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/App2.f586c86d.js +112 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.64639b51.js +112 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.vue.5e093f8c.js +130 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.8b0c8a0a.js +106 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.vue.7959bd77.js +124 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApicLib.14ef44a9.js +416 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.28bef0de.js +251 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.vue.b874d583.js +265 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.06fbda62.js +100 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.vue.f0cdb016.js +112 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.a6858caf.js +563 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.vue.8615ee65.js +575 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.fe21457d.js +139 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.vue.23eda6fd.js +146 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.727b4b8f.js +175 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.vue.8e2b3454.js +181 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.b126f2ae.js +57 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.vue.52301a81.js +70 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.e70349c2.js +315 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.vue.5426b5db.js +327 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/DispersedItemSample.9696c982.js +534 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/GifData.e5dd9fac.js +429 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/Homepage.d8afeb55.js +466 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/HorizontalButtonList.bbdbc725.js +160 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/MainPage.cff1e89b.js +57 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/SubPage.9633adf8.js +59 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/app.config.92148fde.js +18 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/export-sfc.2749ebea.js +23 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/index.32520aa9.js +938 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/index.56197146.js +2892 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/index.f76869d4.js +7522 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jpegDemo.ff177df5.js +7 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-browser.min.24b59670.js +1913 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-entry.280f04b1.js +76 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-native.min.0039079f.js +1487 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-engine-js-browser.min.f40edc22.js +10684 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.bfab260e.js +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.min.26efdcd1.js +97 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-loader.f9249ad3.js +238 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-vue-entry.415721d8.js +22233 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview.config.a8cf302c.js +49 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/main.bd759d7c.js +565 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.51a0d4f8.mjs +28 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.mjs +28 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/permission.88de599e.js +7 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/pngNoAlphaDemo.fbc58313.js +7 -0
- package/template-vue-vite/dist-test-jsview-chunk/js/vue.889a9b8b.js +5382 -0
- package/template-vue-vite/dist-test-jsview-chunk/jsv-info.json +9 -0
- package/template-vue-vite/dist-test-jsview-chunk/jsv-list.json +248 -0
- package/template-vue-vite/package-lock-json +6 -6
- package/template-vue-vite/package.json +2 -2
- package/template-vue-vite/src/permissionResult.tsx +5 -3
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
import { a as _export_sfc } from "./export-sfc.2749ebea.js";
|
|
2
|
+
import { o as openBlock, e as createElementBlock } from "./vue.889a9b8b.js";
|
|
3
|
+
const DECORATE_BORDER_RADIUS = "BroderRaidus";
|
|
4
|
+
const DECORATE_NINEPATCH_ALPHA_MIX = "NinePatchAlphaMix";
|
|
5
|
+
const TexAlignAnchor = {
|
|
6
|
+
LEFT_TOP: 1,
|
|
7
|
+
CENTER_TOP: 2,
|
|
8
|
+
RIGHT_TOP: 3,
|
|
9
|
+
LEFT_MIDDLE: 4,
|
|
10
|
+
CENTER: 5,
|
|
11
|
+
RIGHT_MIDDLE: 6,
|
|
12
|
+
LEFT_BOTTOM: 7,
|
|
13
|
+
CENTER_BOTTOM: 8,
|
|
14
|
+
RIGHT_BOTTOM: 9
|
|
15
|
+
};
|
|
16
|
+
const getOffset = (type, viewW, viewH, texLeft, texTop) => {
|
|
17
|
+
let extraLeft, extraTop;
|
|
18
|
+
switch (type) {
|
|
19
|
+
case TexAlignAnchor.LEFT_TOP:
|
|
20
|
+
extraLeft = 0;
|
|
21
|
+
extraTop = 0;
|
|
22
|
+
break;
|
|
23
|
+
case TexAlignAnchor.CENTER_TOP:
|
|
24
|
+
extraLeft = viewW / 2;
|
|
25
|
+
extraTop = 0;
|
|
26
|
+
break;
|
|
27
|
+
case TexAlignAnchor.RIGHT_TOP:
|
|
28
|
+
extraLeft = viewW;
|
|
29
|
+
extraTop = 0;
|
|
30
|
+
break;
|
|
31
|
+
case TexAlignAnchor.LEFT_MIDDLE:
|
|
32
|
+
extraLeft = 0;
|
|
33
|
+
extraTop = viewH / 2;
|
|
34
|
+
break;
|
|
35
|
+
case TexAlignAnchor.RIGHT_MIDDLE:
|
|
36
|
+
extraLeft = viewW;
|
|
37
|
+
extraTop = viewH / 2;
|
|
38
|
+
break;
|
|
39
|
+
case TexAlignAnchor.LEFT_BOTTOM:
|
|
40
|
+
extraLeft = 0;
|
|
41
|
+
extraTop = viewH;
|
|
42
|
+
break;
|
|
43
|
+
case TexAlignAnchor.CENTER_BOTTOM:
|
|
44
|
+
extraLeft = viewW / 2;
|
|
45
|
+
extraTop = viewH;
|
|
46
|
+
break;
|
|
47
|
+
case TexAlignAnchor.RIGHT_BOTTOM:
|
|
48
|
+
extraLeft = viewW;
|
|
49
|
+
extraTop = viewH;
|
|
50
|
+
break;
|
|
51
|
+
case TexAlignAnchor.CENTER:
|
|
52
|
+
default:
|
|
53
|
+
extraLeft = viewW / 2;
|
|
54
|
+
extraTop = viewH / 2;
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
return [texLeft + extraLeft, texTop + extraTop];
|
|
58
|
+
};
|
|
59
|
+
let TOKEN = 0;
|
|
60
|
+
const _sfc_main = {
|
|
61
|
+
props: {
|
|
62
|
+
src: String,
|
|
63
|
+
top: Number,
|
|
64
|
+
left: Number,
|
|
65
|
+
width: Number,
|
|
66
|
+
height: Number,
|
|
67
|
+
borderRadius: [String, Number],
|
|
68
|
+
decorate: Object,
|
|
69
|
+
animation: String,
|
|
70
|
+
duration: Number,
|
|
71
|
+
transform: String,
|
|
72
|
+
transformOrigin: String,
|
|
73
|
+
repeat: {
|
|
74
|
+
type: Number,
|
|
75
|
+
default: 1
|
|
76
|
+
},
|
|
77
|
+
delay: {
|
|
78
|
+
type: Number,
|
|
79
|
+
default: 0
|
|
80
|
+
},
|
|
81
|
+
easing: {
|
|
82
|
+
type: String,
|
|
83
|
+
default: "linear"
|
|
84
|
+
},
|
|
85
|
+
onAnimationEnd: Function,
|
|
86
|
+
autoStart: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
default: false
|
|
89
|
+
},
|
|
90
|
+
texCoord: {
|
|
91
|
+
type: Object
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
setup(props) {
|
|
95
|
+
return {
|
|
96
|
+
animName: "browser-texture-anim-" + TOKEN++,
|
|
97
|
+
animDiv: null,
|
|
98
|
+
clipDiv: null,
|
|
99
|
+
imgDiv: null,
|
|
100
|
+
watcherHandlerList: []
|
|
101
|
+
};
|
|
102
|
+
},
|
|
103
|
+
computed: {
|
|
104
|
+
animSet() {
|
|
105
|
+
return `${this.animName} ${this.duration / 1e3}s ${this.easing} ${this.delay / 1e3}s ${this.repeat === -1 ? "infinite" : this.repeat}`;
|
|
106
|
+
},
|
|
107
|
+
textureLayout() {
|
|
108
|
+
if (!isNaN(this.texCoord?.width) && !isNaN(this.texCoord?.height)) {
|
|
109
|
+
const texLeft = !isNaN(this.texCoord.left) ? this.texCoord.left : -this.texCoord.width / 2;
|
|
110
|
+
const texTop = !isNaN(this.texCoord.top) ? this.texCoord.top : -this.texCoord.height / 2;
|
|
111
|
+
const type = !isNaN(this.texCoord.alignAnchor) ? this.texCoord.alignAnchor : 5;
|
|
112
|
+
const offset = getOffset(
|
|
113
|
+
type,
|
|
114
|
+
this.width,
|
|
115
|
+
this.height,
|
|
116
|
+
texLeft,
|
|
117
|
+
texTop
|
|
118
|
+
);
|
|
119
|
+
const transition = this.decorate?.animTime ? `left ${this.decorate.animTime}s, top ${this.decorate.animTime}s` : "";
|
|
120
|
+
return {
|
|
121
|
+
position: "absolute",
|
|
122
|
+
left: offset[0] + "px",
|
|
123
|
+
top: offset[1] + "px",
|
|
124
|
+
transition,
|
|
125
|
+
width: this.texCoord.width + "px",
|
|
126
|
+
height: this.texCoord.height + "px"
|
|
127
|
+
};
|
|
128
|
+
} else {
|
|
129
|
+
return {
|
|
130
|
+
position: "absolute",
|
|
131
|
+
left: 0 + "px",
|
|
132
|
+
top: 0 + "px",
|
|
133
|
+
width: this.width + "px",
|
|
134
|
+
height: this.height + "px"
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
maskStyle() {
|
|
139
|
+
if (this.borderRadius) {
|
|
140
|
+
const radiusObj = this._readRadius(this.borderRadius);
|
|
141
|
+
return {
|
|
142
|
+
left: this.left + "px",
|
|
143
|
+
top: this.top + "px",
|
|
144
|
+
borderRadius: `${radiusObj.topLeft}px ${radiusObj.topRight}px ${radiusObj.bottomLeft}px ${radiusObj.bottomRight}px`,
|
|
145
|
+
width: this.width + "px",
|
|
146
|
+
height: this.height + "px",
|
|
147
|
+
overflow: "hidden"
|
|
148
|
+
};
|
|
149
|
+
} else if (this.decorate) {
|
|
150
|
+
if (this.decorate.type == DECORATE_NINEPATCH_ALPHA_MIX) {
|
|
151
|
+
const imageDspWidth = this.decorate.imageDspWidth > 0 ? this.decorate.imageDspWidth : this.decorate.imageWidth;
|
|
152
|
+
const slideWidth = (this.decorate.imageWidth - this.decorate.centerWidth) / 2;
|
|
153
|
+
const outset = Math.ceil(
|
|
154
|
+
this.decorate.borderOutset * imageDspWidth / this.decorate.imageWidth
|
|
155
|
+
);
|
|
156
|
+
console.log("get mask style");
|
|
157
|
+
const transitionTime = this.decorate.animTime;
|
|
158
|
+
return {
|
|
159
|
+
left: this.left + "px",
|
|
160
|
+
top: this.top + "px",
|
|
161
|
+
width: this.width + "px",
|
|
162
|
+
height: this.height + "px",
|
|
163
|
+
transition: `left ${transitionTime}s, top ${transitionTime}s, width ${transitionTime}s, height ${transitionTime}s`,
|
|
164
|
+
webkitMaskBoxImageSource: this.decorate.url,
|
|
165
|
+
webkitMaskBoxImageSlice: slideWidth,
|
|
166
|
+
webkitMaskBoxImageWidth: Math.ceil(
|
|
167
|
+
slideWidth * imageDspWidth / this.decorate.imageWidth
|
|
168
|
+
) + "px",
|
|
169
|
+
webkitMaskBoxImageOutset: outset + "px",
|
|
170
|
+
position: "absolute"
|
|
171
|
+
};
|
|
172
|
+
} else if (this.decorate.type == DECORATE_BORDER_RADIUS) {
|
|
173
|
+
return {
|
|
174
|
+
left: this.left + "px",
|
|
175
|
+
top: this.top + "px",
|
|
176
|
+
borderRadius: `${this.decorate.topLeft}px ${this.decorate.topRight}px ${this.decorate.bottomRight}px ${this.decorate.bottomLeft}`,
|
|
177
|
+
width: this.width + "px",
|
|
178
|
+
height: this.height + "px",
|
|
179
|
+
overflow: "hidden"
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
} else {
|
|
183
|
+
return {
|
|
184
|
+
left: this.left + "px",
|
|
185
|
+
top: this.top + "px",
|
|
186
|
+
width: this.width + "px",
|
|
187
|
+
height: this.height + "px",
|
|
188
|
+
overflow: "hidden"
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
methods: {
|
|
194
|
+
_readRadius(setting) {
|
|
195
|
+
if (typeof setting == "number") {
|
|
196
|
+
return {
|
|
197
|
+
type: DECORATE_BORDER_RADIUS,
|
|
198
|
+
topLeft: setting,
|
|
199
|
+
topRight: setting,
|
|
200
|
+
bottomRight: setting,
|
|
201
|
+
bottomLeft: setting
|
|
202
|
+
};
|
|
203
|
+
} else if (typeof setting == "string" && setting.length > 0) {
|
|
204
|
+
const pattern = /\d+/g;
|
|
205
|
+
let match = setting.match(pattern);
|
|
206
|
+
if (match.length > 0) {
|
|
207
|
+
let top_left = match[0];
|
|
208
|
+
let top_right = match.length > 1 ? match[1] : top_left;
|
|
209
|
+
return {
|
|
210
|
+
type: DECORATE_BORDER_RADIUS,
|
|
211
|
+
topLeft: top_left,
|
|
212
|
+
topRight: top_right,
|
|
213
|
+
bottomRight: match.length > 2 ? match[2] : top_left,
|
|
214
|
+
bottomLeft: match.length > 3 ? match[3] : top_right
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return null;
|
|
219
|
+
},
|
|
220
|
+
start() {
|
|
221
|
+
if (this.animDiv && this.animation) {
|
|
222
|
+
this.animDiv.style.animation = this.animSet;
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
insertKeyframe(animDefine) {
|
|
226
|
+
const index = document.styleSheets[0].cssRules.length;
|
|
227
|
+
document.styleSheets[0].insertRule(animDefine, index);
|
|
228
|
+
},
|
|
229
|
+
removeKeyframe(animName) {
|
|
230
|
+
const styleSheetRef = document.styleSheets[0];
|
|
231
|
+
const cssRulesRef = styleSheetRef.cssRules;
|
|
232
|
+
for (let i = cssRulesRef.length - 1; i >= 0; i--) {
|
|
233
|
+
if (cssRulesRef[i].name === animName) {
|
|
234
|
+
styleSheetRef.deleteRule(i);
|
|
235
|
+
break;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
mounted() {
|
|
241
|
+
if (this.animation) {
|
|
242
|
+
this.insertKeyframe("@keyframes " + this.animName + " " + this.animation);
|
|
243
|
+
}
|
|
244
|
+
this.$refs.root.jsvGetProxyView().RegisterOnProxyReady(() => {
|
|
245
|
+
const root = this.$refs.root.jsvGetProxyView().HtmlGetElement();
|
|
246
|
+
this.clipDiv = window.originDocument.createElement("div");
|
|
247
|
+
Object.assign(this.clipDiv.style, this.maskStyle);
|
|
248
|
+
const textureLayout = this.textureLayout;
|
|
249
|
+
this.animDiv = window.originDocument.createElement("div");
|
|
250
|
+
Object.assign(this.animDiv.style, textureLayout);
|
|
251
|
+
this.animDiv.onanimationend = () => {
|
|
252
|
+
this.animDiv.style.animation = null;
|
|
253
|
+
this.onAnimationEnd?.();
|
|
254
|
+
};
|
|
255
|
+
this.imgDiv = window.originDocument.createElement("div");
|
|
256
|
+
this.imgDiv.style.width = textureLayout.width;
|
|
257
|
+
this.imgDiv.style.height = textureLayout.height;
|
|
258
|
+
this.imgDiv.style.backgroundImage = `url(${this.src})`;
|
|
259
|
+
this.imgDiv.style.transform = this.transform;
|
|
260
|
+
this.imgDiv.style.transformOrigin = this.transformOrigin;
|
|
261
|
+
this.animDiv.appendChild(this.imgDiv);
|
|
262
|
+
this.clipDiv.appendChild(this.animDiv);
|
|
263
|
+
root.appendChild(this.clipDiv);
|
|
264
|
+
});
|
|
265
|
+
this.watcherHandlerList.push(
|
|
266
|
+
this.$watch("left", (newValue) => {
|
|
267
|
+
this.clipDiv.style.left = newValue + "px";
|
|
268
|
+
})
|
|
269
|
+
);
|
|
270
|
+
this.watcherHandlerList.push(
|
|
271
|
+
this.$watch("top", (newValue) => {
|
|
272
|
+
this.clipDiv.style.top = newValue + "px";
|
|
273
|
+
})
|
|
274
|
+
);
|
|
275
|
+
this.watcherHandlerList.push(
|
|
276
|
+
this.$watch("width", (newValue) => {
|
|
277
|
+
this.clipDiv.style.width = newValue + "px";
|
|
278
|
+
})
|
|
279
|
+
);
|
|
280
|
+
this.watcherHandlerList.push(
|
|
281
|
+
this.$watch("height", (newValue) => {
|
|
282
|
+
this.clipDiv.style.height = newValue + "px";
|
|
283
|
+
})
|
|
284
|
+
);
|
|
285
|
+
this.watcherHandlerList.push(
|
|
286
|
+
this.$watch("textureLayout", (newValue) => {
|
|
287
|
+
Object.assign(this.animDiv.style, newValue);
|
|
288
|
+
this.imgDiv.style.width = newValue.width;
|
|
289
|
+
this.imgDiv.style.height = newValue.height;
|
|
290
|
+
})
|
|
291
|
+
);
|
|
292
|
+
if (this.autoStart) {
|
|
293
|
+
setTimeout(() => {
|
|
294
|
+
this.start();
|
|
295
|
+
}, 0);
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
beforeUnmount() {
|
|
299
|
+
this.removeKeyframe(this.animName);
|
|
300
|
+
for (let handler of this.watcherHandlerList) {
|
|
301
|
+
handler?.();
|
|
302
|
+
}
|
|
303
|
+
this.watcherHandlerList = [];
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
307
|
+
return openBlock(), createElementBlock("div", { ref: "root" }, null, 512);
|
|
308
|
+
}
|
|
309
|
+
const BrowserTextureAnim = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
310
|
+
export {
|
|
311
|
+
BrowserTextureAnim as default
|
|
312
|
+
};
|
|
313
|
+
//# sourceMappingURL=http://localhost:57245/map/BrowserTextureAnim.e70349c2.js.map
|
|
314
|
+
|
|
315
|
+
/*jsvmd5:a4b5ee86fb47cfb2413cff327e3469f1*/
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
import { _ as _export_sfc } from "./export-sfc.2749ebea.js";
|
|
2
|
+
import { o as openBlock, e as createElementBlock } from "./vue.889a9b8b.js";
|
|
3
|
+
//!
|
|
4
|
+
//! utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue;
|
|
5
|
+
//!
|
|
6
|
+
/*! <!--
|
|
7
|
+
* @Author: ChenChanghua
|
|
8
|
+
* @Date: 2022-02-08 09:29:17
|
|
9
|
+
* @LastEditTime: 2023-02-21 10:51:22
|
|
10
|
+
* @Description: file content
|
|
11
|
+
-->
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
*/
|
|
15
|
+
const DECORATE_BORDER_RADIUS = "BroderRaidus";
|
|
16
|
+
const DECORATE_NINEPATCH_ALPHA_MIX = "NinePatchAlphaMix";
|
|
17
|
+
const TexAlignAnchor = {
|
|
18
|
+
LEFT_TOP: 1,
|
|
19
|
+
CENTER_TOP: 2,
|
|
20
|
+
RIGHT_TOP: 3,
|
|
21
|
+
LEFT_MIDDLE: 4,
|
|
22
|
+
CENTER: 5,
|
|
23
|
+
RIGHT_MIDDLE: 6,
|
|
24
|
+
LEFT_BOTTOM: 7,
|
|
25
|
+
CENTER_BOTTOM: 8,
|
|
26
|
+
RIGHT_BOTTOM: 9
|
|
27
|
+
};
|
|
28
|
+
const getOffset = (type, viewW, viewH, texLeft, texTop) => {
|
|
29
|
+
let extraLeft, extraTop;
|
|
30
|
+
switch (type) {
|
|
31
|
+
case TexAlignAnchor.LEFT_TOP:
|
|
32
|
+
extraLeft = 0;
|
|
33
|
+
extraTop = 0;
|
|
34
|
+
break;
|
|
35
|
+
case TexAlignAnchor.CENTER_TOP:
|
|
36
|
+
extraLeft = viewW / 2;
|
|
37
|
+
extraTop = 0;
|
|
38
|
+
break;
|
|
39
|
+
case TexAlignAnchor.RIGHT_TOP:
|
|
40
|
+
extraLeft = viewW;
|
|
41
|
+
extraTop = 0;
|
|
42
|
+
break;
|
|
43
|
+
case TexAlignAnchor.LEFT_MIDDLE:
|
|
44
|
+
extraLeft = 0;
|
|
45
|
+
extraTop = viewH / 2;
|
|
46
|
+
break;
|
|
47
|
+
case TexAlignAnchor.RIGHT_MIDDLE:
|
|
48
|
+
extraLeft = viewW;
|
|
49
|
+
extraTop = viewH / 2;
|
|
50
|
+
break;
|
|
51
|
+
case TexAlignAnchor.LEFT_BOTTOM:
|
|
52
|
+
extraLeft = 0;
|
|
53
|
+
extraTop = viewH;
|
|
54
|
+
break;
|
|
55
|
+
case TexAlignAnchor.CENTER_BOTTOM:
|
|
56
|
+
extraLeft = viewW / 2;
|
|
57
|
+
extraTop = viewH;
|
|
58
|
+
break;
|
|
59
|
+
case TexAlignAnchor.RIGHT_BOTTOM:
|
|
60
|
+
extraLeft = viewW;
|
|
61
|
+
extraTop = viewH;
|
|
62
|
+
break;
|
|
63
|
+
case TexAlignAnchor.CENTER:
|
|
64
|
+
default:
|
|
65
|
+
extraLeft = viewW / 2;
|
|
66
|
+
extraTop = viewH / 2;
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
return [texLeft + extraLeft, texTop + extraTop];
|
|
70
|
+
};
|
|
71
|
+
let TOKEN = 0;
|
|
72
|
+
const _sfc_main = {
|
|
73
|
+
props: {
|
|
74
|
+
src: String,
|
|
75
|
+
top: Number,
|
|
76
|
+
left: Number,
|
|
77
|
+
width: Number,
|
|
78
|
+
height: Number,
|
|
79
|
+
borderRadius: [String, Number],
|
|
80
|
+
decorate: Object,
|
|
81
|
+
animation: String,
|
|
82
|
+
duration: Number,
|
|
83
|
+
transform: String,
|
|
84
|
+
transformOrigin: String,
|
|
85
|
+
repeat: {
|
|
86
|
+
type: Number,
|
|
87
|
+
default: 1
|
|
88
|
+
},
|
|
89
|
+
delay: {
|
|
90
|
+
type: Number,
|
|
91
|
+
default: 0
|
|
92
|
+
},
|
|
93
|
+
easing: {
|
|
94
|
+
type: String,
|
|
95
|
+
default: "linear"
|
|
96
|
+
},
|
|
97
|
+
onAnimationEnd: Function,
|
|
98
|
+
autoStart: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
default: false
|
|
101
|
+
},
|
|
102
|
+
texCoord: {
|
|
103
|
+
type: Object
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
setup(props) {
|
|
107
|
+
return {
|
|
108
|
+
animName: "browser-texture-anim-" + TOKEN++,
|
|
109
|
+
animDiv: null,
|
|
110
|
+
clipDiv: null,
|
|
111
|
+
imgDiv: null,
|
|
112
|
+
watcherHandlerList: []
|
|
113
|
+
};
|
|
114
|
+
},
|
|
115
|
+
computed: {
|
|
116
|
+
animSet() {
|
|
117
|
+
return `${this.animName} ${this.duration / 1e3}s ${this.easing} ${this.delay / 1e3}s ${this.repeat === -1 ? "infinite" : this.repeat}`;
|
|
118
|
+
},
|
|
119
|
+
textureLayout() {
|
|
120
|
+
if (!isNaN(this.texCoord?.width) && !isNaN(this.texCoord?.height)) {
|
|
121
|
+
const texLeft = !isNaN(this.texCoord.left) ? this.texCoord.left : -this.texCoord.width / 2;
|
|
122
|
+
const texTop = !isNaN(this.texCoord.top) ? this.texCoord.top : -this.texCoord.height / 2;
|
|
123
|
+
const type = !isNaN(this.texCoord.alignAnchor) ? this.texCoord.alignAnchor : 5;
|
|
124
|
+
const offset = getOffset(
|
|
125
|
+
type,
|
|
126
|
+
this.width,
|
|
127
|
+
this.height,
|
|
128
|
+
texLeft,
|
|
129
|
+
texTop
|
|
130
|
+
);
|
|
131
|
+
const transition = this.decorate?.animTime ? `left ${this.decorate.animTime}s, top ${this.decorate.animTime}s` : "";
|
|
132
|
+
return {
|
|
133
|
+
position: "absolute",
|
|
134
|
+
left: offset[0] + "px",
|
|
135
|
+
top: offset[1] + "px",
|
|
136
|
+
transition,
|
|
137
|
+
width: this.texCoord.width + "px",
|
|
138
|
+
height: this.texCoord.height + "px"
|
|
139
|
+
};
|
|
140
|
+
} else {
|
|
141
|
+
return {
|
|
142
|
+
position: "absolute",
|
|
143
|
+
left: 0 + "px",
|
|
144
|
+
top: 0 + "px",
|
|
145
|
+
width: this.width + "px",
|
|
146
|
+
height: this.height + "px"
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
maskStyle() {
|
|
151
|
+
if (this.borderRadius) {
|
|
152
|
+
const radiusObj = this._readRadius(this.borderRadius);
|
|
153
|
+
return {
|
|
154
|
+
left: this.left + "px",
|
|
155
|
+
top: this.top + "px",
|
|
156
|
+
borderRadius: `${radiusObj.topLeft}px ${radiusObj.topRight}px ${radiusObj.bottomLeft}px ${radiusObj.bottomRight}px`,
|
|
157
|
+
width: this.width + "px",
|
|
158
|
+
height: this.height + "px",
|
|
159
|
+
overflow: "hidden"
|
|
160
|
+
};
|
|
161
|
+
} else if (this.decorate) {
|
|
162
|
+
if (this.decorate.type == DECORATE_NINEPATCH_ALPHA_MIX) {
|
|
163
|
+
const imageDspWidth = this.decorate.imageDspWidth > 0 ? this.decorate.imageDspWidth : this.decorate.imageWidth;
|
|
164
|
+
const slideWidth = (this.decorate.imageWidth - this.decorate.centerWidth) / 2;
|
|
165
|
+
const outset = Math.ceil(
|
|
166
|
+
this.decorate.borderOutset * imageDspWidth / this.decorate.imageWidth
|
|
167
|
+
);
|
|
168
|
+
console.log("get mask style");
|
|
169
|
+
const transitionTime = this.decorate.animTime;
|
|
170
|
+
return {
|
|
171
|
+
left: this.left + "px",
|
|
172
|
+
top: this.top + "px",
|
|
173
|
+
width: this.width + "px",
|
|
174
|
+
height: this.height + "px",
|
|
175
|
+
transition: `left ${transitionTime}s, top ${transitionTime}s, width ${transitionTime}s, height ${transitionTime}s`,
|
|
176
|
+
webkitMaskBoxImageSource: this.decorate.url,
|
|
177
|
+
webkitMaskBoxImageSlice: slideWidth,
|
|
178
|
+
webkitMaskBoxImageWidth: Math.ceil(
|
|
179
|
+
slideWidth * imageDspWidth / this.decorate.imageWidth
|
|
180
|
+
) + "px",
|
|
181
|
+
webkitMaskBoxImageOutset: outset + "px",
|
|
182
|
+
position: "absolute"
|
|
183
|
+
};
|
|
184
|
+
} else if (this.decorate.type == DECORATE_BORDER_RADIUS) {
|
|
185
|
+
return {
|
|
186
|
+
left: this.left + "px",
|
|
187
|
+
top: this.top + "px",
|
|
188
|
+
borderRadius: `${this.decorate.topLeft}px ${this.decorate.topRight}px ${this.decorate.bottomRight}px ${this.decorate.bottomLeft}`,
|
|
189
|
+
width: this.width + "px",
|
|
190
|
+
height: this.height + "px",
|
|
191
|
+
overflow: "hidden"
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
} else {
|
|
195
|
+
return {
|
|
196
|
+
left: this.left + "px",
|
|
197
|
+
top: this.top + "px",
|
|
198
|
+
width: this.width + "px",
|
|
199
|
+
height: this.height + "px",
|
|
200
|
+
overflow: "hidden"
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
methods: {
|
|
206
|
+
_readRadius(setting) {
|
|
207
|
+
if (typeof setting == "number") {
|
|
208
|
+
return {
|
|
209
|
+
type: DECORATE_BORDER_RADIUS,
|
|
210
|
+
topLeft: setting,
|
|
211
|
+
topRight: setting,
|
|
212
|
+
bottomRight: setting,
|
|
213
|
+
bottomLeft: setting
|
|
214
|
+
};
|
|
215
|
+
} else if (typeof setting == "string" && setting.length > 0) {
|
|
216
|
+
const pattern = /\d+/g;
|
|
217
|
+
let match = setting.match(pattern);
|
|
218
|
+
if (match.length > 0) {
|
|
219
|
+
let top_left = match[0];
|
|
220
|
+
let top_right = match.length > 1 ? match[1] : top_left;
|
|
221
|
+
return {
|
|
222
|
+
type: DECORATE_BORDER_RADIUS,
|
|
223
|
+
topLeft: top_left,
|
|
224
|
+
topRight: top_right,
|
|
225
|
+
bottomRight: match.length > 2 ? match[2] : top_left,
|
|
226
|
+
bottomLeft: match.length > 3 ? match[3] : top_right
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
return null;
|
|
231
|
+
},
|
|
232
|
+
start() {
|
|
233
|
+
if (this.animDiv && this.animation) {
|
|
234
|
+
this.animDiv.style.animation = this.animSet;
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
insertKeyframe(animDefine) {
|
|
238
|
+
const index = document.styleSheets[0].cssRules.length;
|
|
239
|
+
document.styleSheets[0].insertRule(animDefine, index);
|
|
240
|
+
},
|
|
241
|
+
removeKeyframe(animName) {
|
|
242
|
+
const styleSheetRef = document.styleSheets[0];
|
|
243
|
+
const cssRulesRef = styleSheetRef.cssRules;
|
|
244
|
+
for (let i = cssRulesRef.length - 1; i >= 0; i--) {
|
|
245
|
+
if (cssRulesRef[i].name === animName) {
|
|
246
|
+
styleSheetRef.deleteRule(i);
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
mounted() {
|
|
253
|
+
if (this.animation) {
|
|
254
|
+
this.insertKeyframe("@keyframes " + this.animName + " " + this.animation);
|
|
255
|
+
}
|
|
256
|
+
this.$refs.root.jsvGetProxyView().RegisterOnProxyReady(() => {
|
|
257
|
+
const root = this.$refs.root.jsvGetProxyView().HtmlGetElement();
|
|
258
|
+
this.clipDiv = window.originDocument.createElement("div");
|
|
259
|
+
Object.assign(this.clipDiv.style, this.maskStyle);
|
|
260
|
+
const textureLayout = this.textureLayout;
|
|
261
|
+
this.animDiv = window.originDocument.createElement("div");
|
|
262
|
+
Object.assign(this.animDiv.style, textureLayout);
|
|
263
|
+
this.animDiv.onanimationend = () => {
|
|
264
|
+
this.animDiv.style.animation = null;
|
|
265
|
+
this.onAnimationEnd?.();
|
|
266
|
+
};
|
|
267
|
+
this.imgDiv = window.originDocument.createElement("div");
|
|
268
|
+
this.imgDiv.style.width = textureLayout.width;
|
|
269
|
+
this.imgDiv.style.height = textureLayout.height;
|
|
270
|
+
this.imgDiv.style.backgroundImage = `url(${this.src})`;
|
|
271
|
+
this.imgDiv.style.transform = this.transform;
|
|
272
|
+
this.imgDiv.style.transformOrigin = this.transformOrigin;
|
|
273
|
+
this.animDiv.appendChild(this.imgDiv);
|
|
274
|
+
this.clipDiv.appendChild(this.animDiv);
|
|
275
|
+
root.appendChild(this.clipDiv);
|
|
276
|
+
});
|
|
277
|
+
this.watcherHandlerList.push(
|
|
278
|
+
this.$watch("left", (newValue) => {
|
|
279
|
+
this.clipDiv.style.left = newValue + "px";
|
|
280
|
+
})
|
|
281
|
+
);
|
|
282
|
+
this.watcherHandlerList.push(
|
|
283
|
+
this.$watch("top", (newValue) => {
|
|
284
|
+
this.clipDiv.style.top = newValue + "px";
|
|
285
|
+
})
|
|
286
|
+
);
|
|
287
|
+
this.watcherHandlerList.push(
|
|
288
|
+
this.$watch("width", (newValue) => {
|
|
289
|
+
this.clipDiv.style.width = newValue + "px";
|
|
290
|
+
})
|
|
291
|
+
);
|
|
292
|
+
this.watcherHandlerList.push(
|
|
293
|
+
this.$watch("height", (newValue) => {
|
|
294
|
+
this.clipDiv.style.height = newValue + "px";
|
|
295
|
+
})
|
|
296
|
+
);
|
|
297
|
+
this.watcherHandlerList.push(
|
|
298
|
+
this.$watch("textureLayout", (newValue) => {
|
|
299
|
+
Object.assign(this.animDiv.style, newValue);
|
|
300
|
+
this.imgDiv.style.width = newValue.width;
|
|
301
|
+
this.imgDiv.style.height = newValue.height;
|
|
302
|
+
})
|
|
303
|
+
);
|
|
304
|
+
if (this.autoStart) {
|
|
305
|
+
setTimeout(() => {
|
|
306
|
+
this.start();
|
|
307
|
+
}, 0);
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
beforeUnmount() {
|
|
311
|
+
this.removeKeyframe(this.animName);
|
|
312
|
+
for (let handler of this.watcherHandlerList) {
|
|
313
|
+
handler?.();
|
|
314
|
+
}
|
|
315
|
+
this.watcherHandlerList = [];
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
319
|
+
return openBlock(), createElementBlock("div", { ref: "root" }, null, 512);
|
|
320
|
+
}
|
|
321
|
+
const BrowserTextureAnim = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
322
|
+
export {
|
|
323
|
+
BrowserTextureAnim as default
|
|
324
|
+
};
|
|
325
|
+
//# sourceMappingURL=http://localhost:57245/map/BrowserTextureAnim.vue.5426b5db.js.map
|
|
326
|
+
|
|
327
|
+
/*jsvmd5:39c6cea8a83eb0a0c05da2c33122ddd6*/
|