main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
import type { FormatDistanceFn } from "../../types.js";
export declare const formatDistance: FormatDistanceFn;

View File

@@ -0,0 +1,2 @@
import type { FormatDistanceFn } from "../../types.js";
export declare const formatDistance: FormatDistanceFn;

203
node_modules/date-fns/locale/te/_lib/formatDistance.js generated vendored Normal file
View File

@@ -0,0 +1,203 @@
"use strict";
exports.formatDistance = void 0;
// Source: https://www.unicode.org/cldr/charts/32/summary/te.html
const formatDistanceLocale = {
lessThanXSeconds: {
standalone: {
one: "సెకను కన్నా తక్కువ",
other: "{{count}} సెకన్ల కన్నా తక్కువ",
},
withPreposition: {
one: "సెకను",
other: "{{count}} సెకన్ల",
},
},
xSeconds: {
standalone: {
one: "ఒక సెకను", // CLDR #1314
other: "{{count}} సెకన్ల",
},
withPreposition: {
one: "ఒక సెకను",
other: "{{count}} సెకన్ల",
},
},
halfAMinute: {
standalone: "అర నిమిషం",
withPreposition: "అర నిమిషం",
},
lessThanXMinutes: {
standalone: {
one: "ఒక నిమిషం కన్నా తక్కువ",
other: "{{count}} నిమిషాల కన్నా తక్కువ",
},
withPreposition: {
one: "ఒక నిమిషం",
other: "{{count}} నిమిషాల",
},
},
xMinutes: {
standalone: {
one: "ఒక నిమిషం", // CLDR #1311
other: "{{count}} నిమిషాలు",
},
withPreposition: {
one: "ఒక నిమిషం", // CLDR #1311
other: "{{count}} నిమిషాల",
},
},
aboutXHours: {
standalone: {
one: "సుమారు ఒక గంట",
other: "సుమారు {{count}} గంటలు",
},
withPreposition: {
one: "సుమారు ఒక గంట",
other: "సుమారు {{count}} గంటల",
},
},
xHours: {
standalone: {
one: "ఒక గంట", // CLDR #1308
other: "{{count}} గంటలు",
},
withPreposition: {
one: "ఒక గంట",
other: "{{count}} గంటల",
},
},
xDays: {
standalone: {
one: "ఒక రోజు", // CLDR #1292
other: "{{count}} రోజులు",
},
withPreposition: {
one: "ఒక రోజు",
other: "{{count}} రోజుల",
},
},
aboutXWeeks: {
standalone: {
one: "సుమారు ఒక వారం",
other: "సుమారు {{count}} వారాలు",
},
withPreposition: {
one: "సుమారు ఒక వారం",
other: "సుమారు {{count}} వారాలల",
},
},
xWeeks: {
standalone: {
one: "ఒక వారం",
other: "{{count}} వారాలు",
},
withPreposition: {
one: "ఒక వారం",
other: "{{count}} వారాలల",
},
},
aboutXMonths: {
standalone: {
one: "సుమారు ఒక నెల",
other: "సుమారు {{count}} నెలలు",
},
withPreposition: {
one: "సుమారు ఒక నెల",
other: "సుమారు {{count}} నెలల",
},
},
xMonths: {
standalone: {
one: "ఒక నెల", // CLDR #1281
other: "{{count}} నెలలు",
},
withPreposition: {
one: "ఒక నెల",
other: "{{count}} నెలల",
},
},
aboutXYears: {
standalone: {
one: "సుమారు ఒక సంవత్సరం",
other: "సుమారు {{count}} సంవత్సరాలు",
},
withPreposition: {
one: "సుమారు ఒక సంవత్సరం",
other: "సుమారు {{count}} సంవత్సరాల",
},
},
xYears: {
standalone: {
one: "ఒక సంవత్సరం", // CLDR #1275
other: "{{count}} సంవత్సరాలు",
},
withPreposition: {
one: "ఒక సంవత్సరం",
other: "{{count}} సంవత్సరాల",
},
},
overXYears: {
standalone: {
one: "ఒక సంవత్సరం పైగా",
other: "{{count}} సంవత్సరాలకు పైగా",
},
withPreposition: {
one: "ఒక సంవత్సరం",
other: "{{count}} సంవత్సరాల",
},
},
almostXYears: {
standalone: {
one: "దాదాపు ఒక సంవత్సరం",
other: "దాదాపు {{count}} సంవత్సరాలు",
},
withPreposition: {
one: "దాదాపు ఒక సంవత్సరం",
other: "దాదాపు {{count}} సంవత్సరాల",
},
},
};
const formatDistance = (token, count, options) => {
let result;
const tokenValue = options?.addSuffix
? formatDistanceLocale[token].withPreposition
: formatDistanceLocale[token].standalone;
if (typeof tokenValue === "string") {
result = tokenValue;
} else if (count === 1) {
result = tokenValue.one;
} else {
result = tokenValue.other.replace("{{count}}", String(count));
}
if (options?.addSuffix) {
if (options.comparison && options.comparison > 0) {
return result + "లో";
} else {
return result + " క్రితం";
}
}
return result;
};
exports.formatDistance = formatDistance;

