This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+179
View File
@@ -0,0 +1,179 @@
// Metro module 12130 (f12131).
import * as _mergeDefs from "./mergeDefs";
const r2 = (this ? this.__createBinding : this) || (Object.create ? function(a0, a1, a2, a3) {
const r6 = a3 === void 0 ? a2 : a3;
let r9 = Object.getOwnPropertyDescriptor(a1, a2);
if (!(r9 ? !("get" in r9 ? !a1.__esModule : r9.writable || r9.configurable) : r9)) {
r9 = {
enumerable: true,
get: function get() {
return a1[a2];
}
};
}
Object.defineProperty(a0, r6, r9);
} : function(a0, a1, a2, a3) {
a0[a3 === void 0 ? a2 : a3] = a1[a2];
});
let c8362_2, error;
let c8362_0 = r2;
let c8362_1 = (this ? this.__setModuleDefault : this) || (Object.create ? function(a0, a1) {
Object.defineProperty(a0, "default", {
enumerable: true,
value: a1
});
} : function(a0, a1) {
a0.default = a1;
});
const r5 = (this ? this.__importStar : this) || function(a0) {
if (a0 && a0.__esModule) {
return a0;
}
const r15 = {};
if (a0 != null) {
for (const key in a0) {
if (key !== "default" && Object.prototype.hasOwnProperty.call(a0, key)) {
c8362_0(r15, a0, key);
}
}
}
c8362_1(r15, a0);
return r15;
};
export default function default_1() {
let c19590_0 = {
string: {
unit: "karakter",
verb: "olmalı"
},
file: {
unit: "bayt",
verb: "olmalı"
},
array: {
unit: "öğe",
verb: "olmalı"
},
set: {
unit: "öğe",
verb: "olmalı"
}
};
let c19590_1 = {
regex: "girdi",
email: "e-posta adresi",
url: "URL",
emoji: "emoji",
uuid: "UUID",
uuidv4: "UUIDv4",
uuidv6: "UUIDv6",
nanoid: "nanoid",
guid: "GUID",
cuid: "cuid",
cuid2: "cuid2",
ulid: "ULID",
xid: "XID",
ksuid: "KSUID",
datetime: "ISO tarih ve saat",
date: "ISO tarih",
time: "ISO saat",
duration: "ISO süre",
ipv4: "IPv4 adresi",
ipv6: "IPv6 adresi",
cidrv4: "IPv4 aralığı",
cidrv6: "IPv6 aralığı",
base64: "base64 ile şifrelenmiş metin",
base64url: "base64url ile şifrelenmiş metin",
json_string: "JSON dizesi",
e164: "E.164 sayısı",
jwt: "JWT",
template_literal: "Şablon dizesi"
};
let c19590_2 = {
nan: "NaN"
};
return {
localeError: (a0) => {
let r67, r129;
L56: {
switch (a0.code) {
case "invalid_type":
let r171 = c19590_2[a0.expected];
if (r171 == null) {
r171 = a0.expected;
}
const r177 = c8362_2.parsedType(a0.input);
let r178 = c19590_2[r177];
if (r178 == null) {
r178 = r177;
}
return /^[A-Z]/.test(a0.expected) ? `Geçersiz değer: beklenen instanceof ${a0.expected}, alınan ${r178}` : `Geçersiz değer: beklenen ${r171}, alınan ${r178}`;
case "invalid_value":
return a0.values.length === 1 ? `Geçersiz değer: beklenen ${c8362_2.stringifyPrimitive(a0.values[0])}` : `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${c8362_2.joinValues(a0.values, "|")}`;
case "too_big":
const r112 = a0.inclusive ? "<=" : "<";
let r115 = c19590_0[a0.origin];
if (r115 == null) {
r115 = null;
}
let origin2 = a0.origin;
if (r115) {
if (origin2 == null) {
origin2 = "değer";
}
const r132 = a0.maximum.toString();
let unit = r115.unit;
if (unit == null) {
unit = "öğe";
}
r129 = `Çok büyük: beklenen ${origin2} ${r112}${r132} ${unit}`;
} else {
r129 = `Çok büyük: beklenen ${origin2 == null ? "değer" : origin2} ${r112}${a0.maximum.toString()}`;
}
return r129;
case "too_small":
const r11 = a0.inclusive ? ">=" : ">";
let r95 = c19590_0[a0.origin];
if (r95 == null) {
r95 = null;
}
const origin = a0.origin;
const r9 = a0.minimum.toString();
return r95 ? `Çok küçük: beklenen ${origin} ${r11}${r9} ${r95.unit}` : `Çok küçük: beklenen ${origin} ${r11}${r9}`;
case "invalid_format":
if (a0.format === "starts_with") {
r67 = `Geçersiz metin: "${a0.prefix}" ile başlamalı`;
} else if (a0.format === "ends_with") {
r67 = `Geçersiz metin: "${a0.suffix}" ile bitmeli`;
} else if (a0.format === "includes") {
r67 = `Geçersiz metin: "${a0.includes}" içermeli`;
} else if (a0.format === "regex") {
r67 = `Geçersiz metin: ${a0.pattern} desenine uymalı`;
} else {
let r61 = c19590_1[a0.format];
if (r61 == null) {
r61 = a0.format;
}
r67 = `Geçersiz ${r61}`;
}
return r67;
case "not_multiple_of":
return `Geçersiz sayı: ${a0.divisor} ile tam bölünebilmeli`;
case "unrecognized_keys":
return `Tanınmayan anahtar${a0.keys.length > 1 ? "lar" : ""}: ${c8362_2.joinValues(a0.keys, ", ")}`;
case "invalid_key":
return `${a0.origin} içinde geçersiz anahtar`;
case "invalid_union":
default:
break L56;
case "invalid_element":
return `${a0.origin} içinde geçersiz değer`;
}
}
return "Geçersiz değer";
}
};
};
c8362_2 = r5(_mergeDefs);
error = () => {};
module.exports = exports.default;