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.
Files changed (507) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/1d1PDhA4.js +1 -0
  3. package/.output/public/_nuxt/3B2XYGg4.js +1 -0
  4. package/.output/public/_nuxt/981KwFWf.js +1 -0
  5. package/.output/public/_nuxt/B30dSvM4.js +1 -0
  6. package/.output/public/_nuxt/BN1Gp4Dm.js +1 -0
  7. package/.output/public/_nuxt/BQlj8Xoe.js +6 -0
  8. package/.output/public/_nuxt/BRkljK8J.js +1 -0
  9. package/.output/public/_nuxt/BSdHYVlE2.js +1 -0
  10. package/.output/public/_nuxt/B_MqTg2k2.js +1 -0
  11. package/.output/public/_nuxt/BiWblTbb2.js +64 -0
  12. package/.output/public/_nuxt/BrPwntMr.js +1 -0
  13. package/.output/public/_nuxt/BskybydR.js +1 -0
  14. package/.output/public/_nuxt/ByRlKR9F.js +1 -0
  15. package/.output/public/_nuxt/C0Zdl2EE2.js +1 -0
  16. package/.output/public/_nuxt/C4qlzA4o.js +1 -0
  17. package/.output/public/_nuxt/C7HxHbxA.js +1 -0
  18. package/.output/public/_nuxt/C97TfNgP.js +3 -0
  19. package/.output/public/_nuxt/CNs_Ozdc.js +1 -0
  20. package/.output/public/_nuxt/CPuhwLY1.js +1 -0
  21. package/.output/public/_nuxt/CVE291Pi.js +1 -0
  22. package/.output/public/_nuxt/C_0VY3Cv2.js +4 -0
  23. package/.output/public/_nuxt/Ce26t8_Y.js +1 -0
  24. package/.output/public/_nuxt/CfW544W5.js +1 -0
  25. package/.output/public/_nuxt/CgMd2Y5s.js +2 -0
  26. package/.output/public/_nuxt/CgdzV712.js +1 -0
  27. package/.output/public/_nuxt/D1wVNWS0.js +1 -0
  28. package/.output/public/_nuxt/DC3bhq63.js +1 -0
  29. package/.output/public/_nuxt/DK3Fl9T5.js +1 -0
  30. package/.output/public/_nuxt/DL1MZZLI.js +1 -0
  31. package/.output/public/_nuxt/DXm-42Fi.js +1 -0
  32. package/.output/public/_nuxt/Djg3Kzfv.js +1 -0
  33. package/.output/public/_nuxt/DkcySee1.js +1 -0
  34. package/.output/public/_nuxt/DmN-PKW1.js +1 -0
  35. package/.output/public/_nuxt/DtFVCXI9.js +1 -0
  36. package/.output/public/_nuxt/Dz7VMlHR.js +1 -0
  37. package/.output/public/_nuxt/NL65vbjG2.js +1 -0
  38. package/.output/public/_nuxt/Oxy7pKSk.js +3 -0
  39. package/.output/public/_nuxt/Pik8or8N2.js +1 -0
  40. package/.output/public/_nuxt/XZ59tThl.js +1 -0
  41. package/.output/public/_nuxt/ZpWjFsgV.js +1 -0
  42. package/.output/public/_nuxt/builds/latest.json +1 -0
  43. package/.output/public/_nuxt/builds/meta/9f85104e-738d-4a74-8daa-40b136ce17d5.json +1 -0
  44. package/.output/public/_nuxt/dXz6dFgW2.js +1 -0
  45. package/.output/public/_nuxt/entry.P6tFNE31.css +1 -0
  46. package/.output/public/_nuxt/error-404.Biv0P6cJ.css +1 -0
  47. package/.output/public/_nuxt/error-500.8ok468rV.css +1 -0
  48. package/.output/public/_nuxt/j0MRD-c3.js +1 -0
  49. package/.output/public/_nuxt/local-pixel-diff.worker-C6RdZoCq.js +2 -0
  50. package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +6 -0
  51. package/.output/public/_nuxt/nearest-area.worker-iSLH0Y_s.js +2 -0
  52. package/.output/public/_nuxt/q7DkoVkj.js +828 -0
  53. package/.output/public/_nuxt/raster-tile.worker-BFlOgJig.js +2 -0
  54. package/.output/public/_nuxt/services._3nQizF8.css +1 -0
  55. package/.output/public/_nuxt/sql-wasm.DfANybxk.wasm +0 -0
  56. package/.output/public/_nuxt/tile-diff.worker-CvWWI_eu.js +1 -0
  57. package/.output/public/_nuxt/zZ1EGR7Y.js +1 -0
  58. package/.output/public/apple-touch-icon.png +0 -0
  59. package/.output/public/favicon.ico +0 -0
  60. package/.output/public/favicon.svg +8 -0
  61. package/.output/public/icon-192.png +0 -0
  62. package/.output/public/icon-512.png +0 -0
  63. package/.output/public/site.webmanifest +11 -0
  64. package/.output/server/chunks/_/config.mjs +208 -0
  65. package/.output/server/chunks/_/config.mjs.map +1 -0
  66. package/.output/server/chunks/_/data-directory.mjs +24 -0
  67. package/.output/server/chunks/_/data-directory.mjs.map +1 -0
  68. package/.output/server/chunks/_/error-500.mjs +20 -0
  69. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  70. package/.output/server/chunks/_/file-workspace.mjs +910 -0
  71. package/.output/server/chunks/_/file-workspace.mjs.map +1 -0
  72. package/.output/server/chunks/_/icons.mjs +6269 -0
  73. package/.output/server/chunks/_/icons.mjs.map +1 -0
  74. package/.output/server/chunks/_/map-service.mjs +233 -0
  75. package/.output/server/chunks/_/map-service.mjs.map +1 -0
  76. package/.output/server/chunks/_/missing-tile.mjs +104 -0
  77. package/.output/server/chunks/_/missing-tile.mjs.map +1 -0
  78. package/.output/server/chunks/_/pixel-diff.mjs +78 -0
  79. package/.output/server/chunks/_/pixel-diff.mjs.map +1 -0
  80. package/.output/server/chunks/_/uom-auth.mjs +334 -0
  81. package/.output/server/chunks/_/uom-auth.mjs.map +1 -0
  82. package/.output/server/chunks/_/uom-map.mjs +265 -0
  83. package/.output/server/chunks/_/uom-map.mjs.map +1 -0
  84. package/.output/server/chunks/build/Alert-0ngTJXxP.mjs +5076 -0
  85. package/.output/server/chunks/build/Alert-0ngTJXxP.mjs.map +1 -0
  86. package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs +569 -0
  87. package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs.map +1 -0
  88. package/.output/server/chunks/build/Empty-CkW3mADt.mjs +359 -0
  89. package/.output/server/chunks/build/Empty-CkW3mADt.mjs.map +1 -0
  90. package/.output/server/chunks/build/FocusScope-Cf0lg0zt.mjs +207 -0
  91. package/.output/server/chunks/build/FocusScope-Cf0lg0zt.mjs.map +1 -0
  92. package/.output/server/chunks/build/FormField-CEUZHcv7.mjs +278 -0
  93. package/.output/server/chunks/build/FormField-CEUZHcv7.mjs.map +1 -0
  94. package/.output/server/chunks/build/Input-BeNavYXb.mjs +592 -0
  95. package/.output/server/chunks/build/Input-BeNavYXb.mjs.map +1 -0
  96. package/.output/server/chunks/build/MapBaseLayerTabs-4445J6yh.mjs +2003 -0
  97. package/.output/server/chunks/build/MapBaseLayerTabs-4445J6yh.mjs.map +1 -0
  98. package/.output/server/chunks/build/Modal-DNZtVxca.mjs +1326 -0
  99. package/.output/server/chunks/build/Modal-DNZtVxca.mjs.map +1 -0
  100. package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs +146 -0
  101. package/.output/server/chunks/build/OnlineMap-CKwiuqUY.mjs.map +1 -0
  102. package/.output/server/chunks/build/Pagination-CDHx4HTZ.mjs +1025 -0
  103. package/.output/server/chunks/build/Pagination-CDHx4HTZ.mjs.map +1 -0
  104. package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs +2066 -0
  105. package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs.map +1 -0
  106. package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs +379 -0
  107. package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs.map +1 -0
  108. package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs +1087 -0
  109. package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs.map +1 -0
  110. package/.output/server/chunks/build/Tooltip-CkpSktvJ.mjs +1345 -0
  111. package/.output/server/chunks/build/Tooltip-CkpSktvJ.mjs.map +1 -0
  112. package/.output/server/chunks/build/_virtual_public-CeOptKUP.mjs +7 -0
  113. package/.output/server/chunks/build/_virtual_public-CeOptKUP.mjs.map +1 -0
  114. package/.output/server/chunks/build/advanced-D1onodoF.mjs +1430 -0
  115. package/.output/server/chunks/build/advanced-D1onodoF.mjs.map +1 -0
  116. package/.output/server/chunks/build/compare-DmSAW8oA.mjs +1093 -0
  117. package/.output/server/chunks/build/compare-DmSAW8oA.mjs.map +1 -0
  118. package/.output/server/chunks/build/dashboard-BJxrZ19n.mjs +3217 -0
  119. package/.output/server/chunks/build/dashboard-BJxrZ19n.mjs.map +1 -0
  120. package/.output/server/chunks/build/details-CBMqXYyo.mjs +3714 -0
  121. package/.output/server/chunks/build/details-CBMqXYyo.mjs.map +1 -0
  122. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +86 -0
  123. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs.map +1 -0
  124. package/.output/server/chunks/build/error-404-styles.DciiguV6.mjs +9 -0
  125. package/.output/server/chunks/build/error-404-styles.DciiguV6.mjs.map +1 -0
  126. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +74 -0
  127. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs.map +1 -0
  128. package/.output/server/chunks/build/error-500-styles.C562DYMR.mjs +9 -0
  129. package/.output/server/chunks/build/error-500-styles.C562DYMR.mjs.map +1 -0
  130. package/.output/server/chunks/build/esm-Dp2lJXbp.mjs +1121 -0
  131. package/.output/server/chunks/build/esm-Dp2lJXbp.mjs.map +1 -0
  132. package/.output/server/chunks/build/interval-BxUMpo78.mjs +411 -0
  133. package/.output/server/chunks/build/interval-BxUMpo78.mjs.map +1 -0
  134. package/.output/server/chunks/build/login-lbtjN0MV.mjs +642 -0
  135. package/.output/server/chunks/build/login-lbtjN0MV.mjs.map +1 -0
  136. package/.output/server/chunks/build/pages-Ba0Eixbd.mjs +220 -0
  137. package/.output/server/chunks/build/pages-Ba0Eixbd.mjs.map +1 -0
  138. package/.output/server/chunks/build/services-DuJwjAB8.mjs +3005 -0
  139. package/.output/server/chunks/build/services-DuJwjAB8.mjs.map +1 -0
  140. package/.output/server/chunks/build/services-styles.eoO16BY9.mjs +9 -0
  141. package/.output/server/chunks/build/services-styles.eoO16BY9.mjs.map +1 -0
  142. package/.output/server/chunks/build/tasks-CyN9x492.mjs +915 -0
  143. package/.output/server/chunks/build/tasks-CyN9x492.mjs.map +1 -0
  144. package/.output/server/chunks/build/tasks-D_Q5EDnn.mjs +87 -0
  145. package/.output/server/chunks/build/tasks-D_Q5EDnn.mjs.map +1 -0
  146. package/.output/server/chunks/nitro/nitro.mjs +6215 -0
  147. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  148. package/.output/server/chunks/routes/api/auth/captcha.post.mjs +21 -0
  149. package/.output/server/chunks/routes/api/auth/captcha.post.mjs.map +1 -0
  150. package/.output/server/chunks/routes/api/auth/login.post.mjs +27 -0
  151. package/.output/server/chunks/routes/api/auth/login.post.mjs.map +1 -0
  152. package/.output/server/chunks/routes/api/auth/logout.post.mjs +22 -0
  153. package/.output/server/chunks/routes/api/auth/logout.post.mjs.map +1 -0
  154. package/.output/server/chunks/routes/api/auth/map-token.post.mjs +22 -0
  155. package/.output/server/chunks/routes/api/auth/map-token.post.mjs.map +1 -0
  156. package/.output/server/chunks/routes/api/auth/send-sms.post.mjs +31 -0
  157. package/.output/server/chunks/routes/api/auth/send-sms.post.mjs.map +1 -0
  158. package/.output/server/chunks/routes/api/auth/status.get.mjs +21 -0
  159. package/.output/server/chunks/routes/api/auth/status.get.mjs.map +1 -0
  160. package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs +44 -0
  161. package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs.map +1 -0
  162. package/.output/server/chunks/routes/api/map/live/status.get.mjs +32 -0
  163. package/.output/server/chunks/routes/api/map/live/status.get.mjs.map +1 -0
  164. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +48 -0
  165. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs.map +1 -0
  166. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +46 -0
  167. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs.map +1 -0
  168. package/.output/server/chunks/routes/api/map-service/config.post.mjs +38 -0
  169. package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -0
  170. package/.output/server/chunks/routes/api/map-service/file.post.mjs +41 -0
  171. package/.output/server/chunks/routes/api/map-service/file.post.mjs.map +1 -0
  172. package/.output/server/chunks/routes/api/map-service/source.post.mjs +35 -0
  173. package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -0
  174. package/.output/server/chunks/routes/api/map-service/status.get.mjs +32 -0
  175. package/.output/server/chunks/routes/api/map-service/status.get.mjs.map +1 -0
  176. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +47 -0
  177. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -0
  178. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +38 -0
  179. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs.map +1 -0
  180. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +42 -0
  181. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -0
  182. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +48 -0
  183. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -0
  184. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +45 -0
  185. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -0
  186. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +32 -0
  187. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs.map +1 -0
  188. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +38 -0
  189. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -0
  190. package/.output/server/chunks/routes/api/workspace/compare.post.mjs +33 -0
  191. package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -0
  192. package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +33 -0
  193. package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -0
  194. package/.output/server/chunks/routes/api/workspace/files.get.mjs +27 -0
  195. package/.output/server/chunks/routes/api/workspace/files.get.mjs.map +1 -0
  196. package/.output/server/chunks/routes/api/workspace/files.post.mjs +38 -0
  197. package/.output/server/chunks/routes/api/workspace/files.post.mjs.map +1 -0
  198. package/.output/server/chunks/routes/api/workspace/stop.post.mjs +32 -0
  199. package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -0
  200. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +36 -0
  201. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -0
  202. package/.output/server/chunks/routes/renderer.mjs +422 -0
  203. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  204. package/.output/server/chunks/routes/services/wms.get.mjs +54 -0
  205. package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -0
  206. package/.output/server/chunks/routes/services/wmts.get.mjs +54 -0
  207. package/.output/server/chunks/routes/services/wmts.get.mjs.map +1 -0
  208. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  209. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  210. package/.output/server/chunks/virtual/entry.mjs +18545 -0
  211. package/.output/server/chunks/virtual/entry.mjs.map +1 -0
  212. package/.output/server/chunks/virtual/precomputed.mjs +4 -0
  213. package/.output/server/chunks/virtual/precomputed.mjs.map +1 -0
  214. package/.output/server/chunks/virtual/styles.mjs +10 -0
  215. package/.output/server/chunks/virtual/styles.mjs.map +1 -0
  216. package/.output/server/index.mjs +12 -0
  217. package/.output/server/index.mjs.map +1 -0
  218. package/.output/server/node_modules/@babel/parser/lib/index.js +14611 -0
  219. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  220. package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +295 -0
  221. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +701 -0
  222. package/.output/server/node_modules/@iconify/utils/lib/css/common.js +75 -0
  223. package/.output/server/node_modules/@iconify/utils/lib/css/format.js +39 -0
  224. package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +47 -0
  225. package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +128 -0
  226. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +19 -0
  227. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +13 -0
  228. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +17 -0
  229. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +16 -0
  230. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +30 -0
  231. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +78 -0
  232. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +100 -0
  233. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +28 -0
  234. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +58 -0
  235. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +48 -0
  236. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +203 -0
  237. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +33 -0
  238. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +132 -0
  239. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +165 -0
  240. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +79 -0
  241. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +92 -0
  242. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +26 -0
  243. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +76 -0
  244. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +66 -0
  245. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +45 -0
  246. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +103 -0
  247. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +36 -0
  248. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +92 -0
  249. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +62 -0
  250. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
  251. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +16 -0
  252. package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +57 -0
  253. package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +33 -0
  254. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +12 -0
  255. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +125 -0
  256. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +19 -0
  257. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +25 -0
  258. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +36 -0
  259. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +91 -0
  260. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +46 -0
  261. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +23 -0
  262. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +42 -0
  263. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +123 -0
  264. package/.output/server/node_modules/@iconify/utils/lib/index.js +52 -0
  265. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +30 -0
  266. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +26 -0
  267. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +27 -0
  268. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +105 -0
  269. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +26 -0
  270. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +26 -0
  271. package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +9 -0
  272. package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +113 -0
  273. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +31 -0
  274. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +13 -0
  275. package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +9 -0
  276. package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +41 -0
  277. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +22 -0
  278. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +67 -0
  279. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +54 -0
  280. package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +27 -0
  281. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +7 -0
  282. package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +22 -0
  283. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +8 -0
  284. package/.output/server/node_modules/@iconify/utils/package.json +119 -0
  285. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6801 -0
  286. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  287. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +692 -0
  288. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  289. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1420 -0
  290. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  291. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1903 -0
  292. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  293. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6976 -0
  294. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  295. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1841 -0
  296. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  297. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +904 -0
  298. package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
  299. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +609 -0
  300. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  301. package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
  302. package/.output/server/node_modules/consola/dist/core.mjs +512 -0
  303. package/.output/server/node_modules/consola/dist/index.mjs +651 -0
  304. package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
  305. package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
  306. package/.output/server/node_modules/consola/package.json +136 -0
  307. package/.output/server/node_modules/devalue/index.js +17 -0
  308. package/.output/server/node_modules/devalue/package.json +39 -0
  309. package/.output/server/node_modules/devalue/src/base64.js +60 -0
  310. package/.output/server/node_modules/devalue/src/constants.js +12 -0
  311. package/.output/server/node_modules/devalue/src/operations.js +193 -0
  312. package/.output/server/node_modules/devalue/src/parse.js +270 -0
  313. package/.output/server/node_modules/devalue/src/stringify.js +428 -0
  314. package/.output/server/node_modules/devalue/src/uneval.js +582 -0
  315. package/.output/server/node_modules/devalue/src/utils.js +185 -0
  316. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  317. package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
  318. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  319. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  320. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  321. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  322. package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
  323. package/.output/server/node_modules/entities/package.json +120 -0
  324. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  325. package/.output/server/node_modules/estree-walker/package.json +37 -0
  326. package/.output/server/node_modules/fflate/esm/index.mjs +2710 -0
  327. package/.output/server/node_modules/fflate/package.json +128 -0
  328. package/.output/server/node_modules/fnv1a-64/dist/index.mjs +95 -0
  329. package/.output/server/node_modules/fnv1a-64/package.json +75 -0
  330. package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
  331. package/.output/server/node_modules/hookable/package.json +53 -0
  332. package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +19 -0
  333. package/.output/server/node_modules/nostics/dist/index.mjs +187 -0
  334. package/.output/server/node_modules/nostics/package.json +125 -0
  335. package/.output/server/node_modules/object-identity/index.js +60 -0
  336. package/.output/server/node_modules/object-identity/package.json +40 -0
  337. package/.output/server/node_modules/p-limit/index.js +104 -0
  338. package/.output/server/node_modules/p-limit/package.json +58 -0
  339. package/.output/server/node_modules/pmtiles/dist/esm/index.js +2 -0
  340. package/.output/server/node_modules/pmtiles/package.json +50 -0
  341. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  342. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  343. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  344. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  345. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  346. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  347. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  348. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  349. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  350. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  351. package/.output/server/node_modules/source-map-js/package.json +71 -0
  352. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  353. package/.output/server/node_modules/tailwindcss/dist/chunk-DCG7AFIE.mjs +1 -0
  354. package/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
  355. package/.output/server/node_modules/tailwindcss/package.json +89 -0
  356. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  357. package/.output/server/node_modules/ufo/package.json +48 -0
  358. package/.output/server/node_modules/unhead/dist/client.mjs +22 -0
  359. package/.output/server/node_modules/unhead/dist/index.mjs +52 -0
  360. package/.output/server/node_modules/unhead/dist/legacy.mjs +33 -0
  361. package/.output/server/node_modules/unhead/dist/minify.mjs +183 -0
  362. package/.output/server/node_modules/unhead/dist/parser.mjs +518 -0
  363. package/.output/server/node_modules/unhead/dist/plugins.mjs +631 -0
  364. package/.output/server/node_modules/unhead/dist/scripts.node.mjs +6 -0
  365. package/.output/server/node_modules/unhead/dist/server.mjs +99 -0
  366. package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +673 -0
  367. package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +47 -0
  368. package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +192 -0
  369. package/.output/server/node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs +67 -0
  370. package/.output/server/node_modules/unhead/dist/shared/unhead.BdK3SLPN.mjs +585 -0
  371. package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +6 -0
  372. package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +17 -0
  373. package/.output/server/node_modules/unhead/dist/shared/unhead.C3b2Ipoj.mjs +223 -0
  374. package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +32 -0
  375. package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +7 -0
  376. package/.output/server/node_modules/unhead/dist/shared/unhead.CTjuIdzk.mjs +27 -0
  377. package/.output/server/node_modules/unhead/dist/shared/unhead.CfKy3Kuq.mjs +196 -0
  378. package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +59 -0
  379. package/.output/server/node_modules/unhead/dist/shared/unhead.DNKiVLV7.mjs +400 -0
  380. package/.output/server/node_modules/unhead/dist/shared/unhead.MC5RsXLj.mjs +19 -0
  381. package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +264 -0
  382. package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +240 -0
  383. package/.output/server/node_modules/unhead/dist/stream/client.mjs +28 -0
  384. package/.output/server/node_modules/unhead/dist/stream/iife.mjs +2 -0
  385. package/.output/server/node_modules/unhead/dist/stream/server.mjs +264 -0
  386. package/.output/server/node_modules/unhead/dist/utils.mjs +7 -0
  387. package/.output/server/node_modules/unhead/package.json +179 -0
  388. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  389. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  390. package/.output/server/node_modules/vue/index.js +7 -0
  391. package/.output/server/node_modules/vue/index.mjs +1 -0
  392. package/.output/server/node_modules/vue/package.json +112 -0
  393. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  394. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +278 -0
  395. package/.output/server/node_modules/vue-bundle-renderer/package.json +54 -0
  396. package/.output/server/node_modules/yocto-queue/index.js +90 -0
  397. package/.output/server/node_modules/yocto-queue/package.json +48 -0
  398. package/.output/server/node_modules/zod/index.js +4 -0
  399. package/.output/server/node_modules/zod/package.json +135 -0
  400. package/.output/server/node_modules/zod/v4/classic/checks.js +1 -0
  401. package/.output/server/node_modules/zod/v4/classic/coerce.js +17 -0
  402. package/.output/server/node_modules/zod/v4/classic/compat.js +31 -0
  403. package/.output/server/node_modules/zod/v4/classic/errors.js +48 -0
  404. package/.output/server/node_modules/zod/v4/classic/external.js +20 -0
  405. package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  406. package/.output/server/node_modules/zod/v4/classic/iso.js +30 -0
  407. package/.output/server/node_modules/zod/v4/classic/package.json +7 -0
  408. package/.output/server/node_modules/zod/v4/classic/parse.js +15 -0
  409. package/.output/server/node_modules/zod/v4/classic/schemas.js +1395 -0
  410. package/.output/server/node_modules/zod/v4/core/api.js +1087 -0
  411. package/.output/server/node_modules/zod/v4/core/checks.js +575 -0
  412. package/.output/server/node_modules/zod/v4/core/core.js +78 -0
  413. package/.output/server/node_modules/zod/v4/core/doc.js +35 -0
  414. package/.output/server/node_modules/zod/v4/core/errors.js +185 -0
  415. package/.output/server/node_modules/zod/v4/core/index.js +16 -0
  416. package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  417. package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  418. package/.output/server/node_modules/zod/v4/core/json-schema.js +1 -0
  419. package/.output/server/node_modules/zod/v4/core/package.json +7 -0
  420. package/.output/server/node_modules/zod/v4/core/parse.js +93 -0
  421. package/.output/server/node_modules/zod/v4/core/regexes.js +139 -0
  422. package/.output/server/node_modules/zod/v4/core/registries.js +51 -0
  423. package/.output/server/node_modules/zod/v4/core/schemas.js +2239 -0
  424. package/.output/server/node_modules/zod/v4/core/to-json-schema.js +448 -0
  425. package/.output/server/node_modules/zod/v4/core/util.js +674 -0
  426. package/.output/server/node_modules/zod/v4/core/versions.js +5 -0
  427. package/.output/server/node_modules/zod/v4/locales/ar.js +106 -0
  428. package/.output/server/node_modules/zod/v4/locales/az.js +105 -0
  429. package/.output/server/node_modules/zod/v4/locales/be.js +156 -0
  430. package/.output/server/node_modules/zod/v4/locales/bg.js +120 -0
  431. package/.output/server/node_modules/zod/v4/locales/ca.js +107 -0
  432. package/.output/server/node_modules/zod/v4/locales/cs.js +111 -0
  433. package/.output/server/node_modules/zod/v4/locales/da.js +115 -0
  434. package/.output/server/node_modules/zod/v4/locales/de.js +108 -0
  435. package/.output/server/node_modules/zod/v4/locales/el.js +109 -0
  436. package/.output/server/node_modules/zod/v4/locales/en.js +113 -0
  437. package/.output/server/node_modules/zod/v4/locales/eo.js +109 -0
  438. package/.output/server/node_modules/zod/v4/locales/es.js +132 -0
  439. package/.output/server/node_modules/zod/v4/locales/fa.js +114 -0
  440. package/.output/server/node_modules/zod/v4/locales/fi.js +112 -0
  441. package/.output/server/node_modules/zod/v4/locales/fr-CA.js +107 -0
  442. package/.output/server/node_modules/zod/v4/locales/fr.js +125 -0
  443. package/.output/server/node_modules/zod/v4/locales/he.js +214 -0
  444. package/.output/server/node_modules/zod/v4/locales/hr.js +122 -0
  445. package/.output/server/node_modules/zod/v4/locales/hu.js +108 -0
  446. package/.output/server/node_modules/zod/v4/locales/hy.js +147 -0
  447. package/.output/server/node_modules/zod/v4/locales/id.js +106 -0
  448. package/.output/server/node_modules/zod/v4/locales/index.js +52 -0
  449. package/.output/server/node_modules/zod/v4/locales/is.js +109 -0
  450. package/.output/server/node_modules/zod/v4/locales/it.js +108 -0
  451. package/.output/server/node_modules/zod/v4/locales/ja.js +107 -0
  452. package/.output/server/node_modules/zod/v4/locales/ka.js +112 -0
  453. package/.output/server/node_modules/zod/v4/locales/kh.js +5 -0
  454. package/.output/server/node_modules/zod/v4/locales/km.js +110 -0
  455. package/.output/server/node_modules/zod/v4/locales/ko.js +111 -0
  456. package/.output/server/node_modules/zod/v4/locales/lt.js +203 -0
  457. package/.output/server/node_modules/zod/v4/locales/mk.js +109 -0
  458. package/.output/server/node_modules/zod/v4/locales/ms.js +107 -0
  459. package/.output/server/node_modules/zod/v4/locales/nl.js +110 -0
  460. package/.output/server/node_modules/zod/v4/locales/no.js +108 -0
  461. package/.output/server/node_modules/zod/v4/locales/ota.js +109 -0
  462. package/.output/server/node_modules/zod/v4/locales/package.json +7 -0
  463. package/.output/server/node_modules/zod/v4/locales/pl.js +109 -0
  464. package/.output/server/node_modules/zod/v4/locales/ps.js +114 -0
  465. package/.output/server/node_modules/zod/v4/locales/pt.js +108 -0
  466. package/.output/server/node_modules/zod/v4/locales/ro.js +119 -0
  467. package/.output/server/node_modules/zod/v4/locales/ru.js +156 -0
  468. package/.output/server/node_modules/zod/v4/locales/sl.js +109 -0
  469. package/.output/server/node_modules/zod/v4/locales/sv.js +110 -0
  470. package/.output/server/node_modules/zod/v4/locales/ta.js +110 -0
  471. package/.output/server/node_modules/zod/v4/locales/th.js +110 -0
  472. package/.output/server/node_modules/zod/v4/locales/tr.js +105 -0
  473. package/.output/server/node_modules/zod/v4/locales/ua.js +5 -0
  474. package/.output/server/node_modules/zod/v4/locales/uk.js +108 -0
  475. package/.output/server/node_modules/zod/v4/locales/ur.js +110 -0
  476. package/.output/server/node_modules/zod/v4/locales/uz.js +110 -0
  477. package/.output/server/node_modules/zod/v4/locales/vi.js +108 -0
  478. package/.output/server/node_modules/zod/v4/locales/yo.js +107 -0
  479. package/.output/server/node_modules/zod/v4/locales/zh-CN.js +109 -0
  480. package/.output/server/node_modules/zod/v4/locales/zh-TW.js +107 -0
  481. package/.output/server/package.json +37 -0
  482. package/LICENSE +3 -0
  483. package/README.md +125 -0
  484. package/dist/src/bbox.js +55 -0
  485. package/dist/src/cli.js +255 -0
  486. package/dist/src/config.js +56 -0
  487. package/dist/src/core/fetch-process.js +19 -0
  488. package/dist/src/core/grid-renderer.js +149 -0
  489. package/dist/src/core/lease.js +103 -0
  490. package/dist/src/core/paths.js +13 -0
  491. package/dist/src/core/png.js +192 -0
  492. package/dist/src/core/raster-style.js +33 -0
  493. package/dist/src/core/uomtiles.js +307 -0
  494. package/dist/src/fetcher.js +208 -0
  495. package/dist/src/geographic-grid.js +162 -0
  496. package/dist/src/grid-crawl.js +478 -0
  497. package/dist/src/mask-image.js +16 -0
  498. package/dist/src/official-grid.js +51 -0
  499. package/dist/src/quality.js +30 -0
  500. package/dist/src/token.js +206 -0
  501. package/package.json +68 -0
  502. package/public/apple-touch-icon.png +0 -0
  503. package/public/favicon.ico +0 -0
  504. package/public/favicon.svg +8 -0
  505. package/public/icon-192.png +0 -0
  506. package/public/icon-512.png +0 -0
  507. package/public/site.webmanifest +11 -0
