create-jsview 2.1.428 → 2.1.448-test.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/template-react-webpack/package-lock-json +6 -6
- package/template-react-webpack/package.json +2 -2
- package/template-vue-vite/package-lock-json +6 -6
- package/template-vue-vite/package.json +2 -2
- package/template-vue-vite/.DS_Store +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/1.54c7645a.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/1.5dc15599.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/1280x7200.f72b317a.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/2.c46fde4a.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/2.df10a8ad.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/3.920d6934.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/3.dd39d2bc.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/4.4cd633a0.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/4.f58de085.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/Couplets.22a8bcb3.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/Square.2085a1e3.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/animated_webp.df116064.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/ball_3.6443240f.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg1.9dacd4a9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg2.05147169.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg3.4725410a.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg4.67998d21.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg5.e6aeb8ef.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg_btn.3bc67ce7.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bgimage.9ebd66c5.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bgmusic.bf797943.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/blue_egg.a2c54f95.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bmpDemo.e06bdb19.bmp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/boom.159be4de.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/border.32f99a05.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/btn_ok.a0827ed4.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coin.50aac2a4.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_left.c9f544cb.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_mid.ef262879.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_right.248ee7dc.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/egg_break.e01a800c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/fail.446dfd56.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/firecracker.bf5b0aa9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/fireworks.1c112f43.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/focus1.ff67f2e6.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/get.3509893a.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/girl_run.1c322b33.gif +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/goldencoin1.d31809e9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/goldencoin2.3f5b59d2.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/holder_logo.5d13253c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/icon.0d3ef206.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jpegDemo.ede7ed35.jpeg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jump.d2e172b2.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jump_down.68b45798.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jump_up.2f896dd9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/leadWire.0c2130df.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/light.fd536e0c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/light2.eac76425.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/line_left.36cc4bd9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/line_mid.21f25bbe.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/line_right.3a4bbae6.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/lose.86f51553.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/mask.c1211360.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/mathjax-tex-svg.d4295dc3.txt +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/assets/php.9533a06f.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/php2.7e5cf392.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/pngNoAlphaDemo.8d9edc0f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/purpleStar.b1920ac5.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/quan.54556d84.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redCircle.091d191f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redStar.9c31bb42.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/red_egg.27ca7d39.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redpacket1.72196c20.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redpacket2.0ae89a46.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/resultSquare.b9e3527b.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/roll.aa0dfe6f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/run.b84383b2.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/scroll.c4efa5a1.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/scroll1.744c0b08.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/snow.22f35787.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/spark.50b3f017.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star1.dd634833.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star2.df352429.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star3.5a62b76f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star4.2283606c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/swipLight.ab6b2bc2.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/tease.3d7fb077.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/tease_lock.3602bb0d.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/test.671066bc.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/webpDemo.eb0b7786.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/yellowStar.d80f0718.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.0e83537d.css +0 -6
- package/template-vue-vite/dist-test-jsview-chunk/css/App.10e9d05f.css +0 -14
- package/template-vue-vite/dist-test-jsview-chunk/css/App.16cc5e4a.css +0 -20
- package/template-vue-vite/dist-test-jsview-chunk/css/App.18bd653b.css +0 -10
- package/template-vue-vite/dist-test-jsview-chunk/css/App.2943d6ec.css +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/css/App.329ae9f6.css +0 -23
- package/template-vue-vite/dist-test-jsview-chunk/css/App.32c55297.css +0 -8
- package/template-vue-vite/dist-test-jsview-chunk/css/App.3e2a4eb1.css +0 -108
- package/template-vue-vite/dist-test-jsview-chunk/css/App.4ea37a27.css +0 -39
- package/template-vue-vite/dist-test-jsview-chunk/css/App.54fdcefd.css +0 -51
- package/template-vue-vite/dist-test-jsview-chunk/css/App.6406907b.css +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/css/App.643b5c1b.css +0 -8
- package/template-vue-vite/dist-test-jsview-chunk/css/App.66f2f353.css +0 -553
- package/template-vue-vite/dist-test-jsview-chunk/css/App.76117f77.css +0 -21
- package/template-vue-vite/dist-test-jsview-chunk/css/App.7a70ea9d.css +0 -20
- package/template-vue-vite/dist-test-jsview-chunk/css/App.7ee969c5.css +0 -40
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8056ee27.css +0 -144
- package/template-vue-vite/dist-test-jsview-chunk/css/App.81e870e8.css +0 -16
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8a41b2c9.css +0 -4
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8b7fc4be.css +0 -21
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9acd4020.css +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9b8ef7c4.css +0 -17
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9c2363fe.css +0 -11
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9c9050df.css +0 -10
- package/template-vue-vite/dist-test-jsview-chunk/css/App.a37ce6b4.css +0 -78
- package/template-vue-vite/dist-test-jsview-chunk/css/App.acd46c9f.css +0 -29
- package/template-vue-vite/dist-test-jsview-chunk/css/App.be6992f1.css +0 -5
- package/template-vue-vite/dist-test-jsview-chunk/css/App.ce985162.css +0 -37
- package/template-vue-vite/dist-test-jsview-chunk/css/App.cf0eea52.css +0 -29
- package/template-vue-vite/dist-test-jsview-chunk/css/App.d80395de.css +0 -76
- package/template-vue-vite/dist-test-jsview-chunk/css/App.dc17d9ed.css +0 -355
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e25f7308.css +0 -20
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e3998d69.css +0 -10
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e864d83a.css +0 -99
- package/template-vue-vite/dist-test-jsview-chunk/css/App.eea7c4d0.css +0 -37
- package/template-vue-vite/dist-test-jsview-chunk/css/App.f7bae60e.css +0 -24
- package/template-vue-vite/dist-test-jsview-chunk/css/App.fb916576.css +0 -53
- package/template-vue-vite/dist-test-jsview-chunk/css/App.ff455e8a.css +0 -23
- package/template-vue-vite/dist-test-jsview-chunk/css/DispersedItemSample.24d1e5c2.css +0 -31
- package/template-vue-vite/dist-test-jsview-chunk/css/Homepage.6291bd50.css +0 -60
- package/template-vue-vite/dist-test-jsview-chunk/css/HorizontalButtonList.f4192657.css +0 -12
- package/template-vue-vite/dist-test-jsview-chunk/css/MainPage.7bafbf88.css +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/css/SubPage.e3029827.css +0 -17
- package/template-vue-vite/dist-test-jsview-chunk/css/index.bc47ba9c.css +0 -20
- package/template-vue-vite/dist-test-jsview-chunk/css/main.78821670.css +0 -11
- package/template-vue-vite/dist-test-jsview-chunk/debug/jsview-jsmap-serve.mjs +0 -130
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-browser.min.24b59670.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-entry.280f04b1.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-native.min.0039079f.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-engine-js-browser.min.f40edc22.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.bfab260e.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.min.26efdcd1.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-loader.f9249ad3.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-vue-entry.415721d8.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/index.html +0 -14
- package/template-vue-vite/dist-test-jsview-chunk/js/App.0020360a.js +0 -141
- package/template-vue-vite/dist-test-jsview-chunk/js/App.073cedd6.js +0 -399
- package/template-vue-vite/dist-test-jsview-chunk/js/App.0f963d38.js +0 -95
- package/template-vue-vite/dist-test-jsview-chunk/js/App.11cde12f.js +0 -344
- package/template-vue-vite/dist-test-jsview-chunk/js/App.121965ad.js +0 -116
- package/template-vue-vite/dist-test-jsview-chunk/js/App.1575b8f0.js +0 -200
- package/template-vue-vite/dist-test-jsview-chunk/js/App.21ff555f.js +0 -455
- package/template-vue-vite/dist-test-jsview-chunk/js/App.29b9c765.js +0 -383
- package/template-vue-vite/dist-test-jsview-chunk/js/App.34ff6b40.js +0 -107
- package/template-vue-vite/dist-test-jsview-chunk/js/App.361be0b7.js +0 -144
- package/template-vue-vite/dist-test-jsview-chunk/js/App.368006e4.js +0 -431
- package/template-vue-vite/dist-test-jsview-chunk/js/App.36fc32c5.js +0 -192
- package/template-vue-vite/dist-test-jsview-chunk/js/App.386a753e.js +0 -259
- package/template-vue-vite/dist-test-jsview-chunk/js/App.3b0de676.js +0 -321
- package/template-vue-vite/dist-test-jsview-chunk/js/App.3e808b09.js +0 -92
- package/template-vue-vite/dist-test-jsview-chunk/js/App.40f6e609.js +0 -97
- package/template-vue-vite/dist-test-jsview-chunk/js/App.539ee14e.js +0 -331
- package/template-vue-vite/dist-test-jsview-chunk/js/App.55166fae.js +0 -189
- package/template-vue-vite/dist-test-jsview-chunk/js/App.56200035.js +0 -221
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5698ed0a.js +0 -243
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5788a834.js +0 -1675
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5a51ba28.js +0 -788
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5db3be20.js +0 -215
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5f895413.js +0 -53
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5f95520c.js +0 -320
- package/template-vue-vite/dist-test-jsview-chunk/js/App.64e2a47b.js +0 -276
- package/template-vue-vite/dist-test-jsview-chunk/js/App.69ca326b.js +0 -107
- package/template-vue-vite/dist-test-jsview-chunk/js/App.6f92a934.js +0 -277
- package/template-vue-vite/dist-test-jsview-chunk/js/App.6fafe9e2.js +0 -430
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7067dfe2.js +0 -120
- package/template-vue-vite/dist-test-jsview-chunk/js/App.754fa30e.js +0 -776
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7a63fc1e.js +0 -240
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7b9d1275.js +0 -447
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7bf78a71.js +0 -89
- package/template-vue-vite/dist-test-jsview-chunk/js/App.832753e3.js +0 -98
- package/template-vue-vite/dist-test-jsview-chunk/js/App.83b9bc1a.js +0 -194
- package/template-vue-vite/dist-test-jsview-chunk/js/App.8473b928.js +0 -568
- package/template-vue-vite/dist-test-jsview-chunk/js/App.85f0e26b.js +0 -1342
- package/template-vue-vite/dist-test-jsview-chunk/js/App.8e86826b.js +0 -502
- package/template-vue-vite/dist-test-jsview-chunk/js/App.94064c31.js +0 -104
- package/template-vue-vite/dist-test-jsview-chunk/js/App.9625268d.js +0 -173
- package/template-vue-vite/dist-test-jsview-chunk/js/App.96596f9f.js +0 -119
- package/template-vue-vite/dist-test-jsview-chunk/js/App.977c745b.js +0 -237
- package/template-vue-vite/dist-test-jsview-chunk/js/App.9e7fbf3c.js +0 -122
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a059fc60.js +0 -676
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a446bb49.js +0 -369
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a485fc61.js +0 -139
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a574bf96.js +0 -122
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a58787a4.js +0 -225
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a6e90b5c.js +0 -614
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a6ef2ea5.js +0 -241
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a82ae465.js +0 -119
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ab97fadc.js +0 -306
- package/template-vue-vite/dist-test-jsview-chunk/js/App.b8d07d60.js +0 -68
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ba82ae89.js +0 -731
- package/template-vue-vite/dist-test-jsview-chunk/js/App.c0fa704f.js +0 -181
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ca457df6.js +0 -193
- package/template-vue-vite/dist-test-jsview-chunk/js/App.cab5b11a.js +0 -182
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ceb70fcc.js +0 -395
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d1955c7b.js +0 -139
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d35f431e.js +0 -524
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d434d1bc.js +0 -1201
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d9ea2537.js +0 -172
- package/template-vue-vite/dist-test-jsview-chunk/js/App.dce9c295.js +0 -209
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e06251fc.js +0 -157
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e160a2dd.js +0 -587
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e1d44beb.js +0 -198
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e442e6e0.js +0 -611
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e75db44d.js +0 -257
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ebb89cc7.js +0 -97
- package/template-vue-vite/dist-test-jsview-chunk/js/App.f5f253ec.js +0 -143
- package/template-vue-vite/dist-test-jsview-chunk/js/App.f6a2ac1e.js +0 -251
- package/template-vue-vite/dist-test-jsview-chunk/js/App2.f586c86d.js +0 -112
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.64639b51.js +0 -112
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.vue.5e093f8c.js +0 -130
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.8b0c8a0a.js +0 -106
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.vue.7959bd77.js +0 -124
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApicLib.14ef44a9.js +0 -416
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.28bef0de.js +0 -251
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.vue.b874d583.js +0 -265
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.06fbda62.js +0 -100
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.vue.f0cdb016.js +0 -112
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.a6858caf.js +0 -563
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.vue.8615ee65.js +0 -575
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.fe21457d.js +0 -139
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.vue.23eda6fd.js +0 -146
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.727b4b8f.js +0 -175
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.vue.8e2b3454.js +0 -181
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.b126f2ae.js +0 -57
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.vue.52301a81.js +0 -70
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.e70349c2.js +0 -315
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.vue.5426b5db.js +0 -327
- package/template-vue-vite/dist-test-jsview-chunk/js/DispersedItemSample.9696c982.js +0 -534
- package/template-vue-vite/dist-test-jsview-chunk/js/GifData.e5dd9fac.js +0 -429
- package/template-vue-vite/dist-test-jsview-chunk/js/Homepage.d8afeb55.js +0 -466
- package/template-vue-vite/dist-test-jsview-chunk/js/HorizontalButtonList.bbdbc725.js +0 -160
- package/template-vue-vite/dist-test-jsview-chunk/js/MainPage.cff1e89b.js +0 -57
- package/template-vue-vite/dist-test-jsview-chunk/js/SubPage.9633adf8.js +0 -59
- package/template-vue-vite/dist-test-jsview-chunk/js/app.config.92148fde.js +0 -18
- package/template-vue-vite/dist-test-jsview-chunk/js/export-sfc.2749ebea.js +0 -23
- package/template-vue-vite/dist-test-jsview-chunk/js/index.32520aa9.js +0 -938
- package/template-vue-vite/dist-test-jsview-chunk/js/index.56197146.js +0 -2892
- package/template-vue-vite/dist-test-jsview-chunk/js/index.f76869d4.js +0 -7522
- package/template-vue-vite/dist-test-jsview-chunk/js/jpegDemo.ff177df5.js +0 -7
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-browser.min.24b59670.js +0 -1913
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-entry.280f04b1.js +0 -76
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-native.min.0039079f.js +0 -1487
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-engine-js-browser.min.f40edc22.js +0 -10684
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.bfab260e.js +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.min.26efdcd1.js +0 -97
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-loader.f9249ad3.js +0 -238
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-vue-entry.415721d8.js +0 -22233
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview.config.a8cf302c.js +0 -49
- package/template-vue-vite/dist-test-jsview-chunk/js/main.bd759d7c.js +0 -565
- package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.51a0d4f8.mjs +0 -28
- package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.mjs +0 -28
- package/template-vue-vite/dist-test-jsview-chunk/js/permission.88de599e.js +0 -7
- package/template-vue-vite/dist-test-jsview-chunk/js/pngNoAlphaDemo.fbc58313.js +0 -7
- package/template-vue-vite/dist-test-jsview-chunk/js/vue.889a9b8b.js +0 -5382
- package/template-vue-vite/dist-test-jsview-chunk/jsv-info.json +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/jsv-list.json +0 -248
|
@@ -1,676 +0,0 @@
|
|
|
1
|
-
import { u as useFocusHub, H as HORIZONTAL, g as _sfc_main$F, ag as SeamlessSlide, V as VERTICAL, ah as METRO_WIDGET, Q as getKeyFramesGroup, a as useRouter, E as EdgeDirection } from "./jsview-vue-entry.415721d8.js";
|
|
2
|
-
import { s as shallowRef, a as ref, o as openBlock, e as createElementBlock, g as normalizeStyle, q as createCommentVNode, f as createBaseVNode, G as toDisplayString, k as createVNode, l as withCtx, u as unref, w as watch, E as onBeforeUnmount, A as createBlock, r as reactive, b as resolveComponent, i as inject, p as provide } from "./vue.889a9b8b.js";
|
|
3
|
-
import { a as _export_sfc } from "./export-sfc.2749ebea.js";
|
|
4
|
-
import "./jsview-forge-define.bfab260e.js";
|
|
5
|
-
import "./jsview-dom-entry.280f04b1.js";
|
|
6
|
-
const _sfc_main$6 = {
|
|
7
|
-
__name: "Item",
|
|
8
|
-
props: {
|
|
9
|
-
data: Object,
|
|
10
|
-
query: Object,
|
|
11
|
-
onAction: Object
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const divRef = shallowRef(null);
|
|
16
|
-
const focused = ref(false);
|
|
17
|
-
const onFocus = () => {
|
|
18
|
-
focused.value = true;
|
|
19
|
-
};
|
|
20
|
-
const onBlur = () => {
|
|
21
|
-
focused.value = false;
|
|
22
|
-
};
|
|
23
|
-
const onClick = () => {
|
|
24
|
-
console.log("item onclick ", props.data);
|
|
25
|
-
};
|
|
26
|
-
props.onAction.register("onFocus", onFocus);
|
|
27
|
-
props.onAction.register("onBlur", onBlur);
|
|
28
|
-
props.onAction.register("onClick", onClick);
|
|
29
|
-
return (_ctx, _cache) => {
|
|
30
|
-
return openBlock(), createElementBlock("div", {
|
|
31
|
-
style: normalizeStyle({
|
|
32
|
-
width: __props.data.width,
|
|
33
|
-
height: __props.data.height,
|
|
34
|
-
transform: focused.value ? "scale3d(1.2, 1.2, 1.2)" : "",
|
|
35
|
-
transition: "transform 0.2s linear"
|
|
36
|
-
})
|
|
37
|
-
}, [
|
|
38
|
-
focused.value ? (openBlock(), createElementBlock("div", {
|
|
39
|
-
key: 0,
|
|
40
|
-
style: normalizeStyle({
|
|
41
|
-
left: -2,
|
|
42
|
-
top: -2,
|
|
43
|
-
width: __props.data.width + 4,
|
|
44
|
-
height: __props.data.height + 4,
|
|
45
|
-
backgroundColor: "#FF0000"
|
|
46
|
-
})
|
|
47
|
-
}, null, 4)) : createCommentVNode("", true),
|
|
48
|
-
createBaseVNode("div", {
|
|
49
|
-
ref_key: "divRef",
|
|
50
|
-
ref: divRef,
|
|
51
|
-
style: normalizeStyle({
|
|
52
|
-
width: __props.data.width,
|
|
53
|
-
height: __props.data.height,
|
|
54
|
-
fontSize: 30,
|
|
55
|
-
color: "#FFFFFF",
|
|
56
|
-
backgroundColor: __props.data.color
|
|
57
|
-
})
|
|
58
|
-
}, toDisplayString(__props.data.content), 5)
|
|
59
|
-
], 4);
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
const _sfc_main$5 = {
|
|
64
|
-
__name: "WidgetItem",
|
|
65
|
-
props: {
|
|
66
|
-
data: Object,
|
|
67
|
-
query: Object,
|
|
68
|
-
onItemEdge: Function,
|
|
69
|
-
onAction: Object
|
|
70
|
-
},
|
|
71
|
-
setup(__props) {
|
|
72
|
-
const props = __props;
|
|
73
|
-
const focusHub = useFocusHub();
|
|
74
|
-
const mwRef = shallowRef(null);
|
|
75
|
-
const measures = (item) => {
|
|
76
|
-
return item;
|
|
77
|
-
};
|
|
78
|
-
const randomColor = () => {
|
|
79
|
-
let randomColor2 = Math.round(Math.random() * 2 ** 24).toString(16);
|
|
80
|
-
return "#" + new Array(6 - randomColor2.length).fill("0").join("") + randomColor2;
|
|
81
|
-
};
|
|
82
|
-
const provideData = () => {
|
|
83
|
-
const data = [];
|
|
84
|
-
for (let i = 0; i < 10; i++) {
|
|
85
|
-
data.push({
|
|
86
|
-
width: 90,
|
|
87
|
-
height: 90,
|
|
88
|
-
marginRight: 10,
|
|
89
|
-
marginBottom: 10,
|
|
90
|
-
content: i,
|
|
91
|
-
color: randomColor()
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
return data;
|
|
95
|
-
};
|
|
96
|
-
const onFocus = (rect) => {
|
|
97
|
-
mwRef.value?.setEnterFocusRect(rect);
|
|
98
|
-
focusHub.setFocus(props.data.name);
|
|
99
|
-
};
|
|
100
|
-
const onBlur = () => {
|
|
101
|
-
focusHub.returnFocusToParent();
|
|
102
|
-
};
|
|
103
|
-
props.onAction.register("onFocus", onFocus);
|
|
104
|
-
props.onAction.register("onBlur", onBlur);
|
|
105
|
-
return (_ctx, _cache) => {
|
|
106
|
-
return openBlock(), createElementBlock("div", null, [
|
|
107
|
-
createBaseVNode("div", { style: {
|
|
108
|
-
width: 900,
|
|
109
|
-
height: 50,
|
|
110
|
-
fontSize: 30,
|
|
111
|
-
color: "#FFFFFF"
|
|
112
|
-
} }, toDisplayString(__props.data.name), 1),
|
|
113
|
-
createVNode(unref(_sfc_main$F), {
|
|
114
|
-
ref_key: "mwRef",
|
|
115
|
-
ref: mwRef,
|
|
116
|
-
top: 50,
|
|
117
|
-
name: __props.data.name,
|
|
118
|
-
provideData,
|
|
119
|
-
width: __props.data.width,
|
|
120
|
-
height: __props.data.height,
|
|
121
|
-
direction: unref(HORIZONTAL),
|
|
122
|
-
padding: {
|
|
123
|
-
left: 10,
|
|
124
|
-
right: 10,
|
|
125
|
-
top: 10,
|
|
126
|
-
bottom: 10
|
|
127
|
-
},
|
|
128
|
-
measures,
|
|
129
|
-
onEdge: __props.onItemEdge,
|
|
130
|
-
sendFocusRectEvent: true
|
|
131
|
-
}, {
|
|
132
|
-
renderItem: withCtx(({ data, query, onAction }) => [
|
|
133
|
-
createVNode(_sfc_main$6, {
|
|
134
|
-
data,
|
|
135
|
-
query,
|
|
136
|
-
onAction
|
|
137
|
-
}, null, 8, ["data", "query", "onAction"])
|
|
138
|
-
]),
|
|
139
|
-
_: 1
|
|
140
|
-
}, 8, ["name", "width", "height", "direction", "onEdge"])
|
|
141
|
-
]);
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
const _sfc_main$4 = {
|
|
146
|
-
__name: "AppPage",
|
|
147
|
-
props: {
|
|
148
|
-
data: {
|
|
149
|
-
type: Object,
|
|
150
|
-
require: true
|
|
151
|
-
},
|
|
152
|
-
name: {
|
|
153
|
-
type: String,
|
|
154
|
-
require: true
|
|
155
|
-
},
|
|
156
|
-
onEdge: {
|
|
157
|
-
type: Function
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
setup(__props) {
|
|
161
|
-
const props = __props;
|
|
162
|
-
const widgetRef = shallowRef(null);
|
|
163
|
-
const slideSetting = props.data.tabIndex == 0 ? new SeamlessSlide({
|
|
164
|
-
startPercent: 0.5,
|
|
165
|
-
endPercent: 0.5,
|
|
166
|
-
fixFirstPage: true
|
|
167
|
-
}) : new SeamlessSlide();
|
|
168
|
-
const provideData = () => {
|
|
169
|
-
return props.data.data;
|
|
170
|
-
};
|
|
171
|
-
const measures = (item) => {
|
|
172
|
-
return {
|
|
173
|
-
width: item.width,
|
|
174
|
-
height: item.height,
|
|
175
|
-
itemSlide: METRO_WIDGET.ITEM_SLIDE.ACT_FOCUS_RECT_EVENT
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
const watcher = watch(
|
|
179
|
-
() => props.data,
|
|
180
|
-
(newValue, oldValue) => {
|
|
181
|
-
widgetRef.value?.refreshData();
|
|
182
|
-
}
|
|
183
|
-
);
|
|
184
|
-
onBeforeUnmount(() => {
|
|
185
|
-
watcher();
|
|
186
|
-
});
|
|
187
|
-
return (_ctx, _cache) => {
|
|
188
|
-
return openBlock(), createBlock(unref(_sfc_main$F), {
|
|
189
|
-
ref_key: "widgetRef",
|
|
190
|
-
ref: widgetRef,
|
|
191
|
-
name: __props.name,
|
|
192
|
-
width: __props.data.width,
|
|
193
|
-
height: __props.data.height,
|
|
194
|
-
provideData,
|
|
195
|
-
direction: unref(VERTICAL),
|
|
196
|
-
measures,
|
|
197
|
-
onEdge: __props.onEdge,
|
|
198
|
-
slideSetting: unref(slideSetting)
|
|
199
|
-
}, {
|
|
200
|
-
renderItem: withCtx(({ data, query, onItemEdge, onAction }) => [
|
|
201
|
-
createVNode(_sfc_main$5, {
|
|
202
|
-
data,
|
|
203
|
-
query,
|
|
204
|
-
onItemEdge,
|
|
205
|
-
onAction
|
|
206
|
-
}, null, 8, ["data", "query", "onItemEdge", "onAction"])
|
|
207
|
-
]),
|
|
208
|
-
_: 1
|
|
209
|
-
}, 8, ["name", "width", "height", "direction", "onEdge", "slideSetting"]);
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
};
|
|
213
|
-
const _sfc_main$3 = {
|
|
214
|
-
components: {
|
|
215
|
-
AppPage: _sfc_main$4
|
|
216
|
-
},
|
|
217
|
-
props: {
|
|
218
|
-
name: {
|
|
219
|
-
type: String
|
|
220
|
-
},
|
|
221
|
-
curIndex: {
|
|
222
|
-
type: Object
|
|
223
|
-
},
|
|
224
|
-
pageData: {
|
|
225
|
-
type: Array
|
|
226
|
-
},
|
|
227
|
-
onEdge: {
|
|
228
|
-
type: Function
|
|
229
|
-
},
|
|
230
|
-
layout: {
|
|
231
|
-
type: Object
|
|
232
|
-
},
|
|
233
|
-
duration: {
|
|
234
|
-
type: Number,
|
|
235
|
-
default: 0.3
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
inject: ["globalInfo"],
|
|
239
|
-
provide() {
|
|
240
|
-
return {
|
|
241
|
-
animState: this.animState
|
|
242
|
-
};
|
|
243
|
-
},
|
|
244
|
-
setup() {
|
|
245
|
-
let styleShell = getKeyFramesGroup();
|
|
246
|
-
let animState = reactive({
|
|
247
|
-
value: 0
|
|
248
|
-
//0: 不在动画, 在动画中
|
|
249
|
-
});
|
|
250
|
-
return {
|
|
251
|
-
refName0: "page0",
|
|
252
|
-
refName1: "page1",
|
|
253
|
-
styleShell,
|
|
254
|
-
animState,
|
|
255
|
-
focusHub: useFocusHub()
|
|
256
|
-
};
|
|
257
|
-
},
|
|
258
|
-
data() {
|
|
259
|
-
return {
|
|
260
|
-
curPage: 0,
|
|
261
|
-
page0Show: true,
|
|
262
|
-
page1Show: false,
|
|
263
|
-
page0Data: this.pageData[0],
|
|
264
|
-
page1Data: null,
|
|
265
|
-
page0Left: 0,
|
|
266
|
-
page1Left: 1280,
|
|
267
|
-
page0Anim: {
|
|
268
|
-
anim: "",
|
|
269
|
-
onend: null
|
|
270
|
-
},
|
|
271
|
-
page1Anim: {
|
|
272
|
-
anim: "",
|
|
273
|
-
onend: null
|
|
274
|
-
}
|
|
275
|
-
};
|
|
276
|
-
},
|
|
277
|
-
methods: {
|
|
278
|
-
$_appSwiper_onFocus() {
|
|
279
|
-
let curPageData = this.curPage === 0 ? this.page0Data : this.page1Data;
|
|
280
|
-
this.focusHub.setFocus(curPageData.name);
|
|
281
|
-
},
|
|
282
|
-
$_appSwiper_tabIdWatcher(newValue, oldValue) {
|
|
283
|
-
console.log("AppSwiper curIndex changed ", newValue, oldValue);
|
|
284
|
-
if (newValue != oldValue) {
|
|
285
|
-
let direction = newValue > oldValue ? "left" : "right";
|
|
286
|
-
if (this.curPage == 0) {
|
|
287
|
-
this.curPage = 1;
|
|
288
|
-
this.page1Data = this.pageData[newValue];
|
|
289
|
-
this.page1Show = true;
|
|
290
|
-
this.animState.value = 1;
|
|
291
|
-
this.page0Anim = {
|
|
292
|
-
anim: `app-swiper-${direction}-slide-out ${this.duration}s`,
|
|
293
|
-
onend: () => {
|
|
294
|
-
this.page0Show = false;
|
|
295
|
-
this.page0Data = null;
|
|
296
|
-
this.animState.value = 0;
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
this.page1Anim = {
|
|
300
|
-
anim: `app-swiper-${direction}-slide-in ${this.duration}s`,
|
|
301
|
-
onend: null
|
|
302
|
-
};
|
|
303
|
-
} else {
|
|
304
|
-
this.curPage = 0;
|
|
305
|
-
this.page0Data = this.pageData[newValue];
|
|
306
|
-
this.page0Show = true;
|
|
307
|
-
this.animState.value = 1;
|
|
308
|
-
this.page0Anim = {
|
|
309
|
-
anim: `app-swiper-${direction}-slide-in ${this.duration}s`,
|
|
310
|
-
onend: null
|
|
311
|
-
};
|
|
312
|
-
this.page1Anim = {
|
|
313
|
-
anim: `app-swiper-${direction}-slide-out ${this.duration}s`,
|
|
314
|
-
onend: () => {
|
|
315
|
-
this.page1Show = false;
|
|
316
|
-
this.page1Data = null;
|
|
317
|
-
this.animState.value = 0;
|
|
318
|
-
}
|
|
319
|
-
};
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
$_appSwiper_initAnimation() {
|
|
324
|
-
let leftSlideOutDefine = `@keyframes app-swiper-left-slide-out {
|
|
325
|
-
from {
|
|
326
|
-
transform: translate3d(0, 0, 0);
|
|
327
|
-
}
|
|
328
|
-
to {
|
|
329
|
-
transform: translate3d(${-this.layout.width}, 0, 0);
|
|
330
|
-
}
|
|
331
|
-
}`;
|
|
332
|
-
let leftSlideInDefine = `@keyframes app-swiper-left-slide-in {
|
|
333
|
-
from {
|
|
334
|
-
transform: translate3d(${this.layout.width}, 0, 0);
|
|
335
|
-
}
|
|
336
|
-
to {
|
|
337
|
-
transform: translate3d(0, 0, 0);
|
|
338
|
-
}
|
|
339
|
-
}`;
|
|
340
|
-
let rightSlideOutDefine = `@keyframes app-swiper-right-slide-out {
|
|
341
|
-
from {
|
|
342
|
-
transform: translate3d(0, 0, 0);
|
|
343
|
-
}
|
|
344
|
-
to {
|
|
345
|
-
transform: translate3d(${this.layout.width}, 0, 0);
|
|
346
|
-
}
|
|
347
|
-
}`;
|
|
348
|
-
let rightSlideInDefine = `@keyframes app-swiper-right-slide-in {
|
|
349
|
-
from {
|
|
350
|
-
transform: translate3d(${-this.layout.width}, 0, 0);
|
|
351
|
-
}
|
|
352
|
-
to {
|
|
353
|
-
transform: translate3d(0, 0, 0);
|
|
354
|
-
}
|
|
355
|
-
}`;
|
|
356
|
-
this.styleShell.insertRule(leftSlideOutDefine);
|
|
357
|
-
this.styleShell.insertRule(leftSlideInDefine);
|
|
358
|
-
this.styleShell.insertRule(rightSlideOutDefine);
|
|
359
|
-
this.styleShell.insertRule(rightSlideInDefine);
|
|
360
|
-
},
|
|
361
|
-
$_appSwiper_releaseAnimation() {
|
|
362
|
-
this.styleShell.removeRule("app-swiper-left-slide-out");
|
|
363
|
-
this.styleShell.removeRule("app-swiper-left-slide-in");
|
|
364
|
-
this.styleShell.removeRule("app-swiper-right-slide-out");
|
|
365
|
-
this.styleShell.removeRule("app-swiper-right-slide-in");
|
|
366
|
-
}
|
|
367
|
-
},
|
|
368
|
-
created() {
|
|
369
|
-
console.log("AppSwiper created", this.globalInfo);
|
|
370
|
-
this.$watch(() => this.globalInfo.tabId, this.$_appSwiper_tabIdWatcher);
|
|
371
|
-
this.$_appSwiper_initAnimation();
|
|
372
|
-
},
|
|
373
|
-
beforeUnmount() {
|
|
374
|
-
this.$_appSwiper_releaseAnimation();
|
|
375
|
-
}
|
|
376
|
-
};
|
|
377
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
378
|
-
const _component_app_page = resolveComponent("app-page");
|
|
379
|
-
const _component_jsv_focus_block = resolveComponent("jsv-focus-block");
|
|
380
|
-
return openBlock(), createBlock(_component_jsv_focus_block, {
|
|
381
|
-
name: $props.name,
|
|
382
|
-
ref: "focusNode",
|
|
383
|
-
onAction: {
|
|
384
|
-
onFocus: $options.$_appSwiper_onFocus
|
|
385
|
-
}
|
|
386
|
-
}, {
|
|
387
|
-
default: withCtx(() => [
|
|
388
|
-
createBaseVNode("div", {
|
|
389
|
-
style: normalizeStyle({
|
|
390
|
-
animation: $data.page0Anim.anim,
|
|
391
|
-
animationFillMode: "forwards"
|
|
392
|
-
}),
|
|
393
|
-
onAnimationend: _cache[0] || (_cache[0] = (...args) => $data.page0Anim.onend && $data.page0Anim.onend(...args))
|
|
394
|
-
}, [
|
|
395
|
-
$data.page0Show ? (openBlock(), createBlock(_component_app_page, {
|
|
396
|
-
key: 0,
|
|
397
|
-
data: $data.page0Data,
|
|
398
|
-
name: $data.page0Data.name,
|
|
399
|
-
onEdge: $props.onEdge
|
|
400
|
-
}, null, 8, ["data", "name", "onEdge"])) : createCommentVNode("", true)
|
|
401
|
-
], 36),
|
|
402
|
-
createBaseVNode("div", {
|
|
403
|
-
style: normalizeStyle({
|
|
404
|
-
animation: $data.page1Anim.anim,
|
|
405
|
-
animationFillMode: "forwards"
|
|
406
|
-
}),
|
|
407
|
-
onAnimationend: _cache[1] || (_cache[1] = (...args) => $data.page1Anim.onend && $data.page1Anim.onend(...args))
|
|
408
|
-
}, [
|
|
409
|
-
$data.page1Show ? (openBlock(), createBlock(_component_app_page, {
|
|
410
|
-
key: 0,
|
|
411
|
-
data: $data.page1Data,
|
|
412
|
-
name: $data.page1Data.name,
|
|
413
|
-
onEdge: $props.onEdge
|
|
414
|
-
}, null, 8, ["data", "name", "onEdge"])) : createCommentVNode("", true)
|
|
415
|
-
], 36)
|
|
416
|
-
]),
|
|
417
|
-
_: 1
|
|
418
|
-
}, 8, ["name", "onAction"]);
|
|
419
|
-
}
|
|
420
|
-
const ViewSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render]]);
|
|
421
|
-
const _sfc_main$2 = {
|
|
422
|
-
__name: "TabItem",
|
|
423
|
-
props: {
|
|
424
|
-
data: Object,
|
|
425
|
-
query: Object,
|
|
426
|
-
onAction: Object
|
|
427
|
-
},
|
|
428
|
-
setup(__props) {
|
|
429
|
-
const props = __props;
|
|
430
|
-
const globalInfo = inject("globalInfo");
|
|
431
|
-
const focused = ref(false);
|
|
432
|
-
const active = ref(false);
|
|
433
|
-
const onFocus = () => {
|
|
434
|
-
globalInfo.tabId = props.query.id;
|
|
435
|
-
focused.value = true;
|
|
436
|
-
active.value = false;
|
|
437
|
-
};
|
|
438
|
-
const onBlur = () => {
|
|
439
|
-
focused.value = false;
|
|
440
|
-
active.value = props.query.getCurrentFocusId().id === props.query.id ? true : false;
|
|
441
|
-
};
|
|
442
|
-
const onClick = () => {
|
|
443
|
-
console.log("tab item onclick ", props.data);
|
|
444
|
-
};
|
|
445
|
-
props.onAction.register("onFocus", onFocus);
|
|
446
|
-
props.onAction.register("onBlur", onBlur);
|
|
447
|
-
props.onAction.register("onClick", onClick);
|
|
448
|
-
return (_ctx, _cache) => {
|
|
449
|
-
return openBlock(), createElementBlock("div", {
|
|
450
|
-
style: normalizeStyle({
|
|
451
|
-
width: __props.data.width,
|
|
452
|
-
height: __props.data.height,
|
|
453
|
-
transform: focused.value ? "scale3d(1.2, 1.2, 1.2)" : "",
|
|
454
|
-
transition: "transform 0.2s linear"
|
|
455
|
-
})
|
|
456
|
-
}, [
|
|
457
|
-
!focused.value && active.value ? (openBlock(), createElementBlock("div", {
|
|
458
|
-
key: 0,
|
|
459
|
-
style: normalizeStyle({
|
|
460
|
-
left: -2,
|
|
461
|
-
top: -2,
|
|
462
|
-
width: __props.data.width + 4,
|
|
463
|
-
height: __props.data.height + 4,
|
|
464
|
-
backgroundColor: "#00FF00"
|
|
465
|
-
})
|
|
466
|
-
}, null, 4)) : createCommentVNode("", true),
|
|
467
|
-
focused.value ? (openBlock(), createElementBlock("div", {
|
|
468
|
-
key: 1,
|
|
469
|
-
style: normalizeStyle({
|
|
470
|
-
left: -2,
|
|
471
|
-
top: -2,
|
|
472
|
-
width: __props.data.width + 4,
|
|
473
|
-
height: __props.data.height + 4,
|
|
474
|
-
backgroundColor: "#FF0000"
|
|
475
|
-
})
|
|
476
|
-
}, null, 4)) : createCommentVNode("", true),
|
|
477
|
-
createBaseVNode("div", {
|
|
478
|
-
style: normalizeStyle({
|
|
479
|
-
width: __props.data.width,
|
|
480
|
-
height: __props.data.height,
|
|
481
|
-
fontSize: 30,
|
|
482
|
-
color: "#FFFFFF",
|
|
483
|
-
backgroundColor: __props.data.color
|
|
484
|
-
})
|
|
485
|
-
}, toDisplayString(__props.data.content), 5)
|
|
486
|
-
], 4);
|
|
487
|
-
};
|
|
488
|
-
}
|
|
489
|
-
};
|
|
490
|
-
const _sfc_main$1 = {
|
|
491
|
-
__name: "AppTab",
|
|
492
|
-
props: {
|
|
493
|
-
data: {
|
|
494
|
-
type: Object,
|
|
495
|
-
require: true
|
|
496
|
-
},
|
|
497
|
-
name: {
|
|
498
|
-
type: String,
|
|
499
|
-
require: true
|
|
500
|
-
},
|
|
501
|
-
layout: {
|
|
502
|
-
type: Object
|
|
503
|
-
},
|
|
504
|
-
onEdge: {
|
|
505
|
-
type: Function
|
|
506
|
-
}
|
|
507
|
-
},
|
|
508
|
-
setup(__props) {
|
|
509
|
-
const props = __props;
|
|
510
|
-
const measures = (item) => {
|
|
511
|
-
return {
|
|
512
|
-
width: item.width,
|
|
513
|
-
height: item.height,
|
|
514
|
-
marginRight: item.marginRight
|
|
515
|
-
};
|
|
516
|
-
};
|
|
517
|
-
const provideData = () => {
|
|
518
|
-
return props.data;
|
|
519
|
-
};
|
|
520
|
-
return (_ctx, _cache) => {
|
|
521
|
-
const _component_jsv_focus_block = resolveComponent("jsv-focus-block");
|
|
522
|
-
return openBlock(), createBlock(_component_jsv_focus_block, null, {
|
|
523
|
-
default: withCtx(() => [
|
|
524
|
-
createVNode(unref(_sfc_main$F), {
|
|
525
|
-
name: __props.name,
|
|
526
|
-
width: __props.layout.width,
|
|
527
|
-
height: __props.layout.height,
|
|
528
|
-
provideData,
|
|
529
|
-
direction: unref(HORIZONTAL),
|
|
530
|
-
measures,
|
|
531
|
-
onEdge: __props.onEdge,
|
|
532
|
-
padding: {
|
|
533
|
-
top: 30,
|
|
534
|
-
left: 60,
|
|
535
|
-
right: 60
|
|
536
|
-
}
|
|
537
|
-
}, {
|
|
538
|
-
renderItem: withCtx(({ data, query, onAction }) => [
|
|
539
|
-
createVNode(_sfc_main$2, {
|
|
540
|
-
data,
|
|
541
|
-
query,
|
|
542
|
-
onAction
|
|
543
|
-
}, null, 8, ["data", "query", "onAction"])
|
|
544
|
-
]),
|
|
545
|
-
_: 1
|
|
546
|
-
}, 8, ["name", "width", "height", "direction", "onEdge"])
|
|
547
|
-
]),
|
|
548
|
-
_: 1
|
|
549
|
-
});
|
|
550
|
-
};
|
|
551
|
-
}
|
|
552
|
-
};
|
|
553
|
-
const _sfc_main = {
|
|
554
|
-
__name: "App",
|
|
555
|
-
setup(__props) {
|
|
556
|
-
const router = useRouter();
|
|
557
|
-
const pageList = [];
|
|
558
|
-
const tabData = [];
|
|
559
|
-
const focusHub = useFocusHub();
|
|
560
|
-
const randomColor = () => {
|
|
561
|
-
let randomColor2 = Math.round(Math.random() * 2 ** 24).toString(16);
|
|
562
|
-
return "#" + new Array(6 - randomColor2.length).fill("0").join("") + randomColor2;
|
|
563
|
-
};
|
|
564
|
-
for (let i = 0; i < 10; ++i) {
|
|
565
|
-
tabData.push({
|
|
566
|
-
width: 150,
|
|
567
|
-
height: 50,
|
|
568
|
-
marginRight: 10,
|
|
569
|
-
content: i == 0 ? "首屏不动" : "Tab_" + i,
|
|
570
|
-
color: randomColor()
|
|
571
|
-
});
|
|
572
|
-
const pageData = [];
|
|
573
|
-
for (let j = 0; j < 10; ++j) {
|
|
574
|
-
pageData.push({
|
|
575
|
-
width: 500,
|
|
576
|
-
height: 170,
|
|
577
|
-
name: "testPage_" + i + "-widget_" + j,
|
|
578
|
-
marginBottom: 10,
|
|
579
|
-
index: j
|
|
580
|
-
});
|
|
581
|
-
}
|
|
582
|
-
pageList.push({
|
|
583
|
-
width: 600,
|
|
584
|
-
height: 600,
|
|
585
|
-
data: pageData,
|
|
586
|
-
name: "testPage-" + i,
|
|
587
|
-
tabIndex: i
|
|
588
|
-
});
|
|
589
|
-
}
|
|
590
|
-
let globalInfo = reactive({
|
|
591
|
-
tabId: 0
|
|
592
|
-
});
|
|
593
|
-
let focusNode = shallowRef(null);
|
|
594
|
-
const appPageName = "/page";
|
|
595
|
-
const appTabName = "/tab";
|
|
596
|
-
const curFocusName = shallowRef("/tab");
|
|
597
|
-
provide("globalInfo", globalInfo);
|
|
598
|
-
const $_app_onFocus = () => {
|
|
599
|
-
console.log("App onFocus");
|
|
600
|
-
focusHub.setFocus(curFocusName.value);
|
|
601
|
-
};
|
|
602
|
-
const onKeyDown = (ev) => {
|
|
603
|
-
if (ev.keyCode == 8 || ev.keyCode == 27 || ev.keyCode == 1e4) {
|
|
604
|
-
router?.go(-1);
|
|
605
|
-
}
|
|
606
|
-
return true;
|
|
607
|
-
};
|
|
608
|
-
const $_app_pageOnEdge = (info) => {
|
|
609
|
-
console.log("App page on edge ", info);
|
|
610
|
-
if (info.direction === EdgeDirection.top) {
|
|
611
|
-
curFocusName.value = "/tab";
|
|
612
|
-
focusHub.setFocus(appTabName);
|
|
613
|
-
}
|
|
614
|
-
};
|
|
615
|
-
const $_app_tabOnEdge = (info) => {
|
|
616
|
-
console.log("App tab on edge ", info);
|
|
617
|
-
if (info.direction === EdgeDirection.bottom) {
|
|
618
|
-
curFocusName.value = "/page";
|
|
619
|
-
focusHub.setFocus(appPageName);
|
|
620
|
-
}
|
|
621
|
-
};
|
|
622
|
-
return (_ctx, _cache) => {
|
|
623
|
-
const _component_jsv_focus_block = resolveComponent("jsv-focus-block");
|
|
624
|
-
return openBlock(), createBlock(_component_jsv_focus_block, {
|
|
625
|
-
ref_key: "focusNode",
|
|
626
|
-
ref: focusNode,
|
|
627
|
-
name: "/main",
|
|
628
|
-
autoFocus: "",
|
|
629
|
-
onAction: {
|
|
630
|
-
onKeyDown,
|
|
631
|
-
onFocus: $_app_onFocus
|
|
632
|
-
},
|
|
633
|
-
style: {
|
|
634
|
-
width: 1280,
|
|
635
|
-
height: 720,
|
|
636
|
-
backgroundColor: "#007788"
|
|
637
|
-
}
|
|
638
|
-
}, {
|
|
639
|
-
default: withCtx(() => [
|
|
640
|
-
createBaseVNode("div", { style: {
|
|
641
|
-
top: 0,
|
|
642
|
-
left: 100
|
|
643
|
-
} }, [
|
|
644
|
-
createVNode(_sfc_main$1, {
|
|
645
|
-
data: tabData,
|
|
646
|
-
name: appTabName,
|
|
647
|
-
layout: { width: 600, height: 100 },
|
|
648
|
-
onEdge: $_app_tabOnEdge,
|
|
649
|
-
style: {
|
|
650
|
-
top: 15
|
|
651
|
-
}
|
|
652
|
-
})
|
|
653
|
-
]),
|
|
654
|
-
createBaseVNode("div", { style: { top: 100, left: 200 } }, [
|
|
655
|
-
createVNode(ViewSwiper, {
|
|
656
|
-
name: appPageName,
|
|
657
|
-
pageData: pageList,
|
|
658
|
-
onEdge: $_app_pageOnEdge,
|
|
659
|
-
layout: {
|
|
660
|
-
width: 600,
|
|
661
|
-
height: 600
|
|
662
|
-
}
|
|
663
|
-
})
|
|
664
|
-
])
|
|
665
|
-
]),
|
|
666
|
-
_: 1
|
|
667
|
-
}, 8, ["onAction"]);
|
|
668
|
-
};
|
|
669
|
-
}
|
|
670
|
-
};
|
|
671
|
-
export {
|
|
672
|
-
_sfc_main as default
|
|
673
|
-
};
|
|
674
|
-
//# sourceMappingURL=http://localhost:57245/map/App.a059fc60.js.map
|
|
675
|
-
|
|
676
|
-
/*jsvmd5:87df076ddb658360b4d3626013c047f9*/
|