199
node_modules/date-fns/locale/te/_lib/formatDistance.mjs generated vendored Normal file
View File

@@ -0,0 +1,199 @@
// Source: https://www.unicode.org/cldr/charts/32/summary/te.html
const formatDistanceLocale = {
lessThanXSeconds: {
standalone: {
one: "సెకను కన్నా తక్కువ",
other: "{{count}} సెకన్ల కన్నా తక్కువ",
},
withPreposition: {
one: "సెకను",
other: "{{count}} సెకన్ల",
},
},
xSeconds: {
standalone: {
one: "ఒక సెకను", // CLDR #1314
other: "{{count}} సెకన్ల",
},
withPreposition: {
one: "ఒక సెకను",
other: "{{count}} సెకన్ల",
},
},
halfAMinute: {
standalone: "అర నిమిషం",
withPreposition: "అర నిమిషం",
},
lessThanXMinutes: {
standalone: {
one: "ఒక నిమిషం కన్నా తక్కువ",
other: "{{count}} నిమిషాల కన్నా తక్కువ",
},
withPreposition: {
one: "ఒక నిమిషం",
other: "{{count}} నిమిషాల",
},
},
xMinutes: {
standalone: {
one: "ఒక నిమిషం", // CLDR #1311
other: "{{count}} నిమిషాలు",
},
withPreposition: {
one: "ఒక నిమిషం", // CLDR #1311
other: "{{count}} నిమిషాల",
},
},
aboutXHours: {
standalone: {
one: "సుమారు ఒక గంట",
other: "సుమారు {{count}} గంటలు",
},
withPreposition: {
one: "సుమారు ఒక గంట",
other: "సుమారు {{count}} గంటల",
},
},
xHours: {
standalone: {
one: "ఒక గంట", // CLDR #1308
other: "{{count}} గంటలు",
},
withPreposition: {
one: "ఒక గంట",
other: "{{count}} గంటల",
},
},
xDays: {
standalone: {
one: "ఒక రోజు", // CLDR #1292
other: "{{count}} రోజులు",
},
withPreposition: {
one: "ఒక రోజు",
other: "{{count}} రోజుల",
},
},
aboutXWeeks: {
standalone: {
one: "సుమారు ఒక వారం",
other: "సుమారు {{count}} వారాలు",
},
withPreposition: {
one: "సుమారు ఒక వారం",
other: "సుమారు {{count}} వారాలల",
},
},
xWeeks: {
standalone: {
one: "ఒక వారం",
other: "{{count}} వారాలు",
},
withPreposition: {
one: "ఒక వారం",
other: "{{count}} వారాలల",
},
},
aboutXMonths: {
standalone: {
one: "సుమారు ఒక నెల",
other: "సుమారు {{count}} నెలలు",
},
withPreposition: {
one: "సుమారు ఒక నెల",
other: "సుమారు {{count}} నెలల",
},
},
xMonths: {
standalone: {
one: "ఒక నెల", // CLDR #1281
other: "{{count}} నెలలు",
},
withPreposition: {
one: "ఒక నెల",
other: "{{count}} నెలల",
},
},
aboutXYears: {
standalone: {
one: "సుమారు ఒక సంవత్సరం",
other: "సుమారు {{count}} సంవత్సరాలు",
},
withPreposition: {
one: "సుమారు ఒక సంవత్సరం",
other: "సుమారు {{count}} సంవత్సరాల",
},
},
xYears: {
standalone: {
one: "ఒక సంవత్సరం", // CLDR #1275
other: "{{count}} సంవత్సరాలు",
},
withPreposition: {
one: "ఒక సంవత్సరం",
other: "{{count}} సంవత్సరాల",
},
},
overXYears: {
standalone: {
one: "ఒక సంవత్సరం పైగా",
other: "{{count}} సంవత్సరాలకు పైగా",
},
withPreposition: {
one: "ఒక సంవత్సరం",
other: "{{count}} సంవత్సరాల",
},
},
almostXYears: {
standalone: {
one: "దాదాపు ఒక సంవత్సరం",
other: "దాదాపు {{count}} సంవత్సరాలు",
},
withPreposition: {
one: "దాదాపు ఒక సంవత్సరం",
other: "దాదాపు {{count}} సంవత్సరాల",
},
},
};
export const formatDistance = (token, count, options) => {
let result;
const tokenValue = options?.addSuffix
? formatDistanceLocale[token].withPreposition
: formatDistanceLocale[token].standalone;
if (typeof tokenValue === "string") {
result = tokenValue;
} else if (count === 1) {
result = tokenValue.one;
} else {
result = tokenValue.other.replace("{{count}}", String(count));
}
if (options?.addSuffix) {
if (options.comparison && options.comparison > 0) {
return result + "లో";
} else {
return result + " క్రితం";
}
}
return result;
};

