@nullix/zod-mongoose-studio 3.3.1 → 3.3.3

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 (325) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{BCIlnd0g.js → 5ZXm4f56.js} +1 -1
  3. package/.output/public/_nuxt/{DcJ7oPvZ.js → B2fcLSyW.js} +1 -1
  4. package/.output/public/_nuxt/{B0N6xv5E.js → BBN7l5Hn.js} +1 -1
  5. package/.output/public/_nuxt/BBTTtb8r.js +41 -0
  6. package/.output/public/_nuxt/{5Tu2WUJz.js → BDbISGvP.js} +1 -1
  7. package/.output/public/_nuxt/{D87QMS6j.js → BijI4RNx.js} +1 -1
  8. package/.output/public/_nuxt/{C2BHp-MG.js → Bp9qkJ9m.js} +1 -1
  9. package/.output/public/_nuxt/{I3Ucam2s.js → Bu3-sqCf.js} +1 -1
  10. package/.output/public/_nuxt/{BO4hqv6q.js → C-FtTvwz.js} +1 -1
  11. package/.output/public/_nuxt/C02JV0Aj.js +1 -0
  12. package/.output/public/_nuxt/{sKEJiAHO.js → C1UkIsDc.js} +1 -1
  13. package/.output/public/_nuxt/{CKULsFUz.js → CJT28r6J.js} +1 -1
  14. package/.output/public/_nuxt/{BNDnV2op.js → CL7qtgl2.js} +3 -3
  15. package/.output/public/_nuxt/{DA0pQuyP.js → CRMd2YH2.js} +3 -3
  16. package/.output/public/_nuxt/{DpKrXpkK.js → CRkdQgFz.js} +1 -1
  17. package/.output/public/_nuxt/{B0cUlOSM.js → Cw1XFOz5.js} +1 -1
  18. package/.output/public/_nuxt/{CzbCpNnc.js → D5yWk6Ly.js} +1 -1
  19. package/.output/public/_nuxt/{BOsJJ_ZU.js → DA9GjKpR.js} +1 -1
  20. package/.output/public/_nuxt/{Dce9SnGa.js → DaWAlZhp.js} +1 -1
  21. package/.output/public/_nuxt/{tqQNlhT9.js → DafLMUHo.js} +1 -1
  22. package/.output/public/_nuxt/{ypRHVLFO.js → Dyaldc-t.js} +1 -1
  23. package/.output/public/_nuxt/{o-NCh2rp.js → UU9fpRNQ.js} +1 -1
  24. package/.output/public/_nuxt/builds/latest.json +1 -1
  25. package/.output/public/_nuxt/builds/meta/717459d8-0da1-42ed-af0b-9ec5395e8fdc.json +1 -0
  26. package/.output/public/_nuxt/entry.CDPplHzk.css +1 -0
  27. package/.output/public/_nuxt/error-404.hPtlUQpd.css +1 -0
  28. package/.output/public/_nuxt/error-500.E-PXUb6B.css +1 -0
  29. package/.output/public/_nuxt/{CMH9iX_E.js → kFZJW2-u.js} +2 -2
  30. package/.output/public/_nuxt/{DsnIpnT9.js → u3DlT5Mh.js} +1 -1
  31. package/.output/server/chunks/_/error-500.mjs.map +1 -1
  32. package/.output/server/chunks/_/parse-request.mjs +29 -0
  33. package/.output/server/chunks/_/parse-request.mjs.map +1 -0
  34. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  35. package/.output/server/chunks/build/{error-404-KRkA0DPI.mjs → error-404-aQ5PiVuX.mjs} +6 -12
  36. package/.output/server/chunks/build/error-404-aQ5PiVuX.mjs.map +1 -0
  37. package/.output/server/chunks/build/error-404-styles.DIZfBVBR.mjs +8 -0
  38. package/.output/server/chunks/build/error-404-styles.DIZfBVBR.mjs.map +1 -0
  39. package/.output/server/chunks/build/{error-500-DIIFf55p.mjs → error-500-BY6ZAZZ2.mjs} +6 -12
  40. package/.output/server/chunks/build/error-500-BY6ZAZZ2.mjs.map +1 -0
  41. package/.output/server/chunks/build/error-500-styles.BZXgEzR5.mjs +8 -0
  42. package/.output/server/chunks/build/error-500-styles.BZXgEzR5.mjs.map +1 -0
  43. package/.output/server/chunks/build/index-57_mtIua.mjs +235 -0
  44. package/.output/server/chunks/build/index-57_mtIua.mjs.map +1 -0
  45. package/.output/server/chunks/build/{index-CB1N4gax.mjs → index-Qa-4KqCB.mjs} +7 -13
  46. package/.output/server/chunks/build/index-Qa-4KqCB.mjs.map +1 -0
  47. package/.output/server/chunks/build/server.mjs +3913 -3378
  48. package/.output/server/chunks/build/server.mjs.map +1 -1
  49. package/.output/server/chunks/build/styles.mjs +4 -4
  50. package/.output/server/chunks/nitro/nitro.mjs +652 -2278
  51. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  52. package/.output/server/chunks/routes/api/editor-types.get.mjs +91 -28
  53. package/.output/server/chunks/routes/api/editor-types.get.mjs.map +1 -1
  54. package/.output/server/chunks/routes/api/parse.post.mjs +1599 -7
  55. package/.output/server/chunks/routes/api/parse.post.mjs.map +1 -1
  56. package/.output/server/chunks/routes/api/resolve.get.mjs +0 -6
  57. package/.output/server/chunks/routes/api/resolve.get.mjs.map +1 -1
  58. package/.output/server/chunks/routes/api/studio/run.post.mjs +50 -12
  59. package/.output/server/chunks/routes/api/studio/run.post.mjs.map +1 -1
  60. package/.output/server/chunks/routes/renderer.mjs +21 -44
  61. package/.output/server/chunks/routes/renderer.mjs.map +1 -1
  62. package/.output/server/index.mjs +1 -7
  63. package/.output/server/index.mjs.map +1 -1
  64. package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.43/dist/compiler-core.cjs.prod.js +6801 -0
  65. package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.43/package.json +58 -0
  66. package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.43/dist/compiler-dom.cjs.prod.js +692 -0
  67. package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.43/package.json +57 -0
  68. package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.43/dist/reactivity.cjs.prod.js +1905 -0
  69. package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.43/package.json +55 -0
  70. package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.43/dist/runtime-core.cjs.prod.js +7006 -0
  71. package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.43/package.json +52 -0
  72. package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.43/dist/runtime-dom.cjs.prod.js +1867 -0
  73. package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.43/package.json +60 -0
  74. package/.output/server/node_modules/.nitro/@vue/shared@3.5.43/dist/shared.cjs.prod.js +655 -0
  75. package/.output/server/node_modules/.nitro/@vue/shared@3.5.43/package.json +47 -0
  76. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/array-set.js +121 -0
  77. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/base64-vlq.js +140 -0
  78. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/base64.js +67 -0
  79. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/binary-search.js +111 -0
  80. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/mapping-list.js +79 -0
  81. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/quick-sort.js +141 -0
  82. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-map-consumer.js +1236 -0
  83. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-map-generator.js +446 -0
  84. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-node.js +420 -0
  85. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/util.js +594 -0
  86. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/package.json +71 -0
  87. package/.output/server/node_modules/.nitro/source-map-js@1.2.2/source-map.js +8 -0
  88. package/.output/server/node_modules/.nitro/vue@3.5.43/dist/vue.cjs.js +80 -0
  89. package/.output/server/node_modules/.nitro/vue@3.5.43/dist/vue.cjs.prod.js +66 -0
  90. package/.output/server/node_modules/.nitro/vue@3.5.43/index.js +7 -0
  91. package/.output/server/node_modules/.nitro/vue@3.5.43/index.mjs +1 -0
  92. package/.output/server/node_modules/.nitro/vue@3.5.43/package.json +112 -0
  93. package/.output/server/node_modules/@babel/parser/lib/index.js +55 -21
  94. package/.output/server/node_modules/@babel/parser/package.json +7 -7
  95. package/.output/server/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
  96. package/.output/server/node_modules/@esbuild/linux-x64/package.json +1 -1
  97. package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +19 -16
  98. package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +3 -4
  99. package/.output/server/node_modules/@iconify/utils/lib/css/common.js +16 -16
  100. package/.output/server/node_modules/@iconify/utils/lib/css/format.js +1 -2
  101. package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +11 -14
  102. package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +13 -16
  103. package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +1 -2
  104. package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +1 -3
  105. package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +2 -5
  106. package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +1 -3
  107. package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +4 -5
  108. package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +1 -3
  109. package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +9 -11
  110. package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +1 -2
  111. package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +1 -3
  112. package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +1 -3
  113. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +12 -18
  114. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +3 -4
  115. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +5 -7
  116. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +1 -8
  117. package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +11 -12
  118. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +5 -7
  119. package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +1 -3
  120. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +1 -3
  121. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +7 -7
  122. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +2 -4
  123. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +5 -9
  124. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +3 -5
  125. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +2 -4
  126. package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +7 -8
  127. package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +1 -2
  128. package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +1 -3
  129. package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +3 -4
  130. package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +1 -2
  131. package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +1 -2
  132. package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +10 -15
  133. package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +1 -3
  134. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +3 -5
  135. package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +1 -3
  136. package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +1 -3
  137. package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +1 -3
  138. package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +1 -2
  139. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +1 -3
  140. package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +21 -13
  141. package/.output/server/node_modules/@iconify/utils/lib/index.js +1 -2
  142. package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +3 -3
  143. package/.output/server/node_modules/@iconify/utils/lib/loader/hmr-utils.js +33 -0
  144. package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +22 -22
  145. package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +7 -22
  146. package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +60 -16
  147. package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +1 -2
  148. package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +1 -2
  149. package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +1 -2
  150. package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +9 -11
  151. package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +1 -2
  152. package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +1 -3
  153. package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +1 -2
  154. package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +1 -2
  155. package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +1 -2
  156. package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +3 -5
  157. package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +5 -4
  158. package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +1 -2
  159. package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +1 -2
  160. package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +1 -2
  161. package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +2 -3
  162. package/.output/server/node_modules/@iconify/utils/package.json +15 -13
  163. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +8 -1
  164. package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
  165. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +34 -13
  166. package/.output/server/node_modules/@vue/server-renderer/package.json +4 -6
  167. package/.output/server/node_modules/devalue/index.js +15 -2
  168. package/.output/server/node_modules/devalue/package.json +5 -3
  169. package/.output/server/node_modules/devalue/src/base64.js +46 -96
  170. package/.output/server/node_modules/devalue/src/constants.js +5 -0
  171. package/.output/server/node_modules/devalue/src/operations.js +221 -0
  172. package/.output/server/node_modules/devalue/src/parse.js +76 -62
  173. package/.output/server/node_modules/devalue/src/stringify.js +164 -81
  174. package/.output/server/node_modules/devalue/src/uneval.js +312 -104
  175. package/.output/server/node_modules/devalue/src/utils.js +61 -19
  176. package/.output/server/node_modules/esbuild/lib/main.js +12 -8
  177. package/.output/server/node_modules/esbuild/package.json +50 -50
  178. package/.output/server/node_modules/hookable/dist/index.mjs +2 -11
  179. package/.output/server/node_modules/hookable/package.json +23 -22
  180. package/.output/server/node_modules/ip-address/dist/ipv4.js +7 -0
  181. package/.output/server/node_modules/ip-address/package.json +1 -1
  182. package/.output/server/node_modules/zod/package.json +20 -8
  183. package/.output/server/node_modules/zod/v4/classic/checks.js +1 -1
  184. package/.output/server/node_modules/zod/v4/classic/deep-partial.js +13 -0
  185. package/.output/server/node_modules/zod/v4/classic/errors.js +44 -35
  186. package/.output/server/node_modules/zod/v4/classic/external.js +5 -8
  187. package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +375 -78
  188. package/.output/server/node_modules/zod/v4/classic/in-out.js +36 -0
  189. package/.output/server/node_modules/zod/v4/classic/index.js +2 -2
  190. package/.output/server/node_modules/zod/v4/classic/iso.js +2 -17
  191. package/.output/server/node_modules/zod/v4/classic/package.json +2 -1
  192. package/.output/server/node_modules/zod/v4/classic/parse.js +1 -0
  193. package/.output/server/node_modules/zod/v4/classic/schemas.js +601 -223
  194. package/.output/server/node_modules/zod/v4/core/api.js +51 -26
  195. package/.output/server/node_modules/zod/v4/core/checks.js +68 -127
  196. package/.output/server/node_modules/zod/v4/core/compile.js +1858 -0
  197. package/.output/server/node_modules/zod/v4/core/core.js +87 -22
  198. package/.output/server/node_modules/zod/v4/core/doc.js +12 -9
  199. package/.output/server/node_modules/zod/v4/core/errors.js +127 -42
  200. package/.output/server/node_modules/zod/v4/core/index.js +3 -0
  201. package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +6 -2
  202. package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +413 -175
  203. package/.output/server/node_modules/zod/v4/core/memoizer.js +311 -0
  204. package/.output/server/node_modules/zod/v4/core/package.json +2 -1
  205. package/.output/server/node_modules/zod/v4/core/parse.js +130 -48
  206. package/.output/server/node_modules/zod/v4/core/regexes.js +39 -16
  207. package/.output/server/node_modules/zod/v4/core/registries.js +2 -2
  208. package/.output/server/node_modules/zod/v4/core/schemas.js +895 -382
  209. package/.output/server/node_modules/zod/v4/core/to-json-schema.js +253 -39
  210. package/.output/server/node_modules/zod/v4/core/util.js +383 -175
  211. package/.output/server/node_modules/zod/v4/core/versions.js +2 -2
  212. package/.output/server/node_modules/zod/v4/core/visit.js +169 -0
  213. package/.output/server/node_modules/zod/v4/index.js +3 -2
  214. package/.output/server/node_modules/zod/v4/locales/ar.js +5 -0
  215. package/.output/server/node_modules/zod/v4/locales/az.js +5 -0
  216. package/.output/server/node_modules/zod/v4/locales/be.js +12 -0
  217. package/.output/server/node_modules/zod/v4/locales/bg.js +5 -0
  218. package/.output/server/node_modules/zod/v4/locales/bn.js +113 -0
  219. package/.output/server/node_modules/zod/v4/locales/ca.js +5 -0
  220. package/.output/server/node_modules/zod/v4/locales/ckb.js +133 -0
  221. package/.output/server/node_modules/zod/v4/locales/cs.js +5 -0
  222. package/.output/server/node_modules/zod/v4/locales/da.js +7 -2
  223. package/.output/server/node_modules/zod/v4/locales/de.js +5 -0
  224. package/.output/server/node_modules/zod/v4/locales/el.js +112 -0
  225. package/.output/server/node_modules/zod/v4/locales/en.js +20 -4
  226. package/.output/server/node_modules/zod/v4/locales/eo.js +5 -0
  227. package/.output/server/node_modules/zod/v4/locales/es.js +4 -0
  228. package/.output/server/node_modules/zod/v4/locales/fa.js +5 -0
  229. package/.output/server/node_modules/zod/v4/locales/fi.js +5 -0
  230. package/.output/server/node_modules/zod/v4/locales/fr-CA.js +5 -0
  231. package/.output/server/node_modules/zod/v4/locales/fr.js +38 -17
  232. package/.output/server/node_modules/zod/v4/locales/gu.js +113 -0
  233. package/.output/server/node_modules/zod/v4/locales/he.js +7 -0
  234. package/.output/server/node_modules/zod/v4/locales/hi.js +111 -0
  235. package/.output/server/node_modules/zod/v4/locales/hr.js +126 -0
  236. package/.output/server/node_modules/zod/v4/locales/hu.js +5 -0
  237. package/.output/server/node_modules/zod/v4/locales/hy.js +11 -0
  238. package/.output/server/node_modules/zod/v4/locales/id.js +5 -0
  239. package/.output/server/node_modules/zod/v4/locales/index.js +14 -0
  240. package/.output/server/node_modules/zod/v4/locales/is.js +5 -0
  241. package/.output/server/node_modules/zod/v4/locales/it.js +6 -1
  242. package/.output/server/node_modules/zod/v4/locales/ja.js +5 -0
  243. package/.output/server/node_modules/zod/v4/locales/ka.js +13 -8
  244. package/.output/server/node_modules/zod/v4/locales/km.js +5 -0
  245. package/.output/server/node_modules/zod/v4/locales/kn.js +116 -0
  246. package/.output/server/node_modules/zod/v4/locales/ko.js +5 -0
  247. package/.output/server/node_modules/zod/v4/locales/lt.js +4 -0
  248. package/.output/server/node_modules/zod/v4/locales/mk.js +5 -0
  249. package/.output/server/node_modules/zod/v4/locales/ms.js +5 -0
  250. package/.output/server/node_modules/zod/v4/locales/ne.js +111 -0
  251. package/.output/server/node_modules/zod/v4/locales/nl.js +5 -0
  252. package/.output/server/node_modules/zod/v4/locales/nn.js +113 -0
  253. package/.output/server/node_modules/zod/v4/locales/no.js +7 -2
  254. package/.output/server/node_modules/zod/v4/locales/ota.js +5 -0
  255. package/.output/server/node_modules/zod/v4/locales/package.json +2 -1
  256. package/.output/server/node_modules/zod/v4/locales/pl.js +5 -0
  257. package/.output/server/node_modules/zod/v4/locales/ps.js +5 -0
  258. package/.output/server/node_modules/zod/v4/locales/pt-BR.js +143 -0
  259. package/.output/server/node_modules/zod/v4/locales/pt.js +89 -55
  260. package/.output/server/node_modules/zod/v4/locales/ro.js +122 -0
  261. package/.output/server/node_modules/zod/v4/locales/ru.js +12 -0
  262. package/.output/server/node_modules/zod/v4/locales/sk.js +116 -0
  263. package/.output/server/node_modules/zod/v4/locales/sl.js +5 -0
  264. package/.output/server/node_modules/zod/v4/locales/sv.js +7 -2
  265. package/.output/server/node_modules/zod/v4/locales/ta.js +5 -0
  266. package/.output/server/node_modules/zod/v4/locales/tg.js +117 -0
  267. package/.output/server/node_modules/zod/v4/locales/th.js +5 -0
  268. package/.output/server/node_modules/zod/v4/locales/tk.js +107 -0
  269. package/.output/server/node_modules/zod/v4/locales/tr.js +5 -0
  270. package/.output/server/node_modules/zod/v4/locales/uk.js +5 -0
  271. package/.output/server/node_modules/zod/v4/locales/ur.js +5 -0
  272. package/.output/server/node_modules/zod/v4/locales/uz.js +4 -0
  273. package/.output/server/node_modules/zod/v4/locales/vi.js +5 -0
  274. package/.output/server/node_modules/zod/v4/locales/yo.js +5 -0
  275. package/.output/server/node_modules/zod/v4/locales/zh-CN.js +5 -0
  276. package/.output/server/node_modules/zod/v4/locales/zh-TW.js +5 -0
  277. package/.output/server/node_modules/zod/v4/package.json +2 -1
  278. package/.output/server/package.json +18 -18
  279. package/README.md +12 -1
  280. package/package.json +10 -9
  281. package/server/api/editor-types.get.ts +2 -23
  282. package/server/api/studio/run.post.ts +18 -6
  283. package/server/utils/editor-types.json +1 -0
  284. package/.output/public/_nuxt/B9paGgN0.js +0 -33
  285. package/.output/public/_nuxt/builds/meta/51f1351c-0667-4235-9ddc-16582a51ce03.json +0 -1
  286. package/.output/public/_nuxt/entry.B-vs1tRH.css +0 -1
  287. package/.output/public/_nuxt/error-404.CTSXlFYa.css +0 -1
  288. package/.output/public/_nuxt/error-500.DqEfQnVZ.css +0 -1
  289. package/.output/server/chunks/build/error-404-KRkA0DPI.mjs.map +0 -1
  290. package/.output/server/chunks/build/error-404-styles.I0NYw-Bn.mjs +0 -8
  291. package/.output/server/chunks/build/error-404-styles.I0NYw-Bn.mjs.map +0 -1
  292. package/.output/server/chunks/build/error-500-DIIFf55p.mjs.map +0 -1
  293. package/.output/server/chunks/build/error-500-styles.D1cs9hQy.mjs +0 -8
  294. package/.output/server/chunks/build/error-500-styles.D1cs9hQy.mjs.map +0 -1
  295. package/.output/server/chunks/build/index-CB1N4gax.mjs.map +0 -1
  296. /package/.output/server/node_modules/{@vue/compiler-core → .nitro/@vue/compiler-core@3.5.32}/dist/compiler-core.cjs.prod.js +0 -0
  297. /package/.output/server/node_modules/{@vue/compiler-core → .nitro/@vue/compiler-core@3.5.32}/package.json +0 -0
  298. /package/.output/server/node_modules/{@vue/compiler-dom → .nitro/@vue/compiler-dom@3.5.32}/dist/compiler-dom.cjs.prod.js +0 -0
  299. /package/.output/server/node_modules/{@vue/compiler-dom → .nitro/@vue/compiler-dom@3.5.32}/package.json +0 -0
  300. /package/.output/server/node_modules/{@vue/reactivity → .nitro/@vue/reactivity@3.5.32}/dist/reactivity.cjs.prod.js +0 -0
  301. /package/.output/server/node_modules/{@vue/reactivity → .nitro/@vue/reactivity@3.5.32}/package.json +0 -0
  302. /package/.output/server/node_modules/{@vue/runtime-core → .nitro/@vue/runtime-core@3.5.32}/dist/runtime-core.cjs.prod.js +0 -0
  303. /package/.output/server/node_modules/{@vue/runtime-core → .nitro/@vue/runtime-core@3.5.32}/package.json +0 -0
  304. /package/.output/server/node_modules/{@vue/runtime-dom → .nitro/@vue/runtime-dom@3.5.32}/dist/runtime-dom.cjs.prod.js +0 -0
  305. /package/.output/server/node_modules/{@vue/runtime-dom → .nitro/@vue/runtime-dom@3.5.32}/package.json +0 -0
  306. /package/.output/server/node_modules/{@vue/shared → .nitro/@vue/shared@3.5.32}/dist/shared.cjs.prod.js +0 -0
  307. /package/.output/server/node_modules/{@vue/shared → .nitro/@vue/shared@3.5.32}/package.json +0 -0
  308. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/array-set.js +0 -0
  309. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/base64-vlq.js +0 -0
  310. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/base64.js +0 -0
  311. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/binary-search.js +0 -0
  312. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/mapping-list.js +0 -0
  313. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/quick-sort.js +0 -0
  314. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-map-consumer.js +0 -0
  315. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-map-generator.js +0 -0
  316. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-node.js +0 -0
  317. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/util.js +0 -0
  318. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/package.json +0 -0
  319. /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/source-map.js +0 -0
  320. /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/dist/vue.cjs.js +0 -0
  321. /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/dist/vue.cjs.prod.js +0 -0
  322. /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/index.js +0 -0
  323. /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/index.mjs +0 -0
  324. /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/package.json +0 -0
  325. /package/.output/server/node_modules/{vue → .nitro/vue@3.5.43}/server-renderer/index.mjs +0 -0
