@nullix/zod-mongoose-studio 3.3.2 → 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.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{B7ScFmDB.js → 5ZXm4f56.js} +1 -1
- package/.output/public/_nuxt/{DbqvVYbv.js → B2fcLSyW.js} +1 -1
- package/.output/public/_nuxt/{DKK0Mrrg.js → BBN7l5Hn.js} +1 -1
- package/.output/public/_nuxt/BBTTtb8r.js +41 -0
- package/.output/public/_nuxt/{C8xmwXC2.js → BDbISGvP.js} +1 -1
- package/.output/public/_nuxt/{DJa7_7Hz.js → BijI4RNx.js} +1 -1
- package/.output/public/_nuxt/{BlZ0x31M.js → Bp9qkJ9m.js} +1 -1
- package/.output/public/_nuxt/{BcYnCaqL.js → Bu3-sqCf.js} +1 -1
- package/.output/public/_nuxt/{C919AVYR.js → C-FtTvwz.js} +1 -1
- package/.output/public/_nuxt/C02JV0Aj.js +1 -0
- package/.output/public/_nuxt/{Bbi9UBvi.js → C1UkIsDc.js} +1 -1
- package/.output/public/_nuxt/{PXBhK7S_.js → CJT28r6J.js} +1 -1
- package/.output/public/_nuxt/{BC9tFNFa.js → CL7qtgl2.js} +3 -3
- package/.output/public/_nuxt/{B6lqezyA.js → CRMd2YH2.js} +3 -3
- package/.output/public/_nuxt/{YC-RLggm.js → CRkdQgFz.js} +1 -1
- package/.output/public/_nuxt/{iKW_mt0p.js → Cw1XFOz5.js} +1 -1
- package/.output/public/_nuxt/{d1NBz903.js → D5yWk6Ly.js} +1 -1
- package/.output/public/_nuxt/{iGzUozbF.js → DA9GjKpR.js} +1 -1
- package/.output/public/_nuxt/{JkiDMdYG.js → DaWAlZhp.js} +1 -1
- package/.output/public/_nuxt/{OVQ3C2Ge.js → DafLMUHo.js} +1 -1
- package/.output/public/_nuxt/{Bw82IGM8.js → Dyaldc-t.js} +1 -1
- package/.output/public/_nuxt/{CsQL5F-l.js → UU9fpRNQ.js} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/717459d8-0da1-42ed-af0b-9ec5395e8fdc.json +1 -0
- package/.output/public/_nuxt/entry.CDPplHzk.css +1 -0
- package/.output/public/_nuxt/error-404.hPtlUQpd.css +1 -0
- package/.output/public/_nuxt/error-500.E-PXUb6B.css +1 -0
- package/.output/public/_nuxt/{DbUZZZZu.js → kFZJW2-u.js} +2 -2
- package/.output/public/_nuxt/{B8gqXD2U.js → u3DlT5Mh.js} +1 -1
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/_/parse-request.mjs +29 -0
- package/.output/server/chunks/_/parse-request.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/{error-404-KRkA0DPI.mjs → error-404-aQ5PiVuX.mjs} +6 -12
- package/.output/server/chunks/build/error-404-aQ5PiVuX.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.DIZfBVBR.mjs +8 -0
- package/.output/server/chunks/build/error-404-styles.DIZfBVBR.mjs.map +1 -0
- package/.output/server/chunks/build/{error-500-DIIFf55p.mjs → error-500-BY6ZAZZ2.mjs} +6 -12
- package/.output/server/chunks/build/error-500-BY6ZAZZ2.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.BZXgEzR5.mjs +8 -0
- package/.output/server/chunks/build/error-500-styles.BZXgEzR5.mjs.map +1 -0
- package/.output/server/chunks/build/index-57_mtIua.mjs +235 -0
- package/.output/server/chunks/build/index-57_mtIua.mjs.map +1 -0
- package/.output/server/chunks/build/{index-CB1N4gax.mjs → index-Qa-4KqCB.mjs} +7 -13
- package/.output/server/chunks/build/index-Qa-4KqCB.mjs.map +1 -0
- package/.output/server/chunks/build/server.mjs +3913 -3378
- package/.output/server/chunks/build/server.mjs.map +1 -1
- package/.output/server/chunks/build/styles.mjs +4 -4
- package/.output/server/chunks/nitro/nitro.mjs +562 -2188
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/editor-types.get.mjs +0 -6
- package/.output/server/chunks/routes/api/editor-types.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/parse.post.mjs +1599 -7
- package/.output/server/chunks/routes/api/parse.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/resolve.get.mjs +0 -6
- package/.output/server/chunks/routes/api/resolve.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/studio/run.post.mjs +41 -8
- package/.output/server/chunks/routes/api/studio/run.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +21 -44
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/index.mjs +1 -7
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.43/dist/compiler-core.cjs.prod.js +6801 -0
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.43/package.json +58 -0
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.43/dist/compiler-dom.cjs.prod.js +692 -0
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.43/package.json +57 -0
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.43/dist/reactivity.cjs.prod.js +1905 -0
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.43/package.json +55 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.43/dist/runtime-core.cjs.prod.js +7006 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.43/package.json +52 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.43/dist/runtime-dom.cjs.prod.js +1867 -0
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.43/package.json +60 -0
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.43/dist/shared.cjs.prod.js +655 -0
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.43/package.json +47 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/array-set.js +121 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/base64.js +67 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/binary-search.js +111 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/quick-sort.js +141 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-map-consumer.js +1236 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-map-generator.js +446 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/source-node.js +420 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/lib/util.js +594 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/package.json +71 -0
- package/.output/server/node_modules/.nitro/source-map-js@1.2.2/source-map.js +8 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/index.js +7 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/index.mjs +1 -0
- package/.output/server/node_modules/.nitro/vue@3.5.43/package.json +112 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +55 -21
- package/.output/server/node_modules/@babel/parser/package.json +7 -7
- package/.output/server/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/.output/server/node_modules/@esbuild/linux-x64/package.json +1 -1
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +19 -16
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +3 -4
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +16 -16
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +11 -14
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +13 -16
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +2 -5
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +4 -5
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +9 -11
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +12 -18
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +3 -4
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +5 -7
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +1 -8
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +11 -12
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +5 -7
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +7 -7
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +2 -4
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +5 -9
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +3 -5
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +2 -4
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +7 -8
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +3 -4
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +10 -15
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +3 -5
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +21 -13
- package/.output/server/node_modules/@iconify/utils/lib/index.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +3 -3
- package/.output/server/node_modules/@iconify/utils/lib/loader/hmr-utils.js +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +22 -22
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +7 -22
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +60 -16
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +9 -11
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +1 -3
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +3 -5
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +5 -4
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +1 -2
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +2 -3
- package/.output/server/node_modules/@iconify/utils/package.json +15 -13
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +8 -1
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +34 -13
- package/.output/server/node_modules/@vue/server-renderer/package.json +4 -6
- package/.output/server/node_modules/devalue/index.js +15 -2
- package/.output/server/node_modules/devalue/package.json +5 -3
- package/.output/server/node_modules/devalue/src/base64.js +46 -96
- package/.output/server/node_modules/devalue/src/constants.js +5 -0
- package/.output/server/node_modules/devalue/src/operations.js +221 -0
- package/.output/server/node_modules/devalue/src/parse.js +76 -62
- package/.output/server/node_modules/devalue/src/stringify.js +164 -81
- package/.output/server/node_modules/devalue/src/uneval.js +312 -104
- package/.output/server/node_modules/devalue/src/utils.js +61 -19
- package/.output/server/node_modules/esbuild/lib/main.js +12 -8
- package/.output/server/node_modules/esbuild/package.json +50 -50
- package/.output/server/node_modules/hookable/dist/index.mjs +2 -11
- package/.output/server/node_modules/hookable/package.json +23 -22
- package/.output/server/node_modules/ip-address/dist/ipv4.js +7 -0
- package/.output/server/node_modules/ip-address/package.json +1 -1
- package/.output/server/node_modules/zod/package.json +20 -8
- package/.output/server/node_modules/zod/v4/classic/checks.js +1 -1
- package/.output/server/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/.output/server/node_modules/zod/v4/classic/errors.js +44 -35
- package/.output/server/node_modules/zod/v4/classic/external.js +5 -8
- package/.output/server/node_modules/zod/v4/classic/from-json-schema.js +375 -78
- package/.output/server/node_modules/zod/v4/classic/in-out.js +36 -0
- package/.output/server/node_modules/zod/v4/classic/index.js +2 -2
- package/.output/server/node_modules/zod/v4/classic/iso.js +2 -17
- package/.output/server/node_modules/zod/v4/classic/package.json +2 -1
- package/.output/server/node_modules/zod/v4/classic/parse.js +1 -0
- package/.output/server/node_modules/zod/v4/classic/schemas.js +601 -223
- package/.output/server/node_modules/zod/v4/core/api.js +51 -26
- package/.output/server/node_modules/zod/v4/core/checks.js +68 -127
- package/.output/server/node_modules/zod/v4/core/compile.js +1858 -0
- package/.output/server/node_modules/zod/v4/core/core.js +87 -22
- package/.output/server/node_modules/zod/v4/core/doc.js +12 -9
- package/.output/server/node_modules/zod/v4/core/errors.js +127 -42
- package/.output/server/node_modules/zod/v4/core/index.js +3 -0
- package/.output/server/node_modules/zod/v4/core/json-schema-generator.js +6 -2
- package/.output/server/node_modules/zod/v4/core/json-schema-processors.js +413 -175
- package/.output/server/node_modules/zod/v4/core/memoizer.js +311 -0
- package/.output/server/node_modules/zod/v4/core/package.json +2 -1
- package/.output/server/node_modules/zod/v4/core/parse.js +130 -48
- package/.output/server/node_modules/zod/v4/core/regexes.js +39 -16
- package/.output/server/node_modules/zod/v4/core/registries.js +2 -2
- package/.output/server/node_modules/zod/v4/core/schemas.js +895 -382
- package/.output/server/node_modules/zod/v4/core/to-json-schema.js +253 -39
- package/.output/server/node_modules/zod/v4/core/util.js +383 -175
- package/.output/server/node_modules/zod/v4/core/versions.js +2 -2
- package/.output/server/node_modules/zod/v4/core/visit.js +169 -0
- package/.output/server/node_modules/zod/v4/index.js +3 -2
- package/.output/server/node_modules/zod/v4/locales/ar.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/az.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/be.js +12 -0
- package/.output/server/node_modules/zod/v4/locales/bg.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/bn.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/ca.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ckb.js +133 -0
- package/.output/server/node_modules/zod/v4/locales/cs.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/da.js +7 -2
- package/.output/server/node_modules/zod/v4/locales/de.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/el.js +112 -0
- package/.output/server/node_modules/zod/v4/locales/en.js +20 -4
- package/.output/server/node_modules/zod/v4/locales/eo.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/es.js +4 -0
- package/.output/server/node_modules/zod/v4/locales/fa.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/fi.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/fr-CA.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/fr.js +38 -17
- package/.output/server/node_modules/zod/v4/locales/gu.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/he.js +7 -0
- package/.output/server/node_modules/zod/v4/locales/hi.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/hr.js +126 -0
- package/.output/server/node_modules/zod/v4/locales/hu.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/hy.js +11 -0
- package/.output/server/node_modules/zod/v4/locales/id.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/index.js +14 -0
- package/.output/server/node_modules/zod/v4/locales/is.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/it.js +6 -1
- package/.output/server/node_modules/zod/v4/locales/ja.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ka.js +13 -8
- package/.output/server/node_modules/zod/v4/locales/km.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/kn.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/ko.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/lt.js +4 -0
- package/.output/server/node_modules/zod/v4/locales/mk.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ms.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ne.js +111 -0
- package/.output/server/node_modules/zod/v4/locales/nl.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/nn.js +113 -0
- package/.output/server/node_modules/zod/v4/locales/no.js +7 -2
- package/.output/server/node_modules/zod/v4/locales/ota.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/package.json +2 -1
- package/.output/server/node_modules/zod/v4/locales/pl.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ps.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/.output/server/node_modules/zod/v4/locales/pt.js +89 -55
- package/.output/server/node_modules/zod/v4/locales/ro.js +122 -0
- package/.output/server/node_modules/zod/v4/locales/ru.js +12 -0
- package/.output/server/node_modules/zod/v4/locales/sk.js +116 -0
- package/.output/server/node_modules/zod/v4/locales/sl.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/sv.js +7 -2
- package/.output/server/node_modules/zod/v4/locales/ta.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/tg.js +117 -0
- package/.output/server/node_modules/zod/v4/locales/th.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/tk.js +107 -0
- package/.output/server/node_modules/zod/v4/locales/tr.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/uk.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/ur.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/uz.js +4 -0
- package/.output/server/node_modules/zod/v4/locales/vi.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/yo.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/zh-CN.js +5 -0
- package/.output/server/node_modules/zod/v4/locales/zh-TW.js +5 -0
- package/.output/server/node_modules/zod/v4/package.json +2 -1
- package/.output/server/package.json +18 -18
- package/README.md +9 -0
- package/package.json +8 -8
- package/.output/public/_nuxt/Czp4_2o-.js +0 -33
- package/.output/public/_nuxt/builds/meta/46174b5e-cab6-4a73-95f8-66a1c9b1be2b.json +0 -1
- package/.output/public/_nuxt/entry.DaqrxXuH.css +0 -1
- package/.output/public/_nuxt/error-404.CTSXlFYa.css +0 -1
- package/.output/public/_nuxt/error-500.DqEfQnVZ.css +0 -1
- package/.output/server/chunks/build/error-404-KRkA0DPI.mjs.map +0 -1
- package/.output/server/chunks/build/error-404-styles.I0NYw-Bn.mjs +0 -8
- package/.output/server/chunks/build/error-404-styles.I0NYw-Bn.mjs.map +0 -1
- package/.output/server/chunks/build/error-500-DIIFf55p.mjs.map +0 -1
- package/.output/server/chunks/build/error-500-styles.D1cs9hQy.mjs +0 -8
- package/.output/server/chunks/build/error-500-styles.D1cs9hQy.mjs.map +0 -1
- package/.output/server/chunks/build/index-CB1N4gax.mjs.map +0 -1
- /package/.output/server/node_modules/{@vue/compiler-core → .nitro/@vue/compiler-core@3.5.32}/dist/compiler-core.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/compiler-core → .nitro/@vue/compiler-core@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/compiler-dom → .nitro/@vue/compiler-dom@3.5.32}/dist/compiler-dom.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/compiler-dom → .nitro/@vue/compiler-dom@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/reactivity → .nitro/@vue/reactivity@3.5.32}/dist/reactivity.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/reactivity → .nitro/@vue/reactivity@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/runtime-core → .nitro/@vue/runtime-core@3.5.32}/dist/runtime-core.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/runtime-core → .nitro/@vue/runtime-core@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/runtime-dom → .nitro/@vue/runtime-dom@3.5.32}/dist/runtime-dom.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/runtime-dom → .nitro/@vue/runtime-dom@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{@vue/shared → .nitro/@vue/shared@3.5.32}/dist/shared.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{@vue/shared → .nitro/@vue/shared@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/array-set.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/base64-vlq.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/base64.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/binary-search.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/mapping-list.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/quick-sort.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-map-consumer.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-map-generator.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/source-node.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/lib/util.js +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/package.json +0 -0
- /package/.output/server/node_modules/{source-map-js → .nitro/source-map-js@1.2.1}/source-map.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/dist/vue.cjs.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/dist/vue.cjs.prod.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/index.js +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/index.mjs +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.32}/package.json +0 -0
- /package/.output/server/node_modules/{vue → .nitro/vue@3.5.43}/server-renderer/index.mjs +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import * as util from "../core/util.js";
|
|
2
|
+
const error = () => {
|
|
3
|
+
const Sizable = {
|
|
4
|
+
string: { unit: "znakova", verb: "imati" },
|
|
5
|
+
file: { unit: "bajtova", verb: "imati" },
|
|
6
|
+
array: { unit: "stavki", verb: "imati" },
|
|
7
|
+
set: { unit: "stavki", verb: "imati" },
|
|
8
|
+
};
|
|
9
|
+
function getSizing(origin) {
|
|
10
|
+
return Sizable[origin] ?? null;
|
|
11
|
+
}
|
|
12
|
+
const FormatDictionary = {
|
|
13
|
+
regex: "unos",
|
|
14
|
+
email: "email adresa",
|
|
15
|
+
url: "URL",
|
|
16
|
+
emoji: "emoji",
|
|
17
|
+
uuid: "UUID",
|
|
18
|
+
uuidv4: "UUIDv4",
|
|
19
|
+
uuidv6: "UUIDv6",
|
|
20
|
+
nanoid: "nanoid",
|
|
21
|
+
guid: "GUID",
|
|
22
|
+
cuid: "cuid",
|
|
23
|
+
cuid2: "cuid2",
|
|
24
|
+
ulid: "ULID",
|
|
25
|
+
xid: "XID",
|
|
26
|
+
ksuid: "KSUID",
|
|
27
|
+
datetime: "ISO datum i vrijeme",
|
|
28
|
+
date: "ISO datum",
|
|
29
|
+
time: "ISO vrijeme",
|
|
30
|
+
duration: "ISO trajanje",
|
|
31
|
+
ipv4: "IPv4 adresa",
|
|
32
|
+
ipv6: "IPv6 adresa",
|
|
33
|
+
mac: "MAC adresa",
|
|
34
|
+
cidrv4: "IPv4 raspon",
|
|
35
|
+
cidrv6: "IPv6 raspon",
|
|
36
|
+
base64: "base64 kodirani tekst",
|
|
37
|
+
base64url: "base64url kodirani tekst",
|
|
38
|
+
json_string: "JSON tekst",
|
|
39
|
+
e164: "E.164 broj",
|
|
40
|
+
credit_card: "broj kreditne kartice",
|
|
41
|
+
currency_code: "kod valute",
|
|
42
|
+
iban: "IBAN",
|
|
43
|
+
jwt: "JWT",
|
|
44
|
+
template_literal: "unos",
|
|
45
|
+
};
|
|
46
|
+
const TypeDictionary = {
|
|
47
|
+
nan: "NaN",
|
|
48
|
+
string: "tekst",
|
|
49
|
+
number: "broj",
|
|
50
|
+
boolean: "boolean",
|
|
51
|
+
array: "niz",
|
|
52
|
+
object: "objekt",
|
|
53
|
+
set: "skup",
|
|
54
|
+
file: "datoteka",
|
|
55
|
+
date: "datum",
|
|
56
|
+
bigint: "bigint",
|
|
57
|
+
symbol: "simbol",
|
|
58
|
+
undefined: "undefined",
|
|
59
|
+
null: "null",
|
|
60
|
+
function: "funkcija",
|
|
61
|
+
map: "mapa",
|
|
62
|
+
};
|
|
63
|
+
return (issue) => {
|
|
64
|
+
switch (issue.code) {
|
|
65
|
+
case "invalid_type": {
|
|
66
|
+
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
67
|
+
const receivedType = util.parsedType(issue.input);
|
|
68
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
69
|
+
if (/^[A-Z]/.test(issue.expected)) {
|
|
70
|
+
return `Neispravan unos: očekuje se instanceof ${issue.expected}, a primljeno je ${received}`;
|
|
71
|
+
}
|
|
72
|
+
return `Neispravan unos: očekuje se ${expected}, a primljeno je ${received}`;
|
|
73
|
+
}
|
|
74
|
+
case "invalid_value":
|
|
75
|
+
if (issue.values.length === 1)
|
|
76
|
+
return `Neispravna vrijednost: očekivano ${util.stringifyPrimitive(issue.values[0])}`;
|
|
77
|
+
return `Neispravna opcija: očekivano jedno od ${util.joinValues(issue.values, "|")}`;
|
|
78
|
+
case "too_big": {
|
|
79
|
+
const adj = issue.inclusive ? "<=" : "<";
|
|
80
|
+
const sizing = getSizing(issue.origin);
|
|
81
|
+
const origin = TypeDictionary[issue.origin] ?? issue.origin;
|
|
82
|
+
if (sizing)
|
|
83
|
+
return `Preveliko: očekivano da ${origin ?? "vrijednost"} ima ${adj}${issue.maximum.toString()} ${sizing.unit ?? "elemenata"}`;
|
|
84
|
+
return `Preveliko: očekivano da ${origin ?? "vrijednost"} bude ${adj}${issue.maximum.toString()}`;
|
|
85
|
+
}
|
|
86
|
+
case "too_small": {
|
|
87
|
+
const adj = issue.inclusive ? ">=" : ">";
|
|
88
|
+
const sizing = getSizing(issue.origin);
|
|
89
|
+
const origin = TypeDictionary[issue.origin] ?? issue.origin;
|
|
90
|
+
if (sizing) {
|
|
91
|
+
return `Premalo: očekivano da ${origin} ima ${adj}${issue.minimum.toString()} ${sizing.unit}`;
|
|
92
|
+
}
|
|
93
|
+
return `Premalo: očekivano da ${origin} bude ${adj}${issue.minimum.toString()}`;
|
|
94
|
+
}
|
|
95
|
+
case "invalid_format": {
|
|
96
|
+
const _issue = issue;
|
|
97
|
+
if (_issue.format === "starts_with")
|
|
98
|
+
return `Neispravan tekst: mora započinjati s "${_issue.prefix}"`;
|
|
99
|
+
if (_issue.format === "ends_with")
|
|
100
|
+
return `Neispravan tekst: mora završavati s "${_issue.suffix}"`;
|
|
101
|
+
if (_issue.format === "includes")
|
|
102
|
+
return `Neispravan tekst: mora sadržavati "${_issue.includes}"`;
|
|
103
|
+
if (_issue.format === "regex")
|
|
104
|
+
return `Neispravan tekst: mora odgovarati uzorku ${_issue.pattern}`;
|
|
105
|
+
return `Neispravna ${FormatDictionary[_issue.format] ?? issue.format}`;
|
|
106
|
+
}
|
|
107
|
+
case "not_multiple_of":
|
|
108
|
+
return `Neispravan broj: mora biti višekratnik od ${issue.divisor}`;
|
|
109
|
+
case "unrecognized_keys":
|
|
110
|
+
return `Neprepoznat${issue.keys.length > 1 ? "i ključevi" : " ključ"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
111
|
+
case "invalid_key":
|
|
112
|
+
return `Neispravan ključ u ${TypeDictionary[issue.origin] ?? issue.origin}`;
|
|
113
|
+
case "invalid_union":
|
|
114
|
+
return "Neispravan unos";
|
|
115
|
+
case "invalid_element":
|
|
116
|
+
return `Neispravna vrijednost u ${TypeDictionary[issue.origin] ?? issue.origin}`;
|
|
117
|
+
default:
|
|
118
|
+
return `Neispravan unos`;
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
export default function () {
|
|
123
|
+
return {
|
|
124
|
+
localeError: error(),
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "byte", verb: "legyen" },
|
|
6
6
|
array: { unit: "elem", verb: "legyen" },
|
|
7
7
|
set: { unit: "elem", verb: "legyen" },
|
|
8
|
+
map: { unit: "elem", verb: "legyen" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "ISO időintervallum",
|
|
31
32
|
ipv4: "IPv4 cím",
|
|
32
33
|
ipv6: "IPv6 cím",
|
|
34
|
+
mac: "MAC cím",
|
|
33
35
|
cidrv4: "IPv4 tartomány",
|
|
34
36
|
cidrv6: "IPv6 tartomány",
|
|
35
37
|
base64: "base64-kódolt string",
|
|
36
38
|
base64url: "base64url-kódolt string",
|
|
37
39
|
json_string: "JSON string",
|
|
38
40
|
e164: "E.164 szám",
|
|
41
|
+
credit_card: "hitelkártyaszám",
|
|
42
|
+
currency_code: "pénznemkód",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "bemenet",
|
|
41
46
|
};
|
|
@@ -39,6 +39,13 @@ const error = () => {
|
|
|
39
39
|
},
|
|
40
40
|
verb: "ունենալ",
|
|
41
41
|
},
|
|
42
|
+
map: {
|
|
43
|
+
unit: {
|
|
44
|
+
one: "տարր",
|
|
45
|
+
many: "տարրեր",
|
|
46
|
+
},
|
|
47
|
+
verb: "ունենալ",
|
|
48
|
+
},
|
|
42
49
|
};
|
|
43
50
|
function getSizing(origin) {
|
|
44
51
|
return Sizable[origin] ?? null;
|
|
@@ -64,12 +71,16 @@ const error = () => {
|
|
|
64
71
|
duration: "ISO տևողություն",
|
|
65
72
|
ipv4: "IPv4 հասցե",
|
|
66
73
|
ipv6: "IPv6 հասցե",
|
|
74
|
+
mac: "MAC հասցե",
|
|
67
75
|
cidrv4: "IPv4 միջակայք",
|
|
68
76
|
cidrv6: "IPv6 միջակայք",
|
|
69
77
|
base64: "base64 ձևաչափով տող",
|
|
70
78
|
base64url: "base64url ձևաչափով տող",
|
|
71
79
|
json_string: "JSON տող",
|
|
72
80
|
e164: "E.164 համար",
|
|
81
|
+
credit_card: "կրեդիտ քարտի համար",
|
|
82
|
+
currency_code: "արժույթի կոդ",
|
|
83
|
+
iban: "IBAN",
|
|
73
84
|
jwt: "JWT",
|
|
74
85
|
template_literal: "մուտք",
|
|
75
86
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "byte", verb: "memiliki" },
|
|
6
6
|
array: { unit: "item", verb: "memiliki" },
|
|
7
7
|
set: { unit: "item", verb: "memiliki" },
|
|
8
|
+
map: { unit: "item", verb: "memiliki" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "durasi format ISO",
|
|
31
32
|
ipv4: "alamat IPv4",
|
|
32
33
|
ipv6: "alamat IPv6",
|
|
34
|
+
mac: "alamat MAC",
|
|
33
35
|
cidrv4: "rentang alamat IPv4",
|
|
34
36
|
cidrv6: "rentang alamat IPv6",
|
|
35
37
|
base64: "string dengan enkode base64",
|
|
36
38
|
base64url: "string dengan enkode base64url",
|
|
37
39
|
json_string: "string JSON",
|
|
38
40
|
e164: "angka E.164",
|
|
41
|
+
credit_card: "nomor kartu kredit",
|
|
42
|
+
currency_code: "kode mata uang",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "input",
|
|
41
46
|
};
|
|
@@ -2,10 +2,13 @@ export { default as ar } from "./ar.js";
|
|
|
2
2
|
export { default as az } from "./az.js";
|
|
3
3
|
export { default as be } from "./be.js";
|
|
4
4
|
export { default as bg } from "./bg.js";
|
|
5
|
+
export { default as bn } from "./bn.js";
|
|
5
6
|
export { default as ca } from "./ca.js";
|
|
7
|
+
export { default as ckb } from "./ckb.js";
|
|
6
8
|
export { default as cs } from "./cs.js";
|
|
7
9
|
export { default as da } from "./da.js";
|
|
8
10
|
export { default as de } from "./de.js";
|
|
11
|
+
export { default as el } from "./el.js";
|
|
9
12
|
export { default as en } from "./en.js";
|
|
10
13
|
export { default as eo } from "./eo.js";
|
|
11
14
|
export { default as es } from "./es.js";
|
|
@@ -13,7 +16,10 @@ export { default as fa } from "./fa.js";
|
|
|
13
16
|
export { default as fi } from "./fi.js";
|
|
14
17
|
export { default as fr } from "./fr.js";
|
|
15
18
|
export { default as frCA } from "./fr-CA.js";
|
|
19
|
+
export { default as gu } from "./gu.js";
|
|
16
20
|
export { default as he } from "./he.js";
|
|
21
|
+
export { default as hi } from "./hi.js";
|
|
22
|
+
export { default as hr } from "./hr.js";
|
|
17
23
|
export { default as hu } from "./hu.js";
|
|
18
24
|
export { default as hy } from "./hy.js";
|
|
19
25
|
export { default as id } from "./id.js";
|
|
@@ -23,21 +29,29 @@ export { default as ja } from "./ja.js";
|
|
|
23
29
|
export { default as ka } from "./ka.js";
|
|
24
30
|
export { default as kh } from "./kh.js";
|
|
25
31
|
export { default as km } from "./km.js";
|
|
32
|
+
export { default as kn } from "./kn.js";
|
|
26
33
|
export { default as ko } from "./ko.js";
|
|
27
34
|
export { default as lt } from "./lt.js";
|
|
28
35
|
export { default as mk } from "./mk.js";
|
|
29
36
|
export { default as ms } from "./ms.js";
|
|
37
|
+
export { default as ne } from "./ne.js";
|
|
30
38
|
export { default as nl } from "./nl.js";
|
|
39
|
+
export { default as nn } from "./nn.js";
|
|
31
40
|
export { default as no } from "./no.js";
|
|
32
41
|
export { default as ota } from "./ota.js";
|
|
33
42
|
export { default as ps } from "./ps.js";
|
|
34
43
|
export { default as pl } from "./pl.js";
|
|
35
44
|
export { default as pt } from "./pt.js";
|
|
45
|
+
export { default as ptBR } from "./pt-BR.js";
|
|
46
|
+
export { default as ro } from "./ro.js";
|
|
36
47
|
export { default as ru } from "./ru.js";
|
|
48
|
+
export { default as sk } from "./sk.js";
|
|
37
49
|
export { default as sl } from "./sl.js";
|
|
38
50
|
export { default as sv } from "./sv.js";
|
|
39
51
|
export { default as ta } from "./ta.js";
|
|
52
|
+
export { default as tg } from "./tg.js";
|
|
40
53
|
export { default as th } from "./th.js";
|
|
54
|
+
export { default as tk } from "./tk.js";
|
|
41
55
|
export { default as tr } from "./tr.js";
|
|
42
56
|
export { default as ua } from "./ua.js";
|
|
43
57
|
export { default as uk } from "./uk.js";
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "bæti", verb: "að hafa" },
|
|
6
6
|
array: { unit: "hluti", verb: "að hafa" },
|
|
7
7
|
set: { unit: "hluti", verb: "að hafa" },
|
|
8
|
+
map: { unit: "hluti", verb: "að hafa" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "ISO tímalengd",
|
|
31
32
|
ipv4: "IPv4 address",
|
|
32
33
|
ipv6: "IPv6 address",
|
|
34
|
+
mac: "MAC address",
|
|
33
35
|
cidrv4: "IPv4 range",
|
|
34
36
|
cidrv6: "IPv6 range",
|
|
35
37
|
base64: "base64-encoded strengur",
|
|
36
38
|
base64url: "base64url-encoded strengur",
|
|
37
39
|
json_string: "JSON strengur",
|
|
38
40
|
e164: "E.164 tölugildi",
|
|
41
|
+
credit_card: "kreditkortanúmer",
|
|
42
|
+
currency_code: "gjaldmiðilskóði",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "gildi",
|
|
41
46
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "byte", verb: "avere" },
|
|
6
6
|
array: { unit: "elementi", verb: "avere" },
|
|
7
7
|
set: { unit: "elementi", verb: "avere" },
|
|
8
|
+
map: { unit: "elementi", verb: "avere" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "durata ISO",
|
|
31
32
|
ipv4: "indirizzo IPv4",
|
|
32
33
|
ipv6: "indirizzo IPv6",
|
|
34
|
+
mac: "indirizzo MAC",
|
|
33
35
|
cidrv4: "intervallo IPv4",
|
|
34
36
|
cidrv6: "intervallo IPv6",
|
|
35
37
|
base64: "stringa codificata in base64",
|
|
36
38
|
base64url: "URL codificata in base64",
|
|
37
39
|
json_string: "stringa JSON",
|
|
38
40
|
e164: "numero E.164",
|
|
41
|
+
credit_card: "numero di carta di credito",
|
|
42
|
+
currency_code: "codice valuta",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "input",
|
|
41
46
|
};
|
|
@@ -84,7 +89,7 @@ const error = () => {
|
|
|
84
89
|
return `Stringa non valida: deve includere "${_issue.includes}"`;
|
|
85
90
|
if (_issue.format === "regex")
|
|
86
91
|
return `Stringa non valida: deve corrispondere al pattern ${_issue.pattern}`;
|
|
87
|
-
return `
|
|
92
|
+
return `Input non valido: ${FormatDictionary[_issue.format] ?? issue.format}`;
|
|
88
93
|
}
|
|
89
94
|
case "not_multiple_of":
|
|
90
95
|
return `Numero non valido: deve essere un multiplo di ${issue.divisor}`;
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "バイト", verb: "である" },
|
|
6
6
|
array: { unit: "要素", verb: "である" },
|
|
7
7
|
set: { unit: "要素", verb: "である" },
|
|
8
|
+
map: { unit: "要素", verb: "である" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "ISO期間",
|
|
31
32
|
ipv4: "IPv4アドレス",
|
|
32
33
|
ipv6: "IPv6アドレス",
|
|
34
|
+
mac: "MACアドレス",
|
|
33
35
|
cidrv4: "IPv4範囲",
|
|
34
36
|
cidrv6: "IPv6範囲",
|
|
35
37
|
base64: "base64エンコード文字列",
|
|
36
38
|
base64url: "base64urlエンコード文字列",
|
|
37
39
|
json_string: "JSON文字列",
|
|
38
40
|
e164: "E.164番号",
|
|
41
|
+
credit_card: "クレジットカード番号",
|
|
42
|
+
currency_code: "通貨コード",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "入力値",
|
|
41
46
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "ბაიტი", verb: "უნდა შეიცავდეს" },
|
|
6
6
|
array: { unit: "ელემენტი", verb: "უნდა შეიცავდეს" },
|
|
7
7
|
set: { unit: "ელემენტი", verb: "უნდა შეიცავდეს" },
|
|
8
|
+
map: { unit: "ელემენტი", verb: "უნდა შეიცავდეს" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,19 +31,23 @@ const error = () => {
|
|
|
30
31
|
duration: "ხანგრძლივობა",
|
|
31
32
|
ipv4: "IPv4 მისამართი",
|
|
32
33
|
ipv6: "IPv6 მისამართი",
|
|
34
|
+
mac: "MAC მისამართი",
|
|
33
35
|
cidrv4: "IPv4 დიაპაზონი",
|
|
34
36
|
cidrv6: "IPv6 დიაპაზონი",
|
|
35
|
-
base64: "base64-კოდირებული
|
|
36
|
-
base64url: "base64url-კოდირებული
|
|
37
|
-
json_string: "JSON
|
|
37
|
+
base64: "base64-კოდირებული ველი",
|
|
38
|
+
base64url: "base64url-კოდირებული ველი",
|
|
39
|
+
json_string: "JSON ველი",
|
|
38
40
|
e164: "E.164 ნომერი",
|
|
41
|
+
credit_card: "საკრედიტო ბარათის ნომერი",
|
|
42
|
+
currency_code: "ვალუტის კოდი",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "შეყვანა",
|
|
41
46
|
};
|
|
42
47
|
const TypeDictionary = {
|
|
43
48
|
nan: "NaN",
|
|
44
49
|
number: "რიცხვი",
|
|
45
|
-
string: "
|
|
50
|
+
string: "ველი",
|
|
46
51
|
boolean: "ბულეანი",
|
|
47
52
|
function: "ფუნქცია",
|
|
48
53
|
array: "მასივი",
|
|
@@ -80,14 +85,14 @@ const error = () => {
|
|
|
80
85
|
case "invalid_format": {
|
|
81
86
|
const _issue = issue;
|
|
82
87
|
if (_issue.format === "starts_with") {
|
|
83
|
-
return `არასწორი
|
|
88
|
+
return `არასწორი ველი: უნდა იწყებოდეს "${_issue.prefix}"-ით`;
|
|
84
89
|
}
|
|
85
90
|
if (_issue.format === "ends_with")
|
|
86
|
-
return `არასწორი
|
|
91
|
+
return `არასწორი ველი: უნდა მთავრდებოდეს "${_issue.suffix}"-ით`;
|
|
87
92
|
if (_issue.format === "includes")
|
|
88
|
-
return `არასწორი
|
|
93
|
+
return `არასწორი ველი: უნდა შეიცავდეს "${_issue.includes}"-ს`;
|
|
89
94
|
if (_issue.format === "regex")
|
|
90
|
-
return `არასწორი
|
|
95
|
+
return `არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${_issue.pattern}`;
|
|
91
96
|
return `არასწორი ${FormatDictionary[_issue.format] ?? issue.format}`;
|
|
92
97
|
}
|
|
93
98
|
case "not_multiple_of":
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "បៃ", verb: "គួរមាន" },
|
|
6
6
|
array: { unit: "ធាតុ", verb: "គួរមាន" },
|
|
7
7
|
set: { unit: "ធាតុ", verb: "គួរមាន" },
|
|
8
|
+
map: { unit: "ធាតុ", verb: "គួរមាន" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "រយៈពេល ISO",
|
|
31
32
|
ipv4: "អាសយដ្ឋាន IPv4",
|
|
32
33
|
ipv6: "អាសយដ្ឋាន IPv6",
|
|
34
|
+
mac: "អាសយដ្ឋាន MAC",
|
|
33
35
|
cidrv4: "ដែនអាសយដ្ឋាន IPv4",
|
|
34
36
|
cidrv6: "ដែនអាសយដ្ឋាន IPv6",
|
|
35
37
|
base64: "ខ្សែអក្សរអ៊ិកូដ base64",
|
|
36
38
|
base64url: "ខ្សែអក្សរអ៊ិកូដ base64url",
|
|
37
39
|
json_string: "ខ្សែអក្សរ JSON",
|
|
38
40
|
e164: "លេខ E.164",
|
|
41
|
+
credit_card: "លេខប័ណ្ណឥណទាន",
|
|
42
|
+
currency_code: "កូដរូបិយប័ណ្ណ",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "ទិន្នន័យបញ្ចូល",
|
|
41
46
|
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as util from "../core/util.js";
|
|
2
|
+
const error = () => {
|
|
3
|
+
const Sizable = {
|
|
4
|
+
string: { unit: "ಅಕ್ಷರಗಳು", verb: "ಹೊಂದಲು" },
|
|
5
|
+
file: { unit: "ಬೈಟ್ಗಳು", verb: "ಹೊಂದಲು" },
|
|
6
|
+
array: { unit: "ವಸ್ತುಗಳು", verb: "ಹೊಂದಲು" },
|
|
7
|
+
set: { unit: "ವಸ್ತುಗಳು", verb: "ಹೊಂದಲು" },
|
|
8
|
+
map: { unit: "entries", verb: "ಹೊಂದಲು" },
|
|
9
|
+
};
|
|
10
|
+
function getSizing(origin) {
|
|
11
|
+
return Sizable[origin] ?? null;
|
|
12
|
+
}
|
|
13
|
+
const FormatDictionary = {
|
|
14
|
+
regex: "ಇನ್ಪುಟ್",
|
|
15
|
+
email: "email ವಿಳಾಸ",
|
|
16
|
+
url: "URL",
|
|
17
|
+
emoji: "emoji",
|
|
18
|
+
uuid: "UUID",
|
|
19
|
+
uuidv4: "UUIDv4",
|
|
20
|
+
uuidv6: "UUIDv6",
|
|
21
|
+
nanoid: "nanoid",
|
|
22
|
+
guid: "GUID",
|
|
23
|
+
cuid: "cuid",
|
|
24
|
+
cuid2: "cuid2",
|
|
25
|
+
ulid: "ULID",
|
|
26
|
+
xid: "XID",
|
|
27
|
+
ksuid: "KSUID",
|
|
28
|
+
datetime: "ISO ದಿನಾಂಕದ ಸಮಯ",
|
|
29
|
+
date: "ISO ದಿನಾಂಕ",
|
|
30
|
+
time: "ISO ಸಮಯ",
|
|
31
|
+
duration: "ISO ಅವಧಿ",
|
|
32
|
+
ipv4: "IPv4 ವಿಳಾಸ",
|
|
33
|
+
ipv6: "IPv6 ವಿಳಾಸ",
|
|
34
|
+
mac: "MAC ವಿಳಾಸ",
|
|
35
|
+
cidrv4: "IPv4 ವ್ಯಾಪ್ತಿಯ",
|
|
36
|
+
cidrv6: "IPv6 ವ್ಯಾಪ್ತಿಯ",
|
|
37
|
+
base64: "base64-encodedಸ್ಟ್ರಿಂಗ್",
|
|
38
|
+
base64url: "base64url-encodedಸ್ಟ್ರಿಂಗ್",
|
|
39
|
+
json_string: "JSONಸ್ಟ್ರಿಂಗ್",
|
|
40
|
+
e164: "E.164 ಸಂಖ್ಯೆ",
|
|
41
|
+
credit_card: "ಕ್ರೆಡಿಟ್ ಕಾರ್ಡ್ ಸಂಖ್ಯೆ",
|
|
42
|
+
currency_code: "ಕರೆನ್ಸಿ ಕೋಡ್",
|
|
43
|
+
iban: "IBAN",
|
|
44
|
+
jwt: "JWT",
|
|
45
|
+
template_literal: "ಇನ್ಪುಟ್",
|
|
46
|
+
};
|
|
47
|
+
// type names: missing keys = do not translate (use raw value via ?? fallback)
|
|
48
|
+
const TypeDictionary = {
|
|
49
|
+
// Compatibility: "nan" -> "NaN" for display
|
|
50
|
+
nan: "NaN",
|
|
51
|
+
// All other type names omitted - they fall back to raw values via ?? operator
|
|
52
|
+
};
|
|
53
|
+
return (issue) => {
|
|
54
|
+
switch (issue.code) {
|
|
55
|
+
case "invalid_type": {
|
|
56
|
+
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
57
|
+
const receivedType = util.parsedType(issue.input);
|
|
58
|
+
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
59
|
+
return `ಅಮಾನ್ಯ ಇನ್ಪುಟ್: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${expected}, ಸ್ವೀಕರಿಸಿದನು ${received}`;
|
|
60
|
+
}
|
|
61
|
+
case "invalid_value":
|
|
62
|
+
if (issue.values.length === 1)
|
|
63
|
+
return `ಅಮಾನ್ಯ ಇನ್ಪುಟ್: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${util.stringifyPrimitive(issue.values[0])}`;
|
|
64
|
+
return `ಅಮಾನ್ಯ ಆಯ್ಕೆ: ಇವುಗಳಲ್ಲಿ ಒಂದನ್ನು ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${util.joinValues(issue.values, "|")}`;
|
|
65
|
+
case "too_big": {
|
|
66
|
+
const adj = issue.inclusive ? "<=" : "<";
|
|
67
|
+
const sizing = getSizing(issue.origin);
|
|
68
|
+
if (sizing)
|
|
69
|
+
return `ತುಂಬಾ ದೊಡ್ಡದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${issue.origin ?? "value"} ಹೊಂದಲು ${adj}${issue.maximum.toString()} ${sizing.unit ?? "ಅಂಶಗಳು"}`;
|
|
70
|
+
return `ತುಂಬಾ ದೊಡ್ಡದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${issue.origin ?? "value"} ಎಂದು ${adj}${issue.maximum.toString()}`;
|
|
71
|
+
}
|
|
72
|
+
case "too_small": {
|
|
73
|
+
const adj = issue.inclusive ? ">=" : ">";
|
|
74
|
+
const sizing = getSizing(issue.origin);
|
|
75
|
+
if (sizing) {
|
|
76
|
+
return `ತುಂಬಾ ಚಿಕ್ಕದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${issue.origin} ಹೊಂದಲು ${adj}${issue.minimum.toString()} ${sizing.unit}`;
|
|
77
|
+
}
|
|
78
|
+
return `ತುಂಬಾ ಚಿಕ್ಕದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${issue.origin} ಎಂದು ${adj}${issue.minimum.toString()}`;
|
|
79
|
+
}
|
|
80
|
+
case "invalid_format": {
|
|
81
|
+
const _issue = issue;
|
|
82
|
+
if (_issue.format === "starts_with") {
|
|
83
|
+
return `ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಇದರೊಂದಿಗೆ ಪ್ರಾರಂಭಿಸಬೇಕು "${_issue.prefix}"`;
|
|
84
|
+
}
|
|
85
|
+
if (_issue.format === "ends_with")
|
|
86
|
+
return `ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಇದರೊಂದಿಗೆ ಕೊನೆಗೊಳ್ಳಬೇಕು "${_issue.suffix}"`;
|
|
87
|
+
if (_issue.format === "includes")
|
|
88
|
+
return `ಅಮಾನ್ಯ ಸ್ಟ್ರಿಂಗ್: ಒಳಗೊಂಡಿರಬೇಕು "${_issue.includes}"`;
|
|
89
|
+
if (_issue.format === "regex")
|
|
90
|
+
return `ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಮಾದರಿಗೆ ಹೊಂದಿಕೆಯಾಗಬೇಕು ${_issue.pattern}`;
|
|
91
|
+
return `ಅಮಾನ್ಯ ${FormatDictionary[_issue.format] ?? issue.format}`;
|
|
92
|
+
}
|
|
93
|
+
case "not_multiple_of":
|
|
94
|
+
return `ಅಮಾನ್ಯ ಸಂಖ್ಯೆ: ಬಹುಸಂಖ್ಯೆಯಾಗಿರಬೇಕು ${issue.divisor}`;
|
|
95
|
+
case "unrecognized_keys":
|
|
96
|
+
return `ಗುರುತಿಸಲಾಗದ ಕೀ ${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
97
|
+
case "invalid_key":
|
|
98
|
+
return `ಅಮಾನ್ಯವಾದ ಕೀ ಇನ್ ${issue.origin}`;
|
|
99
|
+
case "invalid_union":
|
|
100
|
+
if (issue.options && Array.isArray(issue.options) && issue.options.length > 0) {
|
|
101
|
+
const opts = issue.options.map((o) => `'${o}'`).join(" | ");
|
|
102
|
+
return `ಅಮಾನ್ಯ ತಾರತಮ್ಯ ಮೌಲ್ಯ. ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${opts}`;
|
|
103
|
+
}
|
|
104
|
+
return "ಅಮಾನ್ಯ ಇನ್ಪುಟ್";
|
|
105
|
+
case "invalid_element":
|
|
106
|
+
return `ರಲ್ಲಿ ಅಮಾನ್ಯ ಮೌಲ್ಯ ${issue.origin}`;
|
|
107
|
+
default:
|
|
108
|
+
return `ಅಮಾನ್ಯ ಇನ್ಪುಟ್`;
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
export default function () {
|
|
113
|
+
return {
|
|
114
|
+
localeError: error(),
|
|
115
|
+
};
|
|
116
|
+
}
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "바이트", verb: "to have" },
|
|
6
6
|
array: { unit: "개", verb: "to have" },
|
|
7
7
|
set: { unit: "개", verb: "to have" },
|
|
8
|
+
map: { unit: "개", verb: "to have" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "ISO 기간",
|
|
31
32
|
ipv4: "IPv4 주소",
|
|
32
33
|
ipv6: "IPv6 주소",
|
|
34
|
+
mac: "MAC 주소",
|
|
33
35
|
cidrv4: "IPv4 범위",
|
|
34
36
|
cidrv6: "IPv6 범위",
|
|
35
37
|
base64: "base64 인코딩 문자열",
|
|
36
38
|
base64url: "base64url 인코딩 문자열",
|
|
37
39
|
json_string: "JSON 문자열",
|
|
38
40
|
e164: "E.164 번호",
|
|
41
|
+
credit_card: "신용카드 번호",
|
|
42
|
+
currency_code: "통화 코드",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "입력",
|
|
41
46
|
};
|
|
@@ -113,12 +113,16 @@ const error = () => {
|
|
|
113
113
|
duration: "ISO trukmė",
|
|
114
114
|
ipv4: "IPv4 adresas",
|
|
115
115
|
ipv6: "IPv6 adresas",
|
|
116
|
+
mac: "MAC adresas",
|
|
116
117
|
cidrv4: "IPv4 tinklo prefiksas (CIDR)",
|
|
117
118
|
cidrv6: "IPv6 tinklo prefiksas (CIDR)",
|
|
118
119
|
base64: "base64 užkoduota eilutė",
|
|
119
120
|
base64url: "base64url užkoduota eilutė",
|
|
120
121
|
json_string: "JSON eilutė",
|
|
121
122
|
e164: "E.164 numeris",
|
|
123
|
+
credit_card: "kredito kortelės numeris",
|
|
124
|
+
currency_code: "valiutos kodas",
|
|
125
|
+
iban: "IBAN",
|
|
122
126
|
jwt: "JWT",
|
|
123
127
|
template_literal: "įvestis",
|
|
124
128
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "бајти", verb: "да имаат" },
|
|
6
6
|
array: { unit: "ставки", verb: "да имаат" },
|
|
7
7
|
set: { unit: "ставки", verb: "да имаат" },
|
|
8
|
+
map: { unit: "ставки", verb: "да имаат" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "ISO времетраење",
|
|
31
32
|
ipv4: "IPv4 адреса",
|
|
32
33
|
ipv6: "IPv6 адреса",
|
|
34
|
+
mac: "MAC адреса",
|
|
33
35
|
cidrv4: "IPv4 опсег",
|
|
34
36
|
cidrv6: "IPv6 опсег",
|
|
35
37
|
base64: "base64-енкодирана низа",
|
|
36
38
|
base64url: "base64url-енкодирана низа",
|
|
37
39
|
json_string: "JSON низа",
|
|
38
40
|
e164: "E.164 број",
|
|
41
|
+
credit_card: "број на кредитна картичка",
|
|
42
|
+
currency_code: "код на валута",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "внес",
|
|
41
46
|
};
|
|
@@ -5,6 +5,7 @@ const error = () => {
|
|
|
5
5
|
file: { unit: "bait", verb: "mempunyai" },
|
|
6
6
|
array: { unit: "elemen", verb: "mempunyai" },
|
|
7
7
|
set: { unit: "elemen", verb: "mempunyai" },
|
|
8
|
+
map: { unit: "elemen", verb: "mempunyai" },
|
|
8
9
|
};
|
|
9
10
|
function getSizing(origin) {
|
|
10
11
|
return Sizable[origin] ?? null;
|
|
@@ -30,12 +31,16 @@ const error = () => {
|
|
|
30
31
|
duration: "tempoh ISO",
|
|
31
32
|
ipv4: "alamat IPv4",
|
|
32
33
|
ipv6: "alamat IPv6",
|
|
34
|
+
mac: "alamat MAC",
|
|
33
35
|
cidrv4: "julat IPv4",
|
|
34
36
|
cidrv6: "julat IPv6",
|
|
35
37
|
base64: "string dikodkan base64",
|
|
36
38
|
base64url: "string dikodkan base64url",
|
|
37
39
|
json_string: "string JSON",
|
|
38
40
|
e164: "nombor E.164",
|
|
41
|
+
credit_card: "nombor kad kredit",
|
|
42
|
+
currency_code: "kod mata wang",
|
|
43
|
+
iban: "IBAN",
|
|
39
44
|
jwt: "JWT",
|
|
40
45
|
template_literal: "input",
|
|
41
46
|
};
|