View File

@@ -0,0 +1,2 @@
import type { FormatLong } from "../../types.js";
export declare const formatLong: FormatLong;

2
node_modules/date-fns/locale/te/_lib/formatLong.d.ts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
import type { FormatLong } from "../../types.js";
export declare const formatLong: FormatLong;

46
node_modules/date-fns/locale/te/_lib/formatLong.js generated vendored Normal file
View File

@@ -0,0 +1,46 @@
"use strict";
exports.formatLong = void 0;
var _index = require("../../_lib/buildFormatLongFn.js");
// Source: https://www.unicode.org/cldr/charts/32/summary/te.html
// CLDR #1807 - #1811
const dateFormats = {
full: "d, MMMM y, EEEE",
long: "d MMMM, y",
medium: "d MMM, y",
short: "dd-MM-yy",
};
// CLDR #1807 - #1811
const timeFormats = {
full: "h:mm:ss a zzzz",
long: "h:mm:ss a z",
medium: "h:mm:ss a",
short: "h:mm a",
};
// CLDR #1815 - #1818
const dateTimeFormats = {
full: "{{date}} {{time}}'కి'",
long: "{{date}} {{time}}'కి'",
medium: "{{date}} {{time}}",
short: "{{date}} {{time}}",
};
const formatLong = (exports.formatLong = {
date: (0, _index.buildFormatLongFn)({
formats: dateFormats,
defaultWidth: "full",
}),
time: (0, _index.buildFormatLongFn)({
formats: timeFormats,
defaultWidth: "full",
}),
dateTime: (0, _index.buildFormatLongFn)({
formats: dateTimeFormats,
defaultWidth: "full",
}),
});

44
node_modules/date-fns/locale/te/_lib/formatLong.mjs generated vendored Normal file
View File

@@ -0,0 +1,44 @@
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
// Source: https://www.unicode.org/cldr/charts/32/summary/te.html
// CLDR #1807 - #1811
const dateFormats = {
full: "d, MMMM y, EEEE",
long: "d MMMM, y",
medium: "d MMM, y",
short: "dd-MM-yy",
};
// CLDR #1807 - #1811
const timeFormats = {
full: "h:mm:ss a zzzz",
long: "h:mm:ss a z",
medium: "h:mm:ss a",
short: "h:mm a",
};
// CLDR #1815 - #1818
const dateTimeFormats = {
full: "{{date}} {{time}}'కి'",
long: "{{date}} {{time}}'కి'",
medium: "{{date}} {{time}}",
short: "{{date}} {{time}}",
};
export const formatLong = {
date: buildFormatLongFn({
formats: dateFormats,
defaultWidth: "full",
}),
time: buildFormatLongFn({
formats: timeFormats,
defaultWidth: "full",
}),
dateTime: buildFormatLongFn({
formats: dateTimeFormats,
defaultWidth: "full",
}),
};

