@melt-js/comps-vue3 2026.11.6 → 2026.11.8
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/README.md +223 -57
- package/hel_dist/bilibili/autumn-1/5f18bd9e0b4fff738eaf6ebdc3c5c1477b5ea592.png +0 -0
- package/hel_dist/bilibili/autumn-1/62a1c4b6-da1f-437a-90f4-1427f058d2e9.mp4 +0 -0
- package/hel_dist/bilibili/autumn-1/839af78322450ea0eb6dbb1d19889d831862804f.png +0 -0
- package/hel_dist/bilibili/autumn-1/8bcf476e-6c97-472b-b1e8-d19dd7170edf.mp4 +0 -0
- package/hel_dist/bilibili/autumn-1/logo.png +0 -0
- package/hel_dist/bilibili/autumn-2/a10dc06f92ff2cf438244d0ed13dba27be88d73f.webp +0 -0
- package/hel_dist/bilibili/autumn-2/logo.png +0 -0
- package/hel_dist/bilibili/autumn-3/0479542df6a7c5deddf60fbbf63b6e1f1f770c08.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/0876da4f3ec73ff180fc87b46b6d1bcf4d52030a.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/0f79aa287163a3271c6cb22a73a6dc0fc210ab7c.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/32aa867cd3e8fba371a2be90d7d844a68c67f7a5.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/4adc24834b64143296d77bc81ccd952a59301b08.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/530a4624fe408881101885c6f24c72e8c2a14fb6.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/57102cf6e2e2845f2773581928c1d0f0c1985a3e.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/639de634f90688e86b7bd32924cfb029a316cde4.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/852c3bd9d9608ceccb7265de8cea7cf3a4b039eb.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/8a6899088fc9dcd37a0039884fb77f69dc3b1c30.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/9556f65510f73c44aa6756ee9b8cf7fc2562b906.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/96704a6197153e1717a910e6c227937f34743cee.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/b6f4359409b4550fb38594d8c227902db29c720a.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/bf896616dec163402ec79a81f936af67932eca2f.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/c6263485a0218c887848c47a0fe4f515006e1567.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/cd4fda9478b06a8d81cd04f69d7a2ad475d1db40.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/e33992d2d75647af38c50792c199fb9db006786c.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-3/logo.png +0 -0
- package/hel_dist/bilibili/autumn-4/16dc88de1e536a9b11dbe4acec40d44acbf30e4d.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/1c4b40f96bac2479f7a67541171170f79429158c.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/2422523efbc7d3486555c66a9a8f20c3e3f6fdb5.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/392e080a19e6618774a15c235ab0873180e4010d.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/454a3f4bd1f8bd23d89d8e3a676a826e144ab13a.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/459b9e641fc8be0466084ec0fff89e28ca2229ea.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/85d3ee641e1af27233ce0571bfdc650bb6bac668.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/8f976964bf99b64dcf844b698642caa01449623b.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/a1d3587a7230b68e78b724558697ae6a1739e1cc.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/a2f14a60908565b6a4b85caee82bd0457127f9f3.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/a89c6c61109d1f58b83bc76fa3cf939df82d2ff4.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/a9a0eb9ce2e611290e86961a61c3b0942de3515b.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/b51d0d75b1b27b669e456aa36bdf3b46f658a531.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/d29049442060427102881e002285ae50686052e2.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/d86630ee943035f95c0e318bc386764196ab08b6.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/d9ff91200e453584beb49626c2ddbd78e4dd60ed.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/e3a1d1ea8c4360518fa9bbef665795056ca1d50f.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/f3bbed911be68b540c12fb7cbe602ae71ec9a8c7.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-4/logo.png +0 -0
- package/hel_dist/bilibili/autumn-5/064a75156c568aa6a9982e2c983d2a30cb86ea94.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/0ebcccd16a9fe9bb551e213de4eaf3cd5a24c8ff.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/18e14b236c8c0478b9f126b53dc149718c8277d6.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/1b6718fe3996574889da7ef1b9c29a566fe963f4.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/20ccfde3e5606d223ab230a78234e4f9ac140371.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/21a613a7457891ed7daa559b03191df7bf551362.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/2c048730ce3449400cd657650f5f2e68e2fa5ef5.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/30ccbdfe561bcd18a7ee457bd151b55da7a3dd3c.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/4367bada261c826302101afa18fe41e86f545099.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/4a66f79212d4c6182a8e10a1eb0424f3d7c79120.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/57f20e919517fc784f1e03900140274cfea2cb85.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/582b9609daf669327c460af63776f5f0c14b5c26.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/6683112849dadee65749c4f7f72b83c9a9f8f537.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/670d70b0351582e5b53855ddbf50600c03425062.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/7bb79a88a5c61724c7fd2ab009f462b744ba5b29.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/83b58af34fc683e529962449078a3ded7f1d2e80.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/93ab310ca3e2a24489aa1873865501adb3f81393.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/ab4fbaed481d880a618e52f97e7e1f6e5c8b7f7c.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/b66a4ac5-5c0b-487e-86d2-f787b70a4ace.webm +0 -0
- package/hel_dist/bilibili/autumn-5/c31995a7a80e459e165ae4ef60e323e27f497420.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/d562864113a6e6cce54b41745132a974b4576c3c.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/f5fcc108b811577571e3f54d6d46df58a9f553ed.png@1c.webp +0 -0
- package/hel_dist/bilibili/autumn-5/logo.png +0 -0
- package/hel_dist/bilibili/spring-1/17a00335345ecb9f5439069ee2d069772a9cede3.png +0 -0
- package/hel_dist/bilibili/spring-1/3969636231e7668ec91985bb147c89a6b69021c7.png +0 -0
- package/hel_dist/bilibili/spring-1/45031fa60ea6084886e80ca9e906803f9a3221b1.png +0 -0
- package/hel_dist/bilibili/spring-1/4d5ddb371f6d710cf0222a5d0cef46ea3ed5901c.png +0 -0
- package/hel_dist/bilibili/spring-1/4d8514308bd6673b215cdb1aadbf12891d784672.png +0 -0
- package/hel_dist/bilibili/spring-1/65a860abda015ed247d48b1bcc5cbb9ce725d050.png +0 -0
- package/hel_dist/bilibili/spring-1/6a6e6e52a18a7731645aa1d93b1d74f2f628f77a.png +0 -0
- package/hel_dist/bilibili/spring-1/8d947f22c6a67b8a5d2fbe1424ca2a946802e729.png +0 -0
- package/hel_dist/bilibili/spring-1/963685e7d82d27ba5e8187680814a2d548b5adbe.png +0 -0
- package/hel_dist/bilibili/spring-1/9af4cdc3c81e01522fc4df82a5b7cfa8b03b6b5b.png +0 -0
- package/hel_dist/bilibili/spring-1/9b4f18f9f18c8dca17ba6c0b46a1dcedb649c82b.png +0 -0
- package/hel_dist/bilibili/spring-1/b24c872ae1ef34ebe794d1631a50b57fbdb0a482.png +0 -0
- package/hel_dist/bilibili/spring-1/c12c6ceaa5f78de17cd94bb0ad325339b2386ee8.png +0 -0
- package/hel_dist/bilibili/spring-1/c7a1dbf9bbc09c1f867b14a141c4e2f07c4b228d.png +0 -0
- package/hel_dist/bilibili/spring-1/d605a7076d5fe89d0d7e3d6219bffe4000033a09.png +0 -0
- package/hel_dist/bilibili/spring-1/logo.png +0 -0
- package/hel_dist/bilibili/spring-2/kPbkWcX74M.mp4 +0 -0
- package/hel_dist/bilibili/spring-2/logo.png +0 -0
- package/hel_dist/bilibili/spring-3/c3c807eb2f5bcc333a3bf3189634e3f9867c6a85.webp +0 -0
- package/hel_dist/bilibili/spring-3/logo.png +0 -0
- package/hel_dist/bilibili/spring-4/2e81e0644044fafd5e72de3e595d7db6f65122ef.png@3840w_360h_1c_90q.webp +0 -0
- package/hel_dist/bilibili/spring-4/logo.png +0 -0
- package/hel_dist/bilibili/spring-5/06336184ba84f89890f50e867012c05914219947.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/17a1bcfacfc51f000cad0611dca32020b18db6f5.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/2c32dd208cb8f317ac78e03c78da5cd04b9a1410.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/2dd4a5f8aee1829bcdae687052853b8947a5d2f6.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/4d37acea06841ace858f27cab3a5596d9fdd8354.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/5630bebd1068fa6c46eaea4ffa9b004f882d7d33.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/6d9f792b3458e0b6f8647f7ad3958b1c1438d50e.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/8cacfce7b1f44f707836fa4fb68444a9c7202d63.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/905fbc85df462f16c3fe0b83f0e5814696818a56.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/996a5656d3a31738f79b67d94ea0b654fba169ac.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/a0de269c-fb3b-42b6-8ea5-8be8fe8d95a1.webm +0 -0
- package/hel_dist/bilibili/spring-5/a7ead379e7a6653cd70f24e8556ce336702abb3a.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/ae0543610dd9b3d0903cec7a6982200691dce1b5.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/ba22577d90164e589f87f9073d56953ff3e30088.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/be5632d3f86228a81979b8a85ce9cf0d5df541e0.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/d4d4569741806055f36c4d9140bdd7069a50ec09.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/d5113ee4aaca71d7e7570a45b1e541efc0deca71.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/d6ef89533fed72dfde53009ac2aab66009ab545a.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/ddc58cd92df71ada0be9bad00b2139a34872ef94.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/e04d0fbaaf67bdb0de7c40dca04180a9c1defa0a.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/f0ba9b7f8d4ec1745a08cabdf3951ceb4aa266d1.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/f3945f0ed928e45fb58c8a1edb07358ec719c8df.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/f63cf9726b73c78ececc43ff16f3336fdfc76748.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/ff63f10698f5f0a9e9083d90c6f32de5269801d4.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-5/logo.png +0 -0
- package/hel_dist/bilibili/spring-6/2e5a5407987125451f4401e1f80da8aa6c9ec74e.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/2ec5703e20135d578a4d31a9d40dd9deb23c326e.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/3dd93e33d7e9bb6b74b7e2c577cb4a61cd7876bf.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/48d675bee7f2b20af495ddcfa2051d1e42eeb526.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/556c868c5b003f3f167cf1e63e6e3aa27b74bdc7.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/5598c26a3d090ba7cdf1d99de1e7d76561d56e78.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/598389b103a4c89592706b9a426c1dd5c9fbdb96.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/59a63bc51e049fd01d7e567b9759727888d0de43.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/5a97b3d3f84e4ce0e77988a8a0d5744a2a2fd8b9.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/5cbcbeb21c079264f78e63c411f09334126a11d3.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/679c3bb077504de3379100c688770d94d97778cf.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/96151dfbace0750a4a590e9fac92211ce7c28b82.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/add3317b33f371b4ce4391b5169dbd6455065ed4.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/b1b6ebe5d3def015132105fe7a8253eced9b563c.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/b94241f2-320a-47ac-9f14-e9b0c46385ce.webm +0 -0
- package/hel_dist/bilibili/spring-6/c9ef0b13e5ec27cc6e9fa1516e79a8ab8f5c5b38.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/e35035fb17abb07d80c1749988bc938c9a5919dc.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/f272c9c3125afec158fe4c4e0540a271cd75dfb4.png@1c.webp +0 -0
- package/hel_dist/bilibili/spring-6/logo.png +0 -0
- package/hel_dist/bilibili/summer-1/11dd110b-5b4b-4912-af6d-1c4906295a1d.webm +0 -0
- package/hel_dist/bilibili/summer-1/1c713de1-3bbf-42b4-9148-0427b567b741.webm +0 -0
- package/hel_dist/bilibili/summer-1/4c0b2c71-0990-47a5-b19f-40e478ff6923.webm +0 -0
- package/hel_dist/bilibili/summer-1/6ef8db87-259b-48fb-b930-0fd201780d9b.webm +0 -0
- package/hel_dist/bilibili/summer-1/9f75c700-2e13-45c7-b021-006928c80667.webm +0 -0
- package/hel_dist/bilibili/summer-1/b180aa43-9b33-476d-bca3-7db19583beff.webm +0 -0
- package/hel_dist/bilibili/summer-1/logo.png +0 -0
- package/hel_dist/bilibili/summer-2/background.png +0 -0
- package/hel_dist/bilibili/summer-2/cover.png +0 -0
- package/hel_dist/bilibili/summer-2/logo.png +0 -0
- package/hel_dist/bilibili/summer-3/fba0c9bac0fad743e9befa9305f197a919561580.png@3840w_360h_1c_90q.webp +0 -0
- package/hel_dist/bilibili/summer-3/logo.png +0 -0
- package/hel_dist/bilibili/summer-4/0b9e2b95931f266a853ba046b6c225e49511a428.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/109794fd095a7328501365454faae6c91bc914cb.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/1f7d26c7582e7b320cb21923175613c9d8077f56.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/4d444aa8fafe9dac2db3b847657938a24a2fa83d.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/4d58f4c657906f900a37eb6a9dcdaab5d7c31ef6.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/502ef5bcff5ae1588acf6abaf8ec57115183b6a5.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/58a4287288d296ccb9235e49f330cc9f8ae3f6e8.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/5f2aa97bddf032a32420313465904560e96e791d.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/640b9089660a21c30698edd35fd89146b28a25a2.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/6ea563b54bfaf1830ed95edd295e2521c14ecf38.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/79abfde6b4ac5d95fd4df0dcea96c3d14d55f64c.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/93b789dfa303f9458d31690c2f13a4fc719da2db.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/b4fcb84965fadf036875b8189910280b3edb182c.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/b772ae3b3ed3342b0cbf26b6f2e66a054b7af81b.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/b83df7a50dd88a9f4558e1773b48fe523705d333.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/dc63a982b67922e999d743d3772091a8b412671c.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-4/logo.png +0 -0
- package/hel_dist/bilibili/summer-5/0725acc8fac5c8164726240de477fbd0ce18e6dd.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/149e5beb3ef989ee01a28c0412ece9842c026e74.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/1a77fc745eb5b65b976506bc3a8ce1c8fe876991.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/24c57a58af481117640928798419341bc6fd32d3.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/339abbc0d089a1ddbe3265b238e750173ce56de4.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/4e7edb416c34eccc40f34d2b297524652685a9bb.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/78e8b2abe1bc5715719e847a4e3654e3d11bcbf7.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/7b96b0044345b5c2e3ddb8ea487daed8761c57f7.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/8198227e8abb7c75a94ddbc1209a9bf5ba067a68.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/9af5dad13028d419618e86399eb8fc009700d74c.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/9f86739c3b0ff5ddc99122aa506dee041aab4ec4.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/a679239d0399412dd75e4e0eb30702b0818ef26d.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/a89d95306fab17a35b50a5f7451e2b27ba4d2a6e.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/af9d07a3e29858d742cf2f0dd22c70d5553641f3.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/ce1377aa701c7704b5f0984959512120ac57c586.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/dc29b8093f5d97a41d48ca24b4d7d00f78920d54.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-5/logo.png +0 -0
- package/hel_dist/bilibili/summer-6/0a3bf7a4c7c3b8b5b63aae6adf57c5fabeeb0cff.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/31c6df60-8e93-40bc-8f16-e144f90a3ff3.webm +0 -0
- package/hel_dist/bilibili/summer-6/3483ce9cad9fc3dd80f34cb164bcd5eeb1606332.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/39f5846ccf601e178afe37eef2e9759d38078d56.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/4d9b71139bc84c4ddd1b37a906115c4b0c54af87.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/6e9dd4d7f26b117773661aeed3a357641d519f2a.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/8512395c322494ef32b0fb40821e8e66fb291b53.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/9539f58accbf88eb810a45ff2cbefbf1c29840c3.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/988a546df1cdf5eeefa0a5c319bc6b4bfca7d42d.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/9cc0c1c3b87ca0ea32b80c3b08611e794108348b.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/ada15ae5-b072-434b-ab94-f1d8a683b74e.webm +0 -0
- package/hel_dist/bilibili/summer-6/b5514fc043485ce31d0c91a398aeb288261256dc.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/cd873292b7b3ae5603b546e1ecdf05fecaa955f3.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/e737e375a9bf412f802feaec18ee52ad517b4db9.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/f3a02af183b808d236d0cc7997cbeb8958ef9bb0.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/f48b2d7535cae1ed97c7bb3c69d29e574cbe30c6.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-6/logo.png +0 -0
- package/hel_dist/bilibili/summer-7/09d0855b6b6d6965e8f02404777986237848c6c9.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/142a486b8dd500a626a60b68ad993af8dabc8b55.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/198efffbc58493300854c04ab0ea8d979a6f9223.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/27e411d92729604aa594858beb5130ed60aad76d.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/286eb259a60a0eabfcde96d7ea92d239fe68b3fe.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/40878bbef514e2d4bf5d660fe1145c869567bec2.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/42485baddbca05d2c4c7710a0b76b74d303e06d7.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/4596b25b-a9e6-47a2-b80c-d9c70c04d8eb.webm +0 -0
- package/hel_dist/bilibili/summer-7/75ec2d45ce8c942a1f7379d4641171da4d90ab0d.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/782d55aeca6cc75f51d2d630005f514a61a0ddfa.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/7998ca9f0bc267375fb7b45f75626d96806f94d7.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/8ea0e95a8e5fc85ae227810925dba1ace1e9fcba.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/a43c6833d262301373234ffbd6934559d2ce7fb2.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/bb6266e1525a51f7920fc8881e47cadeee271b0c.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/c13ca9c6405c71bf864ed2bc421680cb437f45ef.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/cbf19f3682dfb02e62557d07fefaf241a80296a1.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/cd68251cde11936871237ca94360acb451bf7ed2.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/ce8c5e45230a6d3805baf60f5916f1cd441aac8e.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/d6c941cf2d5fc6c717173f7e3f166dbc444aa15b.png@1c.webp +0 -0
- package/hel_dist/bilibili/summer-7/dcf4044d-c928-4e4f-bd94-d5a34df80d0d.webm +0 -0
- package/hel_dist/bilibili/summer-7/e305925c-56ec-44b5-b18e-1b8dc73b25f2.webm +0 -0
- package/hel_dist/bilibili/summer-7/logo.png +0 -0
- package/hel_dist/bilibili/winter-1/392f3829-0285-4589-8fba-ba5c3a236048.webm +0 -0
- package/hel_dist/bilibili/winter-1/93d05910-f94a-4246-aa23-60234dc90e31.webm +0 -0
- package/hel_dist/bilibili/winter-1/c1f4248b-fe5b-413e-890a-ebdbfbb3543f.webm +0 -0
- package/hel_dist/bilibili/winter-1/logo.png +0 -0
- package/hel_dist/bilibili/winter-2/f97330ca7905307f539b2af1f64fa2a2fdb4eaed.webp +0 -0
- package/hel_dist/bilibili/winter-2/logo.png +0 -0
- package/hel_dist/bilibili/winter-3/09fa68c0c716596cebf6b1f81ed69a2a7a0a8c89.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/0cea6143cb8fce3ac55c0e1888a889c906a976aa.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/0eb9f058-7ec4-4539-8a2c-083bd91146d5.webm +0 -0
- package/hel_dist/bilibili/winter-3/31ff321fe1c2b003ab5c42beebb07f6c1652f66e.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/459fbeaaff1fbeced05ac36f1cb0c0c70df3ff01.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/4cbfd5b2c00e1abb157e9ca3e79380bfa40d2b26.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/5103762686dc9627619b028354c15ba2a72b0886.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/596c782fe6636269c65a50a9188fd4d16d12a83e.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/6b8bf544dec0088423136771f01696c68112a145.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/7c2d36bba37320de03c417ed7d86111f7b05347e.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/89d1c8fb55797a064a4d4aca51be2ebb8d86643a.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/aa01bb2357ea84d7cc6cf3030769f2581a3ac98f.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/b28b35a71a658e8bc449cd570337d7d9662d07d7.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/bad95b1085650b58108b3491c9c13e1ef4e6b41f.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/bba2f3520bedef31ef33a816f11a9d22487b80aa.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/c2914ea86a54203e59b9b9fb1b8ab3461a5976ed.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/c7cb3d67462676f79b3e702db60f4d4b038f3f28.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/cb5b4ca963e3a1a6d3917182561844b24a05fc20.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/cd6dadba219330bf44d3f8bcb584aede77d37f79.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/cfb54458ad3e2101d245f3434222e33453825f4e.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-3/logo.png +0 -0
- package/hel_dist/bilibili/winter-4/01b79b5b5b38d7305a0ca1780c24662cc5a59f18.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/085bc5e7f70b625b62c1f5d374f55acbd828ab65.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/121335f79c78bb6f47e4fc7dae4b0af0eac804bb.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/1fd3d44b8f890b88cf52f6bcc041326b30e7cb62.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/357dd346995f678c43eb6bf51fe02f47bbe7db7d.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/3e16264878dd88c1b8ead37aab07a9363186b18c.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/476679726643b3b6cc5599b882d85953ef34f3d9.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/590a6dd64ff00d5d0e63e230188939c405253452.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/67a3c27832d63060d88fbd7bdb2fc543e3fb9ddf.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/6afc90f36610318b4785a52c1a51ef6f1de9d25b.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/73fcb8a56776307147c140f68bf9c5793696ae88.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/758c63f5-cd91-43d2-abdd-4a3d6ccd4562.webm +0 -0
- package/hel_dist/bilibili/winter-4/8902051ab71c8093a85ce2a71882054ee91ea631.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/b8a5bcf77a07793ce50294a8cb14a9fb8f2cea83.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/bae427c01d895b63e6aaf6b0c239b86027527e6a.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/c651a0183b81857191c86b133c5a777059b13571.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/c9231e763120806f3e918d06ad3f415e920c2b73.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/dd79de12-0736-4d00-acba-c6b201bc4886.webm +0 -0
- package/hel_dist/bilibili/winter-4/e00c60ae700774655af2e2516a13a5b1fa2fcfe7.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/fe903820ca0f604ef24f16ff7ad51192ead3d0c8.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-4/logo.png +0 -0
- package/hel_dist/bilibili/winter-5/1696ffeacb26bcce7ad50037952620ee43614a4a.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/23c05e4d9e0ffbc16671e14c406fbe785b06ff9f.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/477fb7a2f5e2cc1b2aa00c679c8ab168b47ff1b9.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/480a5c02dbcd3afd5f790cf621efbd1b2d39efcb.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/567e0221b3bd89e34d85c604549d915c95ca17d1.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/6f27fe80f495e83546921c2c58b2107c2ee89706.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/843ee84b16bab6274b98b317b3adaf1351b4be76.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/987a407da2e02a12be549ad7f011dc11f73216e9.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/a12cbab877db2b6d3b96ec012735cfe3998de399.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/a5607001ac06b4780106e2a10aa835657e553f07.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/ac580ac636595e27b5d5c8b1f9d802751823f02f.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/ae64c474ba2748b4fea1a1433b9b373598d3e686.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/b0747b7f64e0e07e379a4bd416a0891b3e52c7d9.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/b14cad3c76e957705810c26f4c6acc236f280721.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/c4cef2b063a853521c7f413d8e7782ff653e4126.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/cc1405d4d805baf9c459f67c03f095f70ec864c6.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/d41b0292d9d1b0fce37a35f6efacac579093cdb3.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/dd4aa5af4898a15dde074fe6b833bdfbc045dd47.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/eb98a42561de7d45f8856407c4531d2724ac6fc6.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/ec9f99bf71be9408a359d7cd48dfb47e48ebce2c.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/f569be6834a5968c038bcc0fb0403f8f77e24c18.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/fbfeb5de7e41fd1e888fca7ac76cbf2f8a42f3d3.png@1c.webp +0 -0
- package/hel_dist/bilibili/winter-5/logo.png +0 -0
- package/hel_dist/css/comp-misc.edf6705f.css +1 -0
- package/hel_dist/css/loadApp.3c3e8774.css +1 -0
- package/hel_dist/hel-meta.json +354 -16
- package/hel_dist/index.html +1 -1
- package/hel_dist/js/app.4c7ccd2a.js +1 -0
- package/hel_dist/js/comp-BilibiliBanner.b602ce49.js +1 -0
- package/hel_dist/js/comp-BookFlip.fe7fff09.js +1 -0
- package/hel_dist/js/comp-ChinaRouteMap.9c153fdd.js +1 -0
- package/hel_dist/js/comp-CircularMenu.21006db8.js +1 -0
- package/hel_dist/js/comp-CompareSlider.640445be.js +1 -0
- package/hel_dist/js/comp-CorgiInput.2009fdaa.js +1 -0
- package/hel_dist/js/comp-CubeWaveLoading.75d40172.js +1 -0
- package/hel_dist/js/comp-CyberInput.b1fb1801.js +1 -0
- package/hel_dist/js/comp-DnaLoading.c60932df.js +1 -0
- package/hel_dist/js/comp-DominoLoading.314224a9.js +1 -0
- package/hel_dist/js/comp-ExpandSearch.2ffc38e9.js +1 -0
- package/hel_dist/js/comp-FilmRoll.e671d245.js +1 -0
- package/hel_dist/js/comp-FloatingLabelInput.09236a77.js +1 -0
- package/hel_dist/js/comp-GearLoading.261e4a0a.js +1 -0
- package/hel_dist/js/comp-GlowBorder.90cb30a1.js +1 -0
- package/hel_dist/js/comp-GooeyBallsLoading.37f9507e.js +1 -0
- package/hel_dist/js/comp-GridLoading.186b710d.js +1 -0
- package/hel_dist/js/comp-HelloWorld.2dbcda11.js +1 -0
- package/hel_dist/js/comp-HourglassLoading.68f74b3e.js +1 -0
- package/hel_dist/js/comp-JellyLoading.89edea82.js +1 -0
- package/hel_dist/js/comp-LiftCard.8de22713.js +1 -0
- package/hel_dist/js/comp-MagneticButton.0c49d56a.js +1 -0
- package/hel_dist/js/comp-MinecraftChest.d4ccbace.js +1 -0
- package/hel_dist/js/comp-NeonRingLoading.93502681.js +1 -0
- package/hel_dist/js/comp-PasswordInput.48c2736e.js +1 -0
- package/hel_dist/js/comp-PhotoSphere.c2197581.js +1 -0
- package/hel_dist/js/comp-PosterCollage.4301b0e3.js +1 -0
- package/hel_dist/js/comp-RopeGallery.851f2614.js +1 -0
- package/hel_dist/js/comp-SlideAuthPanel.598b01a2.js +1 -0
- package/hel_dist/js/comp-SplitCodePreview.04c52458.js +1 -0
- package/hel_dist/js/comp-SpotlightButton.bd4d921d.js +1 -0
- package/hel_dist/js/comp-TerminalAuth.2b570932.js +1 -0
- package/hel_dist/js/comp-TiltCard.94648e12.js +1 -0
- package/hel_dist/js/comp-Typewriter.7fdd3eb9.js +1 -0
- package/hel_dist/js/comp-VortexLoading.26651753.js +1 -0
- package/hel_dist/js/comp-WarpStarfield.285914be.js +1 -0
- package/hel_dist/js/comp-WaterBallLoading.4e068436.js +1 -0
- package/hel_dist/js/comp-WheelMenuButton.c5dfc7a0.js +1 -0
- package/hel_dist/js/comp-china-route-map.data.33296e57.js +1 -0
- package/hel_dist/js/comp-index.82fba6d1.js +1 -0
- package/hel_dist/js/libProperties.d5e0d649.js +1 -0
- package/hel_dist/js/loadApp.481f7d00.js +1 -0
- package/hel_dist/js/vendors.bfb27d6d.js +1 -0
- package/package.json +72 -68
- package/scripts/meta.js +53 -53
- package/scripts/prepublishOnly.js +27 -27
- package/scripts/preview.js +72 -72
- package/src/components/BilibiliBanner/AutoPlayVideo.vue +100 -0
- package/src/components/BilibiliBanner/common-util.ts +35 -0
- package/src/components/BilibiliBanner/globals.d.ts +7 -0
- package/src/components/BilibiliBanner/index.vue +423 -0
- package/src/components/BilibiliBanner/propsSchema.json +78 -0
- package/src/components/BilibiliBanner/resize-observer.ts +29 -0
- package/src/components/BilibiliBanner/themes/autumn-1.ts +53 -0
- package/src/components/BilibiliBanner/themes/autumn-2.ts +20 -0
- package/src/components/BilibiliBanner/themes/autumn-3.ts +40 -0
- package/src/components/BilibiliBanner/themes/autumn-4.ts +43 -0
- package/src/components/BilibiliBanner/themes/autumn-5.ts +44 -0
- package/src/components/BilibiliBanner/themes/spring-1.ts +38 -0
- package/src/components/BilibiliBanner/themes/spring-2.ts +38 -0
- package/src/components/BilibiliBanner/themes/spring-3.ts +18 -0
- package/src/components/BilibiliBanner/themes/spring-4.ts +20 -0
- package/src/components/BilibiliBanner/themes/spring-5.ts +45 -0
- package/src/components/BilibiliBanner/themes/spring-6.ts +41 -0
- package/src/components/BilibiliBanner/themes/summer-1.ts +61 -0
- package/src/components/BilibiliBanner/themes/summer-2.ts +25 -0
- package/src/components/BilibiliBanner/themes/summer-3.ts +20 -0
- package/src/components/BilibiliBanner/themes/summer-4.ts +40 -0
- package/src/components/BilibiliBanner/themes/summer-5.ts +39 -0
- package/src/components/BilibiliBanner/themes/summer-6.ts +42 -0
- package/src/components/BilibiliBanner/themes/summer-7.ts +43 -0
- package/src/components/BilibiliBanner/themes/winter-1.ts +56 -0
- package/src/components/BilibiliBanner/themes/winter-2.ts +20 -0
- package/src/components/BilibiliBanner/themes/winter-3.ts +44 -0
- package/src/components/BilibiliBanner/themes/winter-4.ts +43 -0
- package/src/components/BilibiliBanner/themes/winter-5.ts +43 -0
- package/src/components/BilibiliBanner/themes.ts +64 -0
- package/src/components/BilibiliBanner/types.ts +82 -0
- package/src/components/BookFlip.propsSchema.json +167 -0
- package/src/components/BookFlip.vue +510 -0
- package/src/components/ChinaRouteMap.propsSchema.json +132 -0
- package/src/components/ChinaRouteMap.vue +803 -0
- package/src/components/CircularMenu.propsSchema.json +134 -0
- package/src/components/CircularMenu.vue +236 -57
- package/src/components/CompareSlider.propsSchema.json +143 -0
- package/src/components/CompareSlider.vue +424 -0
- package/src/components/CorgiInput.propsSchema.json +122 -0
- package/src/components/CorgiInput.vue +604 -0
- package/src/components/CubeWaveLoading.propsSchema.json +88 -0
- package/src/components/CubeWaveLoading.vue +279 -0
- package/src/components/CyberInput.propsSchema.json +134 -0
- package/src/components/CyberInput.vue +971 -0
- package/src/components/DnaLoading.propsSchema.json +142 -0
- package/src/components/DnaLoading.vue +276 -0
- package/src/components/DominoLoading.propsSchema.json +83 -0
- package/src/components/DominoLoading.vue +394 -0
- package/src/components/ExpandSearch.propsSchema.json +105 -0
- package/src/components/ExpandSearch.vue +314 -0
- package/src/components/FilmRoll.propsSchema.json +164 -0
- package/src/components/FilmRoll.vue +998 -0
- package/src/components/FloatingLabelInput.propsSchema.json +84 -0
- package/src/components/FloatingLabelInput.vue +222 -0
- package/src/components/GearLoading.propsSchema.json +88 -0
- package/src/components/GearLoading.vue +452 -0
- package/src/components/GlowBorder.propsSchema.json +110 -0
- package/src/components/GlowBorder.vue +201 -0
- package/src/components/GooeyBallsLoading.propsSchema.json +136 -0
- package/src/components/GooeyBallsLoading.vue +212 -0
- package/src/components/GridLoading.propsSchema.json +115 -0
- package/src/components/GridLoading.vue +147 -0
- package/src/components/HelloWorld.propsSchema.json +24 -0
- package/src/components/HelloWorld.vue +65 -59
- package/src/components/HourglassLoading.propsSchema.json +67 -0
- package/src/components/HourglassLoading.vue +424 -0
- package/src/components/JellyLoading.propsSchema.json +99 -0
- package/src/components/JellyLoading.vue +387 -0
- package/src/components/LiftCard.propsSchema.json +186 -0
- package/src/components/LiftCard.vue +291 -0
- package/src/components/MagneticButton.propsSchema.json +51 -0
- package/src/components/MagneticButton.vue +196 -0
- package/src/components/MinecraftChest.propsSchema.json +223 -0
- package/src/components/MinecraftChest.vue +738 -0
- package/src/components/NeonRingLoading.propsSchema.json +127 -0
- package/src/components/NeonRingLoading.vue +393 -0
- package/src/components/PasswordInput.propsSchema.json +79 -0
- package/src/components/PasswordInput.vue +249 -0
- package/src/components/PhotoSphere.propsSchema.json +184 -0
- package/src/components/PhotoSphere.vue +719 -0
- package/src/components/PosterCollage.propsSchema.json +125 -0
- package/src/components/PosterCollage.vue +236 -0
- package/src/components/RopeGallery.propsSchema.json +131 -0
- package/src/components/RopeGallery.vue +706 -0
- package/src/components/SlideAuthPanel.propsSchema.json +198 -0
- package/src/components/SlideAuthPanel.vue +772 -0
- package/src/components/SplitCodePreview.propsSchema.json +115 -0
- package/src/components/SplitCodePreview.vue +477 -0
- package/src/components/SpotlightButton.propsSchema.json +40 -0
- package/src/components/SpotlightButton.vue +141 -0
- package/src/components/TerminalAuth.propsSchema.json +210 -0
- package/src/components/TerminalAuth.vue +857 -0
- package/src/components/TiltCard.propsSchema.json +94 -0
- package/src/components/TiltCard.vue +177 -0
- package/src/components/Typewriter.propsSchema.json +94 -0
- package/src/components/Typewriter.vue +189 -0
- package/src/components/VortexLoading.propsSchema.json +110 -0
- package/src/components/VortexLoading.vue +362 -0
- package/src/components/WarpStarfield.propsSchema.json +159 -0
- package/src/components/WarpStarfield.vue +625 -0
- package/src/components/WaterBallLoading.propsSchema.json +132 -0
- package/src/components/WaterBallLoading.vue +355 -0
- package/src/components/WheelMenuButton.propsSchema.json +229 -0
- package/src/components/WheelMenuButton.vue +593 -0
- package/src/components/china-route-map.data.ts +964 -0
- package/src/components/index.ts +72 -0
- package/src/configs/subApp.ts +9 -9
- package/src/entrance/libTypes.ts +36 -0
- package/src/main.ts +3 -2
- package/hel_dist/css/695.1f4389c4.css +0 -1
- package/hel_dist/js/695.5260fdcb.js +0 -2
- package/hel_dist/js/695.5260fdcb.js.map +0 -1
- package/hel_dist/js/app.7fc432e5.js +0 -16
- package/hel_dist/js/app.7fc432e5.js.map +0 -1
|
@@ -0,0 +1,803 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div ref="rootEl" class="crm" :style="rootStyle">
|
|
3
|
+
<canvas
|
|
4
|
+
ref="canvasEl"
|
|
5
|
+
class="crm__canvas"
|
|
6
|
+
@pointerdown="onPointerDown"
|
|
7
|
+
@pointermove="onPointerMove"
|
|
8
|
+
@pointerup="onPointerUp"
|
|
9
|
+
@pointerleave="onPointerUp"
|
|
10
|
+
@wheel="onWheel"
|
|
11
|
+
/>
|
|
12
|
+
|
|
13
|
+
<div v-if="controls" class="crm__toolbar">
|
|
14
|
+
<button type="button" title="缩小" @click="zoomBy(1 / 1.22)">−</button>
|
|
15
|
+
<button type="button" title="回到全图" @click="resetCamera">⌂</button>
|
|
16
|
+
<button type="button" title="放大" @click="zoomBy(1.22)">+</button>
|
|
17
|
+
<span class="crm__zoom">{{ Math.round(camera.zoom * 100) }}%</span>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<div v-if="controls" class="crm__playbar">
|
|
21
|
+
<button type="button" class="crm__play" :disabled="points.length < 2" @click="togglePlay">
|
|
22
|
+
{{ playing ? '停止' : '播放路线' }}
|
|
23
|
+
</button>
|
|
24
|
+
<span class="crm__progress">{{ progressText }}</span>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<p v-if="tip" class="crm__tip">{{ tipText }}</p>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script setup lang="ts">
|
|
32
|
+
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'
|
|
33
|
+
import mapData from './china-route-map.data'
|
|
34
|
+
|
|
35
|
+
/*
|
|
36
|
+
* 由中国地图轨迹路线图(交互效果/地图轨迹路线图)提取而来。
|
|
37
|
+
*
|
|
38
|
+
* 原 demo 是一个「路线编辑器」:canvas 上点击打点、自动识别最近城市、右侧列表可拖动排序、
|
|
39
|
+
* 还能录像导出、换箭头贴图、调时长 / 缩放。这里把编辑器和导出剥掉,留下可复用的核心:
|
|
40
|
+
* - 画中国轮廓(大陆 + 海南 + 台湾)、省份线、城市点;
|
|
41
|
+
* - 按经纬度画路线、带序号的站点和名称;
|
|
42
|
+
* - 播放时镜头放大并跟随箭头走完全程,走过的部分高亮、未走的虚线打底;
|
|
43
|
+
* - 支持滚轮缩放 / 拖拽平移 / 点地图加点(加点会自动找最近的景点或城市命名)。
|
|
44
|
+
*
|
|
45
|
+
* 底图数据来自同目录的 china-route-map.data.ts(原 map-data.js,手工描的简版轮廓)。
|
|
46
|
+
*/
|
|
47
|
+
type LonLat = [number, number]
|
|
48
|
+
type RoutePoint = { name?: string; lon: number; lat: number }
|
|
49
|
+
|
|
50
|
+
const WORLD = { width: 1000, height: 680 }
|
|
51
|
+
const GEO = { minLon: 73, maxLon: 135, minLat: 17, maxLat: 54 }
|
|
52
|
+
const BOX = { x: 58, y: 58, width: 884, height: 560 }
|
|
53
|
+
|
|
54
|
+
const {
|
|
55
|
+
mainland,
|
|
56
|
+
hainan,
|
|
57
|
+
taiwan,
|
|
58
|
+
provinceLines,
|
|
59
|
+
attractionMarks,
|
|
60
|
+
cityLookup,
|
|
61
|
+
demoRoute,
|
|
62
|
+
}: {
|
|
63
|
+
mainland: LonLat[]
|
|
64
|
+
hainan: LonLat[]
|
|
65
|
+
taiwan: LonLat[]
|
|
66
|
+
provinceLines: LonLat[][]
|
|
67
|
+
attractionMarks: { name: string; lon: number; lat: number }[]
|
|
68
|
+
cityLookup: { name: string; lon: number; lat: number }[]
|
|
69
|
+
demoRoute: [string, number, number][]
|
|
70
|
+
} = mapData as never
|
|
71
|
+
|
|
72
|
+
const props = defineProps({
|
|
73
|
+
/**
|
|
74
|
+
* @description 路线站点(经纬度),默认给一组示例景点
|
|
75
|
+
*/
|
|
76
|
+
points: {
|
|
77
|
+
type: Array as () => RoutePoint[],
|
|
78
|
+
// defineProps 的默认值会被提升到 setup 外,不能引用下面的局部变量,这里直接写常量
|
|
79
|
+
default: () => [
|
|
80
|
+
{ name: '故宫', lon: 116.4, lat: 39.92 },
|
|
81
|
+
{ name: '兵马俑', lon: 109.27, lat: 34.38 },
|
|
82
|
+
{ name: '九寨沟', lon: 103.92, lat: 33.25 },
|
|
83
|
+
{ name: '丽江古城', lon: 100.23, lat: 26.87 },
|
|
84
|
+
{ name: '西湖', lon: 120.14, lat: 30.25 },
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
/**
|
|
88
|
+
* @description 是否允许点地图追加站点
|
|
89
|
+
*/
|
|
90
|
+
editable: {
|
|
91
|
+
type: Boolean,
|
|
92
|
+
default: true,
|
|
93
|
+
},
|
|
94
|
+
/**
|
|
95
|
+
* @description 播放一遍的时长,单位秒
|
|
96
|
+
*/
|
|
97
|
+
duration: {
|
|
98
|
+
type: Number,
|
|
99
|
+
default: 8,
|
|
100
|
+
},
|
|
101
|
+
/**
|
|
102
|
+
* @description 路线主色
|
|
103
|
+
*/
|
|
104
|
+
color: {
|
|
105
|
+
type: String,
|
|
106
|
+
default: '#c64024',
|
|
107
|
+
},
|
|
108
|
+
/**
|
|
109
|
+
* @description 播放时的跟随缩放倍数
|
|
110
|
+
*/
|
|
111
|
+
followZoom: {
|
|
112
|
+
type: Number,
|
|
113
|
+
default: 2.2,
|
|
114
|
+
},
|
|
115
|
+
/**
|
|
116
|
+
* @description 是否显示城市点
|
|
117
|
+
*/
|
|
118
|
+
showCities: {
|
|
119
|
+
type: Boolean,
|
|
120
|
+
default: true,
|
|
121
|
+
},
|
|
122
|
+
/**
|
|
123
|
+
* @description 是否显示站点名称
|
|
124
|
+
*/
|
|
125
|
+
showLabels: {
|
|
126
|
+
type: Boolean,
|
|
127
|
+
default: true,
|
|
128
|
+
},
|
|
129
|
+
/**
|
|
130
|
+
* @description 是否显示缩放 / 播放控制条
|
|
131
|
+
*/
|
|
132
|
+
controls: {
|
|
133
|
+
type: Boolean,
|
|
134
|
+
default: true,
|
|
135
|
+
},
|
|
136
|
+
/**
|
|
137
|
+
* @description 是否显示底部提示
|
|
138
|
+
*/
|
|
139
|
+
tip: {
|
|
140
|
+
type: Boolean,
|
|
141
|
+
default: true,
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* @description 提示文案
|
|
145
|
+
*/
|
|
146
|
+
tipText: {
|
|
147
|
+
type: String,
|
|
148
|
+
default: '点地图加点 · 滚轮缩放 · 拖动平移',
|
|
149
|
+
},
|
|
150
|
+
/**
|
|
151
|
+
* @description 是否正在播放(可用 v-model:playing)
|
|
152
|
+
*/
|
|
153
|
+
playing: {
|
|
154
|
+
type: Boolean,
|
|
155
|
+
default: false,
|
|
156
|
+
},
|
|
157
|
+
})
|
|
158
|
+
|
|
159
|
+
const emit = defineEmits<{
|
|
160
|
+
'update:points': [points: RoutePoint[]]
|
|
161
|
+
'update:playing': [playing: boolean]
|
|
162
|
+
/** 新增了一个站点 */
|
|
163
|
+
add: [point: RoutePoint]
|
|
164
|
+
/** 一轮播放结束 */
|
|
165
|
+
finish: []
|
|
166
|
+
}>()
|
|
167
|
+
|
|
168
|
+
const rootEl = ref<HTMLElement | null>(null)
|
|
169
|
+
const canvasEl = ref<HTMLCanvasElement | null>(null)
|
|
170
|
+
const progress = ref(0)
|
|
171
|
+
const playing = ref(props.playing)
|
|
172
|
+
const camera = ref({ zoom: 1, panX: 0, panY: 0 })
|
|
173
|
+
|
|
174
|
+
let ctx: CanvasRenderingContext2D | null = null
|
|
175
|
+
let dpr = 1
|
|
176
|
+
let width = 0
|
|
177
|
+
let height = 0
|
|
178
|
+
let fitScale = 1
|
|
179
|
+
let rafId = 0
|
|
180
|
+
let observer: ResizeObserver | null = null
|
|
181
|
+
|
|
182
|
+
let drag: { id: number; x: number; y: number; panX: number; panY: number; moved: boolean } | null = null
|
|
183
|
+
let playStart = 0
|
|
184
|
+
let playRaf = 0
|
|
185
|
+
|
|
186
|
+
const rootStyle = computed(() => ({ '--crm-accent': props.color }))
|
|
187
|
+
|
|
188
|
+
const progressText = computed(() =>
|
|
189
|
+
playing.value ? `${Math.round(progress.value * 100)}%` : `${props.points.length} 站`,
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
/** 经纬度 → 世界坐标 */
|
|
193
|
+
function project(lon: number, lat: number) {
|
|
194
|
+
return {
|
|
195
|
+
x: BOX.x + ((lon - GEO.minLon) / (GEO.maxLon - GEO.minLon)) * BOX.width,
|
|
196
|
+
y: BOX.y + ((GEO.maxLat - lat) / (GEO.maxLat - GEO.minLat)) * BOX.height,
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/** 屏幕坐标 → 经纬度 */
|
|
201
|
+
function unproject(screenX: number, screenY: number) {
|
|
202
|
+
const scale = fitScale * camera.value.zoom
|
|
203
|
+
const worldX = (screenX - width / 2) / scale + (WORLD.width / 2 - camera.value.panX)
|
|
204
|
+
const worldY = (screenY - height / 2) / scale + (WORLD.height / 2 - camera.value.panY)
|
|
205
|
+
return {
|
|
206
|
+
lon: GEO.minLon + ((worldX - BOX.x) / BOX.width) * (GEO.maxLon - GEO.minLon),
|
|
207
|
+
lat: GEO.maxLat - ((worldY - BOX.y) / BOX.height) * (GEO.maxLat - GEO.minLat),
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
function isInsideChina(lon: number, lat: number, polygon: LonLat[]) {
|
|
212
|
+
const point = project(lon, lat)
|
|
213
|
+
let inside = false
|
|
214
|
+
for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {
|
|
215
|
+
const pi = project(polygon[i][0], polygon[i][1])
|
|
216
|
+
const pj = project(polygon[j][0], polygon[j][1])
|
|
217
|
+
const intersects =
|
|
218
|
+
pi.y > point.y !== pj.y > point.y &&
|
|
219
|
+
point.x < ((pj.x - pi.x) * (point.y - pi.y)) / (pj.y - pi.y) + pi.x
|
|
220
|
+
if (intersects) inside = !inside
|
|
221
|
+
}
|
|
222
|
+
return inside
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/** 给新加的点找个像样的名字:优先最近景点,其次最近城市 */
|
|
226
|
+
function nearestName(lon: number, lat: number) {
|
|
227
|
+
let best = ''
|
|
228
|
+
let bestDistance = Infinity
|
|
229
|
+
const consider = (list: { name: string; lon: number; lat: number }[], limit: number) => {
|
|
230
|
+
list.forEach((item) => {
|
|
231
|
+
const distance = Math.hypot(item.lon - lon, (item.lat - lat) * 1.4)
|
|
232
|
+
if (distance < bestDistance && distance <= limit) {
|
|
233
|
+
bestDistance = distance
|
|
234
|
+
best = item.name
|
|
235
|
+
}
|
|
236
|
+
})
|
|
237
|
+
}
|
|
238
|
+
consider(attractionMarks || [], 1.2)
|
|
239
|
+
consider(cityLookup || [], 1.8)
|
|
240
|
+
return best || `地点 ${Math.round(lon)}°${Math.round(lat)}°`
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
function resize() {
|
|
244
|
+
const canvas = canvasEl.value
|
|
245
|
+
const root = rootEl.value
|
|
246
|
+
if (!canvas || !root) return
|
|
247
|
+
dpr = Math.min(2, window.devicePixelRatio || 1)
|
|
248
|
+
width = root.clientWidth || 1
|
|
249
|
+
height = root.clientHeight || 1
|
|
250
|
+
canvas.width = Math.round(width * dpr)
|
|
251
|
+
canvas.height = Math.round(height * dpr)
|
|
252
|
+
canvas.style.width = `${width}px`
|
|
253
|
+
canvas.style.height = `${height}px`
|
|
254
|
+
ctx = canvas.getContext('2d')
|
|
255
|
+
|
|
256
|
+
const padding = 28
|
|
257
|
+
fitScale = Math.min(
|
|
258
|
+
(width - padding * 2) / WORLD.width,
|
|
259
|
+
(height - padding * 2) / WORLD.height,
|
|
260
|
+
)
|
|
261
|
+
requestRender()
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
function applyCamera() {
|
|
265
|
+
if (!ctx) return
|
|
266
|
+
// screen = (world - origin) * scale + 画布中心,origin 由 pan 决定
|
|
267
|
+
const scale = fitScale * camera.value.zoom
|
|
268
|
+
const originX = WORLD.width / 2 - camera.value.panX
|
|
269
|
+
const originY = WORLD.height / 2 - camera.value.panY
|
|
270
|
+
ctx.setTransform(
|
|
271
|
+
scale * dpr,
|
|
272
|
+
0,
|
|
273
|
+
0,
|
|
274
|
+
scale * dpr,
|
|
275
|
+
dpr * (width / 2 - originX * scale),
|
|
276
|
+
dpr * (height / 2 - originY * scale),
|
|
277
|
+
)
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
function pathOf(polygon: LonLat[]) {
|
|
281
|
+
const path = new Path2D()
|
|
282
|
+
polygon.forEach(([lon, lat], index) => {
|
|
283
|
+
const p = project(lon, lat)
|
|
284
|
+
if (index === 0) path.moveTo(p.x, p.y)
|
|
285
|
+
else path.lineTo(p.x, p.y)
|
|
286
|
+
})
|
|
287
|
+
path.closePath()
|
|
288
|
+
return path
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
function drawMap() {
|
|
292
|
+
if (!ctx) return
|
|
293
|
+
ctx.clearRect(0, 0, width, height)
|
|
294
|
+
|
|
295
|
+
// 海面
|
|
296
|
+
const sea = ctx.createLinearGradient(0, 0, width, height)
|
|
297
|
+
sea.addColorStop(0, '#eef6ff')
|
|
298
|
+
sea.addColorStop(1, '#dbe9f5')
|
|
299
|
+
ctx.fillStyle = sea
|
|
300
|
+
ctx.fillRect(0, 0, width, height)
|
|
301
|
+
|
|
302
|
+
ctx.save()
|
|
303
|
+
applyCamera()
|
|
304
|
+
ctx.lineJoin = 'round'
|
|
305
|
+
ctx.lineCap = 'round'
|
|
306
|
+
|
|
307
|
+
// 陆地
|
|
308
|
+
const land = ctx.createLinearGradient(BOX.x, BOX.y, BOX.x + BOX.width, BOX.y + BOX.height)
|
|
309
|
+
land.addColorStop(0, '#edf6df')
|
|
310
|
+
land.addColorStop(0.45, '#dbeccf')
|
|
311
|
+
land.addColorStop(1, '#c7dfbd')
|
|
312
|
+
ctx.fillStyle = land
|
|
313
|
+
ctx.strokeStyle = 'rgba(58, 96, 68, 0.55)'
|
|
314
|
+
ctx.lineWidth = 2.4
|
|
315
|
+
;[mainland, hainan, taiwan].forEach((polygon) => {
|
|
316
|
+
const path = pathOf(polygon)
|
|
317
|
+
ctx!.fill(path)
|
|
318
|
+
ctx!.stroke(path)
|
|
319
|
+
})
|
|
320
|
+
|
|
321
|
+
// 省界
|
|
322
|
+
ctx.strokeStyle = 'rgba(84, 122, 92, 0.22)'
|
|
323
|
+
ctx.lineWidth = 1
|
|
324
|
+
provinceLines.forEach((line) => {
|
|
325
|
+
ctx!.beginPath()
|
|
326
|
+
line.forEach(([lon, lat], index) => {
|
|
327
|
+
const p = project(lon, lat)
|
|
328
|
+
if (index === 0) ctx!.moveTo(p.x, p.y)
|
|
329
|
+
else ctx!.lineTo(p.x, p.y)
|
|
330
|
+
})
|
|
331
|
+
ctx!.stroke()
|
|
332
|
+
})
|
|
333
|
+
|
|
334
|
+
// 城市点:放大后才显示,避免糊成一片
|
|
335
|
+
if (props.showCities && camera.value.zoom > 1.35) {
|
|
336
|
+
ctx.fillStyle = 'rgba(54, 92, 74, 0.35)'
|
|
337
|
+
;(cityLookup || []).forEach((city) => {
|
|
338
|
+
const p = project(city.lon, city.lat)
|
|
339
|
+
ctx!.beginPath()
|
|
340
|
+
ctx!.arc(p.x, p.y, 1.6, 0, Math.PI * 2)
|
|
341
|
+
ctx!.fill()
|
|
342
|
+
})
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
ctx.restore()
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
function drawRoute() {
|
|
349
|
+
if (!ctx || props.points.length < 2) return
|
|
350
|
+
ctx.save()
|
|
351
|
+
applyCamera()
|
|
352
|
+
ctx.lineJoin = 'round'
|
|
353
|
+
ctx.lineCap = 'round'
|
|
354
|
+
|
|
355
|
+
const screen = props.points.map((p) => project(p.lon, p.lat))
|
|
356
|
+
|
|
357
|
+
// 未走过的部分:虚线打底
|
|
358
|
+
ctx.setLineDash([1, 12])
|
|
359
|
+
ctx.strokeStyle = 'rgba(8, 40, 42, 0.34)'
|
|
360
|
+
ctx.lineWidth = 9
|
|
361
|
+
ctx.beginPath()
|
|
362
|
+
screen.forEach((p, index) => (index ? ctx!.lineTo(p.x, p.y) : ctx!.moveTo(p.x, p.y)))
|
|
363
|
+
ctx.stroke()
|
|
364
|
+
ctx.setLineDash([])
|
|
365
|
+
|
|
366
|
+
// 白色描边 + 主色线(主色线只画到播放进度)
|
|
367
|
+
ctx.strokeStyle = 'rgba(255, 248, 228, 0.92)'
|
|
368
|
+
ctx.lineWidth = 6
|
|
369
|
+
ctx.beginPath()
|
|
370
|
+
screen.forEach((p, index) => (index ? ctx!.lineTo(p.x, p.y) : ctx!.moveTo(p.x, p.y)))
|
|
371
|
+
ctx.stroke()
|
|
372
|
+
|
|
373
|
+
const ratio = playing.value ? progress.value : 1
|
|
374
|
+
ctx.strokeStyle = props.color
|
|
375
|
+
ctx.lineWidth = 3
|
|
376
|
+
ctx.beginPath()
|
|
377
|
+
let budget = totalLength * ratio
|
|
378
|
+
ctx.moveTo(screen[0].x, screen[0].y)
|
|
379
|
+
for (let i = 1; i < screen.length; i += 1) {
|
|
380
|
+
const segment = Math.hypot(screen[i].x - screen[i - 1].x, screen[i].y - screen[i - 1].y)
|
|
381
|
+
if (budget <= 0) break
|
|
382
|
+
if (budget >= segment) {
|
|
383
|
+
ctx.lineTo(screen[i].x, screen[i].y)
|
|
384
|
+
budget -= segment
|
|
385
|
+
} else {
|
|
386
|
+
const t = budget / segment
|
|
387
|
+
ctx.lineTo(screen[i - 1].x + (screen[i].x - screen[i - 1].x) * t, screen[i - 1].y + (screen[i].y - screen[i - 1].y) * t)
|
|
388
|
+
budget = 0
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
ctx.stroke()
|
|
392
|
+
|
|
393
|
+
// 站点
|
|
394
|
+
screen.forEach((p, index) => {
|
|
395
|
+
const active = !playing.value || ratio >= cumulative[index] / (totalLength || 1) - 0.001
|
|
396
|
+
ctx.beginPath()
|
|
397
|
+
ctx.arc(p.x, p.y, 6.5, 0, Math.PI * 2)
|
|
398
|
+
ctx.fillStyle = active ? props.color : 'rgba(255, 248, 228, 0.9)'
|
|
399
|
+
ctx.fill()
|
|
400
|
+
ctx.lineWidth = 2
|
|
401
|
+
ctx.strokeStyle = active ? 'rgba(255, 248, 228, 0.95)' : 'rgba(8, 40, 42, 0.35)'
|
|
402
|
+
ctx.stroke()
|
|
403
|
+
|
|
404
|
+
// 序号
|
|
405
|
+
ctx.fillStyle = active ? '#fff8e4' : '#25342b'
|
|
406
|
+
ctx.font = '600 9px system-ui, sans-serif'
|
|
407
|
+
ctx.textAlign = 'center'
|
|
408
|
+
ctx.textBaseline = 'middle'
|
|
409
|
+
ctx.fillText(String(index + 1), p.x, p.y + 0.5)
|
|
410
|
+
|
|
411
|
+
if (props.showLabels && props.points[index]?.name) {
|
|
412
|
+
const label = props.points[index].name as string
|
|
413
|
+
ctx.font = '600 10px system-ui, sans-serif'
|
|
414
|
+
const textWidth = ctx.measureText(label).width
|
|
415
|
+
ctx.fillStyle = 'rgba(255, 253, 244, 0.86)'
|
|
416
|
+
ctx.beginPath()
|
|
417
|
+
ctx.roundRect(p.x - textWidth / 2 - 5, p.y - 25, textWidth + 10, 15, 6)
|
|
418
|
+
ctx.fill()
|
|
419
|
+
ctx.fillStyle = '#2b3a31'
|
|
420
|
+
ctx.fillText(label, p.x, p.y - 17.5)
|
|
421
|
+
}
|
|
422
|
+
})
|
|
423
|
+
|
|
424
|
+
// 播放箭头
|
|
425
|
+
if (playing.value && totalLength) {
|
|
426
|
+
const head = pointAtDistance(totalLength * ratio)
|
|
427
|
+
if (head) {
|
|
428
|
+
ctx.save()
|
|
429
|
+
ctx.translate(head.x, head.y)
|
|
430
|
+
ctx.rotate(head.angle)
|
|
431
|
+
ctx.beginPath()
|
|
432
|
+
ctx.moveTo(9, 0)
|
|
433
|
+
ctx.lineTo(-6, 6)
|
|
434
|
+
ctx.lineTo(-3, 0)
|
|
435
|
+
ctx.lineTo(-6, -6)
|
|
436
|
+
ctx.closePath()
|
|
437
|
+
ctx.fillStyle = props.color
|
|
438
|
+
ctx.fill()
|
|
439
|
+
ctx.lineWidth = 1.5
|
|
440
|
+
ctx.strokeStyle = 'rgba(255, 248, 228, 0.95)'
|
|
441
|
+
ctx.stroke()
|
|
442
|
+
ctx.restore()
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
ctx.restore()
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/** 每个站点在整条路线上的累计长度(用来判断「走过没有」) */
|
|
450
|
+
let cumulative: number[] = []
|
|
451
|
+
let totalLength = 0
|
|
452
|
+
|
|
453
|
+
function rebuildLengths() {
|
|
454
|
+
const screen = props.points.map((p) => project(p.lon, p.lat))
|
|
455
|
+
cumulative = [0]
|
|
456
|
+
totalLength = 0
|
|
457
|
+
for (let i = 1; i < screen.length; i += 1) {
|
|
458
|
+
totalLength += Math.hypot(screen[i].x - screen[i - 1].x, screen[i].y - screen[i - 1].y)
|
|
459
|
+
cumulative.push(totalLength)
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/** 按弧长取路线上的点(含朝向) */
|
|
464
|
+
function pointAtDistance(distance: number) {
|
|
465
|
+
const screen = props.points.map((p) => project(p.lon, p.lat))
|
|
466
|
+
let rest = Math.max(0, Math.min(distance, totalLength))
|
|
467
|
+
for (let i = 1; i < screen.length; i += 1) {
|
|
468
|
+
const segment = cumulative[i] - cumulative[i - 1]
|
|
469
|
+
if (rest <= segment || i === screen.length - 1) {
|
|
470
|
+
const t = segment ? rest / segment : 0
|
|
471
|
+
const x = screen[i - 1].x + (screen[i].x - screen[i - 1].x) * t
|
|
472
|
+
const y = screen[i - 1].y + (screen[i].y - screen[i - 1].y) * t
|
|
473
|
+
return {
|
|
474
|
+
x,
|
|
475
|
+
y,
|
|
476
|
+
angle: Math.atan2(screen[i].y - screen[i - 1].y, screen[i].x - screen[i - 1].x),
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
rest -= segment
|
|
480
|
+
}
|
|
481
|
+
return null
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
function requestRender() {
|
|
485
|
+
if (rafId) return
|
|
486
|
+
rafId = requestAnimationFrame(() => {
|
|
487
|
+
rafId = 0
|
|
488
|
+
drawMap()
|
|
489
|
+
drawRoute()
|
|
490
|
+
})
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/* ───────── 播放 ───────── */
|
|
494
|
+
|
|
495
|
+
function startPlay() {
|
|
496
|
+
if (playing.value || props.points.length < 2) return
|
|
497
|
+
playing.value = true
|
|
498
|
+
emit('update:playing', true)
|
|
499
|
+
progress.value = 0
|
|
500
|
+
playStart = performance.now()
|
|
501
|
+
requestRender()
|
|
502
|
+
|
|
503
|
+
const tick = (now: number) => {
|
|
504
|
+
if (!playing.value) return
|
|
505
|
+
progress.value = Math.min(1, (now - playStart) / (props.duration * 1000))
|
|
506
|
+
|
|
507
|
+
// 镜头跟随:放大到 followZoom,并把当前点拉到画面中心(panX = 世界中心 - 目标世界坐标)
|
|
508
|
+
const head = pointAtDistance(totalLength * progress.value)
|
|
509
|
+
if (head) {
|
|
510
|
+
const targetZoom = props.followZoom
|
|
511
|
+
const targetPanX = WORLD.width / 2 - head.x
|
|
512
|
+
const targetPanY = WORLD.height / 2 - head.y
|
|
513
|
+
camera.value = {
|
|
514
|
+
zoom: camera.value.zoom + (targetZoom - camera.value.zoom) * 0.08,
|
|
515
|
+
panX: camera.value.panX + (targetPanX - camera.value.panX) * 0.1,
|
|
516
|
+
panY: camera.value.panY + (targetPanY - camera.value.panY) * 0.1,
|
|
517
|
+
}
|
|
518
|
+
clampCamera()
|
|
519
|
+
}
|
|
520
|
+
requestRender()
|
|
521
|
+
|
|
522
|
+
if (progress.value < 1) {
|
|
523
|
+
playRaf = requestAnimationFrame(tick)
|
|
524
|
+
return
|
|
525
|
+
}
|
|
526
|
+
stopPlay(true)
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
cancelAnimationFrame(playRaf)
|
|
530
|
+
playRaf = requestAnimationFrame(tick)
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
function stopPlay(finished = false) {
|
|
534
|
+
playing.value = false
|
|
535
|
+
emit('update:playing', false)
|
|
536
|
+
cancelAnimationFrame(playRaf)
|
|
537
|
+
playRaf = 0
|
|
538
|
+
if (finished) {
|
|
539
|
+
progress.value = 1
|
|
540
|
+
emit('finish')
|
|
541
|
+
}
|
|
542
|
+
requestRender()
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
function togglePlay() {
|
|
546
|
+
if (playing.value) stopPlay()
|
|
547
|
+
else startPlay()
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
/* ───────── 缩放 / 平移 / 加点 ───────── */
|
|
551
|
+
|
|
552
|
+
function clampCamera() {
|
|
553
|
+
camera.value.zoom = Math.min(4.2, Math.max(1, camera.value.zoom))
|
|
554
|
+
if (camera.value.zoom <= 1.0001) {
|
|
555
|
+
camera.value.zoom = 1
|
|
556
|
+
camera.value.panX = 0
|
|
557
|
+
camera.value.panY = 0
|
|
558
|
+
return
|
|
559
|
+
}
|
|
560
|
+
const limitX = (WORLD.width / 2) * (1 - 1 / camera.value.zoom) + 40
|
|
561
|
+
const limitY = (WORLD.height / 2) * (1 - 1 / camera.value.zoom) + 40
|
|
562
|
+
camera.value.panX = Math.min(limitX, Math.max(-limitX, camera.value.panX))
|
|
563
|
+
camera.value.panY = Math.min(limitY, Math.max(-limitY, camera.value.panY))
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
function zoomBy(factor: number) {
|
|
567
|
+
camera.value.zoom *= factor
|
|
568
|
+
clampCamera()
|
|
569
|
+
requestRender()
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
function resetCamera() {
|
|
573
|
+
camera.value = { zoom: 1, panX: 0, panY: 0 }
|
|
574
|
+
requestRender()
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
function onWheel(event: WheelEvent) {
|
|
578
|
+
event.preventDefault()
|
|
579
|
+
zoomBy(event.deltaY > 0 ? 1 / 1.12 : 1.12)
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
function onPointerDown(event: PointerEvent) {
|
|
583
|
+
if (event.button !== 0 && event.pointerType === 'mouse') return
|
|
584
|
+
drag = {
|
|
585
|
+
id: event.pointerId,
|
|
586
|
+
x: event.clientX,
|
|
587
|
+
y: event.clientY,
|
|
588
|
+
panX: camera.value.panX,
|
|
589
|
+
panY: camera.value.panY,
|
|
590
|
+
moved: false,
|
|
591
|
+
}
|
|
592
|
+
try {
|
|
593
|
+
canvasEl.value?.setPointerCapture?.(event.pointerId)
|
|
594
|
+
} catch {
|
|
595
|
+
// 合成事件下忽略
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
function onPointerMove(event: PointerEvent) {
|
|
600
|
+
if (!drag || drag.id !== event.pointerId) return
|
|
601
|
+
const dx = event.clientX - drag.x
|
|
602
|
+
const dy = event.clientY - drag.y
|
|
603
|
+
if (!drag.moved && Math.hypot(dx, dy) > 3) drag.moved = true
|
|
604
|
+
if (!drag.moved) return
|
|
605
|
+
const scale = fitScale * camera.value.zoom
|
|
606
|
+
camera.value.panX = drag.panX - dx / scale
|
|
607
|
+
camera.value.panY = drag.panY - dy / scale
|
|
608
|
+
clampCamera()
|
|
609
|
+
requestRender()
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
function onPointerUp(event: PointerEvent) {
|
|
613
|
+
if (!drag || drag.id !== event.pointerId) return
|
|
614
|
+
const moved = drag.moved
|
|
615
|
+
drag = null
|
|
616
|
+
try {
|
|
617
|
+
canvasEl.value?.releasePointerCapture?.(event.pointerId)
|
|
618
|
+
} catch {
|
|
619
|
+
// 同上
|
|
620
|
+
}
|
|
621
|
+
if (moved || !props.editable || playing.value) return
|
|
622
|
+
|
|
623
|
+
const rect = canvasEl.value?.getBoundingClientRect()
|
|
624
|
+
if (!rect) return
|
|
625
|
+
const { lon, lat } = unproject(event.clientX - rect.left, event.clientY - rect.top)
|
|
626
|
+
if (!isInsideChina(lon, lat, mainland) && !isInsideChina(lon, lat, hainan) && !isInsideChina(lon, lat, taiwan)) {
|
|
627
|
+
return
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
const point: RoutePoint = { name: nearestName(lon, lat), lon, lat }
|
|
631
|
+
const next = [...props.points, point]
|
|
632
|
+
emit('add', point)
|
|
633
|
+
emit('update:points', next)
|
|
634
|
+
rebuildLengths()
|
|
635
|
+
requestRender()
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
watch(
|
|
639
|
+
() => props.points,
|
|
640
|
+
() => {
|
|
641
|
+
rebuildLengths()
|
|
642
|
+
requestRender()
|
|
643
|
+
},
|
|
644
|
+
{ deep: true, immediate: true },
|
|
645
|
+
)
|
|
646
|
+
|
|
647
|
+
watch(
|
|
648
|
+
() => props.playing,
|
|
649
|
+
(next) => {
|
|
650
|
+
if (next && !playing.value) startPlay()
|
|
651
|
+
else if (!next && playing.value) stopPlay()
|
|
652
|
+
},
|
|
653
|
+
)
|
|
654
|
+
|
|
655
|
+
onMounted(() => {
|
|
656
|
+
resize()
|
|
657
|
+
rebuildLengths()
|
|
658
|
+
observer = new ResizeObserver(() => resize())
|
|
659
|
+
if (rootEl.value) observer.observe(rootEl.value)
|
|
660
|
+
requestRender()
|
|
661
|
+
})
|
|
662
|
+
|
|
663
|
+
onBeforeUnmount(() => {
|
|
664
|
+
observer?.disconnect()
|
|
665
|
+
cancelAnimationFrame(rafId)
|
|
666
|
+
cancelAnimationFrame(playRaf)
|
|
667
|
+
})
|
|
668
|
+
|
|
669
|
+
defineExpose({
|
|
670
|
+
play: startPlay,
|
|
671
|
+
stop: () => stopPlay(),
|
|
672
|
+
reset: resetCamera,
|
|
673
|
+
zoomTo: (zoom: number) => {
|
|
674
|
+
camera.value.zoom = zoom
|
|
675
|
+
clampCamera()
|
|
676
|
+
requestRender()
|
|
677
|
+
},
|
|
678
|
+
})
|
|
679
|
+
</script>
|
|
680
|
+
|
|
681
|
+
<style scoped>
|
|
682
|
+
.crm {
|
|
683
|
+
position: relative;
|
|
684
|
+
width: 100%;
|
|
685
|
+
height: 100%;
|
|
686
|
+
min-height: 260px;
|
|
687
|
+
overflow: hidden;
|
|
688
|
+
border-radius: 14px;
|
|
689
|
+
background: #eef6ff;
|
|
690
|
+
touch-action: none;
|
|
691
|
+
cursor: grab;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.crm:active {
|
|
695
|
+
cursor: grabbing;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.crm__canvas {
|
|
699
|
+
display: block;
|
|
700
|
+
width: 100%;
|
|
701
|
+
height: 100%;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.crm__toolbar {
|
|
705
|
+
position: absolute;
|
|
706
|
+
top: 12px;
|
|
707
|
+
right: 12px;
|
|
708
|
+
display: flex;
|
|
709
|
+
align-items: center;
|
|
710
|
+
gap: 4px;
|
|
711
|
+
padding: 4px;
|
|
712
|
+
border: 1px solid rgba(33, 47, 39, 0.12);
|
|
713
|
+
border-radius: 10px;
|
|
714
|
+
background: rgba(255, 253, 244, 0.9);
|
|
715
|
+
box-shadow: 0 6px 18px rgba(25, 40, 35, 0.12);
|
|
716
|
+
backdrop-filter: blur(6px);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.crm__toolbar button {
|
|
720
|
+
width: 26px;
|
|
721
|
+
height: 26px;
|
|
722
|
+
border: none;
|
|
723
|
+
border-radius: 7px;
|
|
724
|
+
background: transparent;
|
|
725
|
+
color: #2b3a31;
|
|
726
|
+
font-size: 14px;
|
|
727
|
+
line-height: 1;
|
|
728
|
+
cursor: pointer;
|
|
729
|
+
transition: background 0.2s ease;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.crm__toolbar button:hover {
|
|
733
|
+
background: rgba(8, 118, 111, 0.12);
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.crm__zoom {
|
|
737
|
+
min-width: 38px;
|
|
738
|
+
padding-right: 4px;
|
|
739
|
+
color: #3e493f;
|
|
740
|
+
font-size: 11px;
|
|
741
|
+
font-variant-numeric: tabular-nums;
|
|
742
|
+
text-align: right;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.crm__playbar {
|
|
746
|
+
position: absolute;
|
|
747
|
+
left: 12px;
|
|
748
|
+
bottom: 12px;
|
|
749
|
+
display: flex;
|
|
750
|
+
align-items: center;
|
|
751
|
+
gap: 10px;
|
|
752
|
+
padding: 6px 10px;
|
|
753
|
+
border: 1px solid rgba(33, 47, 39, 0.12);
|
|
754
|
+
border-radius: 10px;
|
|
755
|
+
background: rgba(255, 253, 244, 0.9);
|
|
756
|
+
box-shadow: 0 6px 18px rgba(25, 40, 35, 0.12);
|
|
757
|
+
backdrop-filter: blur(6px);
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.crm__play {
|
|
761
|
+
padding: 5px 12px;
|
|
762
|
+
border: none;
|
|
763
|
+
border-radius: 7px;
|
|
764
|
+
background: var(--crm-accent);
|
|
765
|
+
color: #fff8e4;
|
|
766
|
+
font-family: inherit;
|
|
767
|
+
font-size: 12px;
|
|
768
|
+
font-weight: 700;
|
|
769
|
+
cursor: pointer;
|
|
770
|
+
transition: filter 0.2s ease;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.crm__play:hover:not(:disabled) {
|
|
774
|
+
filter: brightness(1.08);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.crm__play:disabled {
|
|
778
|
+
opacity: 0.45;
|
|
779
|
+
cursor: not-allowed;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.crm__progress {
|
|
783
|
+
color: #3e493f;
|
|
784
|
+
font-size: 11px;
|
|
785
|
+
font-variant-numeric: tabular-nums;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.crm__tip {
|
|
789
|
+
position: absolute;
|
|
790
|
+
right: 12px;
|
|
791
|
+
bottom: 14px;
|
|
792
|
+
margin: 0;
|
|
793
|
+
color: rgba(62, 73, 63, 0.55);
|
|
794
|
+
font-size: 11px;
|
|
795
|
+
pointer-events: none;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
@media (max-width: 520px) {
|
|
799
|
+
.crm__tip {
|
|
800
|
+
display: none;
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
</style>
|