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,1087 @@
|
|
|
1
|
+
import { d as useComponentProps, f as useAppConfig, g as useForwardProps, r as reactivePick, i as useFormField, t as tv, v as useForwardExpose, B as useCollection, w as useVModel, P as Primitive, A as createContext, K as useMounted } from '../virtual/entry.mjs';
|
|
2
|
+
import { u as useFormControl, V as VisuallyHiddenInput_default } from './Alert-0ngTJXxP.mjs';
|
|
3
|
+
import { a as useDirection } from './DashboardSidebarToggle-pncTaIJq.mjs';
|
|
4
|
+
import { d as useSize } from './PopperArrow-Bqfdf2Et.mjs';
|
|
5
|
+
import { _ as _sfc_main$1 } from './Tooltip-CkpSktvJ.mjs';
|
|
6
|
+
import { useModel, computed, unref, mergeProps, withCtx, createVNode, openBlock, createBlock, Fragment, renderList, mergeModels, defineComponent, toRefs, ref, resolveDynamicComponent, renderSlot, createCommentVNode, normalizeStyle, toRaw, useSSRContext } from 'vue';
|
|
7
|
+
import { ssrRenderComponent, ssrRenderList } from 'vue/server-renderer';
|
|
8
|
+
|
|
9
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/clamp.js
|
|
10
|
+
/**
|
|
11
|
+
* The `clamp` function restricts a number within a specified range by returning the value itself if it
|
|
12
|
+
* falls within the range, or the closest boundary value if it exceeds the range.
|
|
13
|
+
* @param {number} value - The `value` parameter represents the number that you want to clamp within
|
|
14
|
+
* the specified range defined by `min` and `max` values.
|
|
15
|
+
* @param {number} min - If the `value` parameter is less than the `min` value, the
|
|
16
|
+
* function will return the `min` value.
|
|
17
|
+
* @param {number} max - If the `value` parameter is greater than the `max` value,
|
|
18
|
+
* the function will return `max`.
|
|
19
|
+
* @returns The `clamp` function returns the value of `value` constrained within the range defined by
|
|
20
|
+
* `min` and `max`.
|
|
21
|
+
*/
|
|
22
|
+
function clamp(value, min = Number.NEGATIVE_INFINITY, max = Number.POSITIVE_INFINITY) {
|
|
23
|
+
return Math.min(max, Math.max(min, value));
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/utils.js
|
|
27
|
+
function getNextSortedValues(prevValues = [], nextValue, atIndex) {
|
|
28
|
+
const nextValues = [...prevValues];
|
|
29
|
+
nextValues[atIndex] = nextValue;
|
|
30
|
+
return nextValues.sort((a, b) => a - b);
|
|
31
|
+
}
|
|
32
|
+
function convertValueToPercentage(value, min, max) {
|
|
33
|
+
return clamp(100 / (max - min) * (value - min), 0, 100);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Returns a label for each thumb when there are two or more thumbs
|
|
37
|
+
*/
|
|
38
|
+
function getLabel(index, totalValues) {
|
|
39
|
+
if (totalValues > 2) return `Value ${index + 1} of ${totalValues}`;
|
|
40
|
+
else if (totalValues === 2) return ["Minimum", "Maximum"][index];
|
|
41
|
+
else return void 0;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Given a `values` array and a `nextValue`, determine which value in
|
|
45
|
+
* the array is closest to `nextValue` and return its index.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* // returns 1
|
|
49
|
+
* getClosestValueIndex([10, 30], 25);
|
|
50
|
+
*/
|
|
51
|
+
function getClosestValueIndex(values, nextValue) {
|
|
52
|
+
if (values.length === 1) return 0;
|
|
53
|
+
const distances = values.map((value) => Math.abs(value - nextValue));
|
|
54
|
+
const closestDistance = Math.min(...distances);
|
|
55
|
+
return distances.indexOf(closestDistance);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Offsets the thumb centre point while sliding to ensure it remains
|
|
59
|
+
* within the bounds of the slider when reaching the edges
|
|
60
|
+
*/
|
|
61
|
+
function getThumbInBoundsOffset(width, left, direction) {
|
|
62
|
+
const halfWidth = width / 2;
|
|
63
|
+
return (halfWidth - linearScale([0, 50], [0, halfWidth])(left) * direction) * direction;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Gets an array of steps between each value.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* // returns [1, 9]
|
|
70
|
+
* getStepsBetweenValues([10, 11, 20]);
|
|
71
|
+
*/
|
|
72
|
+
function getStepsBetweenValues(values) {
|
|
73
|
+
return values.slice(0, -1).map((value, index) => values[index + 1] - value);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Verifies the minimum steps between all values is greater than or equal
|
|
77
|
+
* to the expected minimum steps.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* // returns false
|
|
81
|
+
* hasMinStepsBetweenValues([1,2,3], 2);
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* // returns true
|
|
85
|
+
* hasMinStepsBetweenValues([1,2,3], 1);
|
|
86
|
+
*/
|
|
87
|
+
function hasMinStepsBetweenValues(values, minStepsBetweenValues) {
|
|
88
|
+
if (minStepsBetweenValues > 0) {
|
|
89
|
+
const stepsBetweenValues = getStepsBetweenValues(values);
|
|
90
|
+
return Math.min(...stepsBetweenValues) >= minStepsBetweenValues;
|
|
91
|
+
}
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
function linearScale(input, output) {
|
|
95
|
+
return (value) => {
|
|
96
|
+
if (input[0] === input[1] || output[0] === output[1]) return output[0];
|
|
97
|
+
const ratio = (output[1] - output[0]) / (input[1] - input[0]);
|
|
98
|
+
return output[0] + ratio * (value - input[0]);
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
function getDecimalCount(value) {
|
|
102
|
+
return (String(value).split(".")[1] || "").length;
|
|
103
|
+
}
|
|
104
|
+
function roundValue(value, decimalCount) {
|
|
105
|
+
const rounder = 10 ** decimalCount;
|
|
106
|
+
return Math.round(value * rounder) / rounder;
|
|
107
|
+
}
|
|
108
|
+
var PAGE_KEYS = ["PageUp", "PageDown"];
|
|
109
|
+
var ARROW_KEYS = [
|
|
110
|
+
"ArrowUp",
|
|
111
|
+
"ArrowDown",
|
|
112
|
+
"ArrowLeft",
|
|
113
|
+
"ArrowRight"
|
|
114
|
+
];
|
|
115
|
+
var BACK_KEYS = {
|
|
116
|
+
"from-left": [
|
|
117
|
+
"Home",
|
|
118
|
+
"PageDown",
|
|
119
|
+
"ArrowDown",
|
|
120
|
+
"ArrowLeft"
|
|
121
|
+
],
|
|
122
|
+
"from-right": [
|
|
123
|
+
"Home",
|
|
124
|
+
"PageDown",
|
|
125
|
+
"ArrowDown",
|
|
126
|
+
"ArrowRight"
|
|
127
|
+
],
|
|
128
|
+
"from-bottom": [
|
|
129
|
+
"Home",
|
|
130
|
+
"PageDown",
|
|
131
|
+
"ArrowDown",
|
|
132
|
+
"ArrowLeft"
|
|
133
|
+
],
|
|
134
|
+
"from-top": [
|
|
135
|
+
"Home",
|
|
136
|
+
"PageUp",
|
|
137
|
+
"ArrowUp",
|
|
138
|
+
"ArrowLeft"
|
|
139
|
+
]
|
|
140
|
+
};
|
|
141
|
+
var [injectSliderOrientationContext, provideSliderOrientationContext] = /*#__PURE__*/ createContext(["SliderVertical", "SliderHorizontal"]);
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/SliderHorizontal.js
|
|
144
|
+
var SliderHorizontal_default = /* @__PURE__ */ defineComponent({
|
|
145
|
+
__name: "SliderHorizontal",
|
|
146
|
+
props: {
|
|
147
|
+
dir: {
|
|
148
|
+
type: String,
|
|
149
|
+
required: false
|
|
150
|
+
},
|
|
151
|
+
min: {
|
|
152
|
+
type: Number,
|
|
153
|
+
required: true
|
|
154
|
+
},
|
|
155
|
+
max: {
|
|
156
|
+
type: Number,
|
|
157
|
+
required: true
|
|
158
|
+
},
|
|
159
|
+
inverted: {
|
|
160
|
+
type: Boolean,
|
|
161
|
+
required: true
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
emits: [
|
|
165
|
+
"slideEnd",
|
|
166
|
+
"slideStart",
|
|
167
|
+
"slideMove",
|
|
168
|
+
"homeKeyDown",
|
|
169
|
+
"endKeyDown",
|
|
170
|
+
"stepKeyDown"
|
|
171
|
+
],
|
|
172
|
+
setup(__props, { emit: __emit }) {
|
|
173
|
+
const props = __props;
|
|
174
|
+
const emits = __emit;
|
|
175
|
+
const { max, min, dir, inverted } = toRefs(props);
|
|
176
|
+
const { forwardRef, currentElement: sliderElement } = useForwardExpose();
|
|
177
|
+
const rootContext = injectSliderRootContext();
|
|
178
|
+
const offsetPosition = ref();
|
|
179
|
+
const rectRef = ref();
|
|
180
|
+
const isSlidingFromLeft = computed(() => dir?.value !== "rtl" && !inverted.value || dir?.value !== "ltr" && inverted.value);
|
|
181
|
+
function getValueFromPointerEvent(event, slideStart) {
|
|
182
|
+
const rect = rectRef.value || sliderElement.value.getBoundingClientRect();
|
|
183
|
+
const thumb = [...rootContext.thumbElements.value][rootContext.valueIndexToChangeRef.value];
|
|
184
|
+
const thumbWidth = rootContext.thumbAlignment.value === "contain" ? thumb.clientWidth : 0;
|
|
185
|
+
if (!offsetPosition.value && !slideStart && rootContext.thumbAlignment.value === "contain") offsetPosition.value = event.clientX - thumb.getBoundingClientRect().left;
|
|
186
|
+
const value = linearScale([0, rect.width - thumbWidth], isSlidingFromLeft.value ? [min.value, max.value] : [max.value, min.value]);
|
|
187
|
+
rectRef.value = rect;
|
|
188
|
+
return value(slideStart ? event.clientX - rect.left - thumbWidth / 2 : event.clientX - rect.left - (offsetPosition.value ?? 0));
|
|
189
|
+
}
|
|
190
|
+
provideSliderOrientationContext({
|
|
191
|
+
startEdge: computed(() => isSlidingFromLeft.value ? "left" : "right"),
|
|
192
|
+
endEdge: computed(() => isSlidingFromLeft.value ? "right" : "left"),
|
|
193
|
+
direction: computed(() => isSlidingFromLeft.value ? 1 : -1),
|
|
194
|
+
size: "width"
|
|
195
|
+
});
|
|
196
|
+
return (_ctx, _cache) => {
|
|
197
|
+
return openBlock(), createBlock(SliderImpl_default, {
|
|
198
|
+
ref: unref(forwardRef),
|
|
199
|
+
dir: unref(dir),
|
|
200
|
+
"data-orientation": "horizontal",
|
|
201
|
+
style: normalizeStyle({ ["--reka-slider-thumb-transform"]: !isSlidingFromLeft.value && unref(rootContext).thumbAlignment.value === "overflow" ? "translateX(50%)" : "translateX(-50%)" }),
|
|
202
|
+
onSlideStart: _cache[0] || (_cache[0] = (event) => {
|
|
203
|
+
const value = getValueFromPointerEvent(event, true);
|
|
204
|
+
emits("slideStart", value);
|
|
205
|
+
}),
|
|
206
|
+
onSlideMove: _cache[1] || (_cache[1] = (event) => {
|
|
207
|
+
const value = getValueFromPointerEvent(event);
|
|
208
|
+
emits("slideMove", value);
|
|
209
|
+
}),
|
|
210
|
+
onSlideEnd: _cache[2] || (_cache[2] = () => {
|
|
211
|
+
rectRef.value = void 0;
|
|
212
|
+
offsetPosition.value = void 0;
|
|
213
|
+
emits("slideEnd");
|
|
214
|
+
}),
|
|
215
|
+
onStepKeyDown: _cache[3] || (_cache[3] = (event) => {
|
|
216
|
+
const slideDirection = isSlidingFromLeft.value ? "from-left" : "from-right";
|
|
217
|
+
const isBackKey = unref(BACK_KEYS)[slideDirection].includes(event.key);
|
|
218
|
+
emits("stepKeyDown", event, isBackKey ? -1 : 1);
|
|
219
|
+
}),
|
|
220
|
+
onEndKeyDown: _cache[4] || (_cache[4] = ($event) => emits("endKeyDown", $event)),
|
|
221
|
+
onHomeKeyDown: _cache[5] || (_cache[5] = ($event) => emits("homeKeyDown", $event))
|
|
222
|
+
}, {
|
|
223
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
224
|
+
_: 3
|
|
225
|
+
}, 8, ["dir", "style"]);
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
//#endregion
|
|
230
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/SliderVertical.js
|
|
231
|
+
var SliderVertical_default = /* @__PURE__ */ defineComponent({
|
|
232
|
+
__name: "SliderVertical",
|
|
233
|
+
props: {
|
|
234
|
+
min: {
|
|
235
|
+
type: Number,
|
|
236
|
+
required: true
|
|
237
|
+
},
|
|
238
|
+
max: {
|
|
239
|
+
type: Number,
|
|
240
|
+
required: true
|
|
241
|
+
},
|
|
242
|
+
inverted: {
|
|
243
|
+
type: Boolean,
|
|
244
|
+
required: true
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
emits: [
|
|
248
|
+
"slideEnd",
|
|
249
|
+
"slideStart",
|
|
250
|
+
"slideMove",
|
|
251
|
+
"homeKeyDown",
|
|
252
|
+
"endKeyDown",
|
|
253
|
+
"stepKeyDown"
|
|
254
|
+
],
|
|
255
|
+
setup(__props, { emit: __emit }) {
|
|
256
|
+
const props = __props;
|
|
257
|
+
const emits = __emit;
|
|
258
|
+
const { max, min, inverted } = toRefs(props);
|
|
259
|
+
const rootContext = injectSliderRootContext();
|
|
260
|
+
const { forwardRef, currentElement: sliderElement } = useForwardExpose();
|
|
261
|
+
const offsetPosition = ref();
|
|
262
|
+
const rectRef = ref();
|
|
263
|
+
const isSlidingFromBottom = computed(() => !inverted.value);
|
|
264
|
+
function getValueFromPointerEvent(event, slideStart) {
|
|
265
|
+
const rect = rectRef.value || sliderElement.value.getBoundingClientRect();
|
|
266
|
+
const thumb = [...rootContext.thumbElements.value][rootContext.valueIndexToChangeRef.value];
|
|
267
|
+
const thumbHeight = rootContext.thumbAlignment.value === "contain" ? thumb.clientHeight : 0;
|
|
268
|
+
if (!offsetPosition.value && !slideStart && rootContext.thumbAlignment.value === "contain") offsetPosition.value = event.clientY - thumb.getBoundingClientRect().top;
|
|
269
|
+
const value = linearScale([0, rect.height - thumbHeight], isSlidingFromBottom.value ? [max.value, min.value] : [min.value, max.value]);
|
|
270
|
+
const position = slideStart ? event.clientY - rect.top - thumbHeight / 2 : event.clientY - rect.top - (offsetPosition.value ?? 0);
|
|
271
|
+
rectRef.value = rect;
|
|
272
|
+
return value(position);
|
|
273
|
+
}
|
|
274
|
+
provideSliderOrientationContext({
|
|
275
|
+
startEdge: computed(() => isSlidingFromBottom.value ? "bottom" : "top"),
|
|
276
|
+
endEdge: computed(() => isSlidingFromBottom.value ? "top" : "bottom"),
|
|
277
|
+
direction: computed(() => isSlidingFromBottom.value ? 1 : -1),
|
|
278
|
+
size: "height"
|
|
279
|
+
});
|
|
280
|
+
return (_ctx, _cache) => {
|
|
281
|
+
return openBlock(), createBlock(SliderImpl_default, {
|
|
282
|
+
ref: unref(forwardRef),
|
|
283
|
+
"data-orientation": "vertical",
|
|
284
|
+
style: normalizeStyle({ ["--reka-slider-thumb-transform"]: !isSlidingFromBottom.value && unref(rootContext).thumbAlignment.value === "overflow" ? "translateY(-50%)" : "translateY(50%)" }),
|
|
285
|
+
onSlideStart: _cache[0] || (_cache[0] = (event) => {
|
|
286
|
+
const value = getValueFromPointerEvent(event, true);
|
|
287
|
+
emits("slideStart", value);
|
|
288
|
+
}),
|
|
289
|
+
onSlideMove: _cache[1] || (_cache[1] = (event) => {
|
|
290
|
+
const value = getValueFromPointerEvent(event);
|
|
291
|
+
emits("slideMove", value);
|
|
292
|
+
}),
|
|
293
|
+
onSlideEnd: _cache[2] || (_cache[2] = () => {
|
|
294
|
+
rectRef.value = void 0;
|
|
295
|
+
offsetPosition.value = void 0;
|
|
296
|
+
emits("slideEnd");
|
|
297
|
+
}),
|
|
298
|
+
onStepKeyDown: _cache[3] || (_cache[3] = (event) => {
|
|
299
|
+
const slideDirection = isSlidingFromBottom.value ? "from-bottom" : "from-top";
|
|
300
|
+
const isBackKey = unref(BACK_KEYS)[slideDirection].includes(event.key);
|
|
301
|
+
emits("stepKeyDown", event, isBackKey ? -1 : 1);
|
|
302
|
+
}),
|
|
303
|
+
onEndKeyDown: _cache[4] || (_cache[4] = ($event) => emits("endKeyDown", $event)),
|
|
304
|
+
onHomeKeyDown: _cache[5] || (_cache[5] = ($event) => emits("homeKeyDown", $event))
|
|
305
|
+
}, {
|
|
306
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
307
|
+
_: 3
|
|
308
|
+
}, 8, ["style"]);
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
});
|
|
312
|
+
//#endregion
|
|
313
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/SliderRoot.js
|
|
314
|
+
var [injectSliderRootContext, provideSliderRootContext] = /*#__PURE__*/ createContext("SliderRoot");
|
|
315
|
+
var SliderRoot_default = /* @__PURE__ */ defineComponent({
|
|
316
|
+
inheritAttrs: false,
|
|
317
|
+
__name: "SliderRoot",
|
|
318
|
+
props: {
|
|
319
|
+
defaultValue: {
|
|
320
|
+
type: Array,
|
|
321
|
+
required: false,
|
|
322
|
+
default: () => [0]
|
|
323
|
+
},
|
|
324
|
+
modelValue: {
|
|
325
|
+
type: [Array, null],
|
|
326
|
+
required: false
|
|
327
|
+
},
|
|
328
|
+
disabled: {
|
|
329
|
+
type: Boolean,
|
|
330
|
+
required: false,
|
|
331
|
+
default: false
|
|
332
|
+
},
|
|
333
|
+
orientation: {
|
|
334
|
+
type: String,
|
|
335
|
+
required: false,
|
|
336
|
+
default: "horizontal"
|
|
337
|
+
},
|
|
338
|
+
dir: {
|
|
339
|
+
type: String,
|
|
340
|
+
required: false
|
|
341
|
+
},
|
|
342
|
+
inverted: {
|
|
343
|
+
type: Boolean,
|
|
344
|
+
required: false,
|
|
345
|
+
default: false
|
|
346
|
+
},
|
|
347
|
+
min: {
|
|
348
|
+
type: Number,
|
|
349
|
+
required: false,
|
|
350
|
+
default: 0
|
|
351
|
+
},
|
|
352
|
+
max: {
|
|
353
|
+
type: Number,
|
|
354
|
+
required: false,
|
|
355
|
+
default: 100
|
|
356
|
+
},
|
|
357
|
+
step: {
|
|
358
|
+
type: Number,
|
|
359
|
+
required: false,
|
|
360
|
+
default: 1
|
|
361
|
+
},
|
|
362
|
+
minStepsBetweenThumbs: {
|
|
363
|
+
type: Number,
|
|
364
|
+
required: false,
|
|
365
|
+
default: 0
|
|
366
|
+
},
|
|
367
|
+
thumbAlignment: {
|
|
368
|
+
type: String,
|
|
369
|
+
required: false,
|
|
370
|
+
default: "contain"
|
|
371
|
+
},
|
|
372
|
+
asChild: {
|
|
373
|
+
type: Boolean,
|
|
374
|
+
required: false
|
|
375
|
+
},
|
|
376
|
+
as: {
|
|
377
|
+
type: null,
|
|
378
|
+
required: false,
|
|
379
|
+
default: "span"
|
|
380
|
+
},
|
|
381
|
+
name: {
|
|
382
|
+
type: String,
|
|
383
|
+
required: false
|
|
384
|
+
},
|
|
385
|
+
required: {
|
|
386
|
+
type: Boolean,
|
|
387
|
+
required: false
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
emits: ["update:modelValue", "valueCommit"],
|
|
391
|
+
setup(__props, { emit: __emit }) {
|
|
392
|
+
const props = __props;
|
|
393
|
+
const emits = __emit;
|
|
394
|
+
const { min, max, step, minStepsBetweenThumbs, orientation, disabled, thumbAlignment, dir: propDir } = toRefs(props);
|
|
395
|
+
const dir = useDirection(propDir);
|
|
396
|
+
const { forwardRef, currentElement } = useForwardExpose();
|
|
397
|
+
const isFormControl = useFormControl(currentElement);
|
|
398
|
+
const { CollectionSlot } = useCollection({ isProvider: true });
|
|
399
|
+
const modelValue = useVModel(props, "modelValue", emits, {
|
|
400
|
+
defaultValue: props.defaultValue,
|
|
401
|
+
passive: props.modelValue === void 0
|
|
402
|
+
});
|
|
403
|
+
const currentModelValue = computed(() => Array.isArray(modelValue.value) ? [...modelValue.value] : []);
|
|
404
|
+
const valueIndexToChangeRef = ref(0);
|
|
405
|
+
const valuesBeforeSlideStartRef = ref(currentModelValue.value);
|
|
406
|
+
function handleSlideStart(value) {
|
|
407
|
+
updateValues(value, getClosestValueIndex(currentModelValue.value, value));
|
|
408
|
+
}
|
|
409
|
+
function handleSlideMove(value) {
|
|
410
|
+
updateValues(value, valueIndexToChangeRef.value);
|
|
411
|
+
}
|
|
412
|
+
function handleSlideEnd() {
|
|
413
|
+
const prevValue = valuesBeforeSlideStartRef.value[valueIndexToChangeRef.value];
|
|
414
|
+
if (currentModelValue.value[valueIndexToChangeRef.value] !== prevValue) emits("valueCommit", toRaw(currentModelValue.value));
|
|
415
|
+
}
|
|
416
|
+
function updateValues(value, atIndex, { commit } = { commit: false }) {
|
|
417
|
+
const decimalCount = getDecimalCount(step.value);
|
|
418
|
+
const nextValue = clamp(roundValue(Math.round((value - min.value) / step.value) * step.value + min.value, decimalCount), min.value, max.value);
|
|
419
|
+
const nextValues = getNextSortedValues(currentModelValue.value, nextValue, atIndex);
|
|
420
|
+
if (hasMinStepsBetweenValues(nextValues, minStepsBetweenThumbs.value * step.value)) {
|
|
421
|
+
valueIndexToChangeRef.value = nextValues.indexOf(nextValue);
|
|
422
|
+
const hasChanged = String(nextValues) !== String(modelValue.value);
|
|
423
|
+
if (hasChanged && commit) emits("valueCommit", nextValues);
|
|
424
|
+
if (hasChanged) {
|
|
425
|
+
thumbElements.value[valueIndexToChangeRef.value]?.focus();
|
|
426
|
+
modelValue.value = nextValues;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
const thumbElements = ref([]);
|
|
431
|
+
provideSliderRootContext({
|
|
432
|
+
modelValue,
|
|
433
|
+
currentModelValue,
|
|
434
|
+
valueIndexToChangeRef,
|
|
435
|
+
thumbElements,
|
|
436
|
+
orientation,
|
|
437
|
+
min,
|
|
438
|
+
max,
|
|
439
|
+
disabled,
|
|
440
|
+
thumbAlignment
|
|
441
|
+
});
|
|
442
|
+
return (_ctx, _cache) => {
|
|
443
|
+
return openBlock(), createBlock(unref(CollectionSlot), null, {
|
|
444
|
+
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(unref(orientation) === "horizontal" ? SliderHorizontal_default : SliderVertical_default), mergeProps(_ctx.$attrs, {
|
|
445
|
+
ref: unref(forwardRef),
|
|
446
|
+
"as-child": _ctx.asChild,
|
|
447
|
+
as: _ctx.as,
|
|
448
|
+
min: unref(min),
|
|
449
|
+
max: unref(max),
|
|
450
|
+
dir: unref(dir),
|
|
451
|
+
inverted: _ctx.inverted,
|
|
452
|
+
"aria-disabled": unref(disabled),
|
|
453
|
+
"data-disabled": unref(disabled) ? "" : void 0,
|
|
454
|
+
onPointerdown: _cache[0] || (_cache[0] = () => {
|
|
455
|
+
if (!unref(disabled)) valuesBeforeSlideStartRef.value = currentModelValue.value;
|
|
456
|
+
}),
|
|
457
|
+
onSlideStart: _cache[1] || (_cache[1] = ($event) => !unref(disabled) && handleSlideStart($event)),
|
|
458
|
+
onSlideMove: _cache[2] || (_cache[2] = ($event) => !unref(disabled) && handleSlideMove($event)),
|
|
459
|
+
onSlideEnd: _cache[3] || (_cache[3] = ($event) => !unref(disabled) && handleSlideEnd()),
|
|
460
|
+
onHomeKeyDown: _cache[4] || (_cache[4] = ($event) => !unref(disabled) && updateValues(unref(min), 0, { commit: true })),
|
|
461
|
+
onEndKeyDown: _cache[5] || (_cache[5] = ($event) => !unref(disabled) && updateValues(unref(max), currentModelValue.value.length - 1, { commit: true })),
|
|
462
|
+
onStepKeyDown: _cache[6] || (_cache[6] = (event, direction) => {
|
|
463
|
+
if (!unref(disabled)) {
|
|
464
|
+
const multiplier = unref(PAGE_KEYS).includes(event.key) || event.shiftKey && unref(ARROW_KEYS).includes(event.key) ? 10 : 1;
|
|
465
|
+
const atIndex = valueIndexToChangeRef.value;
|
|
466
|
+
const value = currentModelValue.value[atIndex];
|
|
467
|
+
updateValues(value + unref(step) * multiplier * direction, atIndex, { commit: true });
|
|
468
|
+
}
|
|
469
|
+
})
|
|
470
|
+
}), {
|
|
471
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { modelValue: unref(modelValue) }), unref(isFormControl) && _ctx.name ? (openBlock(), createBlock(unref(VisuallyHiddenInput_default), {
|
|
472
|
+
key: 0,
|
|
473
|
+
type: "number",
|
|
474
|
+
value: unref(modelValue),
|
|
475
|
+
name: _ctx.name,
|
|
476
|
+
required: _ctx.required,
|
|
477
|
+
disabled: unref(disabled),
|
|
478
|
+
step: unref(step)
|
|
479
|
+
}, null, 8, [
|
|
480
|
+
"value",
|
|
481
|
+
"name",
|
|
482
|
+
"required",
|
|
483
|
+
"disabled",
|
|
484
|
+
"step"
|
|
485
|
+
])) : createCommentVNode("v-if", true)]),
|
|
486
|
+
_: 3
|
|
487
|
+
}, 16, [
|
|
488
|
+
"as-child",
|
|
489
|
+
"as",
|
|
490
|
+
"min",
|
|
491
|
+
"max",
|
|
492
|
+
"dir",
|
|
493
|
+
"inverted",
|
|
494
|
+
"aria-disabled",
|
|
495
|
+
"data-disabled"
|
|
496
|
+
]))]),
|
|
497
|
+
_: 3
|
|
498
|
+
});
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
});
|
|
502
|
+
//#endregion
|
|
503
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/SliderImpl.js
|
|
504
|
+
var SliderImpl_default = /* @__PURE__ */ defineComponent({
|
|
505
|
+
__name: "SliderImpl",
|
|
506
|
+
props: {
|
|
507
|
+
asChild: {
|
|
508
|
+
type: Boolean,
|
|
509
|
+
required: false
|
|
510
|
+
},
|
|
511
|
+
as: {
|
|
512
|
+
type: null,
|
|
513
|
+
required: false,
|
|
514
|
+
default: "span"
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
emits: [
|
|
518
|
+
"slideStart",
|
|
519
|
+
"slideMove",
|
|
520
|
+
"slideEnd",
|
|
521
|
+
"homeKeyDown",
|
|
522
|
+
"endKeyDown",
|
|
523
|
+
"stepKeyDown"
|
|
524
|
+
],
|
|
525
|
+
setup(__props, { emit: __emit }) {
|
|
526
|
+
const props = __props;
|
|
527
|
+
const emits = __emit;
|
|
528
|
+
const rootContext = injectSliderRootContext();
|
|
529
|
+
return (_ctx, _cache) => {
|
|
530
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({ "data-slider-impl": "" }, props, {
|
|
531
|
+
onKeydown: _cache[0] || (_cache[0] = (event) => {
|
|
532
|
+
if (event.key === "Home") {
|
|
533
|
+
emits("homeKeyDown", event);
|
|
534
|
+
event.preventDefault();
|
|
535
|
+
} else if (event.key === "End") {
|
|
536
|
+
emits("endKeyDown", event);
|
|
537
|
+
event.preventDefault();
|
|
538
|
+
} else if (unref(PAGE_KEYS).concat(unref(ARROW_KEYS)).includes(event.key)) {
|
|
539
|
+
emits("stepKeyDown", event);
|
|
540
|
+
event.preventDefault();
|
|
541
|
+
}
|
|
542
|
+
}),
|
|
543
|
+
onPointerdown: _cache[1] || (_cache[1] = (event) => {
|
|
544
|
+
const target = event.target;
|
|
545
|
+
target.setPointerCapture(event.pointerId);
|
|
546
|
+
event.preventDefault();
|
|
547
|
+
if (unref(rootContext).thumbElements.value.includes(target)) target.focus();
|
|
548
|
+
else emits("slideStart", event);
|
|
549
|
+
}),
|
|
550
|
+
onPointermove: _cache[2] || (_cache[2] = (event) => {
|
|
551
|
+
if (event.target.hasPointerCapture(event.pointerId)) emits("slideMove", event);
|
|
552
|
+
}),
|
|
553
|
+
onPointerup: _cache[3] || (_cache[3] = (event) => {
|
|
554
|
+
const target = event.target;
|
|
555
|
+
if (target.hasPointerCapture(event.pointerId)) {
|
|
556
|
+
target.releasePointerCapture(event.pointerId);
|
|
557
|
+
emits("slideEnd", event);
|
|
558
|
+
}
|
|
559
|
+
})
|
|
560
|
+
}), {
|
|
561
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
562
|
+
_: 3
|
|
563
|
+
}, 16);
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
//#endregion
|
|
568
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/SliderRange.js
|
|
569
|
+
var SliderRange_default = /* @__PURE__ */ defineComponent({
|
|
570
|
+
__name: "SliderRange",
|
|
571
|
+
props: {
|
|
572
|
+
asChild: {
|
|
573
|
+
type: Boolean,
|
|
574
|
+
required: false
|
|
575
|
+
},
|
|
576
|
+
as: {
|
|
577
|
+
type: null,
|
|
578
|
+
required: false,
|
|
579
|
+
default: "span"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
setup(__props) {
|
|
583
|
+
const rootContext = injectSliderRootContext();
|
|
584
|
+
const orientation = injectSliderOrientationContext();
|
|
585
|
+
useForwardExpose();
|
|
586
|
+
const percentages = computed(() => rootContext.currentModelValue.value.map((value) => convertValueToPercentage(value, rootContext.min.value, rootContext.max.value)));
|
|
587
|
+
const offsetStart = computed(() => rootContext.currentModelValue.value.length > 1 ? Math.min(...percentages.value) : 0);
|
|
588
|
+
const offsetEnd = computed(() => 100 - Math.max(...percentages.value, 0));
|
|
589
|
+
return (_ctx, _cache) => {
|
|
590
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
591
|
+
"data-disabled": unref(rootContext).disabled.value ? "" : void 0,
|
|
592
|
+
"data-orientation": unref(rootContext).orientation.value,
|
|
593
|
+
"as-child": _ctx.asChild,
|
|
594
|
+
as: _ctx.as,
|
|
595
|
+
style: normalizeStyle({
|
|
596
|
+
[unref(orientation).startEdge.value]: `${offsetStart.value}%`,
|
|
597
|
+
[unref(orientation).endEdge.value]: `${offsetEnd.value}%`
|
|
598
|
+
})
|
|
599
|
+
}, {
|
|
600
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
601
|
+
_: 3
|
|
602
|
+
}, 8, [
|
|
603
|
+
"data-disabled",
|
|
604
|
+
"data-orientation",
|
|
605
|
+
"as-child",
|
|
606
|
+
"as",
|
|
607
|
+
"style"
|
|
608
|
+
]);
|
|
609
|
+
};
|
|
610
|
+
}
|
|
611
|
+
});
|
|
612
|
+
//#endregion
|
|
613
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/SliderThumbImpl.js
|
|
614
|
+
var SliderThumbImpl_default = /* @__PURE__ */ defineComponent({
|
|
615
|
+
inheritAttrs: false,
|
|
616
|
+
__name: "SliderThumbImpl",
|
|
617
|
+
props: {
|
|
618
|
+
index: {
|
|
619
|
+
type: Number,
|
|
620
|
+
required: true
|
|
621
|
+
},
|
|
622
|
+
asChild: {
|
|
623
|
+
type: Boolean,
|
|
624
|
+
required: false
|
|
625
|
+
},
|
|
626
|
+
as: {
|
|
627
|
+
type: null,
|
|
628
|
+
required: false
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
setup(__props) {
|
|
632
|
+
const props = __props;
|
|
633
|
+
const rootContext = injectSliderRootContext();
|
|
634
|
+
const orientation = injectSliderOrientationContext();
|
|
635
|
+
const { forwardRef} = useForwardExpose();
|
|
636
|
+
const { CollectionItem } = useCollection();
|
|
637
|
+
const value = computed(() => rootContext.modelValue?.value?.[props.index]);
|
|
638
|
+
const percent = computed(() => value.value === void 0 ? 0 : convertValueToPercentage(value.value, rootContext.min.value ?? 0, rootContext.max.value ?? 100));
|
|
639
|
+
const label = computed(() => getLabel(props.index, rootContext.modelValue?.value?.length ?? 0));
|
|
640
|
+
const size = useSize();
|
|
641
|
+
const orientationSize = computed(() => size[orientation.size].value);
|
|
642
|
+
const thumbInBoundsOffset = computed(() => {
|
|
643
|
+
if (rootContext.thumbAlignment.value === "overflow" || !orientationSize.value) return 0;
|
|
644
|
+
else return getThumbInBoundsOffset(orientationSize.value, percent.value, orientation.direction.value);
|
|
645
|
+
});
|
|
646
|
+
const isMounted = useMounted();
|
|
647
|
+
return (_ctx, _cache) => {
|
|
648
|
+
return openBlock(), createBlock(unref(CollectionItem), null, {
|
|
649
|
+
default: withCtx(() => [createVNode(unref(Primitive), mergeProps(_ctx.$attrs, {
|
|
650
|
+
ref: unref(forwardRef),
|
|
651
|
+
role: "slider",
|
|
652
|
+
tabindex: unref(rootContext).disabled.value ? void 0 : 0,
|
|
653
|
+
"aria-label": _ctx.$attrs["aria-label"] || label.value,
|
|
654
|
+
"data-disabled": unref(rootContext).disabled.value ? "" : void 0,
|
|
655
|
+
"data-orientation": unref(rootContext).orientation.value,
|
|
656
|
+
"aria-valuenow": value.value,
|
|
657
|
+
"aria-valuemin": unref(rootContext).min.value,
|
|
658
|
+
"aria-valuemax": unref(rootContext).max.value,
|
|
659
|
+
"aria-orientation": unref(rootContext).orientation.value,
|
|
660
|
+
"as-child": _ctx.asChild,
|
|
661
|
+
as: _ctx.as,
|
|
662
|
+
style: {
|
|
663
|
+
transform: "var(--reka-slider-thumb-transform)",
|
|
664
|
+
position: "absolute",
|
|
665
|
+
[unref(orientation).startEdge.value]: `calc(${percent.value}% + ${thumbInBoundsOffset.value}px)`,
|
|
666
|
+
display: !unref(isMounted) && value.value === void 0 ? "none" : void 0
|
|
667
|
+
},
|
|
668
|
+
onFocus: _cache[0] || (_cache[0] = () => {
|
|
669
|
+
unref(rootContext).valueIndexToChangeRef.value = _ctx.index;
|
|
670
|
+
})
|
|
671
|
+
}), {
|
|
672
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
673
|
+
_: 3
|
|
674
|
+
}, 16, [
|
|
675
|
+
"tabindex",
|
|
676
|
+
"aria-label",
|
|
677
|
+
"data-disabled",
|
|
678
|
+
"data-orientation",
|
|
679
|
+
"aria-valuenow",
|
|
680
|
+
"aria-valuemin",
|
|
681
|
+
"aria-valuemax",
|
|
682
|
+
"aria-orientation",
|
|
683
|
+
"as-child",
|
|
684
|
+
"as",
|
|
685
|
+
"style"
|
|
686
|
+
])]),
|
|
687
|
+
_: 3
|
|
688
|
+
});
|
|
689
|
+
};
|
|
690
|
+
}
|
|
691
|
+
});
|
|
692
|
+
//#endregion
|
|
693
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/SliderThumb.js
|
|
694
|
+
var SliderThumb_default = /* @__PURE__ */ defineComponent({
|
|
695
|
+
__name: "SliderThumb",
|
|
696
|
+
props: {
|
|
697
|
+
asChild: {
|
|
698
|
+
type: Boolean,
|
|
699
|
+
required: false
|
|
700
|
+
},
|
|
701
|
+
as: {
|
|
702
|
+
type: null,
|
|
703
|
+
required: false,
|
|
704
|
+
default: "span"
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
setup(__props) {
|
|
708
|
+
const props = __props;
|
|
709
|
+
const { getItems } = useCollection();
|
|
710
|
+
const { forwardRef, currentElement: thumbElement } = useForwardExpose();
|
|
711
|
+
const index = computed(() => thumbElement.value ? getItems(true).findIndex((i) => i.ref === thumbElement.value) : -1);
|
|
712
|
+
return (_ctx, _cache) => {
|
|
713
|
+
return openBlock(), createBlock(SliderThumbImpl_default, mergeProps({ ref: unref(forwardRef) }, props, { index: index.value }), {
|
|
714
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
715
|
+
_: 3
|
|
716
|
+
}, 16, ["index"]);
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
});
|
|
720
|
+
//#endregion
|
|
721
|
+
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Slider/SliderTrack.js
|
|
722
|
+
var SliderTrack_default = /* @__PURE__ */ defineComponent({
|
|
723
|
+
__name: "SliderTrack",
|
|
724
|
+
props: {
|
|
725
|
+
asChild: {
|
|
726
|
+
type: Boolean,
|
|
727
|
+
required: false
|
|
728
|
+
},
|
|
729
|
+
as: {
|
|
730
|
+
type: null,
|
|
731
|
+
required: false,
|
|
732
|
+
default: "span"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
setup(__props) {
|
|
736
|
+
const rootContext = injectSliderRootContext();
|
|
737
|
+
useForwardExpose();
|
|
738
|
+
return (_ctx, _cache) => {
|
|
739
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
740
|
+
"as-child": _ctx.asChild,
|
|
741
|
+
as: _ctx.as,
|
|
742
|
+
"data-disabled": unref(rootContext).disabled.value ? "" : void 0,
|
|
743
|
+
"data-orientation": unref(rootContext).orientation.value
|
|
744
|
+
}, {
|
|
745
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
746
|
+
_: 3
|
|
747
|
+
}, 8, [
|
|
748
|
+
"as-child",
|
|
749
|
+
"as",
|
|
750
|
+
"data-disabled",
|
|
751
|
+
"data-orientation"
|
|
752
|
+
]);
|
|
753
|
+
};
|
|
754
|
+
}
|
|
755
|
+
});
|
|
756
|
+
//#endregion
|
|
757
|
+
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fslider.ts
|
|
758
|
+
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fslider_default = {
|
|
759
|
+
"slots": {
|
|
760
|
+
"root": "relative flex items-center select-none touch-none",
|
|
761
|
+
"track": "relative bg-accented overflow-hidden rounded-full grow",
|
|
762
|
+
"range": "absolute rounded-full",
|
|
763
|
+
"thumb": "rounded-full bg-default ring-2 focus-visible:outline-3 focus-visible:outline-offset-2"
|
|
764
|
+
},
|
|
765
|
+
"variants": {
|
|
766
|
+
"color": {
|
|
767
|
+
"primary": {
|
|
768
|
+
"range": "bg-primary",
|
|
769
|
+
"thumb": "ring-primary outline-primary/25"
|
|
770
|
+
},
|
|
771
|
+
"secondary": {
|
|
772
|
+
"range": "bg-secondary",
|
|
773
|
+
"thumb": "ring-secondary outline-secondary/25"
|
|
774
|
+
},
|
|
775
|
+
"success": {
|
|
776
|
+
"range": "bg-success",
|
|
777
|
+
"thumb": "ring-success outline-success/25"
|
|
778
|
+
},
|
|
779
|
+
"info": {
|
|
780
|
+
"range": "bg-info",
|
|
781
|
+
"thumb": "ring-info outline-info/25"
|
|
782
|
+
},
|
|
783
|
+
"warning": {
|
|
784
|
+
"range": "bg-warning",
|
|
785
|
+
"thumb": "ring-warning outline-warning/25"
|
|
786
|
+
},
|
|
787
|
+
"error": {
|
|
788
|
+
"range": "bg-error",
|
|
789
|
+
"thumb": "ring-error outline-error/25"
|
|
790
|
+
},
|
|
791
|
+
"neutral": {
|
|
792
|
+
"range": "bg-inverted",
|
|
793
|
+
"thumb": "ring-inverted outline-inverted/25"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"size": {
|
|
797
|
+
"xs": { "thumb": "size-3" },
|
|
798
|
+
"sm": { "thumb": "size-3.5" },
|
|
799
|
+
"md": { "thumb": "size-4" },
|
|
800
|
+
"lg": { "thumb": "size-4.5" },
|
|
801
|
+
"xl": { "thumb": "size-5" }
|
|
802
|
+
},
|
|
803
|
+
"orientation": {
|
|
804
|
+
"horizontal": {
|
|
805
|
+
"root": "w-full",
|
|
806
|
+
"range": "h-full"
|
|
807
|
+
},
|
|
808
|
+
"vertical": {
|
|
809
|
+
"root": "flex-col h-full",
|
|
810
|
+
"range": "w-full"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"disabled": { "true": { "root": "opacity-75 cursor-not-allowed" } }
|
|
814
|
+
},
|
|
815
|
+
"compoundVariants": [
|
|
816
|
+
{
|
|
817
|
+
"orientation": "horizontal",
|
|
818
|
+
"size": "xs",
|
|
819
|
+
"class": { "track": "h-[6px]" }
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"orientation": "horizontal",
|
|
823
|
+
"size": "sm",
|
|
824
|
+
"class": { "track": "h-[7px]" }
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"orientation": "horizontal",
|
|
828
|
+
"size": "md",
|
|
829
|
+
"class": { "track": "h-[8px]" }
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"orientation": "horizontal",
|
|
833
|
+
"size": "lg",
|
|
834
|
+
"class": { "track": "h-[9px]" }
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"orientation": "horizontal",
|
|
838
|
+
"size": "xl",
|
|
839
|
+
"class": { "track": "h-[10px]" }
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"orientation": "vertical",
|
|
843
|
+
"size": "xs",
|
|
844
|
+
"class": { "track": "w-[6px]" }
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"orientation": "vertical",
|
|
848
|
+
"size": "sm",
|
|
849
|
+
"class": { "track": "w-[7px]" }
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"orientation": "vertical",
|
|
853
|
+
"size": "md",
|
|
854
|
+
"class": { "track": "w-[8px]" }
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"orientation": "vertical",
|
|
858
|
+
"size": "lg",
|
|
859
|
+
"class": { "track": "w-[9px]" }
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"orientation": "vertical",
|
|
863
|
+
"size": "xl",
|
|
864
|
+
"class": { "track": "w-[10px]" }
|
|
865
|
+
}
|
|
866
|
+
],
|
|
867
|
+
"defaultVariants": {
|
|
868
|
+
"size": "md",
|
|
869
|
+
"color": "primary"
|
|
870
|
+
}
|
|
871
|
+
};
|
|
872
|
+
//#endregion
|
|
873
|
+
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Slider.vue
|
|
874
|
+
var _sfc_main = {
|
|
875
|
+
__name: "USlider",
|
|
876
|
+
__ssrInlineRender: true,
|
|
877
|
+
props: /*@__PURE__*/ mergeModels({
|
|
878
|
+
as: {
|
|
879
|
+
type: null,
|
|
880
|
+
required: false
|
|
881
|
+
},
|
|
882
|
+
size: {
|
|
883
|
+
type: null,
|
|
884
|
+
required: false
|
|
885
|
+
},
|
|
886
|
+
color: {
|
|
887
|
+
type: null,
|
|
888
|
+
required: false
|
|
889
|
+
},
|
|
890
|
+
orientation: {
|
|
891
|
+
type: null,
|
|
892
|
+
required: false,
|
|
893
|
+
default: "horizontal"
|
|
894
|
+
},
|
|
895
|
+
tooltip: {
|
|
896
|
+
type: [Boolean, Object],
|
|
897
|
+
required: false
|
|
898
|
+
},
|
|
899
|
+
defaultValue: {
|
|
900
|
+
type: [Number, Array],
|
|
901
|
+
required: false
|
|
902
|
+
},
|
|
903
|
+
class: {
|
|
904
|
+
type: null,
|
|
905
|
+
required: false
|
|
906
|
+
},
|
|
907
|
+
ui: {
|
|
908
|
+
type: Object,
|
|
909
|
+
required: false
|
|
910
|
+
},
|
|
911
|
+
name: {
|
|
912
|
+
type: String,
|
|
913
|
+
required: false
|
|
914
|
+
},
|
|
915
|
+
disabled: {
|
|
916
|
+
type: Boolean,
|
|
917
|
+
required: false
|
|
918
|
+
},
|
|
919
|
+
inverted: {
|
|
920
|
+
type: Boolean,
|
|
921
|
+
required: false
|
|
922
|
+
},
|
|
923
|
+
min: {
|
|
924
|
+
type: Number,
|
|
925
|
+
required: false,
|
|
926
|
+
default: 0
|
|
927
|
+
},
|
|
928
|
+
max: {
|
|
929
|
+
type: Number,
|
|
930
|
+
required: false,
|
|
931
|
+
default: 100
|
|
932
|
+
},
|
|
933
|
+
step: {
|
|
934
|
+
type: Number,
|
|
935
|
+
required: false,
|
|
936
|
+
default: 1
|
|
937
|
+
},
|
|
938
|
+
minStepsBetweenThumbs: {
|
|
939
|
+
type: Number,
|
|
940
|
+
required: false
|
|
941
|
+
}
|
|
942
|
+
}, {
|
|
943
|
+
"modelValue": { type: null },
|
|
944
|
+
"modelModifiers": {}
|
|
945
|
+
}),
|
|
946
|
+
emits: /*@__PURE__*/ mergeModels(["change"], ["update:modelValue"]),
|
|
947
|
+
setup(__props, { emit: __emit }) {
|
|
948
|
+
const _props = __props;
|
|
949
|
+
const emits = __emit;
|
|
950
|
+
const props = useComponentProps("slider", _props);
|
|
951
|
+
const modelValue = useModel(__props, "modelValue");
|
|
952
|
+
const appConfig = useAppConfig();
|
|
953
|
+
const rootProps = useForwardProps(reactivePick(props, "as", "orientation", "min", "max", "step", "minStepsBetweenThumbs", "inverted"), emits);
|
|
954
|
+
const { id, emitFormChange, emitFormInput, size, color, name, disabled, ariaAttrs } = useFormField(_props);
|
|
955
|
+
const defaultSliderValue = computed(() => {
|
|
956
|
+
if (typeof props.defaultValue === "number") return [props.defaultValue];
|
|
957
|
+
return props.defaultValue;
|
|
958
|
+
});
|
|
959
|
+
const sliderValue = computed({
|
|
960
|
+
get() {
|
|
961
|
+
if (typeof modelValue.value === "number") return [modelValue.value];
|
|
962
|
+
return modelValue.value ?? defaultSliderValue.value;
|
|
963
|
+
},
|
|
964
|
+
set(value) {
|
|
965
|
+
modelValue.value = value?.length !== 1 ? value : value[0];
|
|
966
|
+
}
|
|
967
|
+
});
|
|
968
|
+
const thumbs = computed(() => sliderValue.value?.length ?? 1);
|
|
969
|
+
const ui = computed(() => tv({
|
|
970
|
+
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fslider_default,
|
|
971
|
+
...appConfig.ui?.slider || {}
|
|
972
|
+
})({
|
|
973
|
+
disabled: disabled.value,
|
|
974
|
+
size: size.value ?? props.size,
|
|
975
|
+
color: color.value ?? props.color,
|
|
976
|
+
orientation: props.orientation
|
|
977
|
+
}));
|
|
978
|
+
function onChange(value) {
|
|
979
|
+
const event = new Event("change", { target: { value } });
|
|
980
|
+
emits("change", event);
|
|
981
|
+
emitFormChange();
|
|
982
|
+
}
|
|
983
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
984
|
+
_push(ssrRenderComponent(unref(SliderRoot_default), mergeProps({
|
|
985
|
+
...unref(rootProps),
|
|
986
|
+
...unref(ariaAttrs)
|
|
987
|
+
}, {
|
|
988
|
+
id: unref(id),
|
|
989
|
+
modelValue: sliderValue.value,
|
|
990
|
+
"onUpdate:modelValue": [($event) => sliderValue.value = $event, ($event) => unref(emitFormInput)()],
|
|
991
|
+
name: unref(name),
|
|
992
|
+
disabled: unref(disabled),
|
|
993
|
+
"data-slot": "root",
|
|
994
|
+
class: ui.value.root({ class: [unref(props).ui?.root, unref(props).class] }),
|
|
995
|
+
"default-value": defaultSliderValue.value,
|
|
996
|
+
onValueCommit: onChange
|
|
997
|
+
}, _attrs), {
|
|
998
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
999
|
+
if (_push) {
|
|
1000
|
+
_push(ssrRenderComponent(unref(SliderTrack_default), {
|
|
1001
|
+
"data-slot": "track",
|
|
1002
|
+
class: ui.value.track({ class: unref(props).ui?.track })
|
|
1003
|
+
}, {
|
|
1004
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1005
|
+
if (_push) _push(ssrRenderComponent(unref(SliderRange_default), {
|
|
1006
|
+
"data-slot": "range",
|
|
1007
|
+
class: ui.value.range({ class: unref(props).ui?.range })
|
|
1008
|
+
}, null, _parent, _scopeId));
|
|
1009
|
+
else return [createVNode(unref(SliderRange_default), {
|
|
1010
|
+
"data-slot": "range",
|
|
1011
|
+
class: ui.value.range({ class: unref(props).ui?.range })
|
|
1012
|
+
}, null, 8, ["class"])];
|
|
1013
|
+
}),
|
|
1014
|
+
_: 1
|
|
1015
|
+
}, _parent, _scopeId));
|
|
1016
|
+
_push(`<!--[-->`);
|
|
1017
|
+
ssrRenderList(thumbs.value, (thumb) => {
|
|
1018
|
+
_push(`<!--[-->`);
|
|
1019
|
+
if (!!unref(props).tooltip) _push(ssrRenderComponent(_sfc_main$1, mergeProps({
|
|
1020
|
+
text: thumbs.value > 1 ? String(sliderValue.value?.[thumb - 1]) : String(sliderValue.value),
|
|
1021
|
+
"disable-closing-trigger": ""
|
|
1022
|
+
}, { ref_for: true }, typeof unref(props).tooltip === "object" ? unref(props).tooltip : {}), {
|
|
1023
|
+
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
1024
|
+
if (_push) _push(ssrRenderComponent(unref(SliderThumb_default), {
|
|
1025
|
+
"data-slot": "thumb",
|
|
1026
|
+
class: ui.value.thumb({ class: unref(props).ui?.thumb }),
|
|
1027
|
+
"aria-label": thumbs.value === 1 ? "Thumb" : `Thumb ${thumb} of ${thumbs.value}`
|
|
1028
|
+
}, null, _parent, _scopeId));
|
|
1029
|
+
else return [createVNode(unref(SliderThumb_default), {
|
|
1030
|
+
"data-slot": "thumb",
|
|
1031
|
+
class: ui.value.thumb({ class: unref(props).ui?.thumb }),
|
|
1032
|
+
"aria-label": thumbs.value === 1 ? "Thumb" : `Thumb ${thumb} of ${thumbs.value}`
|
|
1033
|
+
}, null, 8, ["class", "aria-label"])];
|
|
1034
|
+
}),
|
|
1035
|
+
_: 2
|
|
1036
|
+
}, _parent, _scopeId));
|
|
1037
|
+
else _push(ssrRenderComponent(unref(SliderThumb_default), {
|
|
1038
|
+
"data-slot": "thumb",
|
|
1039
|
+
class: ui.value.thumb({ class: unref(props).ui?.thumb }),
|
|
1040
|
+
"aria-label": thumbs.value === 1 ? "Thumb" : `Thumb ${thumb} of ${thumbs.value}`
|
|
1041
|
+
}, null, _parent, _scopeId));
|
|
1042
|
+
_push(`<!--]-->`);
|
|
1043
|
+
});
|
|
1044
|
+
_push(`<!--]-->`);
|
|
1045
|
+
} else return [createVNode(unref(SliderTrack_default), {
|
|
1046
|
+
"data-slot": "track",
|
|
1047
|
+
class: ui.value.track({ class: unref(props).ui?.track })
|
|
1048
|
+
}, {
|
|
1049
|
+
default: withCtx(() => [createVNode(unref(SliderRange_default), {
|
|
1050
|
+
"data-slot": "range",
|
|
1051
|
+
class: ui.value.range({ class: unref(props).ui?.range })
|
|
1052
|
+
}, null, 8, ["class"])]),
|
|
1053
|
+
_: 1
|
|
1054
|
+
}, 8, ["class"]), (openBlock(true), createBlock(Fragment, null, renderList(thumbs.value, (thumb) => {
|
|
1055
|
+
return openBlock(), createBlock(Fragment, { key: thumb }, [!!unref(props).tooltip ? (openBlock(), createBlock(_sfc_main$1, mergeProps({
|
|
1056
|
+
key: 0,
|
|
1057
|
+
text: thumbs.value > 1 ? String(sliderValue.value?.[thumb - 1]) : String(sliderValue.value),
|
|
1058
|
+
"disable-closing-trigger": ""
|
|
1059
|
+
}, { ref_for: true }, typeof unref(props).tooltip === "object" ? unref(props).tooltip : {}), {
|
|
1060
|
+
default: withCtx(() => [createVNode(unref(SliderThumb_default), {
|
|
1061
|
+
"data-slot": "thumb",
|
|
1062
|
+
class: ui.value.thumb({ class: unref(props).ui?.thumb }),
|
|
1063
|
+
"aria-label": thumbs.value === 1 ? "Thumb" : `Thumb ${thumb} of ${thumbs.value}`
|
|
1064
|
+
}, null, 8, ["class", "aria-label"])]),
|
|
1065
|
+
_: 2
|
|
1066
|
+
}, 1040, ["text"])) : (openBlock(), createBlock(unref(SliderThumb_default), {
|
|
1067
|
+
key: 1,
|
|
1068
|
+
"data-slot": "thumb",
|
|
1069
|
+
class: ui.value.thumb({ class: unref(props).ui?.thumb }),
|
|
1070
|
+
"aria-label": thumbs.value === 1 ? "Thumb" : `Thumb ${thumb} of ${thumbs.value}`
|
|
1071
|
+
}, null, 8, ["class", "aria-label"]))], 64);
|
|
1072
|
+
}), 128))];
|
|
1073
|
+
}),
|
|
1074
|
+
_: 1
|
|
1075
|
+
}, _parent));
|
|
1076
|
+
};
|
|
1077
|
+
}
|
|
1078
|
+
};
|
|
1079
|
+
var _sfc_setup = _sfc_main.setup;
|
|
1080
|
+
_sfc_main.setup = (props, ctx) => {
|
|
1081
|
+
const ssrContext = useSSRContext();
|
|
1082
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Slider.vue");
|
|
1083
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
export { _sfc_main as _ };
|
|
1087
|
+
//# sourceMappingURL=Slider-D-n8Y0CX.mjs.map
|