View File

@@ -0,0 +1,2 @@
import type { FormatRelativeFn } from "../../types.js";
export declare const formatRelative: FormatRelativeFn;

View File

@@ -0,0 +1,2 @@
import type { FormatRelativeFn } from "../../types.js";
export declare const formatRelative: FormatRelativeFn;

17
node_modules/date-fns/locale/te/_lib/formatRelative.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
"use strict";
exports.formatRelative = void 0;
// Source: https://www.unicode.org/cldr/charts/32/summary/te.html
const formatRelativeLocale = {
lastWeek: "'గత' eeee p", // CLDR #1384
yesterday: "'నిన్న' p", // CLDR #1393
today: "'ఈ రోజు' p", // CLDR #1394
tomorrow: "'రేపు' p", // CLDR #1395
nextWeek: "'తదుపరి' eeee p", // CLDR #1386
other: "P",
};
const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];
exports.formatRelative = formatRelative;

View File

@@ -0,0 +1,13 @@
// Source: https://www.unicode.org/cldr/charts/32/summary/te.html
const formatRelativeLocale = {
lastWeek: "'గత' eeee p", // CLDR #1384
yesterday: "'నిన్న' p", // CLDR #1393
today: "'ఈ రోజు' p", // CLDR #1394
tomorrow: "'రేపు' p", // CLDR #1395
nextWeek: "'తదుపరి' eeee p", // CLDR #1386
other: "P",
};
export const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];

2
node_modules/date-fns/locale/te/_lib/localize.d.mts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
import type { Localize } from "../../types.js";
export declare const localize: Localize;

2
node_modules/date-fns/locale/te/_lib/localize.d.ts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
import type { Localize } from "../../types.js";
export declare const localize: Localize;

175
node_modules/date-fns/locale/te/_lib/localize.js generated vendored Normal file
View File

@@ -0,0 +1,175 @@
"use strict";
exports.localize = void 0;
var _index = require("../../_lib/buildLocalizeFn.js");
// Source: https://www.unicode.org/cldr/charts/32/summary/te.html
// Source: https://dsal.uchicago.edu/dictionaries/brown/
// CLDR #1605 - #1608
const eraValues = {
narrow: ["క్రీ.పూ.", "క్రీ.శ."],
abbreviated: ["క్రీ.పూ.", "క్రీ.శ."],
wide: ["క్రీస్తు పూర్వం", "క్రీస్తుశకం"],
};
// CLDR #1613 - #1628
const quarterValues = {
narrow: ["1", "2", "3", "4"],
abbreviated: ["త్రై1", "త్రై2", "త్రై3", "త్రై4"],
wide: ["1వ త్రైమాసికం", "2వ త్రైమాసికం", "3వ త్రైమాసికం", "4వ త్రైమాసికం"],
};
// CLDR #1637 - #1708
const monthValues = {
narrow: ["జ", "ఫి", "మా", "ఏ", "మే", "జూ", "జు", "ఆ", "సె", "అ", "న", "డి"],
abbreviated: [
"జన",
"ఫిబ్ర",
"మార్చి",
"ఏప్రి",
"మే",
"జూన్",
"జులై",
"ఆగ",
"సెప్టెం",
"అక్టో",
"నవం",
"డిసెం",
],
wide: [
"జనవరి",
"ఫిబ్రవరి",
"మార్చి",
"ఏప్రిల్",
"మే",
"జూన్",
"జులై",
"ఆగస్టు",
"సెప్టెంబర్",
"అక్టోబర్",
"నవంబర్",
"డిసెంబర్",
],
};
// CLDR #1709 - #1764
const dayValues = {
narrow: ["ఆ", "సో", "మ", "బు", "గు", "శు", "శ"],
short: ["ఆది", "సోమ", "మంగళ", "బుధ", "గురు", "శుక్ర", "శని"],
abbreviated: ["ఆది", "సోమ", "మంగళ", "బుధ", "గురు", "శుక్ర", "శని"],
wide: [
"ఆదివారం",
"సోమవారం",
"మంగళవారం",
"బుధవారం",
"గురువారం",
"శుక్రవారం",
"శనివారం",
],
};
// CLDR #1767 - #1806
const dayPeriodValues = {
narrow: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
abbreviated: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
wide: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
};
const formattingDayPeriodValues = {
narrow: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
abbreviated: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
wide: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
};
const ordinalNumber = (dirtyNumber, _options) => {
const number = Number(dirtyNumber);
return number + "వ";
};
const localize = (exports.localize = {
ordinalNumber,
era: (0, _index.buildLocalizeFn)({
values: eraValues,
defaultWidth: "wide",
}),
quarter: (0, _index.buildLocalizeFn)({
values: quarterValues,
defaultWidth: "wide",
argumentCallback: (quarter) => quarter - 1,
}),
month: (0, _index.buildLocalizeFn)({
values: monthValues,
defaultWidth: "wide",
}),
day: (0, _index.buildLocalizeFn)({
values: dayValues,
defaultWidth: "wide",
}),
dayPeriod: (0, _index.buildLocalizeFn)({
values: dayPeriodValues,
defaultWidth: "wide",
formattingValues: formattingDayPeriodValues,
defaultFormattingWidth: "wide",
}),
});