@@ -0,0 +1,655 @@
1
+ /**
2
+ * @vue/shared v3.5.43
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/
6
+ 'use strict';
7
+
8
+ Object.defineProperty(exports, '__esModule', { value: true });
9
+
10
+ // @__NO_SIDE_EFFECTS__
11
+ function makeMap(str) {
12
+ const map = /* @__PURE__ */ Object.create(null);
13
+ for (const key of str.split(",")) map[key] = 1;
14
+ return (val) => val in map;
15
+ }
16
+
17
+ const EMPTY_OBJ = {};
18
+ const EMPTY_ARR = [];
19
+ const NOOP = () => {
20
+ };
21
+ const NO = () => false;
22
+ const isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter
23
+ (key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);
24
+ const isModelListener = (key) => key.startsWith("onUpdate:");
25
+ const extend = Object.assign;
26
+ const remove = (arr, el) => {
27
+ const i = arr.indexOf(el);
28
+ if (i > -1) {
29
+ arr.splice(i, 1);
30
+ }
31
+ };
32
+ const hasOwnProperty = Object.prototype.hasOwnProperty;
33
+ const hasOwn = (val, key) => hasOwnProperty.call(val, key);
34
+ const isArray = Array.isArray;
35
+ const isMap = (val) => toTypeString(val) === "[object Map]";
36
+ const isSet = (val) => toTypeString(val) === "[object Set]";
37
+ const isDate = (val) => toTypeString(val) === "[object Date]";
38
+ const isRegExp = (val) => toTypeString(val) === "[object RegExp]";
39
+ const isFunction = (val) => typeof val === "function";
40
+ const isString = (val) => typeof val === "string";
41
+ const isSymbol = (val) => typeof val === "symbol";
42
+ const isObject = (val) => val !== null && typeof val === "object";
43
+ const isPromise = (val) => {
44
+ return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);
45
+ };
46
+ const objectToString = Object.prototype.toString;
47
+ const toTypeString = (value) => objectToString.call(value);
48
+ const toRawType = (value) => {
49
+ return toTypeString(value).slice(8, -1);
50
+ };
51
+ const isPlainObject = (val) => toTypeString(val) === "[object Object]";
52
+ const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
53
+ const isReservedProp = /* @__PURE__ */ makeMap(
54
+ // the leading comma is intentional so empty string "" is also included
55
+ ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
56
+ );
57
+ const isBuiltInDirective = /* @__PURE__ */ makeMap(
58
+ "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
59
+ );
60
+ const cacheStringFunction = (fn) => {
61
+ const cache = /* @__PURE__ */ Object.create(null);
62
+ return ((str) => {
63
+ const hit = cache[str];
64
+ return hit || (cache[str] = fn(str));
65
+ });
66
+ };
67
+ const camelizeRE = /-\w/g;
68
+ const camelize = cacheStringFunction(
69
+ (str) => {
70
+ return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
71
+ }
72
+ );
73
+ const hyphenateRE = /\B([A-Z])/g;
74
+ const hyphenate = cacheStringFunction(
75
+ (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
76
+ );
77
+ const capitalize = cacheStringFunction((str) => {
78
+ return str.charAt(0).toUpperCase() + str.slice(1);
79
+ });
80
+ const toHandlerKey = cacheStringFunction(
81
+ (str) => {
82
+ const s = str ? `on${capitalize(str)}` : ``;
83
+ return s;
84
+ }
85
+ );
86
+ const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
87
+ const invokeArrayFns = (fns, ...arg) => {
88
+ for (let i = 0; i < fns.length; i++) {
89
+ fns[i](...arg);
90
+ }
91
+ };
92
+ const def = (obj, key, value, writable = false) => {
93
+ Object.defineProperty(obj, key, {
94
+ configurable: true,
95
+ enumerable: false,
96
+ writable,
97
+ value
98
+ });
99
+ };
100
+ const looseToNumber = (val) => {
101
+ const n = parseFloat(val);
102
+ return isNaN(n) ? val : n;
103
+ };
104
+ const toNumber = (val) => {
105
+ const n = isString(val) ? Number(val) : NaN;
106
+ return isNaN(n) ? val : n;
107
+ };
108
+ let _globalThis;
109
+ const getGlobalThis = () => {
110
+ return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
111
+ };
112
+ const identRE = /^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;
113
+ function genPropsAccessExp(name) {
114
+ return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;
115
+ }
116
+ function genCacheKey(source, options) {
117
+ return source + JSON.stringify(
118
+ options,
119
+ (_, val) => typeof val === "function" ? val.toString() : val
120
+ );
121
+ }
122
+
123
+ const PatchFlags = {
124
+ "TEXT": 1,
125
+ "1": "TEXT",
126
+ "CLASS": 2,
127
+ "2": "CLASS",
128
+ "STYLE": 4,
129
+ "4": "STYLE",
130
+ "PROPS": 8,
131
+ "8": "PROPS",
132
+ "FULL_PROPS": 16,
133
+ "16": "FULL_PROPS",
134
+ "NEED_HYDRATION": 32,
135
+ "32": "NEED_HYDRATION",
136
+ "STABLE_FRAGMENT": 64,
137
+ "64": "STABLE_FRAGMENT",
138
+ "KEYED_FRAGMENT": 128,
139
+ "128": "KEYED_FRAGMENT",
140
+ "UNKEYED_FRAGMENT": 256,
141
+ "256": "UNKEYED_FRAGMENT",
142
+ "NEED_PATCH": 512,
143
+ "512": "NEED_PATCH",
144
+ "DYNAMIC_SLOTS": 1024,
145
+ "1024": "DYNAMIC_SLOTS",
146
+ "DEV_ROOT_FRAGMENT": 2048,
147
+ "2048": "DEV_ROOT_FRAGMENT",
148
+ "CACHED": -1,
149
+ "-1": "CACHED",
150
+ "BAIL": -2,
151
+ "-2": "BAIL"
152
+ };
153
+ const PatchFlagNames = {
154
+ [1]: `TEXT`,
155
+ [2]: `CLASS`,
156
+ [4]: `STYLE`,
157
+ [8]: `PROPS`,
158
+ [16]: `FULL_PROPS`,
159
+ [32]: `NEED_HYDRATION`,
160
+ [64]: `STABLE_FRAGMENT`,
161
+ [128]: `KEYED_FRAGMENT`,
162
+ [256]: `UNKEYED_FRAGMENT`,
163
+ [512]: `NEED_PATCH`,
164
+ [1024]: `DYNAMIC_SLOTS`,
165
+ [2048]: `DEV_ROOT_FRAGMENT`,
166
+ [-1]: `CACHED`,
167
+ [-2]: `BAIL`
168
+ };
169
+
170
+ const ShapeFlags = {
171
+ "ELEMENT": 1,
172
+ "1": "ELEMENT",
173
+ "FUNCTIONAL_COMPONENT": 2,
174
+ "2": "FUNCTIONAL_COMPONENT",
175
+ "STATEFUL_COMPONENT": 4,
176
+ "4": "STATEFUL_COMPONENT",
177
+ "TEXT_CHILDREN": 8,
178
+ "8": "TEXT_CHILDREN",
179
+ "ARRAY_CHILDREN": 16,
180
+ "16": "ARRAY_CHILDREN",
181
+ "SLOTS_CHILDREN": 32,
182
+ "32": "SLOTS_CHILDREN",
183
+ "TELEPORT": 64,
184
+ "64": "TELEPORT",
185
+ "SUSPENSE": 128,
186
+ "128": "SUSPENSE",
187
+ "COMPONENT_SHOULD_KEEP_ALIVE": 256,
188
+ "256": "COMPONENT_SHOULD_KEEP_ALIVE",
189
+ "COMPONENT_KEPT_ALIVE": 512,
190
+ "512": "COMPONENT_KEPT_ALIVE",
191
+ "COMPONENT": 6,
192
+ "6": "COMPONENT"
193
+ };
194
+
195
+ const SlotFlags = {
196
+ "STABLE": 1,
197
+ "1": "STABLE",
198
+ "DYNAMIC": 2,
199
+ "2": "DYNAMIC",
200
+ "FORWARDED": 3,
201
+ "3": "FORWARDED"
202
+ };
203
+ const slotFlagsText = {
204
+ [1]: "STABLE",
205
+ [2]: "DYNAMIC",
206
+ [3]: "FORWARDED"
207
+ };
208
+
209
+ const GLOBALS_ALLOWED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol";
210
+ const isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);
211
+ const isGloballyWhitelisted = isGloballyAllowed;
212
+
213
+ const range = 2;
214
+ function generateCodeFrame(source, start = 0, end = source.length) {
215
+ start = Math.max(0, Math.min(start, source.length));
216
+ end = Math.max(0, Math.min(end, source.length));
217
+ if (start > end) return "";
218
+ let lines = source.split(/(\r?\n)/);
219
+ const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);
220
+ lines = lines.filter((_, idx) => idx % 2 === 0);
221
+ let count = 0;
222
+ const res = [];
223
+ for (let i = 0; i < lines.length; i++) {
224
+ count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);
225
+ if (count >= start) {
226
+ for (let j = i - range; j <= i + range || end > count; j++) {
227
+ if (j < 0 || j >= lines.length) continue;
228
+ const line = j + 1;
229
+ res.push(
230
+ `${line}${" ".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`
231
+ );
232
+ const lineLength = lines[j].length;
233
+ const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;
234
+ if (j === i) {
235
+ const pad = start - (count - (lineLength + newLineSeqLength));
236
+ const length = Math.max(
237
+ 1,
238
+ end > count ? lineLength - pad : end - start
239
+ );
240
+ res.push(` | ` + " ".repeat(pad) + "^".repeat(length));
241
+ } else if (j > i) {
242
+ if (end > count) {
243
+ const length = Math.max(Math.min(end - count, lineLength), 1);
244
+ res.push(` | ` + "^".repeat(length));
245
+ }
246
+ count += lineLength + newLineSeqLength;
247
+ }
248
+ }
249
+ break;
250
+ }
251
+ }
252
+ return res.join("\n");
253
+ }
254
+
255
+ function normalizeStyle(value) {
256
+ if (isArray(value)) {
257
+ const res = {};
258
+ for (let i = 0; i < value.length; i++) {
259
+ const item = value[i];
260
+ const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);
261
+ if (normalized) {
262
+ for (const key in normalized) {
263
+ res[key] = normalized[key];
264
+ }
265
+ }
266
+ }
267
+ return res;
268
+ } else if (isString(value) || isObject(value)) {
269
+ return value;
270
+ }
271
+ }
272
+ const listDelimiterRE = /;(?![^(]*\))/g;
273
+ const propertyDelimiterRE = /:([^]+)/;
274
+ const styleCommentRE = /"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;
275
+ function parseStringStyle(cssText) {
276
+ const ret = {};
277
+ cssText.replace(styleCommentRE, (match) => match.startsWith("/*") ? "" : match).split(listDelimiterRE).forEach((item) => {
278
+ if (item) {
279
+ const tmp = item.split(propertyDelimiterRE);
280
+ tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());
281
+ }
282
+ });
283
+ return ret;
284
+ }
285
+ function stringifyStyle(styles) {
286
+ if (!styles) return "";
287
+ if (isString(styles)) return styles;
288
+ let ret = "";
289
+ for (const key in styles) {
290
+ const value = styles[key];
291
+ if (isString(value) || typeof value === "number") {
292
+ const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
293
+ ret += `${normalizedKey}:${value};`;
294
+ }
295
+ }
296
+ return ret;
297
+ }
298
+ function normalizeClass(value) {
299
+ let res = "";
300
+ if (isString(value)) {
301
+ res = value;
302
+ } else if (isArray(value)) {
303
+ for (let i = 0; i < value.length; i++) {
304
+ const normalized = normalizeClass(value[i]);
305
+ if (normalized) {
306
+ res += normalized + " ";
307
+ }
308
+ }
309
+ } else if (isObject(value)) {
310
+ for (const name in value) {
311
+ if (value[name]) {
312
+ res += name + " ";
313
+ }
314
+ }
315
+ }
316
+ return res.trim();
317
+ }
318
+ function normalizeProps(props) {
319
+ if (!props) return null;
320
+ let { class: klass, style } = props;
321
+ if (klass && !isString(klass)) {
322
+ props.class = normalizeClass(klass);
323
+ }
324
+ if (style) {
325
+ props.style = normalizeStyle(style);
326
+ }
327
+ return props;
328
+ }
329
+
330
+ const HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
331
+ const SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
332
+ const MATH_TAGS = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics";
333
+ const VOID_TAGS = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr";
334
+ const isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);
335
+ const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
336
+ const isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
337
+ const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
338
+
339
+ const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
340
+ const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
341
+ const isBooleanAttr = /* @__PURE__ */ makeMap(
342
+ specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
343
+ );
344
+ function includeBooleanAttr(value) {
345
+ return !!value || value === "";
346
+ }
347
+ const unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u000d\u0020]/;
348
+ const attrValidationCache = {};
349
+ function isSSRSafeAttrName(name) {
350
+ if (attrValidationCache.hasOwnProperty(name)) {
351
+ return attrValidationCache[name];
352
+ }
353
+ const isUnsafe = unsafeAttrCharRE.test(name);
354
+ if (isUnsafe) {
355
+ console.error(`unsafe attribute name: ${name}`);
356
+ }
357
+ return attrValidationCache[name] = !isUnsafe;
358
+ }
359
+ const propsToAttrMap = {
360
+ acceptCharset: "accept-charset",
361
+ className: "class",
362
+ htmlFor: "for",
363
+ httpEquiv: "http-equiv"
364
+ };
365
+ const isKnownHtmlAttr = /* @__PURE__ */ makeMap(
366
+ `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`
367
+ );
368
+ const isKnownSvgAttr = /* @__PURE__ */ makeMap(
369
+ `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`
370
+ );
371
+ const isKnownMathMLAttr = /* @__PURE__ */ makeMap(
372
+ `accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns`
373
+ );
374
+ function isRenderableAttrValue(value) {
375
+ if (value == null) {
376
+ return false;
377
+ }
378
+ const type = typeof value;
379
+ return type === "string" || type === "number" || type === "boolean";
380
+ }
381
+
382
+ const escapeRE = /["'&<>]/;
383
+ function escapeHtml(string) {
384
+ const str = "" + string;
385
+ const match = escapeRE.exec(str);
386
+ if (!match) {
387
+ return str;
388
+ }
389
+ let html = "";
390
+ let escaped;
391
+ let index;
392
+ let lastIndex = 0;
393
+ for (index = match.index; index < str.length; index++) {
394
+ switch (str.charCodeAt(index)) {
395
+ case 34:
396
+ escaped = "&quot;";
397
+ break;
398
+ case 38:
399
+ escaped = "&amp;";
400
+ break;
401
+ case 39:
402
+ escaped = "&#39;";
403
+ break;
404
+ case 60:
405
+ escaped = "&lt;";
406
+ break;
407
+ case 62:
408
+ escaped = "&gt;";
409
+ break;
410
+ default:
411
+ continue;
412
+ }
413
+ if (lastIndex !== index) {
414
+ html += str.slice(lastIndex, index);
415
+ }
416
+ lastIndex = index + 1;
417
+ html += escaped;
418
+ }
419
+ return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
420
+ }
421
+ const commentStripRE = /^(?:-?>)+|<!--|-->|--!>|<!-$/g;
422
+ function escapeHtmlComment(src) {
423
+ let prev;
424
+ do {
425
+ prev = src;
426
+ src = src.replace(commentStripRE, "");
427
+ } while (src !== prev);
428
+ return src;
429
+ }
430
+ const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
431
+ function getEscapedCssVarName(key, doubleEscape) {
432
+ return key.replace(
433
+ cssVarNameEscapeSymbolsRE,
434
+ (s) => doubleEscape ? s === '"' ? '\\\\\\"' : `\\\\${s}` : `\\${s}`
435
+ );
436
+ }
437
+
438
+ function looseCompareArrays(a, b, seen) {
439
+ if (a.length !== b.length) return false;
440
+ let equal = true;
441
+ for (let i = 0; equal && i < a.length; i++) {
442
+ equal = looseEqual(a[i], b[i], seen);
443
+ }
444
+ return equal;
445
+ }
446
+ function looseCompareCollections(a, b, seen) {
447
+ if (a.size !== b.size) return false;
448
+ const candidates = Array.from(b);
449
+ const matched = new Uint8Array(candidates.length);
450
+ for (const item of a) {
451
+ let index = -1;
452
+ for (let i = 0; i < candidates.length; i++) {
453
+ if (!matched[i] && looseEqual(item, candidates[i], seen)) {
454
+ index = i;
455
+ break;
456
+ }
457
+ }
458
+ if (index < 0) return false;
459
+ matched[index] = 1;
460
+ }
461
+ return true;
462
+ }
463
+ function looseCompareObjects(a, b, seen) {
464
+ let aValidType = isMap(a);
465
+ let bValidType = isMap(b);
466
+ if (aValidType || bValidType) {
467
+ return aValidType && bValidType ? looseCompareCollections(a, b, seen) : false;
468
+ }
469
+ aValidType = isSet(a);
470
+ bValidType = isSet(b);
471
+ if (aValidType || bValidType) {
472
+ return aValidType && bValidType ? looseCompareCollections(a, b, seen) : false;
473
+ }
474
+ const aKeysCount = Object.keys(a).length;
475
+ const bKeysCount = Object.keys(b).length;
476
+ if (aKeysCount !== bKeysCount) {
477
+ return false;
478
+ }
479
+ for (const key in a) {
480
+ const aHasKey = a.hasOwnProperty(key);
481
+ const bHasKey = b.hasOwnProperty(key);
482
+ if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key], seen)) {
483
+ return false;
484
+ }
485
+ }
486
+ return String(a) === String(b);
487
+ }
488
+ function looseCompareNested(a, b, seen, compare) {
489
+ if (!seen) {
490
+ seen = [/* @__PURE__ */ new Map(), /* @__PURE__ */ new Map()];
491
+ }
492
+ const [seenA, seenB] = seen;
493
+ if (seenA.has(a) || seenB.has(b)) {
494
+ return seenA.get(a) === b && seenB.get(b) === a;
495
+ }
496
+ seenA.set(a, b);
497
+ seenB.set(b, a);
498
+ const equal = compare(a, b, seen);
499
+ seenA.delete(a);
500
+ seenB.delete(b);
501
+ return equal;
502
+ }
503
+ function looseEqual(a, b, seen) {
504
+ if (a === b) return true;
505
+ let aValidType = isDate(a);
506
+ let bValidType = isDate(b);
507
+ if (aValidType || bValidType) {
508
+ return aValidType && bValidType ? a.getTime() === b.getTime() : false;
509
+ }
510
+ aValidType = isSymbol(a);
511
+ bValidType = isSymbol(b);
512
+ if (aValidType || bValidType) {
513
+ return a === b;
514
+ }
515
+ aValidType = isArray(a);
516
+ bValidType = isArray(b);
517
+ if (aValidType || bValidType) {
518
+ return aValidType && bValidType ? looseCompareNested(a, b, seen, looseCompareArrays) : false;
519
+ }
520
+ aValidType = isObject(a);
521
+ bValidType = isObject(b);
522
+ if (aValidType || bValidType) {
523
+ if (!aValidType || !bValidType) {
524
+ return false;
525
+ }
526
+ return looseCompareNested(a, b, seen, looseCompareObjects);
527
+ }
528
+ return String(a) === String(b);
529
+ }
530
+ function looseIndexOf(arr, val) {
531
+ return arr.findIndex((item) => looseEqual(item, val));
532
+ }
533
+
534
+ const isRef = (val) => {
535
+ return !!(val && val["__v_isRef"] === true);
536
+ };
537
+ const toDisplayString = (val) => {
538
+ return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? isRef(val) ? toDisplayString(val.value) : JSON.stringify(val, replacer, 2) : String(val);
539
+ };
540
+ const replacer = (_key, val) => {
541
+ if (isRef(val)) {
542
+ return replacer(_key, val.value);
543
+ } else if (isMap(val)) {
544
+ return {
545
+ [`Map(${val.size})`]: [...val.entries()].reduce(
546
+ (entries, [key, val2], i) => {
547
+ entries[stringifySymbol(key, i) + " =>"] = val2;
548
+ return entries;
549
+ },
550
+ {}
551
+ )
552
+ };
553
+ } else if (isSet(val)) {
554
+ return {
555
+ [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))
556
+ };
557
+ } else if (isSymbol(val)) {
558
+ return stringifySymbol(val);
559
+ } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {
560
+ return String(val);
561
+ }
562
+ return val;
563
+ };
564
+ const stringifySymbol = (v, i = "") => {
565
+ var _a;
566
+ return (
567
+ // Symbol.description in es2019+ so we need to cast here to pass
568
+ // the lib: es2016 check
569
+ isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v
570
+ );
571
+ };
572
+
573
+ function normalizeCssVarValue(value) {
574
+ if (value == null) {
575
+ return "initial";
576
+ }
577
+ if (typeof value === "string") {
578
+ return value === "" ? " " : value;
579
+ }
580
+ return String(value);
581
+ }
582
+
583
+ exports.EMPTY_ARR = EMPTY_ARR;
584
+ exports.EMPTY_OBJ = EMPTY_OBJ;
585
+ exports.NO = NO;
586
+ exports.NOOP = NOOP;
587
+ exports.PatchFlagNames = PatchFlagNames;
588
+ exports.PatchFlags = PatchFlags;
589
+ exports.ShapeFlags = ShapeFlags;
590
+ exports.SlotFlags = SlotFlags;
591
+ exports.camelize = camelize;
592
+ exports.capitalize = capitalize;
593
+ exports.cssVarNameEscapeSymbolsRE = cssVarNameEscapeSymbolsRE;
594
+ exports.def = def;
595
+ exports.escapeHtml = escapeHtml;
596
+ exports.escapeHtmlComment = escapeHtmlComment;
597
+ exports.extend = extend;
598
+ exports.genCacheKey = genCacheKey;
599
+ exports.genPropsAccessExp = genPropsAccessExp;
600
+ exports.generateCodeFrame = generateCodeFrame;
601
+ exports.getEscapedCssVarName = getEscapedCssVarName;
602
+ exports.getGlobalThis = getGlobalThis;
603
+ exports.hasChanged = hasChanged;
604
+ exports.hasOwn = hasOwn;
605
+ exports.hyphenate = hyphenate;
606
+ exports.includeBooleanAttr = includeBooleanAttr;
607
+ exports.invokeArrayFns = invokeArrayFns;
608
+ exports.isArray = isArray;
609
+ exports.isBooleanAttr = isBooleanAttr;
610
+ exports.isBuiltInDirective = isBuiltInDirective;
611
+ exports.isDate = isDate;
612
+ exports.isFunction = isFunction;
613
+ exports.isGloballyAllowed = isGloballyAllowed;
614
+ exports.isGloballyWhitelisted = isGloballyWhitelisted;
615
+ exports.isHTMLTag = isHTMLTag;
616
+ exports.isIntegerKey = isIntegerKey;
617
+ exports.isKnownHtmlAttr = isKnownHtmlAttr;
618
+ exports.isKnownMathMLAttr = isKnownMathMLAttr;
619
+ exports.isKnownSvgAttr = isKnownSvgAttr;
620
+ exports.isMap = isMap;
621
+ exports.isMathMLTag = isMathMLTag;
622
+ exports.isModelListener = isModelListener;
623
+ exports.isObject = isObject;
624
+ exports.isOn = isOn;
625
+ exports.isPlainObject = isPlainObject;
626
+ exports.isPromise = isPromise;
627
+ exports.isRegExp = isRegExp;
628
+ exports.isRenderableAttrValue = isRenderableAttrValue;
629
+ exports.isReservedProp = isReservedProp;
630
+ exports.isSSRSafeAttrName = isSSRSafeAttrName;
631
+ exports.isSVGTag = isSVGTag;
632
+ exports.isSet = isSet;
633
+ exports.isSpecialBooleanAttr = isSpecialBooleanAttr;
634
+ exports.isString = isString;
635
+ exports.isSymbol = isSymbol;
636
+ exports.isVoidTag = isVoidTag;
637
+ exports.looseEqual = looseEqual;
638
+ exports.looseIndexOf = looseIndexOf;
639
+ exports.looseToNumber = looseToNumber;
640
+ exports.makeMap = makeMap;
641
+ exports.normalizeClass = normalizeClass;
642
+ exports.normalizeCssVarValue = normalizeCssVarValue;
643
+ exports.normalizeProps = normalizeProps;
644
+ exports.normalizeStyle = normalizeStyle;
645
+ exports.objectToString = objectToString;
646
+ exports.parseStringStyle = parseStringStyle;
647
+ exports.propsToAttrMap = propsToAttrMap;
648
+ exports.remove = remove;
649
+ exports.slotFlagsText = slotFlagsText;
650
+ exports.stringifyStyle = stringifyStyle;
651
+ exports.toDisplayString = toDisplayString;
652
+ exports.toHandlerKey = toHandlerKey;
653
+ exports.toNumber = toNumber;
654
+ exports.toRawType = toRawType;
655
+ exports.toTypeString = toTypeString;
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@vue/shared",
3
+ "version": "3.5.43",
4
+ "description": "internal utils shared across @vue packages",
5
+ "main": "index.js",
6
+ "module": "dist/shared.esm-bundler.js",
7
+ "types": "dist/shared.d.ts",
8
+ "files": [
9
+ "index.js",
10
+ "dist"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/shared.d.ts",
15
+ "node": {
16
+ "production": "./dist/shared.cjs.prod.js",
17
+ "development": "./dist/shared.cjs.js",
18
+ "default": "./dist/shared.cjs.prod.js"
19
+ },
20
+ "module": "./dist/shared.esm-bundler.js",
21
+ "import": "./dist/shared.esm-bundler.js",
22
+ "require": "./index.js"
23
+ },
24
+ "./*": "./*"
25
+ },
26
+ "sideEffects": false,
27
+ "buildOptions": {
28
+ "formats": [
29
+ "esm-bundler",
30
+ "cjs"
31
+ ]
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/vuejs/core.git",
36
+ "directory": "packages/shared"
37
+ },
38
+ "keywords": [
39
+ "vue"
40
+ ],
41
+ "author": "Evan You",
42
+ "license": "MIT",
43
+ "bugs": {
44
+ "url": "https://github.com/vuejs/core/issues"
45
+ },
46
+ "homepage": "https://github.com/vuejs/core/tree/main/packages/shared#readme"
47
+ }