@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,604 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="corgi" :style="rootStyle" @click="wink">
|
|
3
|
+
<div class="corgi__dog" :class="{ 'is-bounce': bouncing }" :style="dogStyle">
|
|
4
|
+
<div v-if="bubble" class="corgi__bubble" :class="{ 'is-show': bubbleVisible }">
|
|
5
|
+
{{ bubbleText }}
|
|
6
|
+
</div>
|
|
7
|
+
<svg
|
|
8
|
+
ref="svgEl"
|
|
9
|
+
class="corgi__face"
|
|
10
|
+
viewBox="0 0 256 256"
|
|
11
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
12
|
+
aria-hidden="true"
|
|
13
|
+
>
|
|
14
|
+
|
|
15
|
+
<path
|
|
16
|
+
d="M0 0 C17.47845623 9.26925182 29.62067971 23.87147716 39.08203125 40.90625 C39.63963135 40.89577637 40.19723145 40.88530273 40.77172852 40.87451172 C52.41094786 40.68560605 63.59232122 40.92952569 75.08203125 42.90625 C75.33210937 42.35839844 75.5821875 41.81054688 75.83984375 41.24609375 C81.00853173 31.51010601 89.147459 23.24273629 96.71435547 15.34130859 C97.91533696 14.08115701 99.09610004 12.80180075 100.2734375 11.51953125 C105.6469359 5.82036628 112.95674591 -0.46551561 121.0625 -1.296875 C130.3802666 -1.49477447 136.21680715 1.20226559 142.98046875 7.62890625 C158.71465941 24.67915375 160.58019821 54.71371045 159.8984375 76.69140625 C159.85864122 78.2272114 159.81892845 79.76301872 159.77929688 81.29882812 C159.7177616 83.63888464 159.64421428 85.97544121 159.53344727 88.3137207 C159.06004945 98.77767106 159.87629638 105.54892776 166.11547852 114.14379883 C175.46458012 127.27664608 175.54896671 146.42289589 173.58203125 161.8203125 C172.05772955 169.63235871 169.34760183 176.6745739 166.08203125 183.90625 C165.4070889 185.56958251 164.73774287 187.23524297 164.08203125 188.90625 C164.87867188 189.32583984 164.87867188 189.32583984 165.69140625 189.75390625 C170.80707868 192.6571437 174.09091573 195.27229814 176.08203125 200.90625 C177.79480165 207.40050444 177.12186608 212.9296256 174.08203125 218.90625 C171.93354489 222.07462024 169.56143366 224.99295217 167.08203125 227.90625 C166.27765625 228.916875 165.47328125 229.9275 164.64453125 230.96875 C164.12890625 231.608125 163.61328125 232.2475 163.08203125 232.90625 C165.03109375 232.8753125 165.03109375 232.8753125 167.01953125 232.84375 C171.7758545 232.83620028 176.36592078 233.30737883 181.08203125 233.90625 C181.08203125 234.56625 181.08203125 235.22625 181.08203125 235.90625 C180.30601562 235.95112549 179.53 235.99600098 178.73046875 236.04223633 C175.18008444 236.25486749 171.63119366 236.48664721 168.08203125 236.71875 C166.86128906 236.78900391 165.64054688 236.85925781 164.3828125 236.93164062 C157.67903619 237.38459848 152.22694012 238.17840379 146.08203125 240.90625 C138.83374803 242.60265671 132.33438298 242.32663513 125.18945312 240.37084961 C117.78584514 238.62076562 110.97955036 238.79888071 103.42578125 239.22265625 C100.49785187 239.35476385 97.56936281 239.46990939 94.640625 239.58251953 C93.87415901 239.61297206 93.10769302 239.64342459 92.31800079 239.67479992 C82.95898538 240.02349442 73.60221232 239.97607443 64.23828125 239.93359375 C62.44946344 239.92761802 60.66064507 239.9218099 58.87182617 239.91616821 C51.57530116 239.8907575 44.27885756 239.8542629 36.98242188 239.81030273 C32.43158028 239.78344718 27.88078582 239.76647098 23.32987976 239.75543404 C21.62357273 239.7492844 19.91727446 239.73935662 18.21101379 239.72535515 C9.92755806 239.65767089 2.1223456 239.62264631 -5.91796875 241.90625 C-11.551283 242.63149704 -16.09343682 241.959594 -21.41796875 240.03125 C-32.09855069 236.38926196 -43.73760758 236.52216509 -54.91796875 235.90625 C-54.91796875 235.24625 -54.91796875 234.58625 -54.91796875 233.90625 C-46.50296875 232.91625 -46.50296875 232.91625 -37.91796875 231.90625 C-40.88796875 229.43125 -40.88796875 229.43125 -43.91796875 226.90625 C-45.74609375 224.58984375 -45.74609375 224.58984375 -47.16796875 222.34375 C-47.6475 221.59996094 -48.12703125 220.85617188 -48.62109375 220.08984375 C-49.26304688 219.00896484 -49.26304688 219.00896484 -49.91796875 217.90625 C-50.29566406 217.27332031 -50.67335938 216.64039063 -51.0625 215.98828125 C-52.89605352 211.52579712 -52.52760283 206.61431516 -51.91796875 201.90625 C-50.61335686 198.89933783 -48.87345906 196.51357041 -46.91796875 193.90625 C-45.45988526 192.07918119 -45.45988526 192.07918119 -44.91796875 189.90625 C-46.09238346 187.36891937 -46.09238346 187.36891937 -48.04296875 184.84375 C-57.98988027 170.21709074 -59.23704289 151.73405952 -56.3046875 134.5546875 C-53.76473186 124.10394491 -48.88319733 113.85409288 -42.91796875 104.90625 C-42.67290862 101.5760859 -42.67290862 101.5760859 -42.79296875 97.73046875 C-42.81047044 96.25846648 -42.8277127 94.78646111 -42.84472656 93.31445312 C-42.85717407 92.54367432 -42.86962158 91.77289551 -42.88244629 90.97875977 C-43.84768202 26.17197044 -43.84768202 26.17197044 -24.91796875 4.90625 C-17.80998068 -1.41196162 -9.06429567 -3.39759409 0 0 Z M-21.91796875 12.90625 C-27.07308584 20.80039683 -29.98376651 29.7355007 -31.91796875 38.90625 C-32.0689502 39.61861816 -32.21993164 40.33098633 -32.37548828 41.06494141 C-34.45733808 51.63588746 -35.01408367 61.97814474 -34.8203125 72.71875 C-34.80596161 73.68299896 -34.79161072 74.64724792 -34.77682495 75.64071655 C-34.69856246 80.52583981 -34.57151264 85.40217608 -34.36816406 90.28369141 C-34.06159921 100.6767956 -34.53412794 107.72566451 -40.89819336 116.1730957 C-49.89956044 128.35371995 -51.38208437 145.84541018 -49.453125 160.41796875 C-47.55409851 170.63225918 -44.1784612 181.10349151 -35.91796875 187.90625 C-35.4590625 187.20757812 -35.00015625 186.50890625 -34.52734375 185.7890625 C-33.91375 184.87898437 -33.30015625 183.96890625 -32.66796875 183.03125 C-32.0646875 182.12632812 -31.46140625 181.22140625 -30.83984375 180.2890625 C-28.83066033 177.79800176 -27.94973766 176.81735154 -24.91796875 175.90625 C-21.53785108 175.79251313 -18.22551492 175.86060211 -14.84960938 175.984375 C-10.66439316 176.07851295 -7.70356008 175.66313564 -3.91796875 173.90625 C0.16979429 173.29308554 2.5988032 172.93842938 6.10546875 175.2265625 C7.56624703 176.43754227 9.01191988 177.66688203 10.4453125 178.91015625 C13.55374506 181.26335483 16.86797304 182.80310334 20.39453125 184.40625 C27.71730998 187.83317564 27.71730998 187.83317564 29.89453125 191.53125 C32.63347196 199.3156078 33.63051949 207.15744862 30.08203125 214.84375 C29.71078125 215.55402344 29.33953125 216.26429688 28.95703125 216.99609375 C27.87379993 219.01065495 27.87379993 219.01065495 28.08203125 221.90625 C29.36078125 222.215625 30.63953125 222.525 31.95703125 222.84375 C32.67632812 223.01777344 33.395625 223.19179687 34.13671875 223.37109375 C54.15806145 227.00892392 75.18920021 225.48823887 95.08203125 221.90625 C96.48252198 218.82636041 96.48252198 218.82636041 94.64453125 215.65625 C91.92537252 208.82673506 91.63227832 200.32262699 93.92578125 193.3359375 C96.80443023 188.22050045 100.99347675 185.58252016 106.08203125 182.90625 C107.64612575 182.05500658 109.20862262 181.20082129 110.76953125 180.34375 C111.52363281 179.93640625 112.27773437 179.5290625 113.0546875 179.109375 C115.28861552 177.86841568 115.28861552 177.86841568 117.70703125 175.59375 C120.99828812 173.25522538 123.11956637 173.48914843 127.08203125 173.90625 C127.98050781 174.2465625 128.87898437 174.586875 129.8046875 174.9375 C134.29638628 176.26520119 138.54734111 175.93847702 143.16015625 175.65234375 C148.40405493 175.48221727 150.98091777 176.74885866 155.08203125 179.90625 C156.40118945 180.60054379 157.72852531 181.28155495 159.08203125 181.90625 C159.88360883 180.09811125 160.672723 178.28444627 161.45703125 176.46875 C162.11832031 174.95474609 162.11832031 174.95474609 162.79296875 173.41015625 C165.71345849 165.47173413 166.44193744 158.02298917 166.39453125 149.59375 C166.3903418 148.57772705 166.38615234 147.5617041 166.38183594 146.51489258 C166.27280595 139.27889682 165.57948935 132.74478334 163.08203125 125.90625 C162.79199219 125.04257813 162.50195312 124.17890625 162.203125 123.2890625 C160.6226894 118.93790507 158.79966638 115.42200149 155.98901367 111.74316406 C152.57991273 106.69444388 152.25910381 102.6787092 152.3828125 96.703125 C152.37622116 95.74464661 152.36962982 94.78616821 152.36283875 93.79864502 C152.34548334 90.75046016 152.3671518 87.70433366 152.39453125 84.65625 C152.81365934 46.10674257 152.81365934 46.10674257 137.08203125 11.90625 C134.18212708 9.28624164 131.98692672 7.46185637 128.08203125 6.90625 C127.40785156 6.80441406 126.73367187 6.70257812 126.0390625 6.59765625 C119.1557956 6.18390797 115.32834715 8.66992005 110.08203125 12.90625 C109.38980469 13.45925781 108.69757813 14.01226562 107.984375 14.58203125 C103.17203904 18.61549203 99.0979725 23.0953163 95.08203125 27.90625 C94.28539062 28.83824219 93.48875 29.77023438 92.66796875 30.73046875 C83.11284018 40.40850484 83.11284018 40.40850484 78.08203125 51.90625 C77.27765625 51.6175 76.47328125 51.32875 75.64453125 51.03125 C72.15842757 49.93037515 68.70680415 49.11799011 65.1328125 48.37109375 C63.08203125 47.90625 63.08203125 47.90625 60.08203125 46.90625 C54.28464018 46.61084154 48.83550162 47.44549302 43.14453125 48.40625 C42.26990234 48.54933594 41.39527344 48.69242188 40.49414062 48.83984375 C38.35595408 49.19036613 36.21887276 49.54761926 34.08203125 49.90625 C33.83582031 49.05546875 33.58960937 48.2046875 33.3359375 47.328125 C31.97543467 43.61535091 30.16849404 40.44756582 28.01953125 37.15625 C27.6239502 36.54644287 27.22836914 35.93663574 26.82080078 35.30834961 C23.0852592 29.68435808 18.79878961 24.73490226 14.08203125 19.90625 C13.416875 19.21402344 12.75171875 18.52179687 12.06640625 17.80859375 C9.48437334 15.16689201 7.17094264 12.96552426 4.08203125 10.90625 C3.09203125 10.90625 2.10203125 10.90625 1.08203125 10.90625 C1.08203125 10.24625 1.08203125 9.58625 1.08203125 8.90625 C-6.97182815 4.23952773 -15.97588844 5.95858686 -21.91796875 12.90625 Z "
|
|
17
|
+
fill="#894101"
|
|
18
|
+
transform="translate(67.91796875,8.09375)"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
d="M0 0 C0.82564453 0.48146484 0.82564453 0.48146484 1.66796875 0.97265625 C1.66796875 1.63265625 1.66796875 2.29265625 1.66796875 2.97265625 C2.250625 3.07449219 2.83328125 3.17632813 3.43359375 3.28125 C7.64322058 4.58387928 10.50654284 8.01388585 13.66796875 10.97265625 C14.30992188 11.53855469 14.951875 12.10445312 15.61328125 12.6875 C23.61629687 20.09109947 30.17421236 30.0543978 34.66796875 39.97265625 C34.66796875 40.63265625 34.66796875 41.29265625 34.66796875 41.97265625 C39.28796875 41.64265625 43.90796875 41.31265625 48.66796875 40.97265625 C46.84091767 50.54292382 44.98908064 60.10800033 43.11767578 69.66967773 C42.66871784 71.96882013 42.22278676 74.26853367 41.77734375 76.56835938 C41.04345832 80.35062032 40.29624355 84.13005692 39.54055786 87.90802002 C39.25463637 89.34695298 38.97267416 90.78667939 38.69503784 92.22723389 C36.88698059 101.58776695 34.40567952 110.19161529 30.66796875 118.97265625 C30.00796875 118.97265625 29.34796875 118.97265625 28.66796875 118.97265625 C28.44109375 119.59140625 28.21421875 120.21015625 27.98046875 120.84765625 C26.22138405 123.69569814 24.8490016 123.99387691 21.66796875 124.97265625 C18.3359375 125.16796875 18.3359375 125.16796875 14.85546875 125.09765625 C13.69402344 125.07960938 12.53257813 125.0615625 11.3359375 125.04296875 C10.45550781 125.01976562 9.57507813 124.9965625 8.66796875 124.97265625 C8.71179688 125.895625 8.755625 126.81859375 8.80078125 127.76953125 C8.6134899 132.28655787 6.88202498 133.89834159 3.66796875 136.97265625 C-1.02232069 139.31780097 -6.17659814 139.8507317 -11.33203125 138.97265625 C-15.17834355 137.20401008 -18.34482029 134.95986721 -21.33203125 131.97265625 C-30.86012388 142.81496856 -30.60613291 155.41985181 -30.33203125 168.97265625 C-30.33203125 172.3858686 -31.00070591 173.3673851 -32.83203125 176.16015625 C-33.528125 177.23330078 -33.528125 177.23330078 -34.23828125 178.328125 C-34.59921875 178.87082031 -34.96015625 179.41351563 -35.33203125 179.97265625 C-44.50911064 172.41506146 -47.81060497 160.33263916 -49.33203125 148.97265625 C-50.56657947 134.70676571 -47.99937736 116.56815577 -38.80200195 105.05786133 C-32.79976308 97.05399206 -33.73411757 88.6933722 -34.05215454 79.15350342 C-34.20775293 74.32208853 -34.25311222 69.48975122 -34.30078125 64.65625 C-34.31156204 63.71589905 -34.32234283 62.7755481 -34.33345032 61.80670166 C-34.48758412 42.48389818 -32.39854236 17.28533098 -18.78125 2.26171875 C-13.65591267 -2.16637698 -6.1467082 -2.70784632 0 0 Z "
|
|
22
|
+
fill="#FCB577"
|
|
23
|
+
transform="translate(67.33203125,16.02734375)"
|
|
24
|
+
/>
|
|
25
|
+
<path
|
|
26
|
+
d="M0 0 C9.23765283 5.38863082 13.78462901 15.25055272 16.51312256 25.1512146 C19.86149125 38.26684446 21.46941941 51.50816483 21.515625 65.0390625 C21.52079887 66.50545166 21.52079887 66.50545166 21.52607727 68.00146484 C21.52777985 71.99574954 21.51262293 75.98895513 21.45947266 79.98291016 C21.32434019 92.16245849 21.31365913 100.49150415 29.25 110.3125 C30.46765986 112.72582776 31.26247466 115.04634667 32.125 117.625 C32.70894531 119.32076172 32.70894531 119.32076172 33.3046875 121.05078125 C38.34520446 138.44264762 36.24230957 158.24674067 28.25 174.3125 C24.92240077 172.76055246 22.76419515 171.00628051 20.25 168.3125 C20.91 168.3125 21.57 168.3125 22.25 168.3125 C22.78428211 153.69394794 23.13744331 139.6727678 14.25 127.3125 C14.188125 128.055 14.12625 128.7975 14.0625 129.5625 C12.99359613 133.18032848 11.34234428 134.25093714 8.25 136.3125 C3.30313586 137.96145471 -1.59954234 138.02784134 -6.75 137.3125 C-10.28133511 135.49233654 -12.96109058 133.10140942 -15.75 130.3125 C-15.79080783 128.31291636 -15.79254356 126.31204746 -15.75 124.3125 C-16.4925 124.4775 -17.235 124.6425 -18 124.8125 C-21.31243819 125.25415843 -24.47580324 125.48021401 -27.8125 125.5625 C-28.81410156 125.58828125 -29.81570312 125.6140625 -30.84765625 125.640625 C-34.21691989 125.25971229 -36.05080253 124.33569952 -38.75 122.3125 C-39.45710678 120.66258418 -40.12943989 118.99687744 -40.75 117.3125 C-42.235 116.8175 -42.235 116.8175 -43.75 116.3125 C-45.14991633 113.56853984 -46.32132634 110.92302332 -47.4375 108.0625 C-47.78272705 107.1864209 -48.1279541 106.3103418 -48.48364258 105.40771484 C-55.55776558 86.80272332 -64.75 62.4406902 -64.75 42.3125 C-63.1245692 42.45345064 -61.49965949 42.60042087 -59.875 42.75 C-58.97007812 42.83121094 -58.06515625 42.91242187 -57.1328125 42.99609375 C-54.75 43.3125 -54.75 43.3125 -52.75 44.3125 C-52.51410156 43.61511719 -52.27820313 42.91773438 -52.03515625 42.19921875 C-50.51891532 38.79343745 -48.47960659 36.03140506 -46.1875 33.125 C-45.74567383 32.55765137 -45.30384766 31.99030273 -44.84863281 31.40576172 C-41.33368818 26.94120499 -37.61875466 22.6890321 -33.76171875 18.515625 C-32.03214692 16.62149197 -30.41869297 14.68511814 -28.8125 12.6875 C-21.02675662 3.5059931 -12.24848619 -3.06212155 0 0 Z "
|
|
27
|
+
fill="#FDB577"
|
|
28
|
+
transform="translate(198.75,15.6875)"
|
|
29
|
+
/>
|
|
30
|
+
<path
|
|
31
|
+
d="M0 0 C2.4375 1.375 2.4375 1.375 4.70703125 3.26953125 C7.55027033 5.46195738 10.31829652 6.91296829 13.5625 8.4375 C18.22393597 10.62872364 21.37860459 12.1457465 23.625 16.875 C25.61251292 25.43659413 25.02854059 32.81413003 20.4375 40.375 C14.8354893 48.90056003 5.3062604 54.26137573 -4.5625 56.375 C-17.24839222 58.27077468 -26.09032285 56.91218886 -36.5625 49.375 C-42.27759101 44.73634361 -47.55121484 38.65294542 -48.97265625 31.234375 C-49.17829177 26.54946146 -48.3262778 23.11422879 -45.5625 19.375 C-44.00761765 18.41086148 -42.41957889 17.49936815 -40.8125 16.625 C-34.91023276 13.38437011 -32.03087948 9.00713916 -28.5625 3.375 C-27.04240373 1.85490373 -25.6381913 2.19626971 -23.51953125 2.12890625 C-22.69259766 2.09603516 -21.86566406 2.06316406 -21.01367188 2.02929688 C-19.27419768 1.96878223 -17.53461066 1.91141676 -15.79492188 1.85742188 C-10.68571691 1.64799584 -4.65129043 -1.13446108 0 0 Z "
|
|
32
|
+
fill="#FCF4EA"
|
|
33
|
+
transform="translate(70.5625,186.625)"
|
|
34
|
+
/>
|
|
35
|
+
<path
|
|
36
|
+
d="M0 0 C3.375 0.75 3.375 0.75 5.41796875 1.42578125 C10.03807562 2.45324828 14.80846772 1.9743134 19.51171875 1.77734375 C23.34845435 2.02224177 25.00412031 2.64497805 28 5 C29.703125 7.05078125 29.703125 7.05078125 31.25 9.3125 C33.78456224 12.74194058 36.13375292 14.98984557 39.75 17.25 C45.65373563 20.9612069 45.65373563 20.9612069 47 25 C47.71012658 34.57974684 47.71012658 34.57974684 46 38 C45.34 38 44.68 38 44 38 C43.9175 38.556875 43.835 39.11375 43.75 39.6875 C41.33764141 47.12560564 33.55227185 51.55558944 26.9921875 55.078125 C17.16591989 59.27176222 6.87660127 58.47880288 -3 55 C-13.18027122 50.72627387 -18.93839168 45.87854675 -24 36 C-26.60807446 29.00561849 -26.92368376 22.68630932 -24.01953125 15.77734375 C-22.31587138 12.80736198 -19.96889738 11.4671205 -17 10 C-16.04867187 9.52820313 -15.09734375 9.05640625 -14.1171875 8.5703125 C-12.05363761 7.55121292 -9.98233123 6.54761633 -7.90234375 5.5625 C-4.91084753 4.07886996 -4.91084753 4.07886996 -2.33984375 1.765625 C-1.56769531 1.18296875 -0.79554688 0.6003125 0 0 Z "
|
|
37
|
+
fill="#FCF4EA"
|
|
38
|
+
transform="translate(191,186)"
|
|
39
|
+
/>
|
|
40
|
+
<path
|
|
41
|
+
d="M0 0 C2.91541344 0.97180448 4.03410432 2.04400558 5.9375 4.5 C8.28217862 7.34203469 9.42780611 8.18813775 13 9 C17.08914254 8.73618435 20.38273257 8.19330795 24.29296875 6.96875 C32.24818051 4.8898327 40.9809513 5.13802804 48.8359375 7.54296875 C54.83596272 8.81012209 62.2231577 9.334427 67.8125 6.6484375 C70.35399214 4.73324164 71.55620598 2.81159889 73 0 C74.32 0.33 75.64 0.66 77 1 C76.54936121 5.84436703 75.46006039 8.53993961 72 12 C69.86328125 12.63671875 69.86328125 12.63671875 68 13 C68.04640625 13.64324219 68.0928125 14.28648437 68.140625 14.94921875 C68.62601575 27.10132278 65.12089706 37.85546045 57 47 C50.4478938 53.03933267 43.77874468 54.50484691 35.08984375 54.30078125 C26.51152671 53.46572384 20.77332573 49.7395825 14.9765625 43.4921875 C8.60456181 35.45792575 6.26213381 26.75095871 5.6875 16.6875 C5.37699445 12.97293366 5.31598446 12.31598446 2.5625 9.5625 C1.716875 9.046875 0.87125 8.53125 0 8 C-2 5 -2 5 -2 1 C-1.34 0.67 -0.68 0.34 0 0 Z "
|
|
42
|
+
fill="#713603"
|
|
43
|
+
transform="translate(91,160)"
|
|
44
|
+
/>
|
|
45
|
+
<path
|
|
46
|
+
d="M0 0 C6.05305709 3.5780293 7.55114416 11.08803742 9.23828125 17.40234375 C10.83952505 24.9651414 11.20799635 32.29233019 11.25 40 C11.270625 40.94617188 11.29125 41.89234375 11.3125 42.8671875 C11.34628672 48.96569029 10.49744271 53.42675943 8 59 C2.25014518 54.89388585 -2.93955685 50.37942807 -8.12890625 45.5859375 C-10.93274548 43.06057482 -13.80936836 40.67629992 -16.75 38.3125 C-28.32779196 28.90761742 -28.32779196 28.90761742 -29.8671875 24.5390625 C-30 22 -30 22 -28.8125 20.0078125 C-28.214375 19.38648437 -27.61625 18.76515625 -27 18.125 C-26.34644531 17.43792969 -25.69289062 16.75085938 -25.01953125 16.04296875 C-24.35308594 15.36878906 -23.68664062 14.69460937 -23 14 C-22.44699219 13.39800781 -21.89398438 12.79601562 -21.32421875 12.17578125 C-15.63747679 6.13616271 -8.8212351 -1.0862414 0 0 Z "
|
|
47
|
+
fill="#FEF7ED"
|
|
48
|
+
transform="translate(197,39)"
|
|
49
|
+
/>
|
|
50
|
+
<path
|
|
51
|
+
d="M0 0 C2.23969306 1.60592588 4.25562126 3.18855119 6.3125 5 C6.8806543 5.49330811 7.44880859 5.98661621 8.03417969 6.49487305 C20.14101764 17.17343412 20.14101764 17.17343412 21.9140625 23.0078125 C22 26 22 26 20.7265625 28.09765625 C14.9163636 33.52986824 8.76606262 38.34315935 2.39672852 43.10253906 C-3.05678141 47.1958411 -8.08056987 51.5491274 -12.99609375 56.26953125 C-15 58 -15 58 -17 58 C-19.19849396 52.67321423 -19.27437238 47.97032874 -19.1875 42.3125 C-19.1781543 41.41909912 -19.16880859 40.52569824 -19.15917969 39.60522461 C-18.76874852 12.09734678 -18.76874852 12.09734678 -10 2 C-6.30805124 -0.93462594 -4.46263801 -1.43441936 0 0 Z "
|
|
52
|
+
fill="#FFF7ED"
|
|
53
|
+
transform="translate(66,38)"
|
|
54
|
+
/>
|
|
55
|
+
<path
|
|
56
|
+
d="M0 0 C2.57749967 2.045929 4.36210439 4.04901596 6.19140625 6.79296875 C5.87832014 12.58506177 2.46577056 16.51860444 -1.49609375 20.48046875 C-6.89477046 24.6854682 -13.68965229 26.49176637 -20.484375 26.1953125 C-27.31223642 25.01334657 -32.465435 21.6885421 -36.87109375 16.41796875 C-39.54685673 12.56716905 -41.35489859 9.61866153 -40.80859375 4.79296875 C-32.25045936 -7.01614526 -11.38051193 -7.59520127 0 0 Z "
|
|
57
|
+
fill="#FC8D8B"
|
|
58
|
+
transform="translate(145.80859375,184.20703125)"
|
|
59
|
+
/>
|
|
60
|
+
<path
|
|
61
|
+
d="M0 0 C4.08731962 0.20101572 7.96598359 0.82463014 11.99560547 1.50805664 C21.14449507 2.96537202 30.0803998 3.31707252 39.3125 3.25 C40.03379089 3.2478952 40.75508179 3.24579041 41.49822998 3.24362183 C53.40021957 3.20288757 64.98048585 2.59880028 76.68359375 0.265625 C80 0 80 0 82.15234375 1.07421875 C82.74144531 1.60660156 83.33054687 2.13898438 83.9375 2.6875 C87.74603254 5.88487859 91.4940734 7.90796265 96 10 C96 10.33 96 10.66 96 11 C58.69041234 12.51037952 21.30734866 12.64334151 -16 11 C-14.15927809 7.31855618 -9.48617485 6.23264381 -5.8828125 4.53515625 C-3.02983566 3.20612213 -3.02983566 3.20612213 -1.35546875 1.296875 C-0.90816406 0.86890625 -0.46085937 0.4409375 0 0 Z "
|
|
62
|
+
fill="#000000"
|
|
63
|
+
transform="translate(90,236)"
|
|
64
|
+
/>
|
|
65
|
+
<path
|
|
66
|
+
d="M0 0 C2.17083408 1.49381339 3.2537752 2.25755041 4.4375 4.625 C4.477492 6.62460012 4.48096799 8.62547242 4.4375 10.625 C3.7775 10.625 3.1175 10.625 2.4375 10.625 C2.210625 11.2025 1.98375 11.78 1.75 12.375 C-1.20641881 17.44314654 -5.75200205 19.46141852 -11.16796875 21.078125 C-17.19326966 22.4542133 -21.67236384 22.49753302 -27.0625 19.25 C-30.37331081 17.00337838 -30.37331081 17.00337838 -31.5625 14.625 C-31.9375 11.8125 -31.9375 11.8125 -31.5625 8.625 C-24.32562824 -0.64724194 -10.83866522 -6.63990302 0 0 Z "
|
|
67
|
+
fill="#FF918F"
|
|
68
|
+
transform="translate(74.5625,215.375)"
|
|
69
|
+
/>
|
|
70
|
+
<path
|
|
71
|
+
d="M0 0 C4.26430246 2.17715706 6.94214638 4.31927112 9.625 8.3125 C10.25 11.8125 10.25 11.8125 9.625 15.3125 C6.69604867 18.89334959 3.15499088 20.93324141 -1.43359375 21.62109375 C-9.07671739 22.03525316 -15.07017103 19.57426855 -21.375 15.3125 C-24.17393087 12.30081256 -25.2704474 10.89799455 -26 6.8125 C-25.35419984 3.19601912 -25.16309544 2.68140529 -22.5625 0.4375 C-15.12845278 -4.51853148 -7.8391035 -3.74204451 0 0 Z "
|
|
72
|
+
fill="#FF908F"
|
|
73
|
+
transform="translate(207.375,215.6875)"
|
|
74
|
+
/>
|
|
75
|
+
<path
|
|
76
|
+
d="M0 0 C4.49129847 3.61494755 4.49129847 3.61494755 5 6.8125 C4.29929463 12.01773989 1.22892347 14.67381377 -2.6875 17.9375 C-7.23133007 19.79633957 -11.77686523 20.03095023 -16.43359375 18.3359375 C-20.33567878 16.27160865 -23.18627961 13.84455026 -25.4375 10.0625 C-26.0625 7.0625 -26.0625 7.0625 -25.4375 4.0625 C-18.48888214 -3.39455332 -8.89711258 -5.01473618 0 0 Z "
|
|
77
|
+
fill="#733A07"
|
|
78
|
+
transform="translate(138.4375,140.9375)"
|
|
79
|
+
/>
|
|
80
|
+
<path
|
|
81
|
+
d="M0 0 C3.49329135 2.44530395 4.73855271 3.77119772 5.625 7.9375 C4.76749694 12.139265 3.07984788 14.05405855 0 17 C-4.71803803 19.35901902 -9.81775747 19.83753415 -15 19 C-18.15679076 17.80956039 -20.61436427 16.39765405 -23 14 C-24.3125 10.5 -24.3125 10.5 -24 7 C-21.04883838 2.67162963 -17.37090484 0.86817603 -12.47265625 -0.5546875 C-8.15829601 -1.33168129 -4.22169117 -1.19884261 0 0 Z "
|
|
82
|
+
fill="#FF908E"
|
|
83
|
+
transform="translate(71,136)"
|
|
84
|
+
/>
|
|
85
|
+
<path
|
|
86
|
+
d="M0 0 C2.80105068 2.45091934 2.96793576 3.7755503 3.5 7.5 C3 11 3 11 0.6875 13.375 C-4.86726142 16.73369295 -10.66789919 16.87945845 -17 16 C-20.53133511 14.17983654 -23.21109058 11.78890942 -26 9 C-26.375 6.25 -26.375 6.25 -26 3 C-19.11438149 -5.3744009 -9.09141884 -4.46596013 0 0 Z "
|
|
87
|
+
fill="#FF908E"
|
|
88
|
+
transform="translate(209,137)"
|
|
89
|
+
/>
|
|
90
|
+
<g class="corgi__eye corgi__eye--left">
|
|
91
|
+
<path
|
|
92
|
+
ref="leftPupilEl"
|
|
93
|
+
d="M0 0 C3.0625 2.0625 3.0625 2.0625 5 5 C5.39499512 7.8065443 5.24211377 10.14305754 5 13 C4.34 13 3.68 13 3 13 C2.773125 13.61875 2.54625 14.2375 2.3125 14.875 C0.55885629 17.71423268 -0.80863187 18.12962687 -4 19 C-8.18651094 19.62352291 -9.67025753 19.20531135 -13.3125 16.9375 C-16.53289137 13.41753734 -17.16653727 11.74631234 -17 7 C-13.02988189 -0.79319481 -8.12410113 -2.19726579 0 0 Z "
|
|
94
|
+
fill="#62340C"
|
|
95
|
+
transform="translate(93,122)"
|
|
96
|
+
/>
|
|
97
|
+
</g>
|
|
98
|
+
<g class="corgi__eye corgi__eye--right">
|
|
99
|
+
<path
|
|
100
|
+
ref="rightPupilEl"
|
|
101
|
+
d="M0 0 C3.87213158 2.40932632 5.88483647 4.53934587 7 9 C6.90735339 11.9646916 5.8165212 13.26910224 4.125 15.75 C0.11598437 18.63649125 -2.61592725 18.72193566 -7.46484375 18.48046875 C-10 18 -10 18 -12.625 15.9375 C-14.26880511 12.42573453 -15 9.89278903 -15 6 C-11.08310528 -0.52815787 -7.29258782 -1.79116192 0 0 Z "
|
|
102
|
+
fill="#5E2D04"
|
|
103
|
+
transform="translate(172,122)"
|
|
104
|
+
/>
|
|
105
|
+
</g>
|
|
106
|
+
<path
|
|
107
|
+
d="M0 0 C5.56818182 0.56818182 5.56818182 0.56818182 7 2 C7.1875 4.4375 7.1875 4.4375 7 7 C5 9 5 9 2.5 9.25 C0 9 0 9 -2 7 C-2.25 4.5 -2.25 4.5 -2 2 C-1.34 1.34 -0.68 0.68 0 0 Z "
|
|
108
|
+
fill="#FF9291"
|
|
109
|
+
transform="translate(223,210)"
|
|
110
|
+
/>
|
|
111
|
+
<path
|
|
112
|
+
d="M0 0 C1.32 0 2.64 0 4 0 C6 3 6 3 5.625 6.1875 C5.41875 7.115625 5.2125 8.04375 5 9 C2.6875 9.6875 2.6875 9.6875 0 10 C-1.875 8.875 -1.875 8.875 -3 7 C-2.75546876 3.65807308 -2.39456443 2.39456443 0 0 Z "
|
|
113
|
+
fill="#FF9392"
|
|
114
|
+
transform="translate(186,198)"
|
|
115
|
+
/>
|
|
116
|
+
<path
|
|
117
|
+
d="M0 0 C1.21755981 0.16495972 1.21755981 0.16495972 2.4597168 0.33325195 C3.34594727 0.43959961 4.23217773 0.54594727 5.14526367 0.65551758 C6.51328125 0.86144531 6.51328125 0.86144531 7.90893555 1.0715332 C8.8402832 1.18948242 9.77163086 1.30743164 10.73120117 1.42895508 C13.0240241 1.72290674 15.31039961 2.0418427 17.59643555 2.3840332 C17.59643555 3.0440332 17.59643555 3.7040332 17.59643555 4.3840332 C5.22143555 4.8790332 5.22143555 4.8790332 -7.40356445 5.3840332 C-2.40356445 0.3840332 -2.40356445 0.3840332 0 0 Z "
|
|
118
|
+
fill="#010000"
|
|
119
|
+
transform="translate(231.403564453125,239.615966796875)"
|
|
120
|
+
/>
|
|
121
|
+
<path
|
|
122
|
+
d="M0 0 C2.33944736 0.28730055 4.6739143 0.61936779 7 1 C7.125 3.875 7.125 3.875 7 7 C6.34 7.66 5.68 8.32 5 9 C1.70285207 8.67028521 0.3773161 8.3773161 -2 6 C-1.44444444 1.44444444 -1.44444444 1.44444444 0 0 Z "
|
|
123
|
+
fill="#FF9392"
|
|
124
|
+
transform="translate(203,201)"
|
|
125
|
+
/>
|
|
126
|
+
<path
|
|
127
|
+
d="M0 0 C4.55555556 0.55555556 4.55555556 0.55555556 6 2 C5.71269945 4.33944736 5.38063221 6.6739143 5 9 C4.01 9.33 3.02 9.66 2 10 C-0.6875 8.5625 -0.6875 8.5625 -3 7 C-2.25 2.25 -2.25 2.25 0 0 Z "
|
|
128
|
+
fill="#FF9492"
|
|
129
|
+
transform="translate(71,198)"
|
|
130
|
+
/>
|
|
131
|
+
<path
|
|
132
|
+
d="M0 0 C5.875 0.875 5.875 0.875 7 2 C7.1875 4.4375 7.1875 4.4375 7 7 C6.34 7.66 5.68 8.32 5 9 C-0.56818182 8.43181818 -0.56818182 8.43181818 -2 7 C-2.04063832 5.33382885 -2.042721 3.66611905 -2 2 C-1.34 2 -0.68 2 0 2 C0 1.34 0 0.68 0 0 Z "
|
|
133
|
+
fill="#FF9291"
|
|
134
|
+
transform="translate(32,210)"
|
|
135
|
+
/>
|
|
136
|
+
<path
|
|
137
|
+
d="M0 0 C2.5625 0.1875 2.5625 0.1875 4.5625 2.1875 C4.1875 5.3125 4.1875 5.3125 3.5625 8.1875 C1.5825 8.5175 -0.3975 8.8475 -2.4375 9.1875 C-4.4375 6.1875 -4.4375 6.1875 -4.125 3.5625 C-3.16420807 0.24340062 -3.16420807 0.24340062 0 0 Z "
|
|
138
|
+
fill="#FF918F"
|
|
139
|
+
transform="translate(54.4375,200.8125)"
|
|
140
|
+
/>
|
|
141
|
+
<path
|
|
142
|
+
d="M0 0 C0.78890625 -0.03738281 1.5778125 -0.07476562 2.390625 -0.11328125 C4.75 0.3125 4.75 0.3125 9.75 4.3125 C1.83 3.9825 -6.09 3.6525 -14.25 3.3125 C-14.25 2.6525 -14.25 1.9925 -14.25 1.3125 C-9.50735929 0.70054636 -4.77962184 0.19376845 0 0 Z "
|
|
143
|
+
fill="#000000"
|
|
144
|
+
transform="translate(27.25,240.6875)"
|
|
145
|
+
/>
|
|
146
|
+
</svg>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
<div class="corgi__field">
|
|
150
|
+
<input
|
|
151
|
+
ref="inputEl"
|
|
152
|
+
class="corgi__input"
|
|
153
|
+
type="text"
|
|
154
|
+
:value="text"
|
|
155
|
+
:placeholder="placeholder"
|
|
156
|
+
:disabled="disabled"
|
|
157
|
+
autocomplete="off"
|
|
158
|
+
@input="onInput"
|
|
159
|
+
@focus="onFocus"
|
|
160
|
+
@blur="onBlur"
|
|
161
|
+
@keydown.enter="emit('enter', text)"
|
|
162
|
+
/>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
</template>
|
|
166
|
+
|
|
167
|
+
<script setup lang="ts">
|
|
168
|
+
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'
|
|
169
|
+
|
|
170
|
+
/*
|
|
171
|
+
* 由 video-code / UI组件/输入框/柯基交互输入框.html 提取而来。
|
|
172
|
+
*
|
|
173
|
+
* 原 demo 是一只盯着鼠标的柯基 SVG(25 条手绘路径,约 30KB),配几段零散的 JS:眼睛跟随指针、
|
|
174
|
+
* 输入时小狗弹一下并冒出思考气泡、点击任意处眨眼。里面用 getElementById 抓节点、按整个视口
|
|
175
|
+
* 计算头部倾角,所以同一页面只能放一只。
|
|
176
|
+
*
|
|
177
|
+
* 组件化后:
|
|
178
|
+
* - 节点全部改成模板 ref / class,多实例互不干扰;
|
|
179
|
+
* - 头部倾角按「指针相对组件自身」归一化,组件放在页面任何位置、整块被缩放都不会跑偏;
|
|
180
|
+
* - 眼睛仍然映射到 SVG 用户坐标(getScreenCTM().inverse()),聚焦时改盯输入框;
|
|
181
|
+
* - 气泡文案、是否跟随指针、眼睛最大偏移、小狗尺寸都能调,输入值走 v-model。
|
|
182
|
+
*/
|
|
183
|
+
const props = defineProps({
|
|
184
|
+
/**
|
|
185
|
+
* @description 输入值,配合 v-model 使用
|
|
186
|
+
*/
|
|
187
|
+
modelValue: {
|
|
188
|
+
type: String,
|
|
189
|
+
default: '',
|
|
190
|
+
},
|
|
191
|
+
/**
|
|
192
|
+
* @description 占位文字
|
|
193
|
+
*/
|
|
194
|
+
placeholder: {
|
|
195
|
+
type: String,
|
|
196
|
+
default: '输入点什么吧~',
|
|
197
|
+
},
|
|
198
|
+
/**
|
|
199
|
+
* @description 输入 1~4 个字时气泡里的话
|
|
200
|
+
*/
|
|
201
|
+
tipShort: {
|
|
202
|
+
type: String,
|
|
203
|
+
default: '在写啥呢...',
|
|
204
|
+
},
|
|
205
|
+
/**
|
|
206
|
+
* @description 输入 5~9 个字时气泡里的话
|
|
207
|
+
*/
|
|
208
|
+
tipMid: {
|
|
209
|
+
type: String,
|
|
210
|
+
default: '汪!写得好~',
|
|
211
|
+
},
|
|
212
|
+
/**
|
|
213
|
+
* @description 输入 10 个字以上时气泡里的话
|
|
214
|
+
*/
|
|
215
|
+
tipLong: {
|
|
216
|
+
type: String,
|
|
217
|
+
default: '写了好多呀~',
|
|
218
|
+
},
|
|
219
|
+
/**
|
|
220
|
+
* @description 是否显示思考气泡
|
|
221
|
+
*/
|
|
222
|
+
bubble: {
|
|
223
|
+
type: Boolean,
|
|
224
|
+
default: true,
|
|
225
|
+
},
|
|
226
|
+
/**
|
|
227
|
+
* @description 眼睛是否跟随指针(关掉就只盯输入框)
|
|
228
|
+
*/
|
|
229
|
+
trackEye: {
|
|
230
|
+
type: Boolean,
|
|
231
|
+
default: true,
|
|
232
|
+
},
|
|
233
|
+
/**
|
|
234
|
+
* @description 眼珠最大偏移量(SVG 用户单位,约 0~10)
|
|
235
|
+
*/
|
|
236
|
+
eyeRange: {
|
|
237
|
+
type: Number,
|
|
238
|
+
default: 6,
|
|
239
|
+
},
|
|
240
|
+
/**
|
|
241
|
+
* @description 小狗宽度,单位 px
|
|
242
|
+
*/
|
|
243
|
+
dogSize: {
|
|
244
|
+
type: Number,
|
|
245
|
+
default: 140,
|
|
246
|
+
},
|
|
247
|
+
/**
|
|
248
|
+
* @description 是否禁用
|
|
249
|
+
*/
|
|
250
|
+
disabled: {
|
|
251
|
+
type: Boolean,
|
|
252
|
+
default: false,
|
|
253
|
+
},
|
|
254
|
+
})
|
|
255
|
+
|
|
256
|
+
const emit = defineEmits<{
|
|
257
|
+
'update:modelValue': [value: string]
|
|
258
|
+
enter: [value: string]
|
|
259
|
+
focus: [event: FocusEvent]
|
|
260
|
+
blur: [event: FocusEvent]
|
|
261
|
+
wink: []
|
|
262
|
+
}>()
|
|
263
|
+
|
|
264
|
+
const svgEl = ref<SVGSVGElement | null>(null)
|
|
265
|
+
const inputEl = ref<HTMLInputElement | null>(null)
|
|
266
|
+
const leftPupilEl = ref<SVGGraphicsElement | null>(null)
|
|
267
|
+
const rightPupilEl = ref<SVGGraphicsElement | null>(null)
|
|
268
|
+
|
|
269
|
+
const text = ref(props.modelValue)
|
|
270
|
+
const focused = ref(false)
|
|
271
|
+
const bouncing = ref(false)
|
|
272
|
+
const bubbleVisible = ref(false)
|
|
273
|
+
const bubbleText = ref('')
|
|
274
|
+
|
|
275
|
+
/** SVG 里两只眼睛的中心(用户单位),和原 demo 的常量一致 */
|
|
276
|
+
const LEFT_EYE = { x: 93, y: 122 }
|
|
277
|
+
const RIGHT_EYE = { x: 172, y: 122 }
|
|
278
|
+
/** 聚焦时眼睛看向输入框内部的点 */
|
|
279
|
+
const LOOK_AT_INPUT = { x: 128, y: 210 }
|
|
280
|
+
const SMOOTHING = 0.08
|
|
281
|
+
|
|
282
|
+
const rootEl = ref<HTMLElement | null>(null)
|
|
283
|
+
const pointer = { x: 0, y: 0 }
|
|
284
|
+
const pupil = {
|
|
285
|
+
left: { ...LEFT_EYE },
|
|
286
|
+
right: { ...RIGHT_EYE },
|
|
287
|
+
}
|
|
288
|
+
const head = ref({ x: 0, y: 0 })
|
|
289
|
+
|
|
290
|
+
let rafId = 0
|
|
291
|
+
let bubbleTimer: ReturnType<typeof setTimeout> | null = null
|
|
292
|
+
let bounceTimer: ReturnType<typeof setTimeout> | null = null
|
|
293
|
+
let winkTimer: ReturnType<typeof setTimeout> | null = null
|
|
294
|
+
|
|
295
|
+
const rootStyle = computed(() => ({
|
|
296
|
+
'--corgi-dog': `${props.dogSize}px`,
|
|
297
|
+
}))
|
|
298
|
+
|
|
299
|
+
const dogStyle = computed(() => ({
|
|
300
|
+
transform: `rotateX(${head.value.x.toFixed(2)}deg) rotateY(${head.value.y.toFixed(2)}deg)`,
|
|
301
|
+
}))
|
|
302
|
+
|
|
303
|
+
watch(
|
|
304
|
+
() => props.modelValue,
|
|
305
|
+
(value) => {
|
|
306
|
+
if (value !== text.value) text.value = value
|
|
307
|
+
},
|
|
308
|
+
)
|
|
309
|
+
|
|
310
|
+
function onMouseMove(event: MouseEvent) {
|
|
311
|
+
pointer.x = event.clientX
|
|
312
|
+
pointer.y = event.clientY
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/** 把视口坐标换算成当前 SVG 的用户坐标 */
|
|
316
|
+
function toSvgPoint(clientX: number, clientY: number) {
|
|
317
|
+
const svg = svgEl.value
|
|
318
|
+
if (!svg || typeof svg.createSVGPoint !== 'function') return { x: 128, y: 128 }
|
|
319
|
+
const point = svg.createSVGPoint()
|
|
320
|
+
point.x = clientX
|
|
321
|
+
point.y = clientY
|
|
322
|
+
const matrix = svg.getScreenCTM()
|
|
323
|
+
if (!matrix) return { x: 128, y: 128 }
|
|
324
|
+
const local = point.matrixTransform(matrix.inverse())
|
|
325
|
+
return { x: local.x, y: local.y }
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
function clamp(value: number, min: number, max: number) {
|
|
329
|
+
return Math.min(max, Math.max(min, value))
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/** 两只眼睛的常量(每帧复用,避免在 rAF 里反复建数组) */
|
|
333
|
+
const EYES = [
|
|
334
|
+
{ center: LEFT_EYE, key: 'left' as const, el: leftPupilEl },
|
|
335
|
+
{ center: RIGHT_EYE, key: 'right' as const, el: rightPupilEl },
|
|
336
|
+
]
|
|
337
|
+
|
|
338
|
+
function frame() {
|
|
339
|
+
const root = rootEl.value
|
|
340
|
+
if (root) {
|
|
341
|
+
const rect = root.getBoundingClientRect()
|
|
342
|
+
if (rect.width && rect.height) {
|
|
343
|
+
// 相对组件自身的归一化偏移(-1 ~ 1),比原 demo 的整屏归一化更稳
|
|
344
|
+
const nx = clamp((pointer.x - (rect.left + rect.width / 2)) / (rect.width / 2), -1, 1)
|
|
345
|
+
const ny = clamp((pointer.y - (rect.top + rect.height / 2)) / (rect.height / 2), -1, 1)
|
|
346
|
+
head.value = { x: ny * -10, y: nx * 10 }
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
const target =
|
|
351
|
+
focused.value || !props.trackEye
|
|
352
|
+
? focused.value
|
|
353
|
+
? LOOK_AT_INPUT
|
|
354
|
+
: { x: 128, y: 128 }
|
|
355
|
+
: toSvgPoint(pointer.x, pointer.y)
|
|
356
|
+
|
|
357
|
+
const range = Math.max(0, props.eyeRange)
|
|
358
|
+
|
|
359
|
+
EYES.forEach(({ center, key, el }) => {
|
|
360
|
+
const dx = target.x - center.x
|
|
361
|
+
const dy = target.y - center.y
|
|
362
|
+
const distance = Math.hypot(dx, dy)
|
|
363
|
+
const angle = Math.atan2(dy, dx)
|
|
364
|
+
const goalX = center.x + Math.cos(angle) * Math.min(distance, range)
|
|
365
|
+
const goalY = center.y + Math.sin(angle) * Math.min(distance, range)
|
|
366
|
+
|
|
367
|
+
pupil[key].x += (goalX - pupil[key].x) * SMOOTHING
|
|
368
|
+
pupil[key].y += (goalY - pupil[key].y) * SMOOTHING
|
|
369
|
+
el.value?.setAttribute('transform', `translate(${pupil[key].x}, ${pupil[key].y})`)
|
|
370
|
+
})
|
|
371
|
+
|
|
372
|
+
rafId = requestAnimationFrame(frame)
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
function onInput(event: Event) {
|
|
376
|
+
text.value = (event.target as HTMLInputElement).value
|
|
377
|
+
emit('update:modelValue', text.value)
|
|
378
|
+
|
|
379
|
+
const length = text.value.length
|
|
380
|
+
if (props.bubble) {
|
|
381
|
+
if (length >= 10) bubbleText.value = props.tipLong
|
|
382
|
+
else if (length >= 5) bubbleText.value = props.tipMid
|
|
383
|
+
else bubbleText.value = props.tipShort
|
|
384
|
+
|
|
385
|
+
bubbleVisible.value = true
|
|
386
|
+
if (bubbleTimer) clearTimeout(bubbleTimer)
|
|
387
|
+
bubbleTimer = setTimeout(() => {
|
|
388
|
+
bubbleVisible.value = false
|
|
389
|
+
}, 1800)
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
bouncing.value = true
|
|
393
|
+
if (bounceTimer) clearTimeout(bounceTimer)
|
|
394
|
+
bounceTimer = setTimeout(() => {
|
|
395
|
+
bouncing.value = false
|
|
396
|
+
}, 420)
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
function onFocus(event: FocusEvent) {
|
|
400
|
+
focused.value = true
|
|
401
|
+
emit('focus', event)
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
function onBlur(event: FocusEvent) {
|
|
405
|
+
focused.value = false
|
|
406
|
+
bubbleVisible.value = false
|
|
407
|
+
bubbleText.value = ''
|
|
408
|
+
emit('blur', event)
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/** 点击组件任意处眨眼(和原 demo 一致) */
|
|
412
|
+
function wink() {
|
|
413
|
+
const left = svgEl.value?.querySelector('.corgi__eye--left')
|
|
414
|
+
const right = svgEl.value?.querySelector('.corgi__eye--right')
|
|
415
|
+
if (!left || !right || left.classList.contains('is-wink')) return
|
|
416
|
+
|
|
417
|
+
left.classList.add('is-wink')
|
|
418
|
+
right.classList.add('is-wink')
|
|
419
|
+
emit('wink')
|
|
420
|
+
|
|
421
|
+
if (winkTimer) clearTimeout(winkTimer)
|
|
422
|
+
winkTimer = setTimeout(() => {
|
|
423
|
+
left.classList.remove('is-wink')
|
|
424
|
+
right.classList.remove('is-wink')
|
|
425
|
+
}, 300)
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
function onVisibilityChange() {
|
|
429
|
+
if (document.hidden) {
|
|
430
|
+
if (rafId) cancelAnimationFrame(rafId)
|
|
431
|
+
rafId = 0
|
|
432
|
+
} else if (!rafId) {
|
|
433
|
+
rafId = requestAnimationFrame(frame)
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
onMounted(() => {
|
|
438
|
+
pointer.x = window.innerWidth / 2
|
|
439
|
+
pointer.y = window.innerHeight / 2
|
|
440
|
+
window.addEventListener('mousemove', onMouseMove)
|
|
441
|
+
document.addEventListener('visibilitychange', onVisibilityChange)
|
|
442
|
+
rafId = requestAnimationFrame(frame)
|
|
443
|
+
})
|
|
444
|
+
|
|
445
|
+
onBeforeUnmount(() => {
|
|
446
|
+
window.removeEventListener('mousemove', onMouseMove)
|
|
447
|
+
document.removeEventListener('visibilitychange', onVisibilityChange)
|
|
448
|
+
if (rafId) cancelAnimationFrame(rafId)
|
|
449
|
+
;[bubbleTimer, bounceTimer, winkTimer].forEach((timer) => timer && clearTimeout(timer))
|
|
450
|
+
})
|
|
451
|
+
|
|
452
|
+
defineExpose({ focus: () => inputEl.value?.focus(), wink })
|
|
453
|
+
</script>
|
|
454
|
+
|
|
455
|
+
<style scoped>
|
|
456
|
+
.corgi {
|
|
457
|
+
display: flex;
|
|
458
|
+
flex-direction: column;
|
|
459
|
+
align-items: center;
|
|
460
|
+
width: 100%;
|
|
461
|
+
max-width: 340px;
|
|
462
|
+
perspective: 1000px;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.corgi__dog {
|
|
466
|
+
position: relative;
|
|
467
|
+
z-index: 1;
|
|
468
|
+
width: var(--corgi-dog, 140px);
|
|
469
|
+
margin-bottom: -15px;
|
|
470
|
+
transition: transform 0.3s ease-out;
|
|
471
|
+
transform-style: preserve-3d;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.corgi__dog.is-bounce {
|
|
475
|
+
animation: corgi-bounce 0.4s ease-out;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.corgi__face {
|
|
479
|
+
display: block;
|
|
480
|
+
width: 100%;
|
|
481
|
+
height: auto;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/* 眼睛组的旋转中心(SVG 用户坐标) */
|
|
485
|
+
.corgi__eye--left {
|
|
486
|
+
transform-origin: 93px 122px;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.corgi__eye--right {
|
|
490
|
+
transform-origin: 172px 122px;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.corgi__eye--left.is-wink,
|
|
494
|
+
.corgi__eye--right.is-wink {
|
|
495
|
+
animation: corgi-wink 0.3s ease-in-out;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.corgi__bubble {
|
|
499
|
+
position: absolute;
|
|
500
|
+
z-index: 2;
|
|
501
|
+
top: -8px;
|
|
502
|
+
left: 50%;
|
|
503
|
+
padding: 6px 12px;
|
|
504
|
+
border: 2px solid #e8d5c4;
|
|
505
|
+
border-radius: 12px;
|
|
506
|
+
background: #fff;
|
|
507
|
+
box-shadow: 0 2px 8px rgba(137, 65, 1, 0.12);
|
|
508
|
+
color: #894101;
|
|
509
|
+
font-size: 13px;
|
|
510
|
+
white-space: nowrap;
|
|
511
|
+
opacity: 0;
|
|
512
|
+
pointer-events: none;
|
|
513
|
+
transform: translate(-50%, -100%);
|
|
514
|
+
transition:
|
|
515
|
+
opacity 0.2s ease,
|
|
516
|
+
transform 0.2s ease;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.corgi__bubble::after {
|
|
520
|
+
content: '';
|
|
521
|
+
position: absolute;
|
|
522
|
+
bottom: -8px;
|
|
523
|
+
left: 50%;
|
|
524
|
+
margin-left: -6px;
|
|
525
|
+
border: 6px solid transparent;
|
|
526
|
+
border-top-color: #fff;
|
|
527
|
+
border-bottom: none;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.corgi__bubble.is-show {
|
|
531
|
+
opacity: 1;
|
|
532
|
+
transform: translate(-50%, -100%) scale(1);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.corgi__field {
|
|
536
|
+
position: relative;
|
|
537
|
+
z-index: 0;
|
|
538
|
+
width: 100%;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.corgi__input {
|
|
542
|
+
width: 100%;
|
|
543
|
+
box-sizing: border-box;
|
|
544
|
+
padding: 14px 18px;
|
|
545
|
+
border: 2px solid #e8d5c4;
|
|
546
|
+
border-radius: 16px;
|
|
547
|
+
background: #fff;
|
|
548
|
+
color: #333;
|
|
549
|
+
font-family: inherit;
|
|
550
|
+
font-size: 16px;
|
|
551
|
+
outline: none;
|
|
552
|
+
transition:
|
|
553
|
+
border-color 0.2s ease,
|
|
554
|
+
box-shadow 0.2s ease;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.corgi__input::placeholder {
|
|
558
|
+
color: #aaa;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.corgi__input:focus {
|
|
562
|
+
border-color: #894101;
|
|
563
|
+
box-shadow: 0 0 0 3px rgba(137, 65, 1, 0.15);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.corgi__input:disabled {
|
|
567
|
+
background: #f7f3ee;
|
|
568
|
+
color: #b3a191;
|
|
569
|
+
cursor: not-allowed;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
@keyframes corgi-wink {
|
|
573
|
+
0%,
|
|
574
|
+
100% {
|
|
575
|
+
transform: scaleY(1);
|
|
576
|
+
}
|
|
577
|
+
50% {
|
|
578
|
+
transform: scaleY(0.2);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
@keyframes corgi-bounce {
|
|
583
|
+
0%,
|
|
584
|
+
100% {
|
|
585
|
+
transform: translateY(0) scale(1);
|
|
586
|
+
}
|
|
587
|
+
30% {
|
|
588
|
+
transform: translateY(-6px) scale(1.05);
|
|
589
|
+
}
|
|
590
|
+
60% {
|
|
591
|
+
transform: translateY(2px) scale(0.98);
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
@media (prefers-reduced-motion: reduce) {
|
|
596
|
+
.corgi__dog,
|
|
597
|
+
.corgi__dog.is-bounce,
|
|
598
|
+
.corgi__eye--left.is-wink,
|
|
599
|
+
.corgi__eye--right.is-wink {
|
|
600
|
+
animation: none;
|
|
601
|
+
transition: none;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
</style>
|