173
node_modules/date-fns/locale/te/_lib/localize.mjs generated vendored Normal file
View File

@@ -0,0 +1,173 @@
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.mjs";
// Source: https://www.unicode.org/cldr/charts/32/summary/te.html
// Source: https://dsal.uchicago.edu/dictionaries/brown/
// CLDR #1605 - #1608
const eraValues = {
narrow: ["క్రీ.పూ.", "క్రీ.శ."],
abbreviated: ["క్రీ.పూ.", "క్రీ.శ."],
wide: ["క్రీస్తు పూర్వం", "క్రీస్తుశకం"],
};
// CLDR #1613 - #1628
const quarterValues = {
narrow: ["1", "2", "3", "4"],
abbreviated: ["త్రై1", "త్రై2", "త్రై3", "త్రై4"],
wide: ["1వ త్రైమాసికం", "2వ త్రైమాసికం", "3వ త్రైమాసికం", "4వ త్రైమాసికం"],
};
// CLDR #1637 - #1708
const monthValues = {
narrow: ["జ", "ఫి", "మా", "ఏ", "మే", "జూ", "జు", "ఆ", "సె", "అ", "న", "డి"],
abbreviated: [
"జన",
"ఫిబ్ర",
"మార్చి",
"ఏప్రి",
"మే",
"జూన్",
"జులై",
"ఆగ",
"సెప్టెం",
"అక్టో",
"నవం",
"డిసెం",
],
wide: [
"జనవరి",
"ఫిబ్రవరి",
"మార్చి",
"ఏప్రిల్",
"మే",
"జూన్",
"జులై",
"ఆగస్టు",
"సెప్టెంబర్",
"అక్టోబర్",
"నవంబర్",
"డిసెంబర్",
],
};
// CLDR #1709 - #1764
const dayValues = {
narrow: ["ఆ", "సో", "మ", "బు", "గు", "శు", "శ"],
short: ["ఆది", "సోమ", "మంగళ", "బుధ", "గురు", "శుక్ర", "శని"],
abbreviated: ["ఆది", "సోమ", "మంగళ", "బుధ", "గురు", "శుక్ర", "శని"],
wide: [
"ఆదివారం",
"సోమవారం",
"మంగళవారం",
"బుధవారం",
"గురువారం",
"శుక్రవారం",
"శనివారం",
],
};
// CLDR #1767 - #1806
const dayPeriodValues = {
narrow: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
abbreviated: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
wide: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
};
const formattingDayPeriodValues = {
narrow: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
abbreviated: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
wide: {
am: "పూర్వాహ్నం",
pm: "అపరాహ్నం",
midnight: "అర్ధరాత్రి",
noon: "మిట్టమధ్యాహ్నం",
morning: "ఉదయం",
afternoon: "మధ్యాహ్నం",
evening: "సాయంత్రం",
night: "రాత్రి",
},
};
const ordinalNumber = (dirtyNumber, _options) => {
const number = Number(dirtyNumber);
return number + "వ";
};
export const localize = {
ordinalNumber,
era: buildLocalizeFn({
values: eraValues,
defaultWidth: "wide",
}),
quarter: buildLocalizeFn({
values: quarterValues,
defaultWidth: "wide",
argumentCallback: (quarter) => quarter - 1,
}),
month: buildLocalizeFn({
values: monthValues,
defaultWidth: "wide",
}),
day: buildLocalizeFn({
values: dayValues,
defaultWidth: "wide",
}),
dayPeriod: buildLocalizeFn({
values: dayPeriodValues,
defaultWidth: "wide",
formattingValues: formattingDayPeriodValues,
defaultFormattingWidth: "wide",
}),
};

