v1.0 with SW PWA enabled
This commit is contained in:
2
frontend/node_modules/date-fns/locale/eo/_lib/formatDistance.d.mts
generated
vendored
Normal file
2
frontend/node_modules/date-fns/locale/eo/_lib/formatDistance.d.mts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatDistanceFn } from "../../types.js";
|
||||
export declare const formatDistance: FormatDistanceFn;
|
||||
2
frontend/node_modules/date-fns/locale/eo/_lib/formatDistance.d.ts
generated
vendored
Normal file
2
frontend/node_modules/date-fns/locale/eo/_lib/formatDistance.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatDistanceFn } from "../../types.js";
|
||||
export declare const formatDistance: FormatDistanceFn;
|
||||
105
frontend/node_modules/date-fns/locale/eo/_lib/formatDistance.js
generated
vendored
Normal file
105
frontend/node_modules/date-fns/locale/eo/_lib/formatDistance.js
generated
vendored
Normal file
@ -0,0 +1,105 @@
|
||||
"use strict";
|
||||
exports.formatDistance = void 0;
|
||||
|
||||
const formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
one: "malpli ol sekundo",
|
||||
other: "malpli ol {{count}} sekundoj",
|
||||
},
|
||||
|
||||
xSeconds: {
|
||||
one: "1 sekundo",
|
||||
other: "{{count}} sekundoj",
|
||||
},
|
||||
|
||||
halfAMinute: "duonminuto",
|
||||
|
||||
lessThanXMinutes: {
|
||||
one: "malpli ol minuto",
|
||||
other: "malpli ol {{count}} minutoj",
|
||||
},
|
||||
|
||||
xMinutes: {
|
||||
one: "1 minuto",
|
||||
other: "{{count}} minutoj",
|
||||
},
|
||||
|
||||
aboutXHours: {
|
||||
one: "proksimume 1 horo",
|
||||
other: "proksimume {{count}} horoj",
|
||||
},
|
||||
|
||||
xHours: {
|
||||
one: "1 horo",
|
||||
other: "{{count}} horoj",
|
||||
},
|
||||
|
||||
xDays: {
|
||||
one: "1 tago",
|
||||
other: "{{count}} tagoj",
|
||||
},
|
||||
|
||||
aboutXMonths: {
|
||||
one: "proksimume 1 monato",
|
||||
other: "proksimume {{count}} monatoj",
|
||||
},
|
||||
|
||||
xWeeks: {
|
||||
one: "1 semajno",
|
||||
other: "{{count}} semajnoj",
|
||||
},
|
||||
|
||||
aboutXWeeks: {
|
||||
one: "proksimume 1 semajno",
|
||||
other: "proksimume {{count}} semajnoj",
|
||||
},
|
||||
|
||||
xMonths: {
|
||||
one: "1 monato",
|
||||
other: "{{count}} monatoj",
|
||||
},
|
||||
|
||||
aboutXYears: {
|
||||
one: "proksimume 1 jaro",
|
||||
other: "proksimume {{count}} jaroj",
|
||||
},
|
||||
|
||||
xYears: {
|
||||
one: "1 jaro",
|
||||
other: "{{count}} jaroj",
|
||||
},
|
||||
|
||||
overXYears: {
|
||||
one: "pli ol 1 jaro",
|
||||
other: "pli ol {{count}} jaroj",
|
||||
},
|
||||
|
||||
almostXYears: {
|
||||
one: "preskaŭ 1 jaro",
|
||||
other: "preskaŭ {{count}} jaroj",
|
||||
},
|
||||
};
|
||||
|
||||
const formatDistance = (token, count, options) => {
|
||||
let result;
|
||||
|
||||
const tokenValue = formatDistanceLocale[token];
|
||||
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 "post " + result;
|
||||
} else {
|
||||
return "antaŭ " + result;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
};
|
||||
exports.formatDistance = formatDistance;
|
||||
101
frontend/node_modules/date-fns/locale/eo/_lib/formatDistance.mjs
generated
vendored
Normal file
101
frontend/node_modules/date-fns/locale/eo/_lib/formatDistance.mjs
generated
vendored
Normal file
@ -0,0 +1,101 @@
|
||||
const formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
one: "malpli ol sekundo",
|
||||
other: "malpli ol {{count}} sekundoj",
|
||||
},
|
||||
|
||||
xSeconds: {
|
||||
one: "1 sekundo",
|
||||
other: "{{count}} sekundoj",
|
||||
},
|
||||
|
||||
halfAMinute: "duonminuto",
|
||||
|
||||
lessThanXMinutes: {
|
||||
one: "malpli ol minuto",
|
||||
other: "malpli ol {{count}} minutoj",
|
||||
},
|
||||
|
||||
xMinutes: {
|
||||
one: "1 minuto",
|
||||
other: "{{count}} minutoj",
|
||||
},
|
||||
|
||||
aboutXHours: {
|
||||
one: "proksimume 1 horo",
|
||||
other: "proksimume {{count}} horoj",
|
||||
},
|
||||
|
||||
xHours: {
|
||||
one: "1 horo",
|
||||
other: "{{count}} horoj",
|
||||
},
|
||||
|
||||
xDays: {
|
||||
one: "1 tago",
|
||||
other: "{{count}} tagoj",
|
||||
},
|
||||
|
||||
aboutXMonths: {
|
||||
one: "proksimume 1 monato",
|
||||
other: "proksimume {{count}} monatoj",
|
||||
},
|
||||
|
||||
xWeeks: {
|
||||
one: "1 semajno",
|
||||
other: "{{count}} semajnoj",
|
||||
},
|
||||
|
||||
aboutXWeeks: {
|
||||
one: "proksimume 1 semajno",
|
||||
other: "proksimume {{count}} semajnoj",
|
||||
},
|
||||
|
||||
xMonths: {
|
||||
one: "1 monato",
|
||||
other: "{{count}} monatoj",
|
||||
},
|
||||
|
||||
aboutXYears: {
|
||||
one: "proksimume 1 jaro",
|
||||
other: "proksimume {{count}} jaroj",
|
||||
},
|
||||
|
||||
xYears: {
|
||||
one: "1 jaro",
|
||||
other: "{{count}} jaroj",
|
||||
},
|
||||
|
||||
overXYears: {
|
||||
one: "pli ol 1 jaro",
|
||||
other: "pli ol {{count}} jaroj",
|
||||
},
|
||||
|
||||
almostXYears: {
|
||||
one: "preskaŭ 1 jaro",
|
||||
other: "preskaŭ {{count}} jaroj",
|
||||
},
|
||||
};
|
||||
|
||||
export const formatDistance = (token, count, options) => {
|
||||
let result;
|
||||
|
||||
const tokenValue = formatDistanceLocale[token];
|
||||
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 "post " + result;
|
||||
} else {
|
||||
return "antaŭ " + result;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
};
|
||||
2
frontend/node_modules/date-fns/locale/eo/_lib/formatLong.d.mts
generated
vendored
Normal file
2
frontend/node_modules/date-fns/locale/eo/_lib/formatLong.d.mts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatLong } from "../../types.js";
|
||||
export declare const formatLong: FormatLong;
|
||||
2
frontend/node_modules/date-fns/locale/eo/_lib/formatLong.d.ts
generated
vendored
Normal file
2
frontend/node_modules/date-fns/locale/eo/_lib/formatLong.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatLong } from "../../types.js";
|
||||
export declare const formatLong: FormatLong;
|
||||
38
frontend/node_modules/date-fns/locale/eo/_lib/formatLong.js
generated
vendored
Normal file
38
frontend/node_modules/date-fns/locale/eo/_lib/formatLong.js
generated
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
"use strict";
|
||||
exports.formatLong = void 0;
|
||||
var _index = require("../../_lib/buildFormatLongFn.js");
|
||||
|
||||
const dateFormats = {
|
||||
full: "EEEE, do 'de' MMMM y",
|
||||
long: "y-MMMM-dd",
|
||||
medium: "y-MMM-dd",
|
||||
short: "yyyy-MM-dd",
|
||||
};
|
||||
|
||||
const timeFormats = {
|
||||
full: "Ho 'horo kaj' m:ss zzzz",
|
||||
long: "HH:mm:ss z",
|
||||
medium: "HH:mm:ss",
|
||||
short: "HH:mm",
|
||||
};
|
||||
|
||||
const dateTimeFormats = {
|
||||
any: "{{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: "any",
|
||||
}),
|
||||
});
|
||||
36
frontend/node_modules/date-fns/locale/eo/_lib/formatLong.mjs
generated
vendored
Normal file
36
frontend/node_modules/date-fns/locale/eo/_lib/formatLong.mjs
generated
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
||||
|
||||
const dateFormats = {
|
||||
full: "EEEE, do 'de' MMMM y",
|
||||
long: "y-MMMM-dd",
|
||||
medium: "y-MMM-dd",
|
||||
short: "yyyy-MM-dd",
|
||||
};
|
||||
|
||||
const timeFormats = {
|
||||
full: "Ho 'horo kaj' m:ss zzzz",
|
||||
long: "HH:mm:ss z",
|
||||
medium: "HH:mm:ss",
|
||||
short: "HH:mm",
|
||||
};
|
||||
|
||||
const dateTimeFormats = {
|
||||
any: "{{date}} {{time}}",
|
||||
};
|
||||
|
||||
export const formatLong = {
|
||||
date: buildFormatLongFn({
|
||||
formats: dateFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
time: buildFormatLongFn({
|
||||
formats: timeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
dateTime: buildFormatLongFn({
|
||||
formats: dateTimeFormats,
|
||||
defaultWidth: "any",
|
||||
}),
|
||||
};
|
||||
2
frontend/node_modules/date-fns/locale/eo/_lib/formatRelative.d.mts
generated
vendored
Normal file
2
frontend/node_modules/date-fns/locale/eo/_lib/formatRelative.d.mts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatRelativeFn } from "../../types.js";
|
||||
export declare const formatRelative: FormatRelativeFn;
|
||||
2
frontend/node_modules/date-fns/locale/eo/_lib/formatRelative.d.ts
generated
vendored
Normal file
2
frontend/node_modules/date-fns/locale/eo/_lib/formatRelative.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatRelativeFn } from "../../types.js";
|
||||
export declare const formatRelative: FormatRelativeFn;
|
||||
15
frontend/node_modules/date-fns/locale/eo/_lib/formatRelative.js
generated
vendored
Normal file
15
frontend/node_modules/date-fns/locale/eo/_lib/formatRelative.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
exports.formatRelative = void 0;
|
||||
|
||||
const formatRelativeLocale = {
|
||||
lastWeek: "'pasinta' eeee 'je' p",
|
||||
yesterday: "'hieraŭ je' p",
|
||||
today: "'hodiaŭ je' p",
|
||||
tomorrow: "'morgaŭ je' p",
|
||||
nextWeek: "eeee 'je' p",
|
||||
other: "P",
|
||||
};
|
||||
|
||||
const formatRelative = (token, _date, _baseDate, _options) =>
|
||||
formatRelativeLocale[token];
|
||||
exports.formatRelative = formatRelative;
|
||||
11
frontend/node_modules/date-fns/locale/eo/_lib/formatRelative.mjs
generated
vendored
Normal file
11
frontend/node_modules/date-fns/locale/eo/_lib/formatRelative.mjs
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
const formatRelativeLocale = {
|
||||
lastWeek: "'pasinta' eeee 'je' p",
|
||||
yesterday: "'hieraŭ je' p",
|
||||
today: "'hodiaŭ je' p",
|
||||
tomorrow: "'morgaŭ je' p",
|
||||
nextWeek: "eeee 'je' p",
|
||||
other: "P",
|
||||
};
|
||||
|
||||
export const formatRelative = (token, _date, _baseDate, _options) =>
|
||||
formatRelativeLocale[token];
|
||||
2
frontend/node_modules/date-fns/locale/eo/_lib/localize.d.mts
generated
vendored
Normal file
2
frontend/node_modules/date-fns/locale/eo/_lib/localize.d.mts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { Localize } from "../../types.js";
|
||||
export declare const localize: Localize;
|
||||
2
frontend/node_modules/date-fns/locale/eo/_lib/localize.d.ts
generated
vendored
Normal file
2
frontend/node_modules/date-fns/locale/eo/_lib/localize.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { Localize } from "../../types.js";
|
||||
export declare const localize: Localize;
|
||||
139
frontend/node_modules/date-fns/locale/eo/_lib/localize.js
generated
vendored
Normal file
139
frontend/node_modules/date-fns/locale/eo/_lib/localize.js
generated
vendored
Normal file
@ -0,0 +1,139 @@
|
||||
"use strict";
|
||||
exports.localize = void 0;
|
||||
|
||||
var _index = require("../../_lib/buildLocalizeFn.js");
|
||||
|
||||
const eraValues = {
|
||||
narrow: ["aK", "pK"],
|
||||
abbreviated: ["a.K.E.", "p.K.E."],
|
||||
wide: ["antaŭ Komuna Erao", "Komuna Erao"],
|
||||
};
|
||||
|
||||
const quarterValues = {
|
||||
narrow: ["1", "2", "3", "4"],
|
||||
abbreviated: ["K1", "K2", "K3", "K4"],
|
||||
wide: [
|
||||
"1-a kvaronjaro",
|
||||
"2-a kvaronjaro",
|
||||
"3-a kvaronjaro",
|
||||
"4-a kvaronjaro",
|
||||
],
|
||||
};
|
||||
|
||||
const monthValues = {
|
||||
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
||||
abbreviated: [
|
||||
"jan",
|
||||
"feb",
|
||||
"mar",
|
||||
"apr",
|
||||
"maj",
|
||||
"jun",
|
||||
"jul",
|
||||
"aŭg",
|
||||
"sep",
|
||||
"okt",
|
||||
"nov",
|
||||
"dec",
|
||||
],
|
||||
|
||||
wide: [
|
||||
"januaro",
|
||||
"februaro",
|
||||
"marto",
|
||||
"aprilo",
|
||||
"majo",
|
||||
"junio",
|
||||
"julio",
|
||||
"aŭgusto",
|
||||
"septembro",
|
||||
"oktobro",
|
||||
"novembro",
|
||||
"decembro",
|
||||
],
|
||||
};
|
||||
|
||||
const dayValues = {
|
||||
narrow: ["D", "L", "M", "M", "Ĵ", "V", "S"],
|
||||
short: ["di", "lu", "ma", "me", "ĵa", "ve", "sa"],
|
||||
abbreviated: ["dim", "lun", "mar", "mer", "ĵaŭ", "ven", "sab"],
|
||||
wide: [
|
||||
"dimanĉo",
|
||||
"lundo",
|
||||
"mardo",
|
||||
"merkredo",
|
||||
"ĵaŭdo",
|
||||
"vendredo",
|
||||
"sabato",
|
||||
],
|
||||
};
|
||||
|
||||
const dayPeriodValues = {
|
||||
narrow: {
|
||||
am: "a",
|
||||
pm: "p",
|
||||
midnight: "noktomezo",
|
||||
noon: "tagmezo",
|
||||
morning: "matene",
|
||||
afternoon: "posttagmeze",
|
||||
evening: "vespere",
|
||||
night: "nokte",
|
||||
},
|
||||
abbreviated: {
|
||||
am: "a.t.m.",
|
||||
pm: "p.t.m.",
|
||||
midnight: "noktomezo",
|
||||
noon: "tagmezo",
|
||||
morning: "matene",
|
||||
afternoon: "posttagmeze",
|
||||
evening: "vespere",
|
||||
night: "nokte",
|
||||
},
|
||||
wide: {
|
||||
am: "antaŭtagmeze",
|
||||
pm: "posttagmeze",
|
||||
midnight: "noktomezo",
|
||||
noon: "tagmezo",
|
||||
morning: "matene",
|
||||
afternoon: "posttagmeze",
|
||||
evening: "vespere",
|
||||
night: "nokte",
|
||||
},
|
||||
};
|
||||
|
||||
const ordinalNumber = (dirtyNumber) => {
|
||||
const number = Number(dirtyNumber);
|
||||
return number + "-a";
|
||||
};
|
||||
|
||||
const localize = (exports.localize = {
|
||||
ordinalNumber: ordinalNumber,
|
||||
|
||||
era: (0, _index.buildLocalizeFn)({
|
||||
values: eraValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
quarter: (0, _index.buildLocalizeFn)({
|
||||
values: quarterValues,
|
||||
defaultWidth: "wide",
|
||||
argumentCallback: function (quarter) {
|
||||
return Number(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",
|
||||
}),
|
||||
});
|
||||
136
frontend/node_modules/date-fns/locale/eo/_lib/localize.mjs
generated
vendored
Normal file
136
frontend/node_modules/date-fns/locale/eo/_lib/localize.mjs
generated
vendored
Normal file
@ -0,0 +1,136 @@
|
||||
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.mjs";
|
||||
|
||||
const eraValues = {
|
||||
narrow: ["aK", "pK"],
|
||||
abbreviated: ["a.K.E.", "p.K.E."],
|
||||
wide: ["antaŭ Komuna Erao", "Komuna Erao"],
|
||||
};
|
||||
|
||||
const quarterValues = {
|
||||
narrow: ["1", "2", "3", "4"],
|
||||
abbreviated: ["K1", "K2", "K3", "K4"],
|
||||
wide: [
|
||||
"1-a kvaronjaro",
|
||||
"2-a kvaronjaro",
|
||||
"3-a kvaronjaro",
|
||||
"4-a kvaronjaro",
|
||||
],
|
||||
};
|
||||
|
||||
const monthValues = {
|
||||
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
||||
abbreviated: [
|
||||
"jan",
|
||||
"feb",
|
||||
"mar",
|
||||
"apr",
|
||||
"maj",
|
||||
"jun",
|
||||
"jul",
|
||||
"aŭg",
|
||||
"sep",
|
||||
"okt",
|
||||
"nov",
|
||||
"dec",
|
||||
],
|
||||
|
||||
wide: [
|
||||
"januaro",
|
||||
"februaro",
|
||||
"marto",
|
||||
"aprilo",
|
||||
"majo",
|
||||
"junio",
|
||||
"julio",
|
||||
"aŭgusto",
|
||||
"septembro",
|
||||
"oktobro",
|
||||
"novembro",
|
||||
"decembro",
|
||||
],
|
||||
};
|
||||
|
||||
const dayValues = {
|
||||
narrow: ["D", "L", "M", "M", "Ĵ", "V", "S"],
|
||||
short: ["di", "lu", "ma", "me", "ĵa", "ve", "sa"],
|
||||
abbreviated: ["dim", "lun", "mar", "mer", "ĵaŭ", "ven", "sab"],
|
||||
wide: [
|
||||
"dimanĉo",
|
||||
"lundo",
|
||||
"mardo",
|
||||
"merkredo",
|
||||
"ĵaŭdo",
|
||||
"vendredo",
|
||||
"sabato",
|
||||
],
|
||||
};
|
||||
|
||||
const dayPeriodValues = {
|
||||
narrow: {
|
||||
am: "a",
|
||||
pm: "p",
|
||||
midnight: "noktomezo",
|
||||
noon: "tagmezo",
|
||||
morning: "matene",
|
||||
afternoon: "posttagmeze",
|
||||
evening: "vespere",
|
||||
night: "nokte",
|
||||
},
|
||||
abbreviated: {
|
||||
am: "a.t.m.",
|
||||
pm: "p.t.m.",
|
||||
midnight: "noktomezo",
|
||||
noon: "tagmezo",
|
||||
morning: "matene",
|
||||
afternoon: "posttagmeze",
|
||||
evening: "vespere",
|
||||
night: "nokte",
|
||||
},
|
||||
wide: {
|
||||
am: "antaŭtagmeze",
|
||||
pm: "posttagmeze",
|
||||
midnight: "noktomezo",
|
||||
noon: "tagmezo",
|
||||
morning: "matene",
|
||||
afternoon: "posttagmeze",
|
||||
evening: "vespere",
|
||||
night: "nokte",
|
||||
},
|
||||
};
|
||||
|
||||
const ordinalNumber = (dirtyNumber) => {
|
||||
const number = Number(dirtyNumber);
|
||||
return number + "-a";
|
||||
};
|
||||
|
||||
export const localize = {
|
||||
ordinalNumber: ordinalNumber,
|
||||
|
||||
era: buildLocalizeFn({
|
||||
values: eraValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
quarter: buildLocalizeFn({
|
||||
values: quarterValues,
|
||||
defaultWidth: "wide",
|
||||
argumentCallback: function (quarter) {
|
||||
return Number(quarter) - 1;
|
||||
},
|
||||
}),
|
||||
|
||||
month: buildLocalizeFn({
|
||||
values: monthValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
day: buildLocalizeFn({
|
||||
values: dayValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
dayPeriod: buildLocalizeFn({
|
||||
values: dayPeriodValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
};
|
||||
2
frontend/node_modules/date-fns/locale/eo/_lib/match.d.mts
generated
vendored
Normal file
2
frontend/node_modules/date-fns/locale/eo/_lib/match.d.mts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { Match } from "../../types.js";
|
||||
export declare const match: Match;
|
||||
2
frontend/node_modules/date-fns/locale/eo/_lib/match.d.ts
generated
vendored
Normal file
2
frontend/node_modules/date-fns/locale/eo/_lib/match.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { Match } from "../../types.js";
|
||||
export declare const match: Match;
|
||||
140
frontend/node_modules/date-fns/locale/eo/_lib/match.js
generated
vendored
Normal file
140
frontend/node_modules/date-fns/locale/eo/_lib/match.js
generated
vendored
Normal file
@ -0,0 +1,140 @@
|
||||
"use strict";
|
||||
exports.match = void 0;
|
||||
var _index = require("../../_lib/buildMatchPatternFn.js");
|
||||
var _index2 = require("../../_lib/buildMatchFn.js");
|
||||
|
||||
const matchOrdinalNumberPattern = /^(\d+)(-?a)?/i;
|
||||
const parseOrdinalNumberPattern = /\d+/i;
|
||||
|
||||
const matchEraPatterns = {
|
||||
narrow: /^([ap]k)/i,
|
||||
abbreviated: /^([ap]\.?\s?k\.?\s?e\.?)/i,
|
||||
wide: /^((antaǔ |post )?komuna erao)/i,
|
||||
};
|
||||
const parseEraPatterns = {
|
||||
any: [/^a/i, /^[kp]/i],
|
||||
};
|
||||
|
||||
const matchQuarterPatterns = {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^k[1234]/i,
|
||||
wide: /^[1234](-?a)? kvaronjaro/i,
|
||||
};
|
||||
const parseQuarterPatterns = {
|
||||
any: [/1/i, /2/i, /3/i, /4/i],
|
||||
};
|
||||
|
||||
const matchMonthPatterns = {
|
||||
narrow: /^[jfmasond]/i,
|
||||
abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i,
|
||||
wide: /^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i,
|
||||
};
|
||||
const parseMonthPatterns = {
|
||||
narrow: [
|
||||
/^j/i,
|
||||
/^f/i,
|
||||
/^m/i,
|
||||
/^a/i,
|
||||
/^m/i,
|
||||
/^j/i,
|
||||
/^j/i,
|
||||
/^a/i,
|
||||
/^s/i,
|
||||
/^o/i,
|
||||
/^n/i,
|
||||
/^d/i,
|
||||
],
|
||||
|
||||
any: [
|
||||
/^ja/i,
|
||||
/^f/i,
|
||||
/^mar/i,
|
||||
/^ap/i,
|
||||
/^maj/i,
|
||||
/^jun/i,
|
||||
/^jul/i,
|
||||
/^a(u|ŭ)/i,
|
||||
/^s/i,
|
||||
/^o/i,
|
||||
/^n/i,
|
||||
/^d/i,
|
||||
],
|
||||
};
|
||||
|
||||
const matchDayPatterns = {
|
||||
narrow: /^[dlmĵjvs]/i,
|
||||
short: /^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i,
|
||||
abbreviated: /^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i,
|
||||
wide: /^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i,
|
||||
};
|
||||
const parseDayPatterns = {
|
||||
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^(j|ĵ)/i, /^v/i, /^s/i],
|
||||
any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^(j|ĵ)/i, /^v/i, /^s/i],
|
||||
};
|
||||
|
||||
const matchDayPeriodPatterns = {
|
||||
narrow: /^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,
|
||||
abbreviated:
|
||||
/^([ap][.\s]?t[.\s]?m[.\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,
|
||||
wide: /^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i,
|
||||
};
|
||||
const parseDayPeriodPatterns = {
|
||||
any: {
|
||||
am: /^a/i,
|
||||
pm: /^p/i,
|
||||
midnight: /^noktom/i,
|
||||
noon: /^t/i,
|
||||
morning: /^m/i,
|
||||
afternoon: /^posttagmeze/i,
|
||||
evening: /^v/i,
|
||||
night: /^n/i,
|
||||
},
|
||||
};
|
||||
|
||||
const match = (exports.match = {
|
||||
ordinalNumber: (0, _index.buildMatchPatternFn)({
|
||||
matchPattern: matchOrdinalNumberPattern,
|
||||
parsePattern: parseOrdinalNumberPattern,
|
||||
valueCallback: function (value) {
|
||||
return parseInt(value, 10);
|
||||
},
|
||||
}),
|
||||
|
||||
era: (0, _index2.buildMatchFn)({
|
||||
matchPatterns: matchEraPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseEraPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
quarter: (0, _index2.buildMatchFn)({
|
||||
matchPatterns: matchQuarterPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseQuarterPatterns,
|
||||
defaultParseWidth: "any",
|
||||
valueCallback: function (index) {
|
||||
return index + 1;
|
||||
},
|
||||
}),
|
||||
|
||||
month: (0, _index2.buildMatchFn)({
|
||||
matchPatterns: matchMonthPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseMonthPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
day: (0, _index2.buildMatchFn)({
|
||||
matchPatterns: matchDayPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseDayPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
dayPeriod: (0, _index2.buildMatchFn)({
|
||||
matchPatterns: matchDayPeriodPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseDayPeriodPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
});
|
||||
138
frontend/node_modules/date-fns/locale/eo/_lib/match.mjs
generated
vendored
Normal file
138
frontend/node_modules/date-fns/locale/eo/_lib/match.mjs
generated
vendored
Normal file
@ -0,0 +1,138 @@
|
||||
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.mjs";
|
||||
import { buildMatchFn } from "../../_lib/buildMatchFn.mjs";
|
||||
|
||||
const matchOrdinalNumberPattern = /^(\d+)(-?a)?/i;
|
||||
const parseOrdinalNumberPattern = /\d+/i;
|
||||
|
||||
const matchEraPatterns = {
|
||||
narrow: /^([ap]k)/i,
|
||||
abbreviated: /^([ap]\.?\s?k\.?\s?e\.?)/i,
|
||||
wide: /^((antaǔ |post )?komuna erao)/i,
|
||||
};
|
||||
const parseEraPatterns = {
|
||||
any: [/^a/i, /^[kp]/i],
|
||||
};
|
||||
|
||||
const matchQuarterPatterns = {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^k[1234]/i,
|
||||
wide: /^[1234](-?a)? kvaronjaro/i,
|
||||
};
|
||||
const parseQuarterPatterns = {
|
||||
any: [/1/i, /2/i, /3/i, /4/i],
|
||||
};
|
||||
|
||||
const matchMonthPatterns = {
|
||||
narrow: /^[jfmasond]/i,
|
||||
abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i,
|
||||
wide: /^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i,
|
||||
};
|
||||
const parseMonthPatterns = {
|
||||
narrow: [
|
||||
/^j/i,
|
||||
/^f/i,
|
||||
/^m/i,
|
||||
/^a/i,
|
||||
/^m/i,
|
||||
/^j/i,
|
||||
/^j/i,
|
||||
/^a/i,
|
||||
/^s/i,
|
||||
/^o/i,
|
||||
/^n/i,
|
||||
/^d/i,
|
||||
],
|
||||
|
||||
any: [
|
||||
/^ja/i,
|
||||
/^f/i,
|
||||
/^mar/i,
|
||||
/^ap/i,
|
||||
/^maj/i,
|
||||
/^jun/i,
|
||||
/^jul/i,
|
||||
/^a(u|ŭ)/i,
|
||||
/^s/i,
|
||||
/^o/i,
|
||||
/^n/i,
|
||||
/^d/i,
|
||||
],
|
||||
};
|
||||
|
||||
const matchDayPatterns = {
|
||||
narrow: /^[dlmĵjvs]/i,
|
||||
short: /^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i,
|
||||
abbreviated: /^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i,
|
||||
wide: /^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i,
|
||||
};
|
||||
const parseDayPatterns = {
|
||||
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^(j|ĵ)/i, /^v/i, /^s/i],
|
||||
any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^(j|ĵ)/i, /^v/i, /^s/i],
|
||||
};
|
||||
|
||||
const matchDayPeriodPatterns = {
|
||||
narrow: /^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,
|
||||
abbreviated:
|
||||
/^([ap][.\s]?t[.\s]?m[.\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,
|
||||
wide: /^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i,
|
||||
};
|
||||
const parseDayPeriodPatterns = {
|
||||
any: {
|
||||
am: /^a/i,
|
||||
pm: /^p/i,
|
||||
midnight: /^noktom/i,
|
||||
noon: /^t/i,
|
||||
morning: /^m/i,
|
||||
afternoon: /^posttagmeze/i,
|
||||
evening: /^v/i,
|
||||
night: /^n/i,
|
||||
},
|
||||
};
|
||||
|
||||
export const match = {
|
||||
ordinalNumber: buildMatchPatternFn({
|
||||
matchPattern: matchOrdinalNumberPattern,
|
||||
parsePattern: parseOrdinalNumberPattern,
|
||||
valueCallback: function (value) {
|
||||
return parseInt(value, 10);
|
||||
},
|
||||
}),
|
||||
|
||||
era: buildMatchFn({
|
||||
matchPatterns: matchEraPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseEraPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
quarter: buildMatchFn({
|
||||
matchPatterns: matchQuarterPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseQuarterPatterns,
|
||||
defaultParseWidth: "any",
|
||||
valueCallback: function (index) {
|
||||
return 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: "wide",
|
||||
parsePatterns: parseDayPeriodPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
};
|
||||
Reference in New Issue
Block a user