uomtiles 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +15 -0
- package/.output/public/_nuxt/1d1PDhA4.js +1 -0
- package/.output/public/_nuxt/3B2XYGg4.js +1 -0
- package/.output/public/_nuxt/981KwFWf.js +1 -0
- package/.output/public/_nuxt/B30dSvM4.js +1 -0
- package/.output/public/_nuxt/BN1Gp4Dm.js +1 -0
- package/.output/public/_nuxt/BQlj8Xoe.js +6 -0
- package/.output/public/_nuxt/BRkljK8J.js +1 -0
- package/.output/public/_nuxt/BSdHYVlE2.js +1 -0
- package/.output/public/_nuxt/B_MqTg2k2.js +1 -0
- package/.output/public/_nuxt/BiWblTbb2.js +64 -0
- package/.output/public/_nuxt/BrPwntMr.js +1 -0
- package/.output/public/_nuxt/BskybydR.js +1 -0
- package/.output/public/_nuxt/ByRlKR9F.js +1 -0
- package/.output/public/_nuxt/C0Zdl2EE2.js +1 -0
- package/.output/public/_nuxt/C4qlzA4o.js +1 -0
- package/.output/public/_nuxt/C7HxHbxA.js +1 -0
- package/.output/public/_nuxt/C97TfNgP.js +3 -0
- package/.output/public/_nuxt/CNs_Ozdc.js +1 -0
- package/.output/public/_nuxt/CPuhwLY1.js +1 -0
- package/.output/public/_nuxt/CVE291Pi.js +1 -0
- package/.output/public/_nuxt/C_0VY3Cv2.js +4 -0
- package/.output/public/_nuxt/Ce26t8_Y.js +1 -0
- package/.output/public/_nuxt/CfW544W5.js +1 -0
- package/.output/public/_nuxt/CgMd2Y5s.js +2 -0
- package/.output/public/_nuxt/CgdzV712.js +1 -0
- package/.output/public/_nuxt/D1wVNWS0.js +1 -0
- package/.output/public/_nuxt/DC3bhq63.js +1 -0
- package/.output/public/_nuxt/DK3Fl9T5.js +1 -0
- package/.output/public/_nuxt/DL1MZZLI.js +1 -0
- package/.output/public/_nuxt/DXm-42Fi.js +1 -0
- package/.output/public/_nuxt/Djg3Kzfv.js +1 -0
- package/.output/public/_nuxt/DkcySee1.js +1 -0
- package/.output/public/_nuxt/DmN-PKW1.js +1 -0
- package/.output/public/_nuxt/DtFVCXI9.js +1 -0
- package/.output/public/_nuxt/Dz7VMlHR.js +1 -0
- package/.output/public/_nuxt/NL65vbjG2.js +1 -0
- package/.output/public/_nuxt/Oxy7pKSk.js +3 -0
- package/.output/public/_nuxt/Pik8or8N2.js +1 -0
- package/.output/public/_nuxt/XZ59tThl.js +1 -0
- package/.output/public/_nuxt/ZpWjFsgV.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/9f85104e-738d-4a74-8daa-40b136ce17d5.json +1 -0
- package/.output/public/_nuxt/dXz6dFgW2.js +1 -0
- package/.output/public/_nuxt/entry.P6tFNE31.css +1 -0
- package/.output/public/_nuxt/error-404.Biv0P6cJ.css +1 -0
- package/.output/public/_nuxt/error-500.8ok468rV.css +1 -0
- package/.output/public/_nuxt/j0MRD-c3.js +1 -0
- package/.output/public/_nuxt/local-pixel-diff.worker-C6RdZoCq.js +2 -0
- package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +6 -0
- package/.output/public/_nuxt/nearest-area.worker-iSLH0Y_s.js +2 -0
- package/.output/public/_nuxt/q7DkoVkj.js +828 -0
- package/.output/public/_nuxt/raster-tile.worker-BFlOgJig.js +2 -0
- package/.output/public/_nuxt/services._3nQizF8.css +1 -0
- package/.output/public/_nuxt/sql-wasm.DfANybxk.wasm +0 -0
- package/.output/public/_nuxt/tile-diff.worker-CvWWI_eu.js +1 -0
- package/.output/public/_nuxt/zZ1EGR7Y.js +1 -0
- package/.output/public/apple-touch-icon.png +0 -0
- package/.output/public/favicon.ico +0 -0
- package/.output/public/favicon.svg +8 -0
- package/.output/public/icon-192.png +0 -0
- package/.output/public/icon-512.png +0 -0
- package/.output/public/site.webmanifest +11 -0
- package/.output/server/chunks/_/config.mjs +208 -0
- package/.output/server/chunks/_/config.mjs.map +1 -0
- package/.output/server/chunks/_/data-directory.mjs +24 -0
- package/.output/server/chunks/_/data-directory.mjs.map +1 -0
- package/.output/server/chunks/_/error-500.mjs +20 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/_/file-workspace.mjs +910 -0
- package/.output/server/chunks/_/file-workspace.mjs.map +1 -0
- package/.output/server/chunks/_/icons.mjs +6269 -0
- package/.output/server/chunks/_/icons.mjs.map +1 -0
- package/.output/server/chunks/_/map-service.mjs +233 -0
- package/.output/server/chunks/_/map-service.mjs.map +1 -0
- package/.output/server/chunks/_/missing-tile.mjs +104 -0
- package/.output/server/chunks/_/missing-tile.mjs.map +1 -0
- package/.output/server/chunks/_/pixel-diff.mjs +78 -0
- package/.output/server/chunks/_/pixel-diff.mjs.map +1 -0
- package/.output/server/chunks/_/uom-auth.mjs +334 -0
- package/.output/server/chunks/_/uom-auth.mjs.map +1 -0
- package/.output/server/chunks/_/uom-map.mjs +265 -0
- package/.output/server/chunks/_/uom-map.mjs.map +1 -0
- package/.output/server/chunks/build/Alert-0ngTJXxP.mjs +5076 -0
- package/.output/server/chunks/build/Alert-0ngTJXxP.mjs.map +1 -0
- package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs +569 -0
- package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs.map +1 -0
- package/.output/server/chunks/build/Empty-CkW3mADt.mjs +359 -0
- package/.output/server/chunks/build/Empty-CkW3mADt.mjs.map +1 -0
- package/.output/server/chunks/build/FocusScope-Cf0lg0zt.mjs +207 -0
- package/.output/server/chunks/build/FocusScope-Cf0lg0zt.mjs.map +1 -0
- package/.output/server/chunks/build/FormField-CEUZHcv7.mjs +278 -0
- package/.output/server/chunks/build/FormField-CEUZHcv7.mjs.map +1 -0
- package/.output/server/chunks/build/Input-BeNavYXb.mjs +592 -0
- package/.output/server/chunks/build/Input-BeNavYXb.mjs.map +1 -0
- package/.output/server/chunks/build/MapBaseLayerTabs-4445J6yh.mjs +2003 -0
- package/.output/server/chunks/build/MapBaseLayerTabs-4445J6yh.mjs.map +1 -0
- package/.output/server/chunks/build/Modal-DNZtVxca.mjs +1326 -0
- package/.output/server/chunks/build/Modal-DNZtVxca.mjs.map +1 -0
- package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs +146 -0
- package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs.map +1 -0
- package/.output/server/chunks/build/Pagination-CDHx4HTZ.mjs +1025 -0
- package/.output/server/chunks/build/Pagination-CDHx4HTZ.mjs.map +1 -0
- package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs +2066 -0
- package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs.map +1 -0
- package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs +379 -0
- package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs.map +1 -0
- package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs +1087 -0
- package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs.map +1 -0
- package/.output/server/chunks/build/Tooltip-CkpSktvJ.mjs +1345 -0
- package/.output/server/chunks/build/Tooltip-CkpSktvJ.mjs.map +1 -0
- package/.output/server/chunks/build/_virtual_public-CeOptKUP.mjs +7 -0
- package/.output/server/chunks/build/_virtual_public-CeOptKUP.mjs.map +1 -0
- package/.output/server/chunks/build/advanced-D1onodoF.mjs +1430 -0
- package/.output/server/chunks/build/advanced-D1onodoF.mjs.map +1 -0
- package/.output/server/chunks/build/compare-DmSAW8oA.mjs +1093 -0
- package/.output/server/chunks/build/compare-DmSAW8oA.mjs.map +1 -0
- package/.output/server/chunks/build/dashboard-BJxrZ19n.mjs +3217 -0
- package/.output/server/chunks/build/dashboard-BJxrZ19n.mjs.map +1 -0
- package/.output/server/chunks/build/details-CBMqXYyo.mjs +3714 -0
- package/.output/server/chunks/build/details-CBMqXYyo.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +86 -0
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.DciiguV6.mjs +9 -0
- package/.output/server/chunks/build/error-404-styles.DciiguV6.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +74 -0
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.C562DYMR.mjs +9 -0
- package/.output/server/chunks/build/error-500-styles.C562DYMR.mjs.map +1 -0
- package/.output/server/chunks/build/esm-Dp2lJXbp.mjs +1121 -0
- package/.output/server/chunks/build/esm-Dp2lJXbp.mjs.map +1 -0
- package/.output/server/chunks/build/interval-BxUMpo78.mjs +411 -0
- package/.output/server/chunks/build/interval-BxUMpo78.mjs.map +1 -0
- package/.output/server/chunks/build/login-lbtjN0MV.mjs +642 -0
- package/.output/server/chunks/build/login-lbtjN0MV.mjs.map +1 -0
- package/.output/server/chunks/build/pages-Ba0Eixbd.mjs +220 -0
- package/.output/server/chunks/build/pages-Ba0Eixbd.mjs.map +1 -0
- package/.output/server/chunks/build/services-DuJwjAB8.mjs +3005 -0
- package/.output/server/chunks/build/services-DuJwjAB8.mjs.map +1 -0
- package/.output/server/chunks/build/services-styles.eoO16BY9.mjs +9 -0
- package/.output/server/chunks/build/services-styles.eoO16BY9.mjs.map +1 -0
- package/.output/server/chunks/build/tasks-CyN9x492.mjs +915 -0
- package/.output/server/chunks/build/tasks-CyN9x492.mjs.map +1 -0
- package/.output/server/chunks/build/tasks-D_Q5EDnn.mjs +87 -0
- package/.output/server/chunks/build/tasks-D_Q5EDnn.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +6215 -0
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/captcha.post.mjs +21 -0
- package/.output/server/chunks/routes/api/auth/captcha.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/login.post.mjs +27 -0
- package/.output/server/chunks/routes/api/auth/login.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/logout.post.mjs +22 -0
- package/.output/server/chunks/routes/api/auth/logout.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/map-token.post.mjs +22 -0
- package/.output/server/chunks/routes/api/auth/map-token.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs +31 -0
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auth/status.get.mjs +21 -0
- package/.output/server/chunks/routes/api/auth/status.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs +44 -0
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/live/status.get.mjs +32 -0
- package/.output/server/chunks/routes/api/map/live/status.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +48 -0
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +46 -0
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map-service/config.post.mjs +38 -0
- package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map-service/file.post.mjs +41 -0
- package/.output/server/chunks/routes/api/map-service/file.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map-service/source.post.mjs +35 -0
- package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map-service/status.get.mjs +32 -0
- package/.output/server/chunks/routes/api/map-service/status.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +47 -0
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +38 -0
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +42 -0
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +48 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +45 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +32 -0
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +38 -0
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs +33 -0
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +33 -0
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/files.get.mjs +27 -0
- package/.output/server/chunks/routes/api/workspace/files.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/files.post.mjs +38 -0
- package/.output/server/chunks/routes/api/workspace/files.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs +32 -0
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +36 -0
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +422 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/routes/services/wms.get.mjs +54 -0
- package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -0
- package/.output/server/chunks/routes/services/wmts.get.mjs +54 -0
- package/.output/server/chunks/routes/services/wmts.get.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/chunks/virtual/entry.mjs +18545 -0
- package/.output/server/chunks/virtual/entry.mjs.map +1 -0
- package/.output/server/chunks/virtual/precomputed.mjs +4 -0
- package/.output/server/chunks/virtual/precomputed.mjs.map +1 -0
- package/.output/server/chunks/virtual/styles.mjs +10 -0
- package/.output/server/chunks/virtual/styles.mjs.map +1 -0
- package/.output/server/index.mjs +12 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14611 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +295 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +701 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +75 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +39 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +47 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +128 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +19 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +13 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +17 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +78 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +100 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +58 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +48 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +203 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +132 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +165 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +79 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +92 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +76 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +66 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +45 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +103 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +36 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +92 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +62 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +57 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +12 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +125 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +19 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +25 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +36 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +91 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +46 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +42 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +123 -0
- package/.output/server/node_modules/@iconify/utils/lib/index.js +52 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +105 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +9 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +113 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +31 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +13 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +9 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +41 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +67 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +54 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +7 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +8 -0
- package/.output/server/node_modules/@iconify/utils/package.json +119 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6801 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +692 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1420 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1903 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6976 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1841 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +904 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +609 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/.output/server/node_modules/consola/dist/core.mjs +512 -0
- package/.output/server/node_modules/consola/dist/index.mjs +651 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/.output/server/node_modules/consola/package.json +136 -0
- package/.output/server/node_modules/devalue/index.js +17 -0
- package/.output/server/node_modules/devalue/package.json +39 -0
- package/.output/server/node_modules/devalue/src/base64.js +60 -0
- package/.output/server/node_modules/devalue/src/constants.js +12 -0
- package/.output/server/node_modules/devalue/src/operations.js +193 -0
- package/.output/server/node_modules/devalue/src/parse.js +270 -0
- package/.output/server/node_modules/devalue/src/stringify.js +428 -0
- package/.output/server/node_modules/devalue/src/uneval.js +582 -0
- package/.output/server/node_modules/devalue/src/utils.js +185 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +120 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/fflate/esm/index.mjs +2710 -0
- package/.output/server/node_modules/fflate/package.json +128 -0
- package/.output/server/node_modules/fnv1a-64/dist/index.mjs +95 -0
- package/.output/server/node_modules/fnv1a-64/package.json +75 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
- package/.output/server/node_modules/hookable/package.json +53 -0
- package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +19 -0
- package/.output/server/node_modules/nostics/dist/index.mjs +187 -0
- package/.output/server/node_modules/nostics/package.json +125 -0
- package/.output/server/node_modules/object-identity/index.js +60 -0
- package/.output/server/node_modules/object-identity/package.json +40 -0
- package/.output/server/node_modules/p-limit/index.js +104 -0
- package/.output/server/node_modules/p-limit/package.json +58 -0
- package/.output/server/node_modules/pmtiles/dist/esm/index.js +2 -0
- package/.output/server/node_modules/pmtiles/package.json +50 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/tailwindcss/dist/chunk-DCG7AFIE.mjs +1 -0
- package/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
- package/.output/server/node_modules/tailwindcss/package.json +89 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/client.mjs +22 -0
- package/.output/server/node_modules/unhead/dist/index.mjs +52 -0
- package/.output/server/node_modules/unhead/dist/legacy.mjs +33 -0
- package/.output/server/node_modules/unhead/dist/minify.mjs +183 -0
- package/.output/server/node_modules/unhead/dist/parser.mjs +518 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +631 -0
- package/.output/server/node_modules/unhead/dist/scripts.node.mjs +6 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +99 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +673 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +47 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +192 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +67 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BdK3SLPN.mjs +585 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +6 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +17 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.C3b2Ipoj.mjs +223 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +32 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +7 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +27 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CfKy3Kuq.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +59 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +400 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.MC5RsXLj.mjs +19 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +264 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +240 -0
- package/.output/server/node_modules/unhead/dist/stream/client.mjs +28 -0
- package/.output/server/node_modules/unhead/dist/stream/iife.mjs +2 -0
- package/.output/server/node_modules/unhead/dist/stream/server.mjs +264 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +7 -0
- package/.output/server/node_modules/unhead/package.json +179 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +278 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +54 -0
- package/.output/server/node_modules/yocto-queue/index.js +90 -0
- package/.output/server/node_modules/yocto-queue/package.json +48 -0
- package/.output/server/node_modules/zod/index.js +4 -0
- package/.output/server/node_modules/zod/package.json +135 -0
- package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
- package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
- package/.output/server/node_modules/zod/v4/classic/compat.js +31 -0
- package/.output/server/node_modules/zod/v4/classic/errors.js +48 -0
- package/.output/server/node_modules/zod/v4/classic/external.js +20 -0
- package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
- package/.output/server/node_modules/zod/v4/classic/package.json +7 -0
- package/.output/server/node_modules/zod/v4/classic/parse.js +15 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/.output/server/node_modules/zod/v4/core/api.js +1087 -0
- package/.output/server/node_modules/zod/v4/core/checks.js +575 -0
- package/.output/server/node_modules/zod/v4/core/core.js +78 -0
- package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
- package/.output/server/node_modules/zod/v4/core/errors.js +185 -0
- package/.output/server/node_modules/zod/v4/core/index.js +16 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
- package/.output/server/node_modules/zod/v4/core/package.json +7 -0
- package/.output/server/node_modules/zod/v4/core/parse.js +93 -0
- package/.output/server/node_modules/zod/v4/core/regexes.js +139 -0
- package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
- package/.output/server/node_modules/zod/v4/core/schemas.js +2239 -0
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/.output/server/node_modules/zod/v4/core/util.js +674 -0
- package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ar.js +106 -0
- package/.output/server/node_modules/zod/v4/locales/az.js +105 -0
- package/.output/server/node_modules/zod/v4/locales/be.js +156 -0
- package/.output/server/node_modules/zod/v4/locales/bg.js +120 -0
- package/.output/server/node_modules/zod/v4/locales/ca.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/cs.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/da.js +115 -0
- package/.output/server/node_modules/zod/v4/locales/de.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/el.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/en.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/eo.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/es.js +132 -0
- package/.output/server/node_modules/zod/v4/locales/fa.js +114 -0
- package/.output/server/node_modules/zod/v4/locales/fi.js +112 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/fr.js +125 -0
- package/.output/server/node_modules/zod/v4/locales/he.js +214 -0
- package/.output/server/node_modules/zod/v4/locales/hr.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/hu.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/hy.js +147 -0
- package/.output/server/node_modules/zod/v4/locales/id.js +106 -0
- package/.output/server/node_modules/zod/v4/locales/index.js +52 -0
- package/.output/server/node_modules/zod/v4/locales/is.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/it.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ja.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/ka.js +112 -0
- package/.output/server/node_modules/zod/v4/locales/kh.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/km.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/ko.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/lt.js +203 -0
- package/.output/server/node_modules/zod/v4/locales/mk.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/ms.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/nl.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/no.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ota.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/package.json +7 -0
- package/.output/server/node_modules/zod/v4/locales/pl.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/ps.js +114 -0
- package/.output/server/node_modules/zod/v4/locales/pt.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ro.js +119 -0
- package/.output/server/node_modules/zod/v4/locales/ru.js +156 -0
- package/.output/server/node_modules/zod/v4/locales/sl.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/sv.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/ta.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/th.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/tr.js +105 -0
- package/.output/server/node_modules/zod/v4/locales/ua.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/uk.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/ur.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/uz.js +110 -0
- package/.output/server/node_modules/zod/v4/locales/vi.js +108 -0
- package/.output/server/node_modules/zod/v4/locales/yo.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/.output/server/package.json +37 -0
- package/LICENSE +3 -0
- package/README.md +125 -0
- package/dist/src/bbox.js +55 -0
- package/dist/src/cli.js +255 -0
- package/dist/src/config.js +56 -0
- package/dist/src/core/fetch-process.js +19 -0
- package/dist/src/core/grid-renderer.js +149 -0
- package/dist/src/core/lease.js +103 -0
- package/dist/src/core/paths.js +13 -0
- package/dist/src/core/png.js +192 -0
- package/dist/src/core/raster-style.js +33 -0
- package/dist/src/core/uomtiles.js +307 -0
- package/dist/src/fetcher.js +208 -0
- package/dist/src/geographic-grid.js +162 -0
- package/dist/src/grid-crawl.js +478 -0
- package/dist/src/mask-image.js +16 -0
- package/dist/src/official-grid.js +51 -0
- package/dist/src/quality.js +30 -0
- package/dist/src/token.js +206 -0
- package/package.json +68 -0
- package/public/apple-touch-icon.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.svg +8 -0
- package/public/icon-192.png +0 -0
- package/public/icon-512.png +0 -0
- package/public/site.webmanifest +11 -0
|
@@ -0,0 +1,642 @@
|
|
|
1
|
+
import { u as useSeoMeta$1, a as useToast, b as _sfc_main$4, _ as _sfc_main$5, $ as $fetch$1, ag as clearNuxtData, ah as navigateTo, d as useComponentProps, f as useAppConfig, t as tv, ai as fieldGroupInjectionKey, P as Primitive } from '../virtual/entry.mjs';
|
|
2
|
+
import { _ as _sfc_main$2 } from './FormField-CEUZHcv7.mjs';
|
|
3
|
+
import { _ as _virtual_public__2Ffavicon_default } from './_virtual_public-CeOptKUP.mjs';
|
|
4
|
+
import { _ as _sfc_main$3 } from './Input-BeNavYXb.mjs';
|
|
5
|
+
import { _ as _sfc_main$1, s as setInterval } from './interval-BxUMpo78.mjs';
|
|
6
|
+
import { defineComponent, reactive, ref, mergeProps, unref, withCtx, createVNode, openBlock, createBlock, createTextVNode, toDisplayString, computed, provide, renderSlot, useSSRContext } from 'vue';
|
|
7
|
+
import { ssrRenderAttrs, ssrRenderAttr, ssrRenderComponent, ssrInterpolate, ssrRenderSlot } from 'vue/server-renderer';
|
|
8
|
+
import { z } from 'zod';
|
|
9
|
+
import 'unhead/plugins';
|
|
10
|
+
import 'unhead/utils';
|
|
11
|
+
import '../routes/renderer.mjs';
|
|
12
|
+
import '../nitro/nitro.mjs';
|
|
13
|
+
import 'node:http';
|
|
14
|
+
import 'node:https';
|
|
15
|
+
import 'node:events';
|
|
16
|
+
import 'node:buffer';
|
|
17
|
+
import 'node:fs';
|
|
18
|
+
import 'node:path';
|
|
19
|
+
import 'node:crypto';
|
|
20
|
+
import 'node:url';
|
|
21
|
+
import '@iconify/utils';
|
|
22
|
+
import 'consola';
|
|
23
|
+
import 'unhead/server';
|
|
24
|
+
import 'unhead/legacy';
|
|
25
|
+
import 'nostics';
|
|
26
|
+
import 'vue-bundle-renderer/runtime';
|
|
27
|
+
import 'devalue';
|
|
28
|
+
import 'fnv1a-64';
|
|
29
|
+
import 'object-identity';
|
|
30
|
+
import 'tailwindcss/colors';
|
|
31
|
+
|
|
32
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Ffield-group.ts
|
|
33
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Ffield_group_default = {
|
|
34
|
+
"base": "relative",
|
|
35
|
+
"variants": {
|
|
36
|
+
"size": {
|
|
37
|
+
"xs": "",
|
|
38
|
+
"sm": "",
|
|
39
|
+
"md": "",
|
|
40
|
+
"lg": "",
|
|
41
|
+
"xl": ""
|
|
42
|
+
},
|
|
43
|
+
"orientation": {
|
|
44
|
+
"horizontal": "inline-flex -space-x-px",
|
|
45
|
+
"vertical": "flex flex-col -space-y-px"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/FieldGroup.vue
|
|
51
|
+
var _sfc_main = {
|
|
52
|
+
__name: "UFieldGroup",
|
|
53
|
+
__ssrInlineRender: true,
|
|
54
|
+
props: {
|
|
55
|
+
as: {
|
|
56
|
+
type: null,
|
|
57
|
+
required: false
|
|
58
|
+
},
|
|
59
|
+
size: {
|
|
60
|
+
type: null,
|
|
61
|
+
required: false
|
|
62
|
+
},
|
|
63
|
+
orientation: {
|
|
64
|
+
type: null,
|
|
65
|
+
required: false,
|
|
66
|
+
default: "horizontal"
|
|
67
|
+
},
|
|
68
|
+
class: {
|
|
69
|
+
type: null,
|
|
70
|
+
required: false
|
|
71
|
+
},
|
|
72
|
+
ui: {
|
|
73
|
+
type: Object,
|
|
74
|
+
required: false
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
setup(__props) {
|
|
78
|
+
const props = useComponentProps("fieldGroup", __props);
|
|
79
|
+
const appConfig = useAppConfig();
|
|
80
|
+
const ui = computed(() => tv({
|
|
81
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Ffield_group_default,
|
|
82
|
+
...appConfig.ui?.fieldGroup || {}
|
|
83
|
+
}));
|
|
84
|
+
provide(fieldGroupInjectionKey, computed(() => ({
|
|
85
|
+
orientation: props.orientation,
|
|
86
|
+
size: props.size
|
|
87
|
+
})));
|
|
88
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
89
|
+
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
90
|
+
as: unref(props).as,
|
|
91
|
+
"data-orientation": unref(props).orientation,
|
|
92
|
+
class: ui.value({
|
|
93
|
+
orientation: unref(props).orientation,
|
|
94
|
+
class: [unref(props).ui?.base, unref(props).class]
|
|
95
|
+
})
|
|
96
|
+
}, _attrs), {
|
|
97
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
98
|
+
if (_push) ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId);
|
|
99
|
+
else return [renderSlot(_ctx.$slots, "default")];
|
|
100
|
+
}),
|
|
101
|
+
_: 3
|
|
102
|
+
}, _parent));
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
var _sfc_setup$1 = _sfc_main.setup;
|
|
107
|
+
_sfc_main.setup = (props, ctx) => {
|
|
108
|
+
const ssrContext = useSSRContext();
|
|
109
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/FieldGroup.vue");
|
|
110
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
111
|
+
};
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region app/pages/login.vue?vue&type=script&setup=true&lang.ts
|
|
114
|
+
var login_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
115
|
+
__name: "login",
|
|
116
|
+
__ssrInlineRender: true,
|
|
117
|
+
setup(__props) {
|
|
118
|
+
useSeoMeta$1({
|
|
119
|
+
title: "登录",
|
|
120
|
+
description: "登录 UOM适飞地图"
|
|
121
|
+
});
|
|
122
|
+
const toast = useToast();
|
|
123
|
+
const state = reactive({
|
|
124
|
+
phone: "",
|
|
125
|
+
captcha: "",
|
|
126
|
+
smsCode: ""
|
|
127
|
+
});
|
|
128
|
+
const schema = z.object({
|
|
129
|
+
phone: z.string().regex(/^1\d{10}$/, "请输入有效的 11 位手机号"),
|
|
130
|
+
captcha: z.string().min(3, "请输入图形验证码"),
|
|
131
|
+
smsCode: z.string().regex(/^\d{4,8}$/, "请输入短信验证码")
|
|
132
|
+
});
|
|
133
|
+
const challengeId = ref("");
|
|
134
|
+
const captchaImage = ref("");
|
|
135
|
+
const sendingCaptcha = ref(false);
|
|
136
|
+
const sendingSms = ref(false);
|
|
137
|
+
const submitting = ref(false);
|
|
138
|
+
const cooldown = ref(0);
|
|
139
|
+
let timer;
|
|
140
|
+
async function refreshCaptcha() {
|
|
141
|
+
sendingCaptcha.value = true;
|
|
142
|
+
try {
|
|
143
|
+
const result = await $fetch$1("/api/auth/captcha", { method: "POST" });
|
|
144
|
+
challengeId.value = result.challengeId;
|
|
145
|
+
captchaImage.value = result.image;
|
|
146
|
+
state.captcha = "";
|
|
147
|
+
} catch (error) {
|
|
148
|
+
toast.add({
|
|
149
|
+
title: "验证码获取失败",
|
|
150
|
+
description: error?.data?.statusMessage || error?.message,
|
|
151
|
+
color: "error",
|
|
152
|
+
icon: "i-lucide-triangle-alert"
|
|
153
|
+
});
|
|
154
|
+
} finally {
|
|
155
|
+
sendingCaptcha.value = false;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
async function sendSms() {
|
|
159
|
+
if (!/^1\d{10}$/.test(state.phone)) {
|
|
160
|
+
toast.add({
|
|
161
|
+
title: "请输入有效的 11 位手机号",
|
|
162
|
+
color: "warning",
|
|
163
|
+
icon: "i-lucide-circle-alert"
|
|
164
|
+
});
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
if (!challengeId.value) return refreshCaptcha();
|
|
168
|
+
if (!state.captcha) {
|
|
169
|
+
toast.add({
|
|
170
|
+
title: "请输入图形验证码",
|
|
171
|
+
color: "warning",
|
|
172
|
+
icon: "i-lucide-circle-alert"
|
|
173
|
+
});
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
sendingSms.value = true;
|
|
177
|
+
try {
|
|
178
|
+
await $fetch$1("/api/auth/send-sms", {
|
|
179
|
+
method: "POST",
|
|
180
|
+
body: {
|
|
181
|
+
phone: state.phone,
|
|
182
|
+
challengeId: challengeId.value,
|
|
183
|
+
captcha: state.captcha
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
cooldown.value = 60;
|
|
187
|
+
clearInterval(timer);
|
|
188
|
+
timer = setInterval(() => {
|
|
189
|
+
cooldown.value -= 1;
|
|
190
|
+
if (cooldown.value <= 0) clearInterval(timer);
|
|
191
|
+
}, 1e3);
|
|
192
|
+
toast.add({
|
|
193
|
+
title: "短信验证码已发送",
|
|
194
|
+
color: "success",
|
|
195
|
+
icon: "i-lucide-message-square-check"
|
|
196
|
+
});
|
|
197
|
+
} catch (error) {
|
|
198
|
+
toast.add({
|
|
199
|
+
title: "短信发送失败",
|
|
200
|
+
description: error?.data?.statusMessage || error?.message,
|
|
201
|
+
color: "error",
|
|
202
|
+
icon: "i-lucide-triangle-alert"
|
|
203
|
+
});
|
|
204
|
+
await refreshCaptcha();
|
|
205
|
+
} finally {
|
|
206
|
+
sendingSms.value = false;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
async function submit() {
|
|
210
|
+
if (!challengeId.value) {
|
|
211
|
+
toast.add({
|
|
212
|
+
title: "请先获取图形验证码",
|
|
213
|
+
color: "warning",
|
|
214
|
+
icon: "i-lucide-image"
|
|
215
|
+
});
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
submitting.value = true;
|
|
219
|
+
try {
|
|
220
|
+
await $fetch$1("/api/auth/login", {
|
|
221
|
+
method: "POST",
|
|
222
|
+
body: {
|
|
223
|
+
challengeId: challengeId.value,
|
|
224
|
+
smsCode: state.smsCode
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
await clearNuxtData("auth-status");
|
|
228
|
+
toast.add({
|
|
229
|
+
title: "UOM 登录成功",
|
|
230
|
+
description: "正在建立地图令牌会话",
|
|
231
|
+
color: "success",
|
|
232
|
+
icon: "i-lucide-badge-check"
|
|
233
|
+
});
|
|
234
|
+
await navigateTo({ name: "index" });
|
|
235
|
+
} catch (error) {
|
|
236
|
+
toast.add({
|
|
237
|
+
title: "登录失败",
|
|
238
|
+
description: error?.data?.statusMessage || error?.message,
|
|
239
|
+
color: "error",
|
|
240
|
+
icon: "i-lucide-triangle-alert"
|
|
241
|
+
});
|
|
242
|
+
await refreshCaptcha();
|
|
243
|
+
} finally {
|
|
244
|
+
submitting.value = false;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
248
|
+
const _component_UForm = _sfc_main$1;
|
|
249
|
+
const _component_UFormField = _sfc_main$2;
|
|
250
|
+
const _component_UInput = _sfc_main$3;
|
|
251
|
+
const _component_UFieldGroup = _sfc_main;
|
|
252
|
+
const _component_UButton = _sfc_main$4;
|
|
253
|
+
const _component_UIcon = _sfc_main$5;
|
|
254
|
+
_push(`<main${ssrRenderAttrs(mergeProps({ class: "uom-grid min-h-screen lg:grid lg:grid-cols-[1.05fr_.95fr]" }, _attrs))}><section class="relative hidden overflow-hidden bg-[#1b2421] p-12 text-[#eaf3ed] lg:grid lg:place-items-center"><div class="flex items-center gap-4"><img${ssrRenderAttr("src", _virtual_public__2Ffavicon_default)} alt="" class="size-12 select-none" draggable="false"><h1 class="text-3xl font-semibold">UOM适飞地图</h1></div></section><section class="flex min-h-screen items-center justify-center px-5 py-12 sm:px-10"><div class="uom-enter w-full max-w-md"><div class="mb-10 lg:hidden"><div class="flex items-center gap-3 text-sm text-primary"><img${ssrRenderAttr("src", _virtual_public__2Ffavicon_default)} alt="" class="size-8" draggable="false"> UOM适飞地图</div></div><div class="mb-8"><h2 class="text-3xl font-semibold text-highlighted">登录 UOM</h2></div>`);
|
|
255
|
+
_push(ssrRenderComponent(_component_UForm, {
|
|
256
|
+
schema: unref(schema),
|
|
257
|
+
state: unref(state),
|
|
258
|
+
class: "space-y-5",
|
|
259
|
+
onSubmit: submit
|
|
260
|
+
}, {
|
|
261
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
262
|
+
if (_push) {
|
|
263
|
+
_push(ssrRenderComponent(_component_UFormField, {
|
|
264
|
+
name: "phone",
|
|
265
|
+
label: "手机号",
|
|
266
|
+
required: "",
|
|
267
|
+
class: "w-full"
|
|
268
|
+
}, {
|
|
269
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
270
|
+
if (_push) _push(ssrRenderComponent(_component_UInput, {
|
|
271
|
+
modelValue: unref(state).phone,
|
|
272
|
+
"onUpdate:modelValue": ($event) => unref(state).phone = $event,
|
|
273
|
+
type: "tel",
|
|
274
|
+
inputmode: "numeric",
|
|
275
|
+
placeholder: "请输入手机号",
|
|
276
|
+
icon: "i-lucide-smartphone",
|
|
277
|
+
size: "lg",
|
|
278
|
+
class: "w-full"
|
|
279
|
+
}, null, _parent, _scopeId));
|
|
280
|
+
else return [createVNode(_component_UInput, {
|
|
281
|
+
modelValue: unref(state).phone,
|
|
282
|
+
"onUpdate:modelValue": ($event) => unref(state).phone = $event,
|
|
283
|
+
type: "tel",
|
|
284
|
+
inputmode: "numeric",
|
|
285
|
+
placeholder: "请输入手机号",
|
|
286
|
+
icon: "i-lucide-smartphone",
|
|
287
|
+
size: "lg",
|
|
288
|
+
class: "w-full"
|
|
289
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])];
|
|
290
|
+
}),
|
|
291
|
+
_: 1
|
|
292
|
+
}, _parent, _scopeId));
|
|
293
|
+
_push(ssrRenderComponent(_component_UFormField, {
|
|
294
|
+
name: "captcha",
|
|
295
|
+
label: "图形验证码",
|
|
296
|
+
required: "",
|
|
297
|
+
class: "w-full"
|
|
298
|
+
}, {
|
|
299
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
300
|
+
if (_push) _push(ssrRenderComponent(_component_UFieldGroup, { class: "w-full" }, {
|
|
301
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
302
|
+
if (_push) {
|
|
303
|
+
_push(ssrRenderComponent(_component_UInput, {
|
|
304
|
+
modelValue: unref(state).captcha,
|
|
305
|
+
"onUpdate:modelValue": ($event) => unref(state).captcha = $event,
|
|
306
|
+
class: "min-w-0 flex-1",
|
|
307
|
+
placeholder: "请输入图形验证码",
|
|
308
|
+
icon: "i-lucide-scan-text",
|
|
309
|
+
size: "lg"
|
|
310
|
+
}, null, _parent, _scopeId));
|
|
311
|
+
_push(ssrRenderComponent(_component_UButton, {
|
|
312
|
+
type: "button",
|
|
313
|
+
color: "neutral",
|
|
314
|
+
variant: "outline",
|
|
315
|
+
size: "lg",
|
|
316
|
+
disabled: unref(sendingCaptcha),
|
|
317
|
+
class: "h-9 w-32 justify-center p-0 leading-none",
|
|
318
|
+
"aria-label": "刷新图形验证码",
|
|
319
|
+
onClick: refreshCaptcha
|
|
320
|
+
}, {
|
|
321
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
322
|
+
if (_push) {
|
|
323
|
+
if (unref(sendingCaptcha)) _push(ssrRenderComponent(_component_UIcon, {
|
|
324
|
+
name: "i-lucide-loader-circle",
|
|
325
|
+
class: "size-5 animate-spin"
|
|
326
|
+
}, null, _parent, _scopeId));
|
|
327
|
+
else if (unref(captchaImage)) _push(`<img${ssrRenderAttr("src", unref(captchaImage))} alt="图形验证码" width="96" height="36" class="h-9 w-24 object-fill"${_scopeId}>`);
|
|
328
|
+
else _push(`<span${_scopeId}>重试</span>`);
|
|
329
|
+
} else return [unref(sendingCaptcha) ? (openBlock(), createBlock(_component_UIcon, {
|
|
330
|
+
key: 0,
|
|
331
|
+
name: "i-lucide-loader-circle",
|
|
332
|
+
class: "size-5 animate-spin"
|
|
333
|
+
})) : unref(captchaImage) ? (openBlock(), createBlock("img", {
|
|
334
|
+
key: 1,
|
|
335
|
+
src: unref(captchaImage),
|
|
336
|
+
alt: "图形验证码",
|
|
337
|
+
width: "96",
|
|
338
|
+
height: "36",
|
|
339
|
+
class: "h-9 w-24 object-fill"
|
|
340
|
+
}, null, 8, ["src"])) : (openBlock(), createBlock("span", { key: 2 }, "重试"))];
|
|
341
|
+
}),
|
|
342
|
+
_: 1
|
|
343
|
+
}, _parent, _scopeId));
|
|
344
|
+
} else return [createVNode(_component_UInput, {
|
|
345
|
+
modelValue: unref(state).captcha,
|
|
346
|
+
"onUpdate:modelValue": ($event) => unref(state).captcha = $event,
|
|
347
|
+
class: "min-w-0 flex-1",
|
|
348
|
+
placeholder: "请输入图形验证码",
|
|
349
|
+
icon: "i-lucide-scan-text",
|
|
350
|
+
size: "lg"
|
|
351
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]), createVNode(_component_UButton, {
|
|
352
|
+
type: "button",
|
|
353
|
+
color: "neutral",
|
|
354
|
+
variant: "outline",
|
|
355
|
+
size: "lg",
|
|
356
|
+
disabled: unref(sendingCaptcha),
|
|
357
|
+
class: "h-9 w-32 justify-center p-0 leading-none",
|
|
358
|
+
"aria-label": "刷新图形验证码",
|
|
359
|
+
onClick: refreshCaptcha
|
|
360
|
+
}, {
|
|
361
|
+
default: withCtx(() => [unref(sendingCaptcha) ? (openBlock(), createBlock(_component_UIcon, {
|
|
362
|
+
key: 0,
|
|
363
|
+
name: "i-lucide-loader-circle",
|
|
364
|
+
class: "size-5 animate-spin"
|
|
365
|
+
})) : unref(captchaImage) ? (openBlock(), createBlock("img", {
|
|
366
|
+
key: 1,
|
|
367
|
+
src: unref(captchaImage),
|
|
368
|
+
alt: "图形验证码",
|
|
369
|
+
width: "96",
|
|
370
|
+
height: "36",
|
|
371
|
+
class: "h-9 w-24 object-fill"
|
|
372
|
+
}, null, 8, ["src"])) : (openBlock(), createBlock("span", { key: 2 }, "重试"))]),
|
|
373
|
+
_: 1
|
|
374
|
+
}, 8, ["disabled"])];
|
|
375
|
+
}),
|
|
376
|
+
_: 1
|
|
377
|
+
}, _parent, _scopeId));
|
|
378
|
+
else return [createVNode(_component_UFieldGroup, { class: "w-full" }, {
|
|
379
|
+
default: withCtx(() => [createVNode(_component_UInput, {
|
|
380
|
+
modelValue: unref(state).captcha,
|
|
381
|
+
"onUpdate:modelValue": ($event) => unref(state).captcha = $event,
|
|
382
|
+
class: "min-w-0 flex-1",
|
|
383
|
+
placeholder: "请输入图形验证码",
|
|
384
|
+
icon: "i-lucide-scan-text",
|
|
385
|
+
size: "lg"
|
|
386
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]), createVNode(_component_UButton, {
|
|
387
|
+
type: "button",
|
|
388
|
+
color: "neutral",
|
|
389
|
+
variant: "outline",
|
|
390
|
+
size: "lg",
|
|
391
|
+
disabled: unref(sendingCaptcha),
|
|
392
|
+
class: "h-9 w-32 justify-center p-0 leading-none",
|
|
393
|
+
"aria-label": "刷新图形验证码",
|
|
394
|
+
onClick: refreshCaptcha
|
|
395
|
+
}, {
|
|
396
|
+
default: withCtx(() => [unref(sendingCaptcha) ? (openBlock(), createBlock(_component_UIcon, {
|
|
397
|
+
key: 0,
|
|
398
|
+
name: "i-lucide-loader-circle",
|
|
399
|
+
class: "size-5 animate-spin"
|
|
400
|
+
})) : unref(captchaImage) ? (openBlock(), createBlock("img", {
|
|
401
|
+
key: 1,
|
|
402
|
+
src: unref(captchaImage),
|
|
403
|
+
alt: "图形验证码",
|
|
404
|
+
width: "96",
|
|
405
|
+
height: "36",
|
|
406
|
+
class: "h-9 w-24 object-fill"
|
|
407
|
+
}, null, 8, ["src"])) : (openBlock(), createBlock("span", { key: 2 }, "重试"))]),
|
|
408
|
+
_: 1
|
|
409
|
+
}, 8, ["disabled"])]),
|
|
410
|
+
_: 1
|
|
411
|
+
})];
|
|
412
|
+
}),
|
|
413
|
+
_: 1
|
|
414
|
+
}, _parent, _scopeId));
|
|
415
|
+
_push(ssrRenderComponent(_component_UFormField, {
|
|
416
|
+
name: "smsCode",
|
|
417
|
+
label: "短信验证码",
|
|
418
|
+
required: "",
|
|
419
|
+
class: "w-full"
|
|
420
|
+
}, {
|
|
421
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
422
|
+
if (_push) _push(ssrRenderComponent(_component_UFieldGroup, { class: "w-full" }, {
|
|
423
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
424
|
+
if (_push) {
|
|
425
|
+
_push(ssrRenderComponent(_component_UInput, {
|
|
426
|
+
modelValue: unref(state).smsCode,
|
|
427
|
+
"onUpdate:modelValue": ($event) => unref(state).smsCode = $event,
|
|
428
|
+
type: "text",
|
|
429
|
+
inputmode: "numeric",
|
|
430
|
+
placeholder: "请输入短信验证码",
|
|
431
|
+
icon: "i-lucide-message-square",
|
|
432
|
+
size: "lg",
|
|
433
|
+
class: "min-w-0 flex-1"
|
|
434
|
+
}, null, _parent, _scopeId));
|
|
435
|
+
_push(ssrRenderComponent(_component_UButton, {
|
|
436
|
+
type: "button",
|
|
437
|
+
color: "neutral",
|
|
438
|
+
variant: "outline",
|
|
439
|
+
size: "lg",
|
|
440
|
+
loading: unref(sendingSms),
|
|
441
|
+
disabled: unref(sendingSms) || unref(cooldown) > 0,
|
|
442
|
+
class: "w-32 justify-center",
|
|
443
|
+
onClick: sendSms
|
|
444
|
+
}, {
|
|
445
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
446
|
+
if (_push) _push(`${ssrInterpolate(unref(cooldown) > 0 ? `${unref(cooldown)}s 后重发` : "发送短信")}`);
|
|
447
|
+
else return [createTextVNode(toDisplayString(unref(cooldown) > 0 ? `${unref(cooldown)}s 后重发` : "发送短信"), 1)];
|
|
448
|
+
}),
|
|
449
|
+
_: 1
|
|
450
|
+
}, _parent, _scopeId));
|
|
451
|
+
} else return [createVNode(_component_UInput, {
|
|
452
|
+
modelValue: unref(state).smsCode,
|
|
453
|
+
"onUpdate:modelValue": ($event) => unref(state).smsCode = $event,
|
|
454
|
+
type: "text",
|
|
455
|
+
inputmode: "numeric",
|
|
456
|
+
placeholder: "请输入短信验证码",
|
|
457
|
+
icon: "i-lucide-message-square",
|
|
458
|
+
size: "lg",
|
|
459
|
+
class: "min-w-0 flex-1"
|
|
460
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]), createVNode(_component_UButton, {
|
|
461
|
+
type: "button",
|
|
462
|
+
color: "neutral",
|
|
463
|
+
variant: "outline",
|
|
464
|
+
size: "lg",
|
|
465
|
+
loading: unref(sendingSms),
|
|
466
|
+
disabled: unref(sendingSms) || unref(cooldown) > 0,
|
|
467
|
+
class: "w-32 justify-center",
|
|
468
|
+
onClick: sendSms
|
|
469
|
+
}, {
|
|
470
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(cooldown) > 0 ? `${unref(cooldown)}s 后重发` : "发送短信"), 1)]),
|
|
471
|
+
_: 1
|
|
472
|
+
}, 8, ["loading", "disabled"])];
|
|
473
|
+
}),
|
|
474
|
+
_: 1
|
|
475
|
+
}, _parent, _scopeId));
|
|
476
|
+
else return [createVNode(_component_UFieldGroup, { class: "w-full" }, {
|
|
477
|
+
default: withCtx(() => [createVNode(_component_UInput, {
|
|
478
|
+
modelValue: unref(state).smsCode,
|
|
479
|
+
"onUpdate:modelValue": ($event) => unref(state).smsCode = $event,
|
|
480
|
+
type: "text",
|
|
481
|
+
inputmode: "numeric",
|
|
482
|
+
placeholder: "请输入短信验证码",
|
|
483
|
+
icon: "i-lucide-message-square",
|
|
484
|
+
size: "lg",
|
|
485
|
+
class: "min-w-0 flex-1"
|
|
486
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]), createVNode(_component_UButton, {
|
|
487
|
+
type: "button",
|
|
488
|
+
color: "neutral",
|
|
489
|
+
variant: "outline",
|
|
490
|
+
size: "lg",
|
|
491
|
+
loading: unref(sendingSms),
|
|
492
|
+
disabled: unref(sendingSms) || unref(cooldown) > 0,
|
|
493
|
+
class: "w-32 justify-center",
|
|
494
|
+
onClick: sendSms
|
|
495
|
+
}, {
|
|
496
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(cooldown) > 0 ? `${unref(cooldown)}s 后重发` : "发送短信"), 1)]),
|
|
497
|
+
_: 1
|
|
498
|
+
}, 8, ["loading", "disabled"])]),
|
|
499
|
+
_: 1
|
|
500
|
+
})];
|
|
501
|
+
}),
|
|
502
|
+
_: 1
|
|
503
|
+
}, _parent, _scopeId));
|
|
504
|
+
_push(ssrRenderComponent(_component_UButton, {
|
|
505
|
+
type: "submit",
|
|
506
|
+
block: "",
|
|
507
|
+
size: "lg",
|
|
508
|
+
loading: unref(submitting),
|
|
509
|
+
icon: "i-lucide-arrow-right",
|
|
510
|
+
trailing: ""
|
|
511
|
+
}, {
|
|
512
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
513
|
+
if (_push) _push(`进入工作台`);
|
|
514
|
+
else return [createTextVNode("进入工作台")];
|
|
515
|
+
}),
|
|
516
|
+
_: 1
|
|
517
|
+
}, _parent, _scopeId));
|
|
518
|
+
} else return [
|
|
519
|
+
createVNode(_component_UFormField, {
|
|
520
|
+
name: "phone",
|
|
521
|
+
label: "手机号",
|
|
522
|
+
required: "",
|
|
523
|
+
class: "w-full"
|
|
524
|
+
}, {
|
|
525
|
+
default: withCtx(() => [createVNode(_component_UInput, {
|
|
526
|
+
modelValue: unref(state).phone,
|
|
527
|
+
"onUpdate:modelValue": ($event) => unref(state).phone = $event,
|
|
528
|
+
type: "tel",
|
|
529
|
+
inputmode: "numeric",
|
|
530
|
+
placeholder: "请输入手机号",
|
|
531
|
+
icon: "i-lucide-smartphone",
|
|
532
|
+
size: "lg",
|
|
533
|
+
class: "w-full"
|
|
534
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
535
|
+
_: 1
|
|
536
|
+
}),
|
|
537
|
+
createVNode(_component_UFormField, {
|
|
538
|
+
name: "captcha",
|
|
539
|
+
label: "图形验证码",
|
|
540
|
+
required: "",
|
|
541
|
+
class: "w-full"
|
|
542
|
+
}, {
|
|
543
|
+
default: withCtx(() => [createVNode(_component_UFieldGroup, { class: "w-full" }, {
|
|
544
|
+
default: withCtx(() => [createVNode(_component_UInput, {
|
|
545
|
+
modelValue: unref(state).captcha,
|
|
546
|
+
"onUpdate:modelValue": ($event) => unref(state).captcha = $event,
|
|
547
|
+
class: "min-w-0 flex-1",
|
|
548
|
+
placeholder: "请输入图形验证码",
|
|
549
|
+
icon: "i-lucide-scan-text",
|
|
550
|
+
size: "lg"
|
|
551
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]), createVNode(_component_UButton, {
|
|
552
|
+
type: "button",
|
|
553
|
+
color: "neutral",
|
|
554
|
+
variant: "outline",
|
|
555
|
+
size: "lg",
|
|
556
|
+
disabled: unref(sendingCaptcha),
|
|
557
|
+
class: "h-9 w-32 justify-center p-0 leading-none",
|
|
558
|
+
"aria-label": "刷新图形验证码",
|
|
559
|
+
onClick: refreshCaptcha
|
|
560
|
+
}, {
|
|
561
|
+
default: withCtx(() => [unref(sendingCaptcha) ? (openBlock(), createBlock(_component_UIcon, {
|
|
562
|
+
key: 0,
|
|
563
|
+
name: "i-lucide-loader-circle",
|
|
564
|
+
class: "size-5 animate-spin"
|
|
565
|
+
})) : unref(captchaImage) ? (openBlock(), createBlock("img", {
|
|
566
|
+
key: 1,
|
|
567
|
+
src: unref(captchaImage),
|
|
568
|
+
alt: "图形验证码",
|
|
569
|
+
width: "96",
|
|
570
|
+
height: "36",
|
|
571
|
+
class: "h-9 w-24 object-fill"
|
|
572
|
+
}, null, 8, ["src"])) : (openBlock(), createBlock("span", { key: 2 }, "重试"))]),
|
|
573
|
+
_: 1
|
|
574
|
+
}, 8, ["disabled"])]),
|
|
575
|
+
_: 1
|
|
576
|
+
})]),
|
|
577
|
+
_: 1
|
|
578
|
+
}),
|
|
579
|
+
createVNode(_component_UFormField, {
|
|
580
|
+
name: "smsCode",
|
|
581
|
+
label: "短信验证码",
|
|
582
|
+
required: "",
|
|
583
|
+
class: "w-full"
|
|
584
|
+
}, {
|
|
585
|
+
default: withCtx(() => [createVNode(_component_UFieldGroup, { class: "w-full" }, {
|
|
586
|
+
default: withCtx(() => [createVNode(_component_UInput, {
|
|
587
|
+
modelValue: unref(state).smsCode,
|
|
588
|
+
"onUpdate:modelValue": ($event) => unref(state).smsCode = $event,
|
|
589
|
+
type: "text",
|
|
590
|
+
inputmode: "numeric",
|
|
591
|
+
placeholder: "请输入短信验证码",
|
|
592
|
+
icon: "i-lucide-message-square",
|
|
593
|
+
size: "lg",
|
|
594
|
+
class: "min-w-0 flex-1"
|
|
595
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]), createVNode(_component_UButton, {
|
|
596
|
+
type: "button",
|
|
597
|
+
color: "neutral",
|
|
598
|
+
variant: "outline",
|
|
599
|
+
size: "lg",
|
|
600
|
+
loading: unref(sendingSms),
|
|
601
|
+
disabled: unref(sendingSms) || unref(cooldown) > 0,
|
|
602
|
+
class: "w-32 justify-center",
|
|
603
|
+
onClick: sendSms
|
|
604
|
+
}, {
|
|
605
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(cooldown) > 0 ? `${unref(cooldown)}s 后重发` : "发送短信"), 1)]),
|
|
606
|
+
_: 1
|
|
607
|
+
}, 8, ["loading", "disabled"])]),
|
|
608
|
+
_: 1
|
|
609
|
+
})]),
|
|
610
|
+
_: 1
|
|
611
|
+
}),
|
|
612
|
+
createVNode(_component_UButton, {
|
|
613
|
+
type: "submit",
|
|
614
|
+
block: "",
|
|
615
|
+
size: "lg",
|
|
616
|
+
loading: unref(submitting),
|
|
617
|
+
icon: "i-lucide-arrow-right",
|
|
618
|
+
trailing: ""
|
|
619
|
+
}, {
|
|
620
|
+
default: withCtx(() => [createTextVNode("进入工作台")]),
|
|
621
|
+
_: 1
|
|
622
|
+
}, 8, ["loading"])
|
|
623
|
+
];
|
|
624
|
+
}),
|
|
625
|
+
_: 1
|
|
626
|
+
}, _parent));
|
|
627
|
+
_push(`</div></section></main>`);
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
//#endregion
|
|
632
|
+
//#region app/pages/login.vue
|
|
633
|
+
var _sfc_setup = login_vue_vue_type_script_setup_true_lang_default.setup;
|
|
634
|
+
login_vue_vue_type_script_setup_true_lang_default.setup = (props, ctx) => {
|
|
635
|
+
const ssrContext = useSSRContext();
|
|
636
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/login.vue");
|
|
637
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
638
|
+
};
|
|
639
|
+
var login_default = login_vue_vue_type_script_setup_true_lang_default;
|
|
640
|
+
|
|
641
|
+
export { login_default as default };
|
|
642
|
+
//# sourceMappingURL=login-lbtjN0MV.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login-lbtjN0MV.mjs","sources":["../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Ffield-group.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/FieldGroup.vue","../../../../app/pages/login.vue"],"names":["useSeoMeta","$fetch"],"mappings":"","x_google_ignoreList":[0,1]}
|