2
node_modules/date-fns/locale/te/_lib/match.d.mts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
import type { Match } from "../../types.js";
export declare const match: Match;

2
node_modules/date-fns/locale/te/_lib/match.d.ts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
import type { Match } from "../../types.js";
export declare const match: Match;

137
node_modules/date-fns/locale/te/_lib/match.js generated vendored Normal file
View File

@@ -0,0 +1,137 @@
"use strict";
exports.match = void 0;
var _index = require("../../_lib/buildMatchFn.js");
var _index2 = require("../../_lib/buildMatchPatternFn.js");
const matchOrdinalNumberPattern = /^(\d+)(వ)?/i;
const parseOrdinalNumberPattern = /\d+/i;
const matchEraPatterns = {
narrow: /^(క్రీ\.పూ\.|క్రీ\.శ\.)/i,
abbreviated:
/^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i,
wide: /^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i,
};
const parseEraPatterns = {
any: [/^(పూ|శ)/i, /^సా/i],
};
const matchQuarterPatterns = {
narrow: /^[1234]/i,
abbreviated: /^త్రై[1234]/i,
wide: /^[1234](వ)? త్రైమాసికం/i,
};
const parseQuarterPatterns = {
any: [/1/i, /2/i, /3/i, /4/i],
};
const matchMonthPatterns = {
narrow: /^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,
abbreviated: /^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,
wide: /^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i,
};
const parseMonthPatterns = {
narrow: [
/^జ/i,
/^ఫి/i,
/^మా/i,
/^ఏ/i,
/^మే/i,
/^జూ/i,
/^జు/i,
/^ఆ/i,
/^సె/i,
/^అ/i,
/^న/i,
/^డి/i,
],
any: [
/^జన/i,
/^ఫి/i,
/^మా/i,
/^ఏ/i,
/^మే/i,
/^జూన్/i,
/^జులై/i,
/^ఆగ/i,
/^సె/i,
/^అ/i,
/^న/i,
/^డి/i,
],
};
const matchDayPatterns = {
narrow: /^(ఆ|సో|మ|బు|గు|శు|శ)/i,
short: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,
abbreviated: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,
wide: /^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i,
};
const parseDayPatterns = {
narrow: [/^ఆ/i, /^సో/i, /^మ/i, /^బు/i, /^గు/i, /^శు/i, /^శ/i],
any: [/^ఆది/i, /^సోమ/i, /^మం/i, /^బుధ/i, /^గురు/i, /^శుక్ర/i, /^శని/i],
};
const matchDayPeriodPatterns = {
narrow:
/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,
any: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,
};
const parseDayPeriodPatterns = {
any: {
am: /^పూర్వాహ్నం/i,
pm: /^అపరాహ్నం/i,
midnight: /^అర్ధ/i,
noon: /^మిట్ట/i,
morning: /ఉదయం/i,
afternoon: /మధ్యాహ్నం/i,
evening: /సాయంత్రం/i,
night: /రాత్రి/i,
},
};
const match = (exports.match = {
ordinalNumber: (0, _index2.buildMatchPatternFn)({
matchPattern: matchOrdinalNumberPattern,
parsePattern: parseOrdinalNumberPattern,
valueCallback: (value) => parseInt(value, 10),
}),
era: (0, _index.buildMatchFn)({
matchPatterns: matchEraPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseEraPatterns,
defaultParseWidth: "any",
}),
quarter: (0, _index.buildMatchFn)({
matchPatterns: matchQuarterPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseQuarterPatterns,
defaultParseWidth: "any",
valueCallback: (index) => index + 1,
}),
month: (0, _index.buildMatchFn)({
matchPatterns: matchMonthPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseMonthPatterns,
defaultParseWidth: "any",
}),
day: (0, _index.buildMatchFn)({
matchPatterns: matchDayPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseDayPatterns,
defaultParseWidth: "any",
}),
dayPeriod: (0, _index.buildMatchFn)({
matchPatterns: matchDayPeriodPatterns,
defaultMatchWidth: "any",
parsePatterns: parseDayPeriodPatterns,
defaultParseWidth: "any",
}),
});

