registration
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
"use strict";
|
||||
exports.formatDistance = void 0;
|
||||
|
||||
const formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
one: "أقل من ثانية",
|
||||
@@ -107,7 +110,7 @@ const formatDistanceLocale = {
|
||||
},
|
||||
};
|
||||
|
||||
export const formatDistance = (token, count, options) => {
|
||||
const formatDistance = (token, count, options) => {
|
||||
const usageGroup = formatDistanceLocale[token];
|
||||
let result;
|
||||
if (typeof usageGroup === "string") {
|
||||
@@ -132,3 +135,4 @@ export const formatDistance = (token, count, options) => {
|
||||
|
||||
return result;
|
||||
};
|
||||
exports.formatDistance = formatDistance;
|
||||
6
frontend/style/node_modules/date-fns/locale/ar-TN/_lib/formatDistance.js
generated
vendored
6
frontend/style/node_modules/date-fns/locale/ar-TN/_lib/formatDistance.js
generated
vendored
@@ -1,6 +1,3 @@
|
||||
"use strict";
|
||||
exports.formatDistance = void 0;
|
||||
|
||||
const formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
one: "أقل من ثانية",
|
||||
@@ -110,7 +107,7 @@ const formatDistanceLocale = {
|
||||
},
|
||||
};
|
||||
|
||||
const formatDistance = (token, count, options) => {
|
||||
export const formatDistance = (token, count, options) => {
|
||||
const usageGroup = formatDistanceLocale[token];
|
||||
let result;
|
||||
if (typeof usageGroup === "string") {
|
||||
@@ -135,4 +132,3 @@ const formatDistance = (token, count, options) => {
|
||||
|
||||
return result;
|
||||
};
|
||||
exports.formatDistance = formatDistance;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
||||
"use strict";
|
||||
exports.formatLong = void 0;
|
||||
var _index = require("../../_lib/buildFormatLongFn.cjs");
|
||||
|
||||
const dateFormats = {
|
||||
full: "EEEE، do MMMM y",
|
||||
@@ -21,19 +23,19 @@ const dateTimeFormats = {
|
||||
short: "{{date}}, {{time}}",
|
||||
};
|
||||
|
||||
export const formatLong = {
|
||||
date: buildFormatLongFn({
|
||||
const formatLong = (exports.formatLong = {
|
||||
date: (0, _index.buildFormatLongFn)({
|
||||
formats: dateFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
time: buildFormatLongFn({
|
||||
time: (0, _index.buildFormatLongFn)({
|
||||
formats: timeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
dateTime: buildFormatLongFn({
|
||||
dateTime: (0, _index.buildFormatLongFn)({
|
||||
formats: dateTimeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
};
|
||||
});
|
||||
14
frontend/style/node_modules/date-fns/locale/ar-TN/_lib/formatLong.js
generated
vendored
14
frontend/style/node_modules/date-fns/locale/ar-TN/_lib/formatLong.js
generated
vendored
@@ -1,6 +1,4 @@
|
||||
"use strict";
|
||||
exports.formatLong = void 0;
|
||||
var _index = require("../../_lib/buildFormatLongFn.js");
|
||||
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.js";
|
||||
|
||||
const dateFormats = {
|
||||
full: "EEEE، do MMMM y",
|
||||
@@ -23,19 +21,19 @@ const dateTimeFormats = {
|
||||
short: "{{date}}, {{time}}",
|
||||
};
|
||||
|
||||
const formatLong = (exports.formatLong = {
|
||||
date: (0, _index.buildFormatLongFn)({
|
||||
export const formatLong = {
|
||||
date: buildFormatLongFn({
|
||||
formats: dateFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
time: (0, _index.buildFormatLongFn)({
|
||||
time: buildFormatLongFn({
|
||||
formats: timeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
dateTime: (0, _index.buildFormatLongFn)({
|
||||
dateTime: buildFormatLongFn({
|
||||
formats: dateTimeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
});
|
||||
};
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
"use strict";
|
||||
exports.formatRelative = void 0;
|
||||
|
||||
const formatRelativeLocale = {
|
||||
lastWeek: "eeee 'إلي فات مع' p",
|
||||
yesterday: "'البارح مع' p",
|
||||
@@ -7,4 +10,5 @@ const formatRelativeLocale = {
|
||||
other: "P",
|
||||
};
|
||||
|
||||
export const formatRelative = (token) => formatRelativeLocale[token];
|
||||
const formatRelative = (token) => formatRelativeLocale[token];
|
||||
exports.formatRelative = formatRelative;
|
||||
6
frontend/style/node_modules/date-fns/locale/ar-TN/_lib/formatRelative.js
generated
vendored
6
frontend/style/node_modules/date-fns/locale/ar-TN/_lib/formatRelative.js
generated
vendored
@@ -1,6 +1,3 @@
|
||||
"use strict";
|
||||
exports.formatRelative = void 0;
|
||||
|
||||
const formatRelativeLocale = {
|
||||
lastWeek: "eeee 'إلي فات مع' p",
|
||||
yesterday: "'البارح مع' p",
|
||||
@@ -10,5 +7,4 @@ const formatRelativeLocale = {
|
||||
other: "P",
|
||||
};
|
||||
|
||||
const formatRelative = (token) => formatRelativeLocale[token];
|
||||
exports.formatRelative = formatRelative;
|
||||
export const formatRelative = (token) => formatRelativeLocale[token];
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.mjs";
|
||||
"use strict";
|
||||
exports.localize = void 0;
|
||||
var _index = require("../../_lib/buildLocalizeFn.cjs");
|
||||
|
||||
const eraValues = {
|
||||
narrow: ["ق", "ب"],
|
||||
@@ -129,34 +131,34 @@ const formattingDayPeriodValues = {
|
||||
|
||||
const ordinalNumber = (num) => String(num);
|
||||
|
||||
export const localize = {
|
||||
const localize = (exports.localize = {
|
||||
ordinalNumber: ordinalNumber,
|
||||
|
||||
era: buildLocalizeFn({
|
||||
era: (0, _index.buildLocalizeFn)({
|
||||
values: eraValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
quarter: buildLocalizeFn({
|
||||
quarter: (0, _index.buildLocalizeFn)({
|
||||
values: quarterValues,
|
||||
defaultWidth: "wide",
|
||||
argumentCallback: (quarter) => quarter - 1,
|
||||
}),
|
||||
|
||||
month: buildLocalizeFn({
|
||||
month: (0, _index.buildLocalizeFn)({
|
||||
values: monthValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
day: buildLocalizeFn({
|
||||
day: (0, _index.buildLocalizeFn)({
|
||||
values: dayValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
dayPeriod: buildLocalizeFn({
|
||||
dayPeriod: (0, _index.buildLocalizeFn)({
|
||||
values: dayPeriodValues,
|
||||
defaultWidth: "wide",
|
||||
formattingValues: formattingDayPeriodValues,
|
||||
defaultFormattingWidth: "wide",
|
||||
}),
|
||||
};
|
||||
});
|
||||
18
frontend/style/node_modules/date-fns/locale/ar-TN/_lib/localize.js
generated
vendored
18
frontend/style/node_modules/date-fns/locale/ar-TN/_lib/localize.js
generated
vendored
@@ -1,6 +1,4 @@
|
||||
"use strict";
|
||||
exports.localize = void 0;
|
||||
var _index = require("../../_lib/buildLocalizeFn.js");
|
||||
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.js";
|
||||
|
||||
const eraValues = {
|
||||
narrow: ["ق", "ب"],
|
||||
@@ -131,34 +129,34 @@ const formattingDayPeriodValues = {
|
||||
|
||||
const ordinalNumber = (num) => String(num);
|
||||
|
||||
const localize = (exports.localize = {
|
||||
export const localize = {
|
||||
ordinalNumber: ordinalNumber,
|
||||
|
||||
era: (0, _index.buildLocalizeFn)({
|
||||
era: buildLocalizeFn({
|
||||
values: eraValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
quarter: (0, _index.buildLocalizeFn)({
|
||||
quarter: buildLocalizeFn({
|
||||
values: quarterValues,
|
||||
defaultWidth: "wide",
|
||||
argumentCallback: (quarter) => quarter - 1,
|
||||
}),
|
||||
|
||||
month: (0, _index.buildLocalizeFn)({
|
||||
month: buildLocalizeFn({
|
||||
values: monthValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
day: (0, _index.buildLocalizeFn)({
|
||||
day: buildLocalizeFn({
|
||||
values: dayValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
dayPeriod: (0, _index.buildLocalizeFn)({
|
||||
dayPeriod: buildLocalizeFn({
|
||||
values: dayPeriodValues,
|
||||
defaultWidth: "wide",
|
||||
formattingValues: formattingDayPeriodValues,
|
||||
defaultFormattingWidth: "wide",
|
||||
}),
|
||||
});
|
||||
};
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.mjs";
|
||||
import { buildMatchFn } from "../../_lib/buildMatchFn.mjs";
|
||||
"use strict";
|
||||
exports.match = void 0;
|
||||
var _index = require("../../_lib/buildMatchPatternFn.cjs");
|
||||
var _index2 = require("../../_lib/buildMatchFn.cjs");
|
||||
|
||||
const matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
|
||||
const parseOrdinalNumberPattern = /\d+/i;
|
||||
@@ -98,21 +100,21 @@ const parseDayPeriodPatterns = {
|
||||
},
|
||||
};
|
||||
|
||||
export const match = {
|
||||
ordinalNumber: buildMatchPatternFn({
|
||||
const match = (exports.match = {
|
||||
ordinalNumber: (0, _index.buildMatchPatternFn)({
|
||||
matchPattern: matchOrdinalNumberPattern,
|
||||
parsePattern: parseOrdinalNumberPattern,
|
||||
valueCallback: (value) => parseInt(value, 10),
|
||||
}),
|
||||
|
||||
era: buildMatchFn({
|
||||
era: (0, _index2.buildMatchFn)({
|
||||
matchPatterns: matchEraPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseEraPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
quarter: buildMatchFn({
|
||||
quarter: (0, _index2.buildMatchFn)({
|
||||
matchPatterns: matchQuarterPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseQuarterPatterns,
|
||||
@@ -120,24 +122,24 @@ export const match = {
|
||||
valueCallback: (index) => index + 1,
|
||||
}),
|
||||
|
||||
month: buildMatchFn({
|
||||
month: (0, _index2.buildMatchFn)({
|
||||
matchPatterns: matchMonthPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseMonthPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
day: buildMatchFn({
|
||||
day: (0, _index2.buildMatchFn)({
|
||||
matchPatterns: matchDayPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseDayPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
dayPeriod: buildMatchFn({
|
||||
dayPeriod: (0, _index2.buildMatchFn)({
|
||||
matchPatterns: matchDayPeriodPatterns,
|
||||
defaultMatchWidth: "any",
|
||||
parsePatterns: parseDayPeriodPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
};
|
||||
});
|
||||
22
frontend/style/node_modules/date-fns/locale/ar-TN/_lib/match.js
generated
vendored
22
frontend/style/node_modules/date-fns/locale/ar-TN/_lib/match.js
generated
vendored
@@ -1,7 +1,5 @@
|
||||
"use strict";
|
||||
exports.match = void 0;
|
||||
var _index = require("../../_lib/buildMatchPatternFn.js");
|
||||
var _index2 = require("../../_lib/buildMatchFn.js");
|
||||
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.js";
|
||||
import { buildMatchFn } from "../../_lib/buildMatchFn.js";
|
||||
|
||||
const matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
|
||||
const parseOrdinalNumberPattern = /\d+/i;
|
||||
@@ -100,21 +98,21 @@ const parseDayPeriodPatterns = {
|
||||
},
|
||||
};
|
||||
|
||||
const match = (exports.match = {
|
||||
ordinalNumber: (0, _index.buildMatchPatternFn)({
|
||||
export const match = {
|
||||
ordinalNumber: buildMatchPatternFn({
|
||||
matchPattern: matchOrdinalNumberPattern,
|
||||
parsePattern: parseOrdinalNumberPattern,
|
||||
valueCallback: (value) => parseInt(value, 10),
|
||||
}),
|
||||
|
||||
era: (0, _index2.buildMatchFn)({
|
||||
era: buildMatchFn({
|
||||
matchPatterns: matchEraPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseEraPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
quarter: (0, _index2.buildMatchFn)({
|
||||
quarter: buildMatchFn({
|
||||
matchPatterns: matchQuarterPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseQuarterPatterns,
|
||||
@@ -122,24 +120,24 @@ const match = (exports.match = {
|
||||
valueCallback: (index) => index + 1,
|
||||
}),
|
||||
|
||||
month: (0, _index2.buildMatchFn)({
|
||||
month: buildMatchFn({
|
||||
matchPatterns: matchMonthPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseMonthPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
day: (0, _index2.buildMatchFn)({
|
||||
day: buildMatchFn({
|
||||
matchPatterns: matchDayPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseDayPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
dayPeriod: (0, _index2.buildMatchFn)({
|
||||
dayPeriod: buildMatchFn({
|
||||
matchPatterns: matchDayPeriodPatterns,
|
||||
defaultMatchWidth: "any",
|
||||
parsePatterns: parseDayPeriodPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
});
|
||||
};
|
||||
|
||||
1067
frontend/style/node_modules/date-fns/locale/ar-TN/cdn.js
generated
vendored
1067
frontend/style/node_modules/date-fns/locale/ar-TN/cdn.js
generated
vendored
File diff suppressed because it is too large
Load Diff
2
frontend/style/node_modules/date-fns/locale/ar-TN/cdn.js.map
generated
vendored
2
frontend/style/node_modules/date-fns/locale/ar-TN/cdn.js.map
generated
vendored
File diff suppressed because one or more lines are too long
4
frontend/style/node_modules/date-fns/locale/ar-TN/cdn.min.js
generated
vendored
4
frontend/style/node_modules/date-fns/locale/ar-TN/cdn.min.js
generated
vendored
File diff suppressed because one or more lines are too long
6
frontend/style/node_modules/date-fns/locale/ar-TN/cdn.min.js.map
generated
vendored
6
frontend/style/node_modules/date-fns/locale/ar-TN/cdn.min.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user