@@ -0,0 +1,1326 @@
1
+ import { d as useComponentProps, e as useLocale, f as useAppConfig, g as useForwardProps, r as reactivePick, h as usePortal, l as createReusableTemplate, t as tv, V as VisuallyHidden_default, b as _sfc_main$1, F as FieldGroupReset, w as useVModel, aa as useEmitAsProps, v as useForwardExpose, z as Presence_default, P as Primitive, T as Teleport_default, A as createContext } from '../virtual/entry.mjs';
2
+ import { u as useId$1, D as DismissableLayer_default } from './DashboardSidebarToggle-pncTaIJq.mjs';
3
+ import { a as useHideOthers, u as useBodyScrollLock, F as FocusScope_default } from './FocusScope-Cf0lg0zt.mjs';
4
+ import { useSlots, toRef, computed, unref, mergeProps, withCtx, toHandlers, renderSlot, createTextVNode, toDisplayString, openBlock, createBlock, createCommentVNode, createVNode, Fragment, defineComponent, ref, toRefs, withDirectives, vShow, normalizeProps, guardReactiveProps, watch, withModifiers, useSSRContext } from 'vue';
5
+ import { ssrRenderComponent, ssrRenderSlot, ssrInterpolate, ssrRenderClass } from 'vue/server-renderer';
6
+
7
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogRoot.js
8
+ var [injectDialogRootContext, provideDialogRootContext] = /*#__PURE__*/ createContext("DialogRoot");
9
+ var DialogRoot_default = /* @__PURE__ */ defineComponent({
10
+ inheritAttrs: false,
11
+ __name: "DialogRoot",
12
+ props: {
13
+ open: {
14
+ type: Boolean,
15
+ required: false,
16
+ default: void 0
17
+ },
18
+ defaultOpen: {
19
+ type: Boolean,
20
+ required: false,
21
+ default: false
22
+ },
23
+ modal: {
24
+ type: Boolean,
25
+ required: false,
26
+ default: true
27
+ },
28
+ unmountOnHide: {
29
+ type: Boolean,
30
+ required: false,
31
+ default: true
32
+ }
33
+ },
34
+ emits: ["update:open"],
35
+ setup(__props, { emit: __emit }) {
36
+ const props = __props;
37
+ const open = useVModel(props, "open", __emit, {
38
+ defaultValue: props.defaultOpen,
39
+ passive: props.open === void 0
40
+ });
41
+ const triggerElement = ref();
42
+ const contentElement = ref();
43
+ const { modal, unmountOnHide } = toRefs(props);
44
+ provideDialogRootContext({
45
+ open,
46
+ modal,
47
+ unmountOnHide,
48
+ openModal: () => {
49
+ open.value = true;
50
+ },
51
+ onOpenChange: (value) => {
52
+ open.value = value;
53
+ },
54
+ onOpenToggle: () => {
55
+ open.value = !open.value;
56
+ },
57
+ contentId: "",
58
+ titleId: "",
59
+ descriptionId: "",
60
+ triggerElement,
61
+ contentElement
62
+ });
63
+ return (_ctx, _cache) => {
64
+ return renderSlot(_ctx.$slots, "default", {
65
+ open: unref(open),
66
+ close: () => open.value = false
67
+ });
68
+ };
69
+ }
70
+ });
71
+ //#endregion
72
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogClose.js
73
+ var DialogClose_default = /* @__PURE__ */ defineComponent({
74
+ __name: "DialogClose",
75
+ props: {
76
+ asChild: {
77
+ type: Boolean,
78
+ required: false
79
+ },
80
+ as: {
81
+ type: null,
82
+ required: false,
83
+ default: "button"
84
+ }
85
+ },
86
+ setup(__props) {
87
+ const props = __props;
88
+ useForwardExpose();
89
+ const rootContext = injectDialogRootContext();
90
+ return (_ctx, _cache) => {
91
+ return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
92
+ type: _ctx.as === "button" ? "button" : void 0,
93
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(rootContext).onOpenChange(false))
94
+ }), {
95
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
96
+ _: 3
97
+ }, 16, ["type"]);
98
+ };
99
+ }
100
+ });
101
+ function getOpenState(open) {
102
+ return open ? "open" : "closed";
103
+ }
104
+ //#endregion
105
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogContentImpl.js
106
+ var DialogContentImpl_default = /* @__PURE__ */ defineComponent({
107
+ __name: "DialogContentImpl",
108
+ props: {
109
+ forceMount: {
110
+ type: Boolean,
111
+ required: false
112
+ },
113
+ trapFocus: {
114
+ type: Boolean,
115
+ required: false
116
+ },
117
+ disableOutsidePointerEvents: {
118
+ type: Boolean,
119
+ required: false
120
+ },
121
+ asChild: {
122
+ type: Boolean,
123
+ required: false
124
+ },
125
+ as: {
126
+ type: null,
127
+ required: false
128
+ },
129
+ present: {
130
+ type: Boolean,
131
+ required: false
132
+ }
133
+ },
134
+ emits: [
135
+ "escapeKeyDown",
136
+ "pointerDownOutside",
137
+ "focusOutside",
138
+ "interactOutside",
139
+ "openAutoFocus",
140
+ "closeAutoFocus"
141
+ ],
142
+ setup(__props, { emit: __emit }) {
143
+ const props = __props;
144
+ const emits = __emit;
145
+ const rootContext = injectDialogRootContext();
146
+ const { forwardRef} = useForwardExpose();
147
+ rootContext.titleId ||= useId$1(void 0, "reka-dialog-title");
148
+ rootContext.descriptionId ||= useId$1(void 0, "reka-dialog-description");
149
+ return (_ctx, _cache) => {
150
+ return openBlock(), createBlock(unref(FocusScope_default), {
151
+ "as-child": "",
152
+ loop: "",
153
+ trapped: props.trapFocus,
154
+ present: props.present,
155
+ onMountAutoFocus: _cache[5] || (_cache[5] = ($event) => emits("openAutoFocus", $event)),
156
+ onUnmountAutoFocus: _cache[6] || (_cache[6] = ($event) => emits("closeAutoFocus", $event))
157
+ }, {
158
+ default: withCtx(() => [createVNode(unref(DismissableLayer_default), mergeProps({
159
+ id: unref(rootContext).contentId,
160
+ ref: unref(forwardRef),
161
+ as: _ctx.as,
162
+ "as-child": _ctx.asChild,
163
+ present: props.present,
164
+ "disable-outside-pointer-events": _ctx.disableOutsidePointerEvents,
165
+ role: "dialog",
166
+ "aria-describedby": unref(rootContext).descriptionId,
167
+ "aria-labelledby": unref(rootContext).titleId,
168
+ "data-state": unref(getOpenState)(unref(rootContext).open.value)
169
+ }, _ctx.$attrs, {
170
+ onDismiss: _cache[0] || (_cache[0] = ($event) => unref(rootContext).onOpenChange(false)),
171
+ onEscapeKeyDown: _cache[1] || (_cache[1] = ($event) => emits("escapeKeyDown", $event)),
172
+ onFocusOutside: _cache[2] || (_cache[2] = ($event) => emits("focusOutside", $event)),
173
+ onInteractOutside: _cache[3] || (_cache[3] = ($event) => emits("interactOutside", $event)),
174
+ onPointerDownOutside: _cache[4] || (_cache[4] = ($event) => emits("pointerDownOutside", $event))
175
+ }), {
176
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
177
+ _: 3
178
+ }, 16, [
179
+ "id",
180
+ "as",
181
+ "as-child",
182
+ "present",
183
+ "disable-outside-pointer-events",
184
+ "aria-describedby",
185
+ "aria-labelledby",
186
+ "data-state"
187
+ ])]),
188
+ _: 3
189
+ }, 8, ["trapped", "present"]);
190
+ };
191
+ }
192
+ });
193
+ //#endregion
194
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogContentModal.js
195
+ var DialogContentModal_default = /* @__PURE__ */ defineComponent({
196
+ __name: "DialogContentModal",
197
+ props: {
198
+ forceMount: {
199
+ type: Boolean,
200
+ required: false
201
+ },
202
+ trapFocus: {
203
+ type: Boolean,
204
+ required: false
205
+ },
206
+ disableOutsidePointerEvents: {
207
+ type: Boolean,
208
+ required: false,
209
+ default: true
210
+ },
211
+ asChild: {
212
+ type: Boolean,
213
+ required: false
214
+ },
215
+ as: {
216
+ type: null,
217
+ required: false
218
+ },
219
+ present: {
220
+ type: Boolean,
221
+ required: true
222
+ }
223
+ },
224
+ emits: [
225
+ "escapeKeyDown",
226
+ "pointerDownOutside",
227
+ "focusOutside",
228
+ "interactOutside",
229
+ "openAutoFocus",
230
+ "closeAutoFocus"
231
+ ],
232
+ setup(__props, { emit: __emit }) {
233
+ const props = __props;
234
+ const emits = __emit;
235
+ const rootContext = injectDialogRootContext();
236
+ const emitsAsProps = useEmitAsProps(emits);
237
+ const { forwardRef, currentElement } = useForwardExpose();
238
+ const ariaHiddenTarget = computed(() => props.present ? currentElement.value : void 0);
239
+ useHideOthers(ariaHiddenTarget);
240
+ const forwardedProps = computed(() => {
241
+ const { present: _, ...rest } = props;
242
+ return rest;
243
+ });
244
+ watch(() => props.present, (isPresent, wasPresent) => {
245
+ if (!isPresent && wasPresent) rootContext.triggerElement.value?.focus();
246
+ });
247
+ return (_ctx, _cache) => {
248
+ return openBlock(), createBlock(DialogContentImpl_default, mergeProps({
249
+ ...forwardedProps.value,
250
+ ...unref(emitsAsProps)
251
+ }, {
252
+ ref: unref(forwardRef),
253
+ present: _ctx.present,
254
+ "trap-focus": unref(rootContext).open.value,
255
+ "disable-outside-pointer-events": props.disableOutsidePointerEvents,
256
+ onCloseAutoFocus: _cache[0] || (_cache[0] = (event) => {
257
+ if (!event.defaultPrevented) {
258
+ event.preventDefault();
259
+ unref(rootContext).triggerElement.value?.focus();
260
+ }
261
+ }),
262
+ onPointerDownOutside: _cache[1] || (_cache[1] = (event) => {
263
+ const originalEvent = event.detail.originalEvent;
264
+ const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;
265
+ if (originalEvent.button === 2 || ctrlLeftClick) event.preventDefault();
266
+ }),
267
+ onFocusOutside: _cache[2] || (_cache[2] = (event) => {
268
+ event.preventDefault();
269
+ })
270
+ }), {
271
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
272
+ _: 3
273
+ }, 16, [
274
+ "present",
275
+ "trap-focus",
276
+ "disable-outside-pointer-events"
277
+ ]);
278
+ };
279
+ }
280
+ });
281
+ //#endregion
282
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogContentNonModal.js
283
+ var DialogContentNonModal_default = /* @__PURE__ */ defineComponent({
284
+ __name: "DialogContentNonModal",
285
+ props: {
286
+ forceMount: {
287
+ type: Boolean,
288
+ required: false
289
+ },
290
+ trapFocus: {
291
+ type: Boolean,
292
+ required: false
293
+ },
294
+ disableOutsidePointerEvents: {
295
+ type: Boolean,
296
+ required: false
297
+ },
298
+ asChild: {
299
+ type: Boolean,
300
+ required: false
301
+ },
302
+ as: {
303
+ type: null,
304
+ required: false
305
+ },
306
+ present: {
307
+ type: Boolean,
308
+ required: true
309
+ }
310
+ },
311
+ emits: [
312
+ "escapeKeyDown",
313
+ "pointerDownOutside",
314
+ "focusOutside",
315
+ "interactOutside",
316
+ "openAutoFocus",
317
+ "closeAutoFocus"
318
+ ],
319
+ setup(__props, { emit: __emit }) {
320
+ const props = __props;
321
+ const emitsAsProps = useEmitAsProps(__emit);
322
+ useForwardExpose();
323
+ const rootContext = injectDialogRootContext();
324
+ const hasInteractedOutsideRef = ref(false);
325
+ const hasPointerDownOutsideRef = ref(false);
326
+ const forwardedProps = computed(() => {
327
+ const { present: _, ...rest } = props;
328
+ return rest;
329
+ });
330
+ watch(() => props.present, (isPresent, wasPresent) => {
331
+ if (!isPresent && wasPresent) {
332
+ if (!hasInteractedOutsideRef.value) rootContext.triggerElement.value?.focus();
333
+ hasInteractedOutsideRef.value = false;
334
+ hasPointerDownOutsideRef.value = false;
335
+ }
336
+ });
337
+ return (_ctx, _cache) => {
338
+ return openBlock(), createBlock(DialogContentImpl_default, mergeProps({
339
+ ...forwardedProps.value,
340
+ ...unref(emitsAsProps)
341
+ }, {
342
+ present: _ctx.present,
343
+ "trap-focus": false,
344
+ "disable-outside-pointer-events": false,
345
+ onCloseAutoFocus: _cache[0] || (_cache[0] = (event) => {
346
+ if (!event.defaultPrevented) {
347
+ if (!hasInteractedOutsideRef.value) unref(rootContext).triggerElement.value?.focus();
348
+ event.preventDefault();
349
+ }
350
+ hasInteractedOutsideRef.value = false;
351
+ hasPointerDownOutsideRef.value = false;
352
+ }),
353
+ onInteractOutside: _cache[1] || (_cache[1] = (event) => {
354
+ if (!event.defaultPrevented) {
355
+ hasInteractedOutsideRef.value = true;
356
+ if (event.detail.originalEvent.type === "pointerdown") hasPointerDownOutsideRef.value = true;
357
+ }
358
+ const target = event.target;
359
+ if (unref(rootContext).triggerElement.value?.contains(target)) event.preventDefault();
360
+ if (event.detail.originalEvent.type === "focusin" && hasPointerDownOutsideRef.value) event.preventDefault();
361
+ })
362
+ }), {
363
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
364
+ _: 3
365
+ }, 16, ["present"]);
366
+ };
367
+ }
368
+ });
369
+ //#endregion
370
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogContent.js
371
+ var DialogContent_default = /* @__PURE__ */ defineComponent({
372
+ __name: "DialogContent",
373
+ props: {
374
+ forceMount: {
375
+ type: Boolean,
376
+ required: false
377
+ },
378
+ disableOutsidePointerEvents: {
379
+ type: Boolean,
380
+ required: false,
381
+ default: void 0
382
+ },
383
+ asChild: {
384
+ type: Boolean,
385
+ required: false
386
+ },
387
+ as: {
388
+ type: null,
389
+ required: false
390
+ }
391
+ },
392
+ emits: [
393
+ "escapeKeyDown",
394
+ "pointerDownOutside",
395
+ "focusOutside",
396
+ "interactOutside",
397
+ "openAutoFocus",
398
+ "closeAutoFocus"
399
+ ],
400
+ setup(__props, { emit: __emit }) {
401
+ const props = __props;
402
+ const emits = __emit;
403
+ const rootContext = injectDialogRootContext();
404
+ const emitsAsProps = useEmitAsProps(emits);
405
+ const { forwardRef } = useForwardExpose();
406
+ return (_ctx, _cache) => {
407
+ return openBlock(), createBlock(unref(Presence_default), {
408
+ present: _ctx.forceMount || unref(rootContext).open.value,
409
+ "force-mount": _ctx.forceMount || !unref(rootContext).unmountOnHide.value
410
+ }, {
411
+ default: withCtx(({ present }) => [unref(rootContext).modal.value ? withDirectives((openBlock(), createBlock(DialogContentModal_default, mergeProps({
412
+ key: 0,
413
+ ref: unref(forwardRef),
414
+ present: unref(rootContext).unmountOnHide.value || present
415
+ }, {
416
+ ...props,
417
+ ...unref(emitsAsProps),
418
+ ..._ctx.$attrs
419
+ }), {
420
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
421
+ _: 2
422
+ }, 1040, ["present"])), [[vShow, unref(rootContext).unmountOnHide.value || present]]) : withDirectives((openBlock(), createBlock(DialogContentNonModal_default, mergeProps({
423
+ key: 1,
424
+ ref: unref(forwardRef),
425
+ present: unref(rootContext).unmountOnHide.value || present
426
+ }, {
427
+ ...props,
428
+ ...unref(emitsAsProps),
429
+ ..._ctx.$attrs
430
+ }), {
431
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
432
+ _: 2
433
+ }, 1040, ["present"])), [[vShow, unref(rootContext).unmountOnHide.value || present]])]),
434
+ _: 3
435
+ }, 8, ["present", "force-mount"]);
436
+ };
437
+ }
438
+ });
439
+ //#endregion
440
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogDescription.js
441
+ var DialogDescription_default = /* @__PURE__ */ defineComponent({
442
+ __name: "DialogDescription",
443
+ props: {
444
+ asChild: {
445
+ type: Boolean,
446
+ required: false
447
+ },
448
+ as: {
449
+ type: null,
450
+ required: false,
451
+ default: "p"
452
+ }
453
+ },
454
+ setup(__props) {
455
+ const props = __props;
456
+ useForwardExpose();
457
+ const rootContext = injectDialogRootContext();
458
+ return (_ctx, _cache) => {
459
+ return openBlock(), createBlock(unref(Primitive), mergeProps(props, { id: unref(rootContext).descriptionId }), {
460
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
461
+ _: 3
462
+ }, 16, ["id"]);
463
+ };
464
+ }
465
+ });
466
+ //#endregion
467
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogOverlayImpl.js
468
+ var DialogOverlayImpl_default = /* @__PURE__ */ defineComponent({
469
+ __name: "DialogOverlayImpl",
470
+ props: {
471
+ asChild: {
472
+ type: Boolean,
473
+ required: false
474
+ },
475
+ as: {
476
+ type: null,
477
+ required: false
478
+ },
479
+ present: {
480
+ type: Boolean,
481
+ required: false,
482
+ default: true
483
+ }
484
+ },
485
+ setup(__props) {
486
+ const props = __props;
487
+ const rootContext = injectDialogRootContext();
488
+ const scrollLocked = useBodyScrollLock(props.present);
489
+ watch(() => props.present, (val) => scrollLocked.value = val);
490
+ useForwardExpose();
491
+ return (_ctx, _cache) => {
492
+ return openBlock(), createBlock(unref(Primitive), {
493
+ as: _ctx.as,
494
+ "as-child": _ctx.asChild,
495
+ "data-state": unref(rootContext).open.value ? "open" : "closed",
496
+ style: { "pointer-events": "auto" },
497
+ onPointerdown: _cache[0] || (_cache[0] = withModifiers(() => {}, [
498
+ "left",
499
+ "self",
500
+ "prevent"
501
+ ]))
502
+ }, {
503
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
504
+ _: 3
505
+ }, 8, [
506
+ "as",
507
+ "as-child",
508
+ "data-state"
509
+ ]);
510
+ };
511
+ }
512
+ });
513
+ //#endregion
514
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogOverlay.js
515
+ var DialogOverlay_default = /* @__PURE__ */ defineComponent({
516
+ __name: "DialogOverlay",
517
+ props: {
518
+ forceMount: {
519
+ type: Boolean,
520
+ required: false
521
+ },
522
+ asChild: {
523
+ type: Boolean,
524
+ required: false
525
+ },
526
+ as: {
527
+ type: null,
528
+ required: false
529
+ }
530
+ },
531
+ setup(__props) {
532
+ const rootContext = injectDialogRootContext();
533
+ const { forwardRef } = useForwardExpose();
534
+ return (_ctx, _cache) => {
535
+ return unref(rootContext)?.modal.value ? (openBlock(), createBlock(unref(Presence_default), {
536
+ key: 0,
537
+ present: _ctx.forceMount || unref(rootContext).open.value,
538
+ "force-mount": _ctx.forceMount || !unref(rootContext).unmountOnHide.value
539
+ }, {
540
+ default: withCtx(({ present }) => [withDirectives(createVNode(DialogOverlayImpl_default, mergeProps(_ctx.$attrs, {
541
+ ref: unref(forwardRef),
542
+ as: _ctx.as,
543
+ "as-child": _ctx.asChild,
544
+ present: unref(rootContext).unmountOnHide.value || present
545
+ }), {
546
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
547
+ _: 2
548
+ }, 1040, [
549
+ "as",
550
+ "as-child",
551
+ "present"
552
+ ]), [[vShow, unref(rootContext).unmountOnHide.value || present]])]),
553
+ _: 3
554
+ }, 8, ["present", "force-mount"])) : createCommentVNode("v-if", true);
555
+ };
556
+ }
557
+ });
558
+ //#endregion
559
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogPortal.js
560
+ var DialogPortal_default = /* @__PURE__ */ defineComponent({
561
+ __name: "DialogPortal",
562
+ props: {
563
+ to: {
564
+ type: null,
565
+ required: false
566
+ },
567
+ disabled: {
568
+ type: Boolean,
569
+ required: false
570
+ },
571
+ defer: {
572
+ type: Boolean,
573
+ required: false
574
+ },
575
+ forceMount: {
576
+ type: Boolean,
577
+ required: false
578
+ }
579
+ },
580
+ setup(__props) {
581
+ const props = __props;
582
+ return (_ctx, _cache) => {
583
+ return openBlock(), createBlock(unref(Teleport_default), normalizeProps(guardReactiveProps(props)), {
584
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
585
+ _: 3
586
+ }, 16);
587
+ };
588
+ }
589
+ });
590
+ //#endregion
591
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogTitle.js
592
+ var DialogTitle_default = /* @__PURE__ */ defineComponent({
593
+ __name: "DialogTitle",
594
+ props: {
595
+ asChild: {
596
+ type: Boolean,
597
+ required: false
598
+ },
599
+ as: {
600
+ type: null,
601
+ required: false,
602
+ default: "h2"
603
+ }
604
+ },
605
+ setup(__props) {
606
+ const props = __props;
607
+ const rootContext = injectDialogRootContext();
608
+ useForwardExpose();
609
+ return (_ctx, _cache) => {
610
+ return openBlock(), createBlock(unref(Primitive), mergeProps(props, { id: unref(rootContext).titleId }), {
611
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
612
+ _: 3
613
+ }, 16, ["id"]);
614
+ };
615
+ }
616
+ });
617
+ //#endregion
618
+ //#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Dialog/DialogTrigger.js
619
+ var DialogTrigger_default = /* @__PURE__ */ defineComponent({
620
+ __name: "DialogTrigger",
621
+ props: {
622
+ asChild: {
623
+ type: Boolean,
624
+ required: false
625
+ },
626
+ as: {
627
+ type: null,
628
+ required: false,
629
+ default: "button"
630
+ }
631
+ },
632
+ setup(__props) {
633
+ const props = __props;
634
+ const rootContext = injectDialogRootContext();
635
+ const { forwardRef} = useForwardExpose();
636
+ rootContext.contentId ||= useId$1(void 0, "reka-dialog-content");
637
+ return (_ctx, _cache) => {
638
+ return openBlock(), createBlock(unref(Primitive), mergeProps(props, {
639
+ ref: unref(forwardRef),
640
+ type: _ctx.as === "button" ? "button" : void 0,
641
+ "aria-haspopup": "dialog",
642
+ "aria-expanded": unref(rootContext).open.value || false,
643
+ "aria-controls": unref(rootContext).open.value ? unref(rootContext).contentId : void 0,
644
+ "data-state": unref(rootContext).open.value ? "open" : "closed",
645
+ onClick: unref(rootContext).onOpenToggle
646
+ }), {
647
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
648
+ _: 3
649
+ }, 16, [
650
+ "type",
651
+ "aria-expanded",
652
+ "aria-controls",
653
+ "data-state",
654
+ "onClick"
655
+ ]);
656
+ };
657
+ }
658
+ });
659
+ //#endregion
660
+ //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/utils/overlay.js
661
+ function pointerDownOutside(e, options = {}) {
662
+ const originalEvent = e.detail.originalEvent;
663
+ const target = originalEvent.target;
664
+ if (!target?.isConnected) {
665
+ e.preventDefault();
666
+ return;
667
+ }
668
+ if (options.scrollable) {
669
+ if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) e.preventDefault();
670
+ }
671
+ }
672
+ //#endregion
673
+ //#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fmodal.ts
674
+ var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fmodal_default = {
675
+ "slots": {
676
+ "overlay": "fixed inset-0",
677
+ "content": "bg-default divide-y divide-default flex flex-col focus:outline-none",
678
+ "header": "flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)",
679
+ "wrapper": "",
680
+ "body": "flex-1 p-4 sm:p-6",
681
+ "footer": "flex items-center gap-1.5 p-4 sm:px-6",
682
+ "title": "text-highlighted font-semibold",
683
+ "description": "mt-1 text-muted text-sm",
684
+ "close": "absolute top-4 end-4"
685
+ },
686
+ "variants": {
687
+ "transition": { "true": {
688
+ "overlay": "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
689
+ "content": "data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"
690
+ } },
691
+ "fullscreen": {
692
+ "true": { "content": "inset-0" },
693
+ "false": { "content": "w-[calc(100vw-2rem)] max-w-lg rounded-lg shadow-lg ring ring-default" }
694
+ },
695
+ "overlay": { "true": { "overlay": "bg-elevated/75" } },
696
+ "scrollable": {
697
+ "true": {
698
+ "overlay": "overflow-y-auto",
699
+ "content": "relative"
700
+ },
701
+ "false": {
702
+ "content": "fixed",
703
+ "body": "overflow-y-auto"
704
+ }
705
+ }
706
+ },
707
+ "compoundVariants": [{
708
+ "scrollable": true,
709
+ "fullscreen": false,
710
+ "class": { "overlay": "grid place-items-center p-4 sm:py-8" }
711
+ }, {
712
+ "scrollable": false,
713
+ "fullscreen": false,
714
+ "class": { "content": "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] overflow-hidden" }
715
+ }]
716
+ };
717
+ //#endregion
718
+ //#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Modal.vue
719
+ var _sfc_main = {
720
+ __name: "UModal",
721
+ __ssrInlineRender: true,
722
+ props: {
723
+ title: {
724
+ type: String,
725
+ required: false
726
+ },
727
+ description: {
728
+ type: String,
729
+ required: false
730
+ },
731
+ content: {
732
+ type: Object,
733
+ required: false
734
+ },
735
+ overlay: {
736
+ type: Boolean,
737
+ required: false,
738
+ default: true
739
+ },
740
+ scrollable: {
741
+ type: Boolean,
742
+ required: false
743
+ },
744
+ transition: {
745
+ type: Boolean,
746
+ required: false,
747
+ default: true
748
+ },
749
+ fullscreen: {
750
+ type: Boolean,
751
+ required: false
752
+ },
753
+ portal: {
754
+ type: [Boolean, String],
755
+ required: false,
756
+ skipCheck: true,
757
+ default: true
758
+ },
759
+ close: {
760
+ type: [Boolean, Object],
761
+ required: false,
762
+ default: true
763
+ },
764
+ closeIcon: {
765
+ type: null,
766
+ required: false
767
+ },
768
+ dismissible: {
769
+ type: Boolean,
770
+ required: false,
771
+ default: true
772
+ },
773
+ class: {
774
+ type: null,
775
+ required: false
776
+ },
777
+ ui: {
778
+ type: Object,
779
+ required: false
780
+ },
781
+ open: {
782
+ type: Boolean,
783
+ required: false
784
+ },
785
+ defaultOpen: {
786
+ type: Boolean,
787
+ required: false
788
+ },
789
+ modal: {
790
+ type: Boolean,
791
+ required: false,
792
+ default: true
793
+ },
794
+ unmountOnHide: {
795
+ type: Boolean,
796
+ required: false
797
+ }
798
+ },
799
+ emits: [
800
+ "leave",
801
+ "after:leave",
802
+ "enter",
803
+ "after:enter",
804
+ "close:prevent",
805
+ "update:open"
806
+ ],
807
+ setup(__props, { emit: __emit }) {
808
+ const _props = __props;
809
+ const emits = __emit;
810
+ const slots = useSlots();
811
+ const props = useComponentProps("modal", _props);
812
+ const { t } = useLocale();
813
+ const appConfig = useAppConfig();
814
+ const rootProps = useForwardProps(reactivePick(props, "open", "defaultOpen", "modal", "unmountOnHide"), emits);
815
+ const portalProps = usePortal(toRef(() => props.portal));
816
+ const contentProps = toRef(() => props.content);
817
+ const contentEvents = computed(() => {
818
+ if (!props.dismissible) return ["interactOutside", "escapeKeyDown"].reduce((acc, curr) => {
819
+ acc[curr] = (e) => {
820
+ e.preventDefault();
821
+ emits("close:prevent");
822
+ };
823
+ return acc;
824
+ }, {});
825
+ return { pointerDownOutside: (e) => pointerDownOutside(e, { scrollable: props.scrollable }) };
826
+ });
827
+ const [DefineContentTemplate, ReuseContentTemplate] = createReusableTemplate();
828
+ const ui = computed(() => tv({
829
+ extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fmodal_default,
830
+ ...appConfig.ui?.modal || {}
831
+ })({
832
+ transition: props.transition,
833
+ fullscreen: props.fullscreen,
834
+ overlay: props.overlay,
835
+ scrollable: props.scrollable
836
+ }));
837
+ return (_ctx, _push, _parent, _attrs) => {
838
+ _push(ssrRenderComponent(unref(DialogRoot_default), mergeProps(unref(rootProps), _attrs), {
839
+ default: withCtx(({ open, close }, _push, _parent, _scopeId) => {
840
+ if (_push) {
841
+ _push(ssrRenderComponent(unref(DefineContentTemplate), null, {
842
+ default: withCtx((_, _push, _parent, _scopeId) => {
843
+ if (_push) _push(ssrRenderComponent(unref(DialogContent_default), mergeProps({
844
+ "data-slot": "content",
845
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
846
+ }, contentProps.value, {
847
+ onEnter: ($event) => emits("enter"),
848
+ onAfterEnter: ($event) => emits("after:enter"),
849
+ onLeave: ($event) => emits("leave"),
850
+ onAfterLeave: ($event) => emits("after:leave")
851
+ }, toHandlers(contentEvents.value)), {
852
+ default: withCtx((_, _push, _parent, _scopeId) => {
853
+ if (_push) {
854
+ if (!unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content) _push(ssrRenderComponent(unref(VisuallyHidden_default), null, {
855
+ default: withCtx((_, _push, _parent, _scopeId) => {
856
+ if (_push) {
857
+ if (!unref(props).title && !slots.title) _push(ssrRenderComponent(unref(DialogTitle_default), null, null, _parent, _scopeId));
858
+ else if (!!slots.content) _push(ssrRenderComponent(unref(DialogTitle_default), null, {
859
+ default: withCtx((_, _push, _parent, _scopeId) => {
860
+ if (_push) ssrRenderSlot(_ctx.$slots, "title", {}, () => {
861
+ _push(`${ssrInterpolate(unref(props).title)}`);
862
+ }, _push, _parent, _scopeId);
863
+ else return [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])];
864
+ }),
865
+ _: 2
866
+ }, _parent, _scopeId));
867
+ else _push(`<!---->`);
868
+ if (!unref(props).description && !slots.description) _push(ssrRenderComponent(unref(DialogDescription_default), null, null, _parent, _scopeId));
869
+ else if (!!slots.content) _push(ssrRenderComponent(unref(DialogDescription_default), null, {
870
+ default: withCtx((_, _push, _parent, _scopeId) => {
871
+ if (_push) ssrRenderSlot(_ctx.$slots, "description", {}, () => {
872
+ _push(`${ssrInterpolate(unref(props).description)}`);
873
+ }, _push, _parent, _scopeId);
874
+ else return [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])];
875
+ }),
876
+ _: 2
877
+ }, _parent, _scopeId));
878
+ else _push(`<!---->`);
879
+ } else return [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
880
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
881
+ _: 3
882
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
883
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
884
+ _: 3
885
+ })) : createCommentVNode("", true)];
886
+ }),
887
+ _: 2
888
+ }, _parent, _scopeId));
889
+ else _push(`<!---->`);
890
+ ssrRenderSlot(_ctx.$slots, "content", { close }, () => {
891
+ if (!!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close) {
892
+ _push(`<div data-slot="header" class="${ssrRenderClass(ui.value.header({ class: unref(props).ui?.header }))}"${_scopeId}>`);
893
+ ssrRenderSlot(_ctx.$slots, "header", { close }, () => {
894
+ if (unref(props).title || !!slots.title || unref(props).description || !!slots.description) {
895
+ _push(`<div data-slot="wrapper" class="${ssrRenderClass(ui.value.wrapper({ class: unref(props).ui?.wrapper }))}"${_scopeId}>`);
896
+ if (unref(props).title || !!slots.title) _push(ssrRenderComponent(unref(DialogTitle_default), {
897
+ "data-slot": "title",
898
+ class: ui.value.title({ class: unref(props).ui?.title })
899
+ }, {
900
+ default: withCtx((_, _push, _parent, _scopeId) => {
901
+ if (_push) ssrRenderSlot(_ctx.$slots, "title", {}, () => {
902
+ _push(`${ssrInterpolate(unref(props).title)}`);
903
+ }, _push, _parent, _scopeId);
904
+ else return [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])];
905
+ }),
906
+ _: 2
907
+ }, _parent, _scopeId));
908
+ else _push(`<!---->`);
909
+ if (unref(props).description || !!slots.description) _push(ssrRenderComponent(unref(DialogDescription_default), {
910
+ "data-slot": "description",
911
+ class: ui.value.description({ class: unref(props).ui?.description })
912
+ }, {
913
+ default: withCtx((_, _push, _parent, _scopeId) => {
914
+ if (_push) ssrRenderSlot(_ctx.$slots, "description", {}, () => {
915
+ _push(`${ssrInterpolate(unref(props).description)}`);
916
+ }, _push, _parent, _scopeId);
917
+ else return [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])];
918
+ }),
919
+ _: 2
920
+ }, _parent, _scopeId));
921
+ else _push(`<!---->`);
922
+ _push(`</div>`);
923
+ } else _push(`<!---->`);
924
+ ssrRenderSlot(_ctx.$slots, "actions", {}, null, _push, _parent, _scopeId);
925
+ if (unref(props).close || !!slots.close) _push(ssrRenderComponent(unref(DialogClose_default), { "as-child": "" }, {
926
+ default: withCtx((_, _push, _parent, _scopeId) => {
927
+ if (_push) ssrRenderSlot(_ctx.$slots, "close", { ui: ui.value }, () => {
928
+ if (unref(props).close) _push(ssrRenderComponent(_sfc_main$1, mergeProps({
929
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
930
+ color: "neutral",
931
+ variant: "ghost",
932
+ "aria-label": unref(t)("modal.close")
933
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
934
+ "data-slot": "close",
935
+ class: ui.value.close({ class: unref(props).ui?.close })
936
+ }), null, _parent, _scopeId));
937
+ else _push(`<!---->`);
938
+ }, _push, _parent, _scopeId);
939
+ else return [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$1, mergeProps({
940
+ key: 0,
941
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
942
+ color: "neutral",
943
+ variant: "ghost",
944
+ "aria-label": unref(t)("modal.close")
945
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
946
+ "data-slot": "close",
947
+ class: ui.value.close({ class: unref(props).ui?.close })
948
+ }), null, 16, [
949
+ "icon",
950
+ "aria-label",
951
+ "class"
952
+ ])) : createCommentVNode("", true)])];
953
+ }),
954
+ _: 2
955
+ }, _parent, _scopeId));
956
+ else _push(`<!---->`);
957
+ }, _push, _parent, _scopeId);
958
+ _push(`</div>`);
959
+ } else _push(`<!---->`);
960
+ if (!!slots.body) {
961
+ _push(`<div data-slot="body" class="${ssrRenderClass(ui.value.body({ class: unref(props).ui?.body }))}"${_scopeId}>`);
962
+ ssrRenderSlot(_ctx.$slots, "body", { close }, null, _push, _parent, _scopeId);
963
+ _push(`</div>`);
964
+ } else _push(`<!---->`);
965
+ if (!!slots.footer) {
966
+ _push(`<div data-slot="footer" class="${ssrRenderClass(ui.value.footer({ class: unref(props).ui?.footer }))}"${_scopeId}>`);
967
+ ssrRenderSlot(_ctx.$slots, "footer", { close }, null, _push, _parent, _scopeId);
968
+ _push(`</div>`);
969
+ } else _push(`<!---->`);
970
+ }, _push, _parent, _scopeId);
971
+ } else return [!unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 0 }, {
972
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
973
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
974
+ _: 3
975
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
976
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
977
+ _: 3
978
+ })) : createCommentVNode("", true)]),
979
+ _: 3
980
+ })) : createCommentVNode("", true), renderSlot(_ctx.$slots, "content", { close }, () => [
981
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
982
+ key: 0,
983
+ "data-slot": "header",
984
+ class: ui.value.header({ class: unref(props).ui?.header })
985
+ }, [renderSlot(_ctx.$slots, "header", { close }, () => [
986
+ unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
987
+ key: 0,
988
+ "data-slot": "wrapper",
989
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
990
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
991
+ key: 0,
992
+ "data-slot": "title",
993
+ class: ui.value.title({ class: unref(props).ui?.title })
994
+ }, {
995
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
996
+ _: 3
997
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
998
+ key: 1,
999
+ "data-slot": "description",
1000
+ class: ui.value.description({ class: unref(props).ui?.description })
1001
+ }, {
1002
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
1003
+ _: 3
1004
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
1005
+ renderSlot(_ctx.$slots, "actions"),
1006
+ unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
1007
+ key: 1,
1008
+ "as-child": ""
1009
+ }, {
1010
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$1, mergeProps({
1011
+ key: 0,
1012
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
1013
+ color: "neutral",
1014
+ variant: "ghost",
1015
+ "aria-label": unref(t)("modal.close")
1016
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
1017
+ "data-slot": "close",
1018
+ class: ui.value.close({ class: unref(props).ui?.close })
1019
+ }), null, 16, [
1020
+ "icon",
1021
+ "aria-label",
1022
+ "class"
1023
+ ])) : createCommentVNode("", true)])]),
1024
+ _: 2
1025
+ }, 1024)) : createCommentVNode("", true)
1026
+ ])], 2)) : createCommentVNode("", true),
1027
+ !!slots.body ? (openBlock(), createBlock("div", {
1028
+ key: 1,
1029
+ "data-slot": "body",
1030
+ class: ui.value.body({ class: unref(props).ui?.body })
1031
+ }, [renderSlot(_ctx.$slots, "body", { close })], 2)) : createCommentVNode("", true),
1032
+ !!slots.footer ? (openBlock(), createBlock("div", {
1033
+ key: 2,
1034
+ "data-slot": "footer",
1035
+ class: ui.value.footer({ class: unref(props).ui?.footer })
1036
+ }, [renderSlot(_ctx.$slots, "footer", { close })], 2)) : createCommentVNode("", true)
1037
+ ])];
1038
+ }),
1039
+ _: 2
1040
+ }, _parent, _scopeId));
1041
+ else return [createVNode(unref(DialogContent_default), mergeProps({
1042
+ "data-slot": "content",
1043
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
1044
+ }, contentProps.value, {
1045
+ onEnter: ($event) => emits("enter"),
1046
+ onAfterEnter: ($event) => emits("after:enter"),
1047
+ onLeave: ($event) => emits("leave"),
1048
+ onAfterLeave: ($event) => emits("after:leave")
1049
+ }, toHandlers(contentEvents.value)), {
1050
+ default: withCtx(() => [!unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 0 }, {
1051
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
1052
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
1053
+ _: 3
1054
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
1055
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
1056
+ _: 3
1057
+ })) : createCommentVNode("", true)]),
1058
+ _: 3
1059
+ })) : createCommentVNode("", true), renderSlot(_ctx.$slots, "content", { close }, () => [
1060
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
1061
+ key: 0,
1062
+ "data-slot": "header",
1063
+ class: ui.value.header({ class: unref(props).ui?.header })
1064
+ }, [renderSlot(_ctx.$slots, "header", { close }, () => [
1065
+ unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
1066
+ key: 0,
1067
+ "data-slot": "wrapper",
1068
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
1069
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
1070
+ key: 0,
1071
+ "data-slot": "title",
1072
+ class: ui.value.title({ class: unref(props).ui?.title })
1073
+ }, {
1074
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
1075
+ _: 3
1076
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
1077
+ key: 1,
1078
+ "data-slot": "description",
1079
+ class: ui.value.description({ class: unref(props).ui?.description })
1080
+ }, {
1081
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
1082
+ _: 3
1083
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
1084
+ renderSlot(_ctx.$slots, "actions"),
1085
+ unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
1086
+ key: 1,
1087
+ "as-child": ""
1088
+ }, {
1089
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$1, mergeProps({
1090
+ key: 0,
1091
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
1092
+ color: "neutral",
1093
+ variant: "ghost",
1094
+ "aria-label": unref(t)("modal.close")
1095
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
1096
+ "data-slot": "close",
1097
+ class: ui.value.close({ class: unref(props).ui?.close })
1098
+ }), null, 16, [
1099
+ "icon",
1100
+ "aria-label",
1101
+ "class"
1102
+ ])) : createCommentVNode("", true)])]),
1103
+ _: 2
1104
+ }, 1024)) : createCommentVNode("", true)
1105
+ ])], 2)) : createCommentVNode("", true),
1106
+ !!slots.body ? (openBlock(), createBlock("div", {
1107
+ key: 1,
1108
+ "data-slot": "body",
1109
+ class: ui.value.body({ class: unref(props).ui?.body })
1110
+ }, [renderSlot(_ctx.$slots, "body", { close })], 2)) : createCommentVNode("", true),
1111
+ !!slots.footer ? (openBlock(), createBlock("div", {
1112
+ key: 2,
1113
+ "data-slot": "footer",
1114
+ class: ui.value.footer({ class: unref(props).ui?.footer })
1115
+ }, [renderSlot(_ctx.$slots, "footer", { close })], 2)) : createCommentVNode("", true)
1116
+ ])]),
1117
+ _: 2
1118
+ }, 1040, [
1119
+ "class",
1120
+ "onEnter",
1121
+ "onAfterEnter",
1122
+ "onLeave",
1123
+ "onAfterLeave"
1124
+ ])];
1125
+ }),
1126
+ _: 2
1127
+ }, _parent, _scopeId));
1128
+ if (!!slots.default) _push(ssrRenderComponent(unref(DialogTrigger_default), {
1129
+ "as-child": "",
1130
+ class: unref(props).class
1131
+ }, {
1132
+ default: withCtx((_, _push, _parent, _scopeId) => {
1133
+ if (_push) ssrRenderSlot(_ctx.$slots, "default", { open }, null, _push, _parent, _scopeId);
1134
+ else return [renderSlot(_ctx.$slots, "default", { open })];
1135
+ }),
1136
+ _: 2
1137
+ }, _parent, _scopeId));
1138
+ else _push(`<!---->`);
1139
+ _push(ssrRenderComponent(unref(DialogPortal_default), mergeProps(unref(portalProps), { "force-mount": unref(portalProps).disabled && unref(props).unmountOnHide === false || void 0 }), {
1140
+ default: withCtx((_, _push, _parent, _scopeId) => {
1141
+ if (_push) _push(ssrRenderComponent(unref(FieldGroupReset), null, {
1142
+ default: withCtx((_, _push, _parent, _scopeId) => {
1143
+ if (_push) {
1144
+ if (unref(props).scrollable) _push(ssrRenderComponent(unref(DialogOverlay_default), {
1145
+ "data-slot": "overlay",
1146
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
1147
+ }, {
1148
+ default: withCtx((_, _push, _parent, _scopeId) => {
1149
+ if (_push) _push(ssrRenderComponent(unref(ReuseContentTemplate), null, null, _parent, _scopeId));
1150
+ else return [createVNode(unref(ReuseContentTemplate))];
1151
+ }),
1152
+ _: 2
1153
+ }, _parent, _scopeId));
1154
+ else {
1155
+ _push(`<!--[-->`);
1156
+ if (unref(props).overlay) _push(ssrRenderComponent(unref(DialogOverlay_default), {
1157
+ "data-slot": "overlay",
1158
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
1159
+ }, null, _parent, _scopeId));
1160
+ else _push(`<!---->`);
1161
+ _push(ssrRenderComponent(unref(ReuseContentTemplate), null, null, _parent, _scopeId));
1162
+ _push(`<!--]-->`);
1163
+ }
1164
+ } else return [unref(props).scrollable ? (openBlock(), createBlock(unref(DialogOverlay_default), {
1165
+ key: 0,
1166
+ "data-slot": "overlay",
1167
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
1168
+ }, {
1169
+ default: withCtx(() => [createVNode(unref(ReuseContentTemplate))]),
1170
+ _: 1
1171
+ }, 8, ["class"])) : (openBlock(), createBlock(Fragment, { key: 1 }, [unref(props).overlay ? (openBlock(), createBlock(unref(DialogOverlay_default), {
1172
+ key: 0,
1173
+ "data-slot": "overlay",
1174
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
1175
+ }, null, 8, ["class"])) : createCommentVNode("", true), createVNode(unref(ReuseContentTemplate))], 64))];
1176
+ }),
1177
+ _: 2
1178
+ }, _parent, _scopeId));
1179
+ else return [createVNode(unref(FieldGroupReset), null, {
1180
+ default: withCtx(() => [unref(props).scrollable ? (openBlock(), createBlock(unref(DialogOverlay_default), {
1181
+ key: 0,
1182
+ "data-slot": "overlay",
1183
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
1184
+ }, {
1185
+ default: withCtx(() => [createVNode(unref(ReuseContentTemplate))]),
1186
+ _: 1
1187
+ }, 8, ["class"])) : (openBlock(), createBlock(Fragment, { key: 1 }, [unref(props).overlay ? (openBlock(), createBlock(unref(DialogOverlay_default), {
1188
+ key: 0,
1189
+ "data-slot": "overlay",
1190
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
1191
+ }, null, 8, ["class"])) : createCommentVNode("", true), createVNode(unref(ReuseContentTemplate))], 64))]),
1192
+ _: 1
1193
+ })];
1194
+ }),
1195
+ _: 2
1196
+ }, _parent, _scopeId));
1197
+ } else return [
1198
+ createVNode(unref(DefineContentTemplate), null, {
1199
+ default: withCtx(() => [createVNode(unref(DialogContent_default), mergeProps({
1200
+ "data-slot": "content",
1201
+ class: ui.value.content({ class: [!slots.default && unref(props).class, unref(props).ui?.content] })
1202
+ }, contentProps.value, {
1203
+ onEnter: ($event) => emits("enter"),
1204
+ onAfterEnter: ($event) => emits("after:enter"),
1205
+ onLeave: ($event) => emits("leave"),
1206
+ onAfterLeave: ($event) => emits("after:leave")
1207
+ }, toHandlers(contentEvents.value)), {
1208
+ default: withCtx(() => [!unref(props).title && !slots.title || !unref(props).description && !slots.description || !!slots.content ? (openBlock(), createBlock(unref(VisuallyHidden_default), { key: 0 }, {
1209
+ default: withCtx(() => [!unref(props).title && !slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 0 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogTitle_default), { key: 1 }, {
1210
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
1211
+ _: 3
1212
+ })) : createCommentVNode("", true), !unref(props).description && !slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 2 })) : !!slots.content ? (openBlock(), createBlock(unref(DialogDescription_default), { key: 3 }, {
1213
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
1214
+ _: 3
1215
+ })) : createCommentVNode("", true)]),
1216
+ _: 3
1217
+ })) : createCommentVNode("", true), renderSlot(_ctx.$slots, "content", { close }, () => [
1218
+ !!slots.header || unref(props).title || !!slots.title || unref(props).description || !!slots.description || unref(props).close || !!slots.close ? (openBlock(), createBlock("div", {
1219
+ key: 0,
1220
+ "data-slot": "header",
1221
+ class: ui.value.header({ class: unref(props).ui?.header })
1222
+ }, [renderSlot(_ctx.$slots, "header", { close }, () => [
1223
+ unref(props).title || !!slots.title || unref(props).description || !!slots.description ? (openBlock(), createBlock("div", {
1224
+ key: 0,
1225
+ "data-slot": "wrapper",
1226
+ class: ui.value.wrapper({ class: unref(props).ui?.wrapper })
1227
+ }, [unref(props).title || !!slots.title ? (openBlock(), createBlock(unref(DialogTitle_default), {
1228
+ key: 0,
1229
+ "data-slot": "title",
1230
+ class: ui.value.title({ class: unref(props).ui?.title })
1231
+ }, {
1232
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(unref(props).title), 1)])]),
1233
+ _: 3
1234
+ }, 8, ["class"])) : createCommentVNode("", true), unref(props).description || !!slots.description ? (openBlock(), createBlock(unref(DialogDescription_default), {
1235
+ key: 1,
1236
+ "data-slot": "description",
1237
+ class: ui.value.description({ class: unref(props).ui?.description })
1238
+ }, {
1239
+ default: withCtx(() => [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(unref(props).description), 1)])]),
1240
+ _: 3
1241
+ }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
1242
+ renderSlot(_ctx.$slots, "actions"),
1243
+ unref(props).close || !!slots.close ? (openBlock(), createBlock(unref(DialogClose_default), {
1244
+ key: 1,
1245
+ "as-child": ""
1246
+ }, {
1247
+ default: withCtx(() => [renderSlot(_ctx.$slots, "close", { ui: ui.value }, () => [unref(props).close ? (openBlock(), createBlock(_sfc_main$1, mergeProps({
1248
+ key: 0,
1249
+ icon: unref(props).closeIcon || unref(appConfig).ui.icons.close,
1250
+ color: "neutral",
1251
+ variant: "ghost",
1252
+ "aria-label": unref(t)("modal.close")
1253
+ }, typeof unref(props).close === "object" ? unref(props).close : {}, {
1254
+ "data-slot": "close",
1255
+ class: ui.value.close({ class: unref(props).ui?.close })
1256
+ }), null, 16, [
1257
+ "icon",
1258
+ "aria-label",
1259
+ "class"
1260
+ ])) : createCommentVNode("", true)])]),
1261
+ _: 2
1262
+ }, 1024)) : createCommentVNode("", true)
1263
+ ])], 2)) : createCommentVNode("", true),
1264
+ !!slots.body ? (openBlock(), createBlock("div", {
1265
+ key: 1,
1266
+ "data-slot": "body",
1267
+ class: ui.value.body({ class: unref(props).ui?.body })
1268
+ }, [renderSlot(_ctx.$slots, "body", { close })], 2)) : createCommentVNode("", true),
1269
+ !!slots.footer ? (openBlock(), createBlock("div", {
1270
+ key: 2,
1271
+ "data-slot": "footer",
1272
+ class: ui.value.footer({ class: unref(props).ui?.footer })
1273
+ }, [renderSlot(_ctx.$slots, "footer", { close })], 2)) : createCommentVNode("", true)
1274
+ ])]),
1275
+ _: 2
1276
+ }, 1040, [
1277
+ "class",
1278
+ "onEnter",
1279
+ "onAfterEnter",
1280
+ "onLeave",
1281
+ "onAfterLeave"
1282
+ ])]),
1283
+ _: 2
1284
+ }, 1024),
1285
+ !!slots.default ? (openBlock(), createBlock(unref(DialogTrigger_default), {
1286
+ key: 0,
1287
+ "as-child": "",
1288
+ class: unref(props).class
1289
+ }, {
1290
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default", { open })]),
1291
+ _: 2
1292
+ }, 1032, ["class"])) : createCommentVNode("", true),
1293
+ createVNode(unref(DialogPortal_default), mergeProps(unref(portalProps), { "force-mount": unref(portalProps).disabled && unref(props).unmountOnHide === false || void 0 }), {
1294
+ default: withCtx(() => [createVNode(unref(FieldGroupReset), null, {
1295
+ default: withCtx(() => [unref(props).scrollable ? (openBlock(), createBlock(unref(DialogOverlay_default), {
1296
+ key: 0,
1297
+ "data-slot": "overlay",
1298
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
1299
+ }, {
1300
+ default: withCtx(() => [createVNode(unref(ReuseContentTemplate))]),
1301
+ _: 1
1302
+ }, 8, ["class"])) : (openBlock(), createBlock(Fragment, { key: 1 }, [unref(props).overlay ? (openBlock(), createBlock(unref(DialogOverlay_default), {
1303
+ key: 0,
1304
+ "data-slot": "overlay",
1305
+ class: ui.value.overlay({ class: unref(props).ui?.overlay })
1306
+ }, null, 8, ["class"])) : createCommentVNode("", true), createVNode(unref(ReuseContentTemplate))], 64))]),
1307
+ _: 1
1308
+ })]),
1309
+ _: 1
1310
+ }, 16, ["force-mount"])
1311
+ ];
1312
+ }),
1313
+ _: 3
1314
+ }, _parent));
1315
+ };
1316
+ }
1317
+ };
1318
+ var _sfc_setup = _sfc_main.setup;
1319
+ _sfc_main.setup = (props, ctx) => {
1320
+ const ssrContext = useSSRContext();
1321
+ (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/Modal.vue");
1322
+ return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
1323
+ };
1324
+
1325
+ export { DialogTrigger_default as D, _sfc_main as _, DialogPortal_default as a, DialogTitle_default as b, DialogDescription_default as c, DialogClose_default as d, DialogRoot_default as e, DialogOverlay_default as f, DialogContent_default as g, pointerDownOutside as p };
1326
+ //# sourceMappingURL=Modal-DNZtVxca.mjs.map