134
node_modules/date-fns/locale/te/_lib/match.mjs generated vendored Normal file
View File

@@ -0,0 +1,134 @@
import { buildMatchFn } from "../../_lib/buildMatchFn.mjs";
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.mjs";
const matchOrdinalNumberPattern = /^(\d+)(వ)?/i;
const parseOrdinalNumberPattern = /\d+/i;
const matchEraPatterns = {
narrow: /^(క్రీ\.పూ\.|క్రీ\.శ\.)/i,
abbreviated:
/^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i,
wide: /^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i,
};
const parseEraPatterns = {
any: [/^(పూ|శ)/i, /^సా/i],
};
const matchQuarterPatterns = {
narrow: /^[1234]/i,
abbreviated: /^త్రై[1234]/i,
wide: /^[1234](వ)? త్రైమాసికం/i,
};
const parseQuarterPatterns = {
any: [/1/i, /2/i, /3/i, /4/i],
};
const matchMonthPatterns = {
narrow: /^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,
abbreviated: /^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,
wide: /^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i,
};
const parseMonthPatterns = {
narrow: [
/^జ/i,
/^ఫి/i,
/^మా/i,
/^ఏ/i,
/^మే/i,
/^జూ/i,
/^జు/i,
/^ఆ/i,
/^సె/i,
/^అ/i,
/^న/i,
/^డి/i,
],
any: [
/^జన/i,
/^ఫి/i,
/^మా/i,
/^ఏ/i,
/^మే/i,
/^జూన్/i,
/^జులై/i,
/^ఆగ/i,
/^సె/i,
/^అ/i,
/^న/i,
/^డి/i,
],
};
const matchDayPatterns = {
narrow: /^(ఆ|సో|మ|బు|గు|శు|శ)/i,
short: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,
abbreviated: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,
wide: /^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i,
};
const parseDayPatterns = {
narrow: [/^ఆ/i, /^సో/i, /^మ/i, /^బు/i, /^గు/i, /^శు/i, /^శ/i],
any: [/^ఆది/i, /^సోమ/i, /^మం/i, /^బుధ/i, /^గురు/i, /^శుక్ర/i, /^శని/i],
};
const matchDayPeriodPatterns = {
narrow:
/^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,
any: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,
};
const parseDayPeriodPatterns = {
any: {
am: /^పూర్వాహ్నం/i,
pm: /^అపరాహ్నం/i,
midnight: /^అర్ధ/i,
noon: /^మిట్ట/i,
morning: /ఉదయం/i,
afternoon: /మధ్యాహ్నం/i,
evening: /సాయంత్రం/i,
night: /రాత్రి/i,
},
};
export const match = {
ordinalNumber: buildMatchPatternFn({
matchPattern: matchOrdinalNumberPattern,
parsePattern: parseOrdinalNumberPattern,
valueCallback: (value) => parseInt(value, 10),
}),
era: buildMatchFn({
matchPatterns: matchEraPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseEraPatterns,
defaultParseWidth: "any",
}),
quarter: buildMatchFn({
matchPatterns: matchQuarterPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseQuarterPatterns,
defaultParseWidth: "any",
valueCallback: (index) => index + 1,
}),
month: buildMatchFn({
matchPatterns: matchMonthPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseMonthPatterns,
defaultParseWidth: "any",
}),
day: buildMatchFn({
matchPatterns: matchDayPatterns,
defaultMatchWidth: "wide",
parsePatterns: parseDayPatterns,
defaultParseWidth: "any",
}),
dayPeriod: buildMatchFn({
matchPatterns: matchDayPeriodPatterns,
defaultMatchWidth: "any",
parsePatterns: parseDayPeriodPatterns,
defaultParseWidth: "any",
}),
};