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,466 @@
|
|
|
1
|
+
import { g as _sfc_main$F, V as VERTICAL, a as useRouter, u as useFocusHub, E as EdgeDirection, c as bridge } from "./jsview-vue-entry.415721d8.js";
|
|
2
|
+
import { a as _export_sfc } from "./export-sfc.2749ebea.js";
|
|
3
|
+
import { s as shallowRef, c as computed, o as openBlock, e as createElementBlock, u as unref, g as normalizeStyle, q as createCommentVNode, f as createBaseVNode, j as renderSlot, A as createBlock, l as withCtx, k as createVNode, O as createTextVNode, G as toDisplayString, w as watch, b as resolveComponent, y as onActivated, z as onDeactivated } from "./vue.889a9b8b.js";
|
|
4
|
+
import "./jsview-forge-define.bfab260e.js";
|
|
5
|
+
import "./jsview-dom-entry.280f04b1.js";
|
|
6
|
+
const Item_vue_vue_type_style_index_0_scoped_d1363826_lang = "";
|
|
7
|
+
const _sfc_main$4 = {
|
|
8
|
+
__name: "Item",
|
|
9
|
+
props: {
|
|
10
|
+
style: Object,
|
|
11
|
+
itemClick: Function,
|
|
12
|
+
itemFocus: Function,
|
|
13
|
+
data: Object,
|
|
14
|
+
query: Object,
|
|
15
|
+
onAction: Object
|
|
16
|
+
},
|
|
17
|
+
setup(__props) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
let focused = shallowRef(false);
|
|
20
|
+
const foucsStyle = computed(() => {
|
|
21
|
+
return {
|
|
22
|
+
width: props.style.width,
|
|
23
|
+
height: props.style.height
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
const itemStyle = computed(() => {
|
|
27
|
+
return {
|
|
28
|
+
width: props.style.width - 10,
|
|
29
|
+
height: props.style.height - 10,
|
|
30
|
+
backgroundColor: props.style.backgroundColor,
|
|
31
|
+
color: props.style.color
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
const onFocus = () => {
|
|
35
|
+
focused.value = true;
|
|
36
|
+
if (props.itemFocus) {
|
|
37
|
+
props.itemFocus(props.data);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
const onBlur = () => {
|
|
41
|
+
focused.value = false;
|
|
42
|
+
};
|
|
43
|
+
const onClick = () => {
|
|
44
|
+
if (props.itemClick) {
|
|
45
|
+
props?.itemClick(props.query.id, props.data);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
props.onAction.register("onFocus", onFocus);
|
|
49
|
+
props.onAction.register("onBlur", onBlur);
|
|
50
|
+
props.onAction.register("onClick", onClick);
|
|
51
|
+
return (_ctx, _cache) => {
|
|
52
|
+
return openBlock(), createElementBlock("div", null, [
|
|
53
|
+
unref(focused) ? (openBlock(), createElementBlock("div", {
|
|
54
|
+
key: 0,
|
|
55
|
+
class: "focus",
|
|
56
|
+
style: normalizeStyle(unref(foucsStyle))
|
|
57
|
+
}, null, 4)) : createCommentVNode("", true),
|
|
58
|
+
createBaseVNode("div", {
|
|
59
|
+
class: "item",
|
|
60
|
+
style: normalizeStyle(unref(itemStyle))
|
|
61
|
+
}, [
|
|
62
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
63
|
+
], 4)
|
|
64
|
+
]);
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
const styleSheetsContent$2 = { "d1363826": { ".focus": '{"top":-5,"left":-5,"backgroundColor":"#0000ff"}', ".item": '{"textAlign":"center","fontSize":30}' } };
|
|
69
|
+
window.JsvCode.Dom.DeclareStyleSheets(styleSheetsContent$2);
|
|
70
|
+
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-d1363826"]]);
|
|
71
|
+
const _sfc_main$3 = {
|
|
72
|
+
__name: "TabFrame",
|
|
73
|
+
props: {
|
|
74
|
+
name: String,
|
|
75
|
+
itemFocus: Function,
|
|
76
|
+
onEdge: Function,
|
|
77
|
+
initId: Number
|
|
78
|
+
},
|
|
79
|
+
setup(__props) {
|
|
80
|
+
const props = __props;
|
|
81
|
+
const measures = (item) => {
|
|
82
|
+
return {
|
|
83
|
+
width: item.width,
|
|
84
|
+
height: item.height,
|
|
85
|
+
focusable: item.focusable
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
const width = 1280;
|
|
89
|
+
const height = 100;
|
|
90
|
+
const data = [
|
|
91
|
+
{
|
|
92
|
+
width: 200,
|
|
93
|
+
height: 50,
|
|
94
|
+
name: "功能实例",
|
|
95
|
+
focusable: true,
|
|
96
|
+
id: 0
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
width: 200,
|
|
100
|
+
height: 50,
|
|
101
|
+
name: "MetroWidget",
|
|
102
|
+
focusable: true,
|
|
103
|
+
id: 1
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
width: 200,
|
|
107
|
+
height: 50,
|
|
108
|
+
name: "首页/运营",
|
|
109
|
+
focusable: true,
|
|
110
|
+
id: 2
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
width: 200,
|
|
114
|
+
height: 50,
|
|
115
|
+
name: "游戏实例",
|
|
116
|
+
focusable: true,
|
|
117
|
+
id: 3
|
|
118
|
+
}
|
|
119
|
+
];
|
|
120
|
+
const direction = VERTICAL;
|
|
121
|
+
return (_ctx, _cache) => {
|
|
122
|
+
return openBlock(), createBlock(unref(_sfc_main$F), {
|
|
123
|
+
name: props.name,
|
|
124
|
+
width,
|
|
125
|
+
height,
|
|
126
|
+
direction: unref(direction),
|
|
127
|
+
data,
|
|
128
|
+
measures,
|
|
129
|
+
padding: { left: 10, top: 10, right: 10, bottom: 10 },
|
|
130
|
+
onEdge: props.onEdge,
|
|
131
|
+
initFocusId: props.initId
|
|
132
|
+
}, {
|
|
133
|
+
renderItem: withCtx(({ data: data2, query, onEdge, onAction }) => [
|
|
134
|
+
createVNode(Item, {
|
|
135
|
+
style: normalizeStyle({
|
|
136
|
+
width: data2.width,
|
|
137
|
+
height: data2.height,
|
|
138
|
+
backgroundColor: "#00AA00",
|
|
139
|
+
color: "#FFFFFF"
|
|
140
|
+
}),
|
|
141
|
+
data: data2,
|
|
142
|
+
query,
|
|
143
|
+
onEdge,
|
|
144
|
+
onAction,
|
|
145
|
+
itemFocus: props.itemFocus
|
|
146
|
+
}, {
|
|
147
|
+
default: withCtx(() => [
|
|
148
|
+
createTextVNode(toDisplayString(data2.name), 1)
|
|
149
|
+
]),
|
|
150
|
+
_: 2
|
|
151
|
+
}, 1032, ["style", "data", "query", "onEdge", "onAction", "itemFocus"])
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
}, 8, ["name", "direction", "onEdge", "initFocusId"]);
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
const _sfc_main$2 = {
|
|
159
|
+
__name: "BodyFrame",
|
|
160
|
+
props: {
|
|
161
|
+
data: Array,
|
|
162
|
+
name: String,
|
|
163
|
+
onEdge: Function,
|
|
164
|
+
tabId: Number
|
|
165
|
+
},
|
|
166
|
+
setup(__props) {
|
|
167
|
+
const props = __props;
|
|
168
|
+
const router = useRouter();
|
|
169
|
+
let mw = shallowRef(null);
|
|
170
|
+
const direction = VERTICAL;
|
|
171
|
+
const width = 1280;
|
|
172
|
+
const height = 600;
|
|
173
|
+
let initFocusId = shallowRef(0);
|
|
174
|
+
const measures = (item) => {
|
|
175
|
+
return {
|
|
176
|
+
width: item.width,
|
|
177
|
+
height: item.height,
|
|
178
|
+
focusable: item.focusable
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
const itemClick = (index, data) => {
|
|
182
|
+
if (!data.path) {
|
|
183
|
+
console.error("Route path is not defined.");
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
router.push(data.path);
|
|
187
|
+
localStorage.curFocusId = index;
|
|
188
|
+
localStorage.curTab = props.tabId;
|
|
189
|
+
};
|
|
190
|
+
const _provideData = () => {
|
|
191
|
+
return props.data;
|
|
192
|
+
};
|
|
193
|
+
if (typeof localStorage.curFocusId !== "undefined") {
|
|
194
|
+
initFocusId.value = parseInt(localStorage.curFocusId);
|
|
195
|
+
}
|
|
196
|
+
localStorage.curFocusId = 0;
|
|
197
|
+
watch(
|
|
198
|
+
() => {
|
|
199
|
+
return props.data;
|
|
200
|
+
},
|
|
201
|
+
() => {
|
|
202
|
+
mw.value?.refreshData(true);
|
|
203
|
+
}
|
|
204
|
+
);
|
|
205
|
+
return (_ctx, _cache) => {
|
|
206
|
+
return openBlock(), createBlock(unref(_sfc_main$F), {
|
|
207
|
+
ref_key: "mw",
|
|
208
|
+
ref: mw,
|
|
209
|
+
name: props.name,
|
|
210
|
+
width,
|
|
211
|
+
height,
|
|
212
|
+
direction: unref(direction),
|
|
213
|
+
provideData: _provideData,
|
|
214
|
+
measures,
|
|
215
|
+
padding: { left: 10, top: 10, right: 10, bottom: 10 },
|
|
216
|
+
onEdge: props.onEdge,
|
|
217
|
+
initFocusId: unref(initFocusId)
|
|
218
|
+
}, {
|
|
219
|
+
renderItem: withCtx(({ data, query, onEdge, onAction }) => [
|
|
220
|
+
createVNode(Item, {
|
|
221
|
+
style: normalizeStyle({
|
|
222
|
+
width: data.width,
|
|
223
|
+
height: data.height,
|
|
224
|
+
backgroundColor: data.backgroundColor,
|
|
225
|
+
color: "#000000"
|
|
226
|
+
}),
|
|
227
|
+
data,
|
|
228
|
+
query,
|
|
229
|
+
onEdge,
|
|
230
|
+
onAction,
|
|
231
|
+
itemClick
|
|
232
|
+
}, {
|
|
233
|
+
default: withCtx(() => [
|
|
234
|
+
createTextVNode(toDisplayString(data.name), 1)
|
|
235
|
+
]),
|
|
236
|
+
_: 2
|
|
237
|
+
}, 1032, ["style", "data", "query", "onEdge", "onAction"])
|
|
238
|
+
]),
|
|
239
|
+
_: 1
|
|
240
|
+
}, 8, ["name", "direction", "onEdge", "initFocusId"]);
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
const Dialog_vue_vue_type_style_index_0_scoped_12f593c1_lang = "";
|
|
245
|
+
const _sfc_main$1 = {
|
|
246
|
+
__name: "Dialog",
|
|
247
|
+
props: {
|
|
248
|
+
name: String,
|
|
249
|
+
onAction: Function
|
|
250
|
+
},
|
|
251
|
+
setup(__props) {
|
|
252
|
+
const props = __props;
|
|
253
|
+
let focusId = shallowRef(0);
|
|
254
|
+
const onKeyDown = (ev) => {
|
|
255
|
+
switch (ev.keyCode) {
|
|
256
|
+
case 37:
|
|
257
|
+
if (focusId.value == 1) {
|
|
258
|
+
focusId.value = 0;
|
|
259
|
+
}
|
|
260
|
+
break;
|
|
261
|
+
case 39:
|
|
262
|
+
if (focusId.value == 0) {
|
|
263
|
+
focusId.value = 1;
|
|
264
|
+
}
|
|
265
|
+
break;
|
|
266
|
+
case 1e4:
|
|
267
|
+
case 27:
|
|
268
|
+
props.onAction("back");
|
|
269
|
+
break;
|
|
270
|
+
case 13:
|
|
271
|
+
props.onAction(focusId.value == 0 ? "ok" : "cancel");
|
|
272
|
+
break;
|
|
273
|
+
}
|
|
274
|
+
return true;
|
|
275
|
+
};
|
|
276
|
+
const actionDefines = {
|
|
277
|
+
onKeyDown
|
|
278
|
+
};
|
|
279
|
+
return (_ctx, _cache) => {
|
|
280
|
+
const _component_jsv_focus_block = resolveComponent("jsv-focus-block");
|
|
281
|
+
return openBlock(), createBlock(_component_jsv_focus_block, {
|
|
282
|
+
autoFocus: "",
|
|
283
|
+
name: props.name,
|
|
284
|
+
onAction: actionDefines
|
|
285
|
+
}, {
|
|
286
|
+
default: withCtx(() => [
|
|
287
|
+
createBaseVNode("div", { style: { top: 200, left: 465 } }, [
|
|
288
|
+
createBaseVNode("div", { class: "background" }),
|
|
289
|
+
createBaseVNode("div", { class: "message" }, "是否退出"),
|
|
290
|
+
createBaseVNode("div", { style: { top: 120, left: 30 } }, [
|
|
291
|
+
unref(focusId) == 0 ? (openBlock(), createElementBlock("div", {
|
|
292
|
+
key: 0,
|
|
293
|
+
class: "focus"
|
|
294
|
+
})) : createCommentVNode("", true),
|
|
295
|
+
createBaseVNode("div", { class: "normal" }, "确定")
|
|
296
|
+
]),
|
|
297
|
+
createBaseVNode("div", { style: { top: 120, left: 220 } }, [
|
|
298
|
+
unref(focusId) == 1 ? (openBlock(), createElementBlock("div", {
|
|
299
|
+
key: 0,
|
|
300
|
+
class: "focus"
|
|
301
|
+
})) : createCommentVNode("", true),
|
|
302
|
+
createBaseVNode("div", { class: "normal" }, "取消")
|
|
303
|
+
])
|
|
304
|
+
])
|
|
305
|
+
]),
|
|
306
|
+
_: 1
|
|
307
|
+
}, 8, ["name"]);
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
const styleSheetsContent$1 = { "12f593c1": { ".focus": '{"top":-5,"left":-5,"width":100,"height":50,"backgroundColor":"#0000ff"}', ".normal": '{"width":90,"height":40,"color":"#ffffff","textAlign":"center","fontSize":30}', ".background": '{"left":0,"top":0,"width":350,"height":200,"backgroundColor":"rgba(0, 0, 0, 0.7)"}', ".message": '{"top":20,"width":350,"height":50,"color":"#ffffff","fontSize":40,"textAlign":"center"}' } };
|
|
312
|
+
window.JsvCode.Dom.DeclareStyleSheets(styleSheetsContent$1);
|
|
313
|
+
const Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-12f593c1"]]);
|
|
314
|
+
const Homepage_vue_vue_type_style_index_0_scoped_1cf4a1a0_lang = "";
|
|
315
|
+
const _sfc_main = {
|
|
316
|
+
__name: "Homepage",
|
|
317
|
+
setup(__props) {
|
|
318
|
+
const colorTemplete = ["#89BEB2", "#C9BA83", "#DED38C", "#DE9C53"];
|
|
319
|
+
const featureData = [];
|
|
320
|
+
const metroWidgetData = [];
|
|
321
|
+
const operationsData = [];
|
|
322
|
+
const gameData = [];
|
|
323
|
+
const routeList = useRouter().getRoutes();
|
|
324
|
+
for (let item of routeList) {
|
|
325
|
+
let obj = {
|
|
326
|
+
name: item.name,
|
|
327
|
+
path: item.path,
|
|
328
|
+
width: 300,
|
|
329
|
+
height: 100,
|
|
330
|
+
focusable: true
|
|
331
|
+
};
|
|
332
|
+
if (item.path.indexOf("feature") >= 0) {
|
|
333
|
+
obj.backgroundColor = colorTemplete[featureData.length % 4];
|
|
334
|
+
featureData.push(obj);
|
|
335
|
+
} else if (item.path.indexOf("metroWidget") >= 0) {
|
|
336
|
+
obj.backgroundColor = colorTemplete[metroWidgetData.length % 4];
|
|
337
|
+
metroWidgetData.push(obj);
|
|
338
|
+
} else if (item.path.indexOf("Operations") >= 0) {
|
|
339
|
+
obj.backgroundColor = colorTemplete[operationsData.length % 4];
|
|
340
|
+
operationsData.push(obj);
|
|
341
|
+
} else if (item.path.indexOf("Game") >= 0) {
|
|
342
|
+
obj.backgroundColor = colorTemplete[gameData.length % 4];
|
|
343
|
+
gameData.push(obj);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
const dataList = [featureData, metroWidgetData, operationsData, gameData];
|
|
347
|
+
let showExitDialog = shallowRef(false);
|
|
348
|
+
let contentData = shallowRef(dataList[0]);
|
|
349
|
+
let tabId = shallowRef(0);
|
|
350
|
+
let preFocusName = "";
|
|
351
|
+
let curFocusName = "";
|
|
352
|
+
let name = "/home";
|
|
353
|
+
let focusHub = useFocusHub();
|
|
354
|
+
let address = computed(() => {
|
|
355
|
+
return window.localStorage.href;
|
|
356
|
+
});
|
|
357
|
+
let onFocus = () => {
|
|
358
|
+
changeFocus(name + "/bodyFrame");
|
|
359
|
+
};
|
|
360
|
+
let onKeyDown = (ev) => {
|
|
361
|
+
if (ev.keyCode == 8 || // Backspace
|
|
362
|
+
ev.keyCode == 27 || // Escape
|
|
363
|
+
ev.keyCode == 1e4) {
|
|
364
|
+
showExitDialog.value = !showExitDialog.value;
|
|
365
|
+
if (!showExitDialog.value) {
|
|
366
|
+
changeFocus(preFocusName);
|
|
367
|
+
} else {
|
|
368
|
+
preFocusName = curFocusName;
|
|
369
|
+
curFocusName = name + "/exitDialog";
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
return true;
|
|
373
|
+
};
|
|
374
|
+
let changeFocus = (name2) => {
|
|
375
|
+
preFocusName = curFocusName;
|
|
376
|
+
curFocusName = name2;
|
|
377
|
+
focusHub.setFocus(name2);
|
|
378
|
+
};
|
|
379
|
+
let onTabEdge = (edgeInfo) => {
|
|
380
|
+
if (edgeInfo.direction === EdgeDirection.bottom) {
|
|
381
|
+
changeFocus(name + "/bodyFrame");
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
let onContentEdge = (edgeInfo) => {
|
|
385
|
+
if (edgeInfo.direction === EdgeDirection.top) {
|
|
386
|
+
changeFocus(name + "/tabFrame");
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
let tabItemFocus = (data) => {
|
|
390
|
+
if (data.id != tabId.value) {
|
|
391
|
+
tabId.value = data.id;
|
|
392
|
+
contentData.value = dataList[data.id];
|
|
393
|
+
}
|
|
394
|
+
};
|
|
395
|
+
let onDialogAction = (msg) => {
|
|
396
|
+
showExitDialog.value = false;
|
|
397
|
+
changeFocus(preFocusName);
|
|
398
|
+
switch (msg) {
|
|
399
|
+
case "ok":
|
|
400
|
+
bridge.closePage();
|
|
401
|
+
break;
|
|
402
|
+
}
|
|
403
|
+
};
|
|
404
|
+
let focusNameOfDeactive = null;
|
|
405
|
+
onActivated(() => {
|
|
406
|
+
if (focusNameOfDeactive) {
|
|
407
|
+
focusHub.setFocus(focusNameOfDeactive);
|
|
408
|
+
focusNameOfDeactive = null;
|
|
409
|
+
}
|
|
410
|
+
});
|
|
411
|
+
onDeactivated(() => {
|
|
412
|
+
focusNameOfDeactive = focusHub.getDeactivedPageFocus();
|
|
413
|
+
});
|
|
414
|
+
return (_ctx, _cache) => {
|
|
415
|
+
const _component_jsv_focus_block = resolveComponent("jsv-focus-block");
|
|
416
|
+
return openBlock(), createElementBlock("div", { class: "rootSize" }, [
|
|
417
|
+
createBaseVNode("div", { class: "address" }, toDisplayString(unref(address)), 1),
|
|
418
|
+
createBaseVNode("div", { class: "logo" }, toDisplayString("JsView-Vue3 (Vite3) [Release]"), 1),
|
|
419
|
+
createVNode(_component_jsv_focus_block, {
|
|
420
|
+
autoFocus: "",
|
|
421
|
+
onAction: {
|
|
422
|
+
onKeyDown: unref(onKeyDown),
|
|
423
|
+
onFocus: unref(onFocus)
|
|
424
|
+
}
|
|
425
|
+
}, {
|
|
426
|
+
default: withCtx(() => [
|
|
427
|
+
createBaseVNode("div", { style: { left: 10 } }, [
|
|
428
|
+
createVNode(_sfc_main$3, {
|
|
429
|
+
name: unref(name) + "/tabFrame",
|
|
430
|
+
onEdge: unref(onTabEdge),
|
|
431
|
+
itemFocus: unref(tabItemFocus),
|
|
432
|
+
initId: unref(tabId)
|
|
433
|
+
}, null, 8, ["name", "onEdge", "itemFocus", "initId"])
|
|
434
|
+
]),
|
|
435
|
+
createBaseVNode("div", { style: {
|
|
436
|
+
left: 10,
|
|
437
|
+
top: 100
|
|
438
|
+
} }, [
|
|
439
|
+
createVNode(_sfc_main$2, {
|
|
440
|
+
data: unref(contentData),
|
|
441
|
+
name: unref(name) + "/bodyFrame",
|
|
442
|
+
onEdge: unref(onContentEdge),
|
|
443
|
+
tabId: unref(tabId)
|
|
444
|
+
}, null, 8, ["data", "name", "onEdge", "tabId"])
|
|
445
|
+
]),
|
|
446
|
+
unref(showExitDialog) ? (openBlock(), createBlock(Dialog, {
|
|
447
|
+
key: 0,
|
|
448
|
+
name: unref(name) + "/exitDialog",
|
|
449
|
+
onAction: unref(onDialogAction)
|
|
450
|
+
}, null, 8, ["name", "onAction"])) : createCommentVNode("", true)
|
|
451
|
+
]),
|
|
452
|
+
_: 1
|
|
453
|
+
}, 8, ["onAction"])
|
|
454
|
+
]);
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
const styleSheetsContent = { "1cf4a1a0": { ".rootSize": '{"width":1920,"height":1080}', ".address": '{"width":1280,"height":30,"color":"#ffffff","fontSize":20}', ".logo": '{"top":10,"width":1260,"height":30,"color":"#00ff00","fontSize":20,"fontWeight":"bold","textAlign":"right"}' } };
|
|
459
|
+
window.JsvCode.Dom.DeclareStyleSheets(styleSheetsContent);
|
|
460
|
+
const Homepage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1cf4a1a0"]]);
|
|
461
|
+
export {
|
|
462
|
+
Homepage as default
|
|
463
|
+
};
|
|
464
|
+
//# sourceMappingURL=http://localhost:57245/map/Homepage.d8afeb55.js.map
|
|
465
|
+
|
|
466
|
+
/*jsvmd5:a6639e692bc9e6818de66060a4ab9652*/
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { u as useFocusHub } from "./jsview-vue-entry.415721d8.js";
|
|
2
|
+
import { a as _export_sfc } from "./export-sfc.2749ebea.js";
|
|
3
|
+
import { a as ref, b as resolveComponent, o as openBlock, A as createBlock, l as withCtx, f as createBaseVNode, g as normalizeStyle, e as createElementBlock, q as createCommentVNode, j as renderSlot, k as createVNode, F as Fragment, m as renderList, O as createTextVNode, G as toDisplayString } from "./vue.889a9b8b.js";
|
|
4
|
+
const Item_vue_vue_type_style_index_0_scoped_1c8ae53b_lang = "";
|
|
5
|
+
const _sfc_main$1 = {
|
|
6
|
+
__name: "Item",
|
|
7
|
+
props: {
|
|
8
|
+
style: Object,
|
|
9
|
+
name: String,
|
|
10
|
+
autoFocus: Boolean
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const hasFocused = ref(false);
|
|
15
|
+
const onFocus = () => {
|
|
16
|
+
hasFocused.value = true;
|
|
17
|
+
};
|
|
18
|
+
const onBlur = () => {
|
|
19
|
+
hasFocused.value = false;
|
|
20
|
+
};
|
|
21
|
+
const focusStyle = {
|
|
22
|
+
width: props.style.width + 10,
|
|
23
|
+
height: props.style.height + 10
|
|
24
|
+
};
|
|
25
|
+
const itemStyle = {
|
|
26
|
+
width: props.style.width,
|
|
27
|
+
height: props.style.height,
|
|
28
|
+
backgroundColor: "#0FF000",
|
|
29
|
+
lineHeight: props.style.height,
|
|
30
|
+
fontSize: Math.floor(props.style.height * 0.55)
|
|
31
|
+
};
|
|
32
|
+
return (_ctx, _cache) => {
|
|
33
|
+
const _component_jsv_focus_block = resolveComponent("jsv-focus-block");
|
|
34
|
+
return openBlock(), createBlock(_component_jsv_focus_block, {
|
|
35
|
+
name: __props.name,
|
|
36
|
+
autoFocus: __props.autoFocus ? "" : void 0,
|
|
37
|
+
onFocus,
|
|
38
|
+
onBlur
|
|
39
|
+
}, {
|
|
40
|
+
default: withCtx(() => [
|
|
41
|
+
createBaseVNode("div", {
|
|
42
|
+
style: normalizeStyle(__props.style)
|
|
43
|
+
}, [
|
|
44
|
+
hasFocused.value ? (openBlock(), createElementBlock("div", {
|
|
45
|
+
key: 0,
|
|
46
|
+
class: "focus",
|
|
47
|
+
style: focusStyle
|
|
48
|
+
})) : createCommentVNode("", true),
|
|
49
|
+
createBaseVNode("div", {
|
|
50
|
+
class: "item",
|
|
51
|
+
style: itemStyle
|
|
52
|
+
}, [
|
|
53
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
54
|
+
])
|
|
55
|
+
], 4)
|
|
56
|
+
]),
|
|
57
|
+
_: 3
|
|
58
|
+
}, 8, ["name", "autoFocus"]);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
const styleSheetsContent = { "1c8ae53b": { ".focus": '{"top":-5,"left":-5,"backgroundColor":"#0000ff"}', ".item": '{"textAlign":"center","fontSize":30,"color":"#000000","whiteSpace":"nowrap"}' } };
|
|
63
|
+
window.JsvCode.Dom.DeclareStyleSheets(styleSheetsContent);
|
|
64
|
+
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-1c8ae53b"]]);
|
|
65
|
+
const _sfc_main = {
|
|
66
|
+
__name: "HorizontalButtonList",
|
|
67
|
+
props: {
|
|
68
|
+
style: Object,
|
|
69
|
+
buttonConfig: Object,
|
|
70
|
+
onButtonClick: Function,
|
|
71
|
+
onBack: Function
|
|
72
|
+
},
|
|
73
|
+
setup(__props) {
|
|
74
|
+
const props = __props;
|
|
75
|
+
const focusHub = useFocusHub();
|
|
76
|
+
const maxWidth = 1280;
|
|
77
|
+
const listPadding = 10;
|
|
78
|
+
const buttonWidth = 400;
|
|
79
|
+
const buttonHeight = 80;
|
|
80
|
+
const buttonGap = 50;
|
|
81
|
+
let focusedItemIndex = 0;
|
|
82
|
+
let listLeft = 0;
|
|
83
|
+
const listWidth = (buttonWidth + buttonGap) * props.buttonConfig.length;
|
|
84
|
+
const widthCenter = listWidth - buttonGap;
|
|
85
|
+
if (widthCenter < maxWidth) {
|
|
86
|
+
listLeft = Math.floor((maxWidth - widthCenter) / 2);
|
|
87
|
+
}
|
|
88
|
+
const listSize = {
|
|
89
|
+
left: listLeft,
|
|
90
|
+
width: listWidth,
|
|
91
|
+
height: buttonHeight
|
|
92
|
+
};
|
|
93
|
+
const onKeyDown = (ev) => {
|
|
94
|
+
if (ev.keyCode === 13) {
|
|
95
|
+
props.onButtonClick?.(focusedItemIndex);
|
|
96
|
+
return true;
|
|
97
|
+
} else if (ev.keyCode == 8 || ev.keyCode == 27 || ev.keyCode == 1e4) {
|
|
98
|
+
props.onBack?.();
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
let changeFocusTo = -1;
|
|
102
|
+
switch (ev.keyCode) {
|
|
103
|
+
case 37:
|
|
104
|
+
changeFocusTo = (focusedItemIndex - 1 + props.buttonConfig.length) % props.buttonConfig.length;
|
|
105
|
+
break;
|
|
106
|
+
case 39:
|
|
107
|
+
changeFocusTo = (focusedItemIndex + 1) % props.buttonConfig.length;
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
if (changeFocusTo >= 0) {
|
|
111
|
+
focusHub.setFocus(changeFocusTo.toString());
|
|
112
|
+
focusedItemIndex = changeFocusTo;
|
|
113
|
+
return true;
|
|
114
|
+
}
|
|
115
|
+
return false;
|
|
116
|
+
};
|
|
117
|
+
return (_ctx, _cache) => {
|
|
118
|
+
const _component_jsv_focus_block = resolveComponent("jsv-focus-block");
|
|
119
|
+
return openBlock(), createElementBlock("div", {
|
|
120
|
+
style: normalizeStyle(__props.style)
|
|
121
|
+
}, [
|
|
122
|
+
createVNode(_component_jsv_focus_block, {
|
|
123
|
+
style: normalizeStyle({
|
|
124
|
+
left: listSize.left,
|
|
125
|
+
width: listSize.width + listPadding * 2,
|
|
126
|
+
height: listSize.height + listPadding * 2
|
|
127
|
+
}),
|
|
128
|
+
onKeyDown
|
|
129
|
+
}, {
|
|
130
|
+
default: withCtx(() => [
|
|
131
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.buttonConfig, (item, index) => {
|
|
132
|
+
return openBlock(), createBlock(Item, {
|
|
133
|
+
key: index,
|
|
134
|
+
style: normalizeStyle({
|
|
135
|
+
left: (buttonWidth + 10) * index,
|
|
136
|
+
width: buttonWidth,
|
|
137
|
+
height: buttonHeight
|
|
138
|
+
}),
|
|
139
|
+
name: index.toString(),
|
|
140
|
+
autoFocus: index === 0
|
|
141
|
+
}, {
|
|
142
|
+
default: withCtx(() => [
|
|
143
|
+
createTextVNode(toDisplayString(item.name), 1)
|
|
144
|
+
]),
|
|
145
|
+
_: 2
|
|
146
|
+
}, 1032, ["style", "name", "autoFocus"]);
|
|
147
|
+
}), 128))
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
}, 8, ["style"])
|
|
151
|
+
], 4);
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
export {
|
|
156
|
+
_sfc_main as _
|
|
157
|
+
};
|
|
158
|
+
//# sourceMappingURL=http://localhost:57245/map/HorizontalButtonList.bbdbc725.js.map
|
|
159
|
+
|
|
160
|
+
/*jsvmd5:5e52f67aa4067cc328336d87131f07a4*/
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { a as useRouter } from "./jsview-vue-entry.415721d8.js";
|
|
2
|
+
import { _ as _sfc_main$1 } from "./HorizontalButtonList.bbdbc725.js";
|
|
3
|
+
import { a as _export_sfc } from "./export-sfc.2749ebea.js";
|
|
4
|
+
import { o as openBlock, e as createElementBlock, f as createBaseVNode, k as createVNode } from "./vue.889a9b8b.js";
|
|
5
|
+
import "./jsview-forge-define.bfab260e.js";
|
|
6
|
+
import "./jsview-dom-entry.280f04b1.js";
|
|
7
|
+
const MainPage_vue_vue_type_style_index_0_scoped_d9dcdfa2_lang = "";
|
|
8
|
+
const _sfc_main = {
|
|
9
|
+
__name: "MainPage",
|
|
10
|
+
setup(__props) {
|
|
11
|
+
const router = useRouter();
|
|
12
|
+
const buttonListConfig = [
|
|
13
|
+
{
|
|
14
|
+
name: "启动子界面-First",
|
|
15
|
+
route: {
|
|
16
|
+
path: "SubPageFirst",
|
|
17
|
+
query: { from: "main" }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: "启动子界面-Second",
|
|
22
|
+
route: {
|
|
23
|
+
path: "SubPageSecond",
|
|
24
|
+
query: { from: "main" }
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
];
|
|
28
|
+
const onButtonClick = (idx) => {
|
|
29
|
+
const config = buttonListConfig[idx];
|
|
30
|
+
console.log("Jump page to: " + config.name);
|
|
31
|
+
router.push(config.route);
|
|
32
|
+
};
|
|
33
|
+
const onBack = () => {
|
|
34
|
+
router.go(-1);
|
|
35
|
+
};
|
|
36
|
+
return (_ctx, _cache) => {
|
|
37
|
+
return openBlock(), createElementBlock("div", null, [
|
|
38
|
+
createBaseVNode("div", { class: "title" }, "这是主界面"),
|
|
39
|
+
createVNode(_sfc_main$1, {
|
|
40
|
+
style: { top: 330 },
|
|
41
|
+
buttonConfig: buttonListConfig,
|
|
42
|
+
onButtonClick,
|
|
43
|
+
onBack
|
|
44
|
+
})
|
|
45
|
+
]);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const styleSheetsContent = { "d9dcdfa2": { ".title": '{"top":100,"width":1280,"height":100,"lineHeight":100,"textAlign":"center","fontSize":55}' } };
|
|
50
|
+
window.JsvCode.Dom.DeclareStyleSheets(styleSheetsContent);
|
|
51
|
+
const MainPage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d9dcdfa2"]]);
|
|
52
|
+
export {
|
|
53
|
+
MainPage as default
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=http://localhost:57245/map/MainPage.cff1e89b.js.map
|
|
56
|
+
|
|
57
|
+
/*jsvmd5:9dcb87f0f0f28b22c65b32ce91cf2a9d*/
|