diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:49:28 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:49:28 -0700 |
| commit | d55b767039605256c736166a942a9138e3eacfd7 (patch) | |
| tree | 947063b634c50d438a794325f13275e134aa5993 /node_modules/date-fns/esm/locale/oc/_lib | |
| parent | 864ce67d89c77d8ef9c3361f80d619853abcf91c (diff) | |
remove dev node_modules (oops)
Diffstat (limited to 'node_modules/date-fns/esm/locale/oc/_lib')
5 files changed, 0 insertions, 363 deletions
diff --git a/node_modules/date-fns/esm/locale/oc/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/oc/_lib/formatDistance/index.js deleted file mode 100644 index 06dc495..0000000 --- a/node_modules/date-fns/esm/locale/oc/_lib/formatDistance/index.js +++ /dev/null @@ -1,83 +0,0 @@ -var formatDistanceLocale = { - lessThanXSeconds: { - one: 'mens d’una segonda', - other: 'mens de {{count}} segondas' - }, - xSeconds: { - one: '1 segonda', - other: '{{count}} segondas' - }, - halfAMinute: '30 segondas', - lessThanXMinutes: { - one: 'mens d’una minuta', - other: 'mens de {{count}} minutas' - }, - xMinutes: { - one: '1 minuta', - other: '{{count}} minutas' - }, - aboutXHours: { - one: 'environ 1 ora', - other: 'environ {{count}} oras' - }, - xHours: { - one: '1 ora', - other: '{{count}} oras' - }, - xDays: { - one: '1 jorn', - other: '{{count}} jorns' - }, - aboutXWeeks: { - one: 'environ 1 setmana', - other: 'environ {{count}} setmanas' - }, - xWeeks: { - one: '1 setmana', - other: '{{count}} setmanas' - }, - aboutXMonths: { - one: 'environ 1 mes', - other: 'environ {{count}} meses' - }, - xMonths: { - one: '1 mes', - other: '{{count}} meses' - }, - aboutXYears: { - one: 'environ 1 an', - other: 'environ {{count}} ans' - }, - xYears: { - one: '1 an', - other: '{{count}} ans' - }, - overXYears: { - one: 'mai d’un an', - other: 'mai de {{count}} ans' - }, - almostXYears: { - one: 'gaireben un an', - other: 'gaireben {{count}} ans' - } -}; -var formatDistance = function formatDistance(token, count, options) { - var result; - var 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 !== null && options !== void 0 && options.addSuffix) { - if (options.comparison && options.comparison > 0) { - return 'd’aquí ' + result; - } else { - return 'fa ' + result; - } - } - return result; -}; -export default formatDistance;
\ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/oc/_lib/formatLong/index.js deleted file mode 100644 index 982dd7d..0000000 --- a/node_modules/date-fns/esm/locale/oc/_lib/formatLong/index.js +++ /dev/null @@ -1,34 +0,0 @@ -import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; -var dateFormats = { - full: "EEEE d 'de' MMMM y", - long: "d 'de' MMMM y", - medium: 'd MMM y', - short: 'dd/MM/y' -}; -var timeFormats = { - full: 'HH:mm:ss zzzz', - long: 'HH:mm:ss z', - medium: 'HH:mm:ss', - short: 'HH:mm' -}; -var dateTimeFormats = { - full: "{{date}} 'a' {{time}}", - long: "{{date}} 'a' {{time}}", - medium: '{{date}}, {{time}}', - short: '{{date}}, {{time}}' -}; -var formatLong = { - date: buildFormatLongFn({ - formats: dateFormats, - defaultWidth: 'full' - }), - time: buildFormatLongFn({ - formats: timeFormats, - defaultWidth: 'full' - }), - dateTime: buildFormatLongFn({ - formats: dateTimeFormats, - defaultWidth: 'full' - }) -}; -export default formatLong;
\ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/oc/_lib/formatRelative/index.js deleted file mode 100644 index 93942a9..0000000 --- a/node_modules/date-fns/esm/locale/oc/_lib/formatRelative/index.js +++ /dev/null @@ -1,12 +0,0 @@ -var formatRelativeLocale = { - lastWeek: "eeee 'passat a' p", - yesterday: "'ièr a' p", - today: "'uèi a' p", - tomorrow: "'deman a' p", - nextWeek: "eeee 'a' p", - other: 'P' -}; -var formatRelative = function formatRelative(token, _date, _baseDate, _options) { - return formatRelativeLocale[token]; -}; -export default formatRelative;
\ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/_lib/localize/index.js b/node_modules/date-fns/esm/locale/oc/_lib/localize/index.js deleted file mode 100644 index 0637ce0..0000000 --- a/node_modules/date-fns/esm/locale/oc/_lib/localize/index.js +++ /dev/null @@ -1,136 +0,0 @@ -import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js"; -var eraValues = { - narrow: ['ab. J.C.', 'apr. J.C.'], - abbreviated: ['ab. J.C.', 'apr. J.C.'], - wide: ['abans Jèsus-Crist', 'après Jèsus-Crist'] -}; -var quarterValues = { - narrow: ['T1', 'T2', 'T3', 'T4'], - abbreviated: ['1èr trim.', '2nd trim.', '3en trim.', '4en trim.'], - wide: ['1èr trimèstre', '2nd trimèstre', '3en trimèstre', '4en trimèstre'] -}; -var monthValues = { - narrow: ['GN', 'FB', 'MÇ', 'AB', 'MA', 'JN', 'JL', 'AG', 'ST', 'OC', 'NV', 'DC'], - abbreviated: ['gen.', 'febr.', 'març', 'abr.', 'mai', 'junh', 'jul.', 'ag.', 'set.', 'oct.', 'nov.', 'dec.'], - wide: ['genièr', 'febrièr', 'març', 'abril', 'mai', 'junh', 'julhet', 'agost', 'setembre', 'octòbre', 'novembre', 'decembre'] -}; -var dayValues = { - narrow: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'], - short: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'], - abbreviated: ['dg.', 'dl.', 'dm.', 'dc.', 'dj.', 'dv.', 'ds.'], - wide: ['dimenge', 'diluns', 'dimars', 'dimècres', 'dijòus', 'divendres', 'dissabte'] -}; -var dayPeriodValues = { - narrow: { - am: 'am', - pm: 'pm', - midnight: 'mièjanuèch', - noon: 'miègjorn', - morning: 'matin', - afternoon: 'aprèp-miègjorn', - evening: 'vèspre', - night: 'nuèch' - }, - abbreviated: { - am: 'a.m.', - pm: 'p.m.', - midnight: 'mièjanuèch', - noon: 'miègjorn', - morning: 'matin', - afternoon: 'aprèp-miègjorn', - evening: 'vèspre', - night: 'nuèch' - }, - wide: { - am: 'a.m.', - pm: 'p.m.', - midnight: 'mièjanuèch', - noon: 'miègjorn', - morning: 'matin', - afternoon: 'aprèp-miègjorn', - evening: 'vèspre', - night: 'nuèch' - } -}; -var formattingDayPeriodValues = { - narrow: { - am: 'am', - pm: 'pm', - midnight: 'mièjanuèch', - noon: 'miègjorn', - morning: 'del matin', - afternoon: 'de l’aprèp-miègjorn', - evening: 'del ser', - night: 'de la nuèch' - }, - abbreviated: { - am: 'AM', - pm: 'PM', - midnight: 'mièjanuèch', - noon: 'miègjorn', - morning: 'del matin', - afternoon: 'de l’aprèp-miègjorn', - evening: 'del ser', - night: 'de la nuèch' - }, - wide: { - am: 'ante meridiem', - pm: 'post meridiem', - midnight: 'mièjanuèch', - noon: 'miègjorn', - morning: 'del matin', - afternoon: 'de l’aprèp-miègjorn', - evening: 'del ser', - night: 'de la nuèch' - } -}; -var ordinalNumber = function ordinalNumber(dirtyNumber, options) { - var number = Number(dirtyNumber); - var unit = options === null || options === void 0 ? void 0 : options.unit; - var ordinal; - switch (number) { - case 1: - ordinal = 'èr'; - break; - case 2: - ordinal = 'nd'; - break; - default: - ordinal = 'en'; - } - - // feminine for year, week, hour, minute, second - if (unit === 'year' || unit === 'week' || unit === 'hour' || unit === 'minute' || unit === 'second') { - ordinal += 'a'; - } - return number + ordinal; -}; -var localize = { - ordinalNumber: ordinalNumber, - era: buildLocalizeFn({ - values: eraValues, - defaultWidth: 'wide' - }), - quarter: buildLocalizeFn({ - values: quarterValues, - defaultWidth: 'wide', - argumentCallback: function argumentCallback(quarter) { - return quarter - 1; - } - }), - month: buildLocalizeFn({ - values: monthValues, - defaultWidth: 'wide' - }), - day: buildLocalizeFn({ - values: dayValues, - defaultWidth: 'wide' - }), - dayPeriod: buildLocalizeFn({ - values: dayPeriodValues, - defaultWidth: 'wide', - formattingValues: formattingDayPeriodValues, - defaultFormattingWidth: 'wide' - }) -}; -export default localize;
\ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/oc/_lib/match/index.js b/node_modules/date-fns/esm/locale/oc/_lib/match/index.js deleted file mode 100644 index 887d98d..0000000 --- a/node_modules/date-fns/esm/locale/oc/_lib/match/index.js +++ /dev/null @@ -1,98 +0,0 @@ -import buildMatchFn from "../../../_lib/buildMatchFn/index.js"; -import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js"; -var matchOrdinalNumberPattern = /^(\d+)(èr|nd|en)?[a]?/i; -var parseOrdinalNumberPattern = /\d+/i; -var matchEraPatterns = { - narrow: /^(ab\.J\.C|apr\.J\.C|apr\.J\.-C)/i, - abbreviated: /^(ab\.J\.-C|ab\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i, - wide: /^(abans Jèsus-Crist|après Jèsus-Crist)/i -}; -var parseEraPatterns = { - any: [/^ab/i, /^ap/i] -}; -var matchQuarterPatterns = { - narrow: /^T[1234]/i, - abbreviated: /^[1234](èr|nd|en)? trim\.?/i, - wide: /^[1234](èr|nd|en)? trimèstre/i -}; -var parseQuarterPatterns = { - any: [/1/i, /2/i, /3/i, /4/i] -}; -var matchMonthPatterns = { - narrow: /^(GN|FB|MÇ|AB|MA|JN|JL|AG|ST|OC|NV|DC)/i, - abbreviated: /^(gen|febr|març|abr|mai|junh|jul|ag|set|oct|nov|dec)\.?/i, - wide: /^(genièr|febrièr|març|abril|mai|junh|julhet|agost|setembre|octòbre|novembre|decembre)/i -}; -var parseMonthPatterns = { - any: [/^g/i, /^f/i, /^ma[r?]|MÇ/i, /^ab/i, /^ma[i?]/i, /^ju[n?]|JN/i, /^ju[l?]|JL/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i] -}; -var matchDayPatterns = { - narrow: /^d[glmcjvs]\.?/i, - short: /^d[glmcjvs]\.?/i, - abbreviated: /^d[glmcjvs]\.?/i, - wide: /^(dimenge|diluns|dimars|dimècres|dijòus|divendres|dissabte)/i -}; -var parseDayPatterns = { - narrow: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i], - short: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i], - abbreviated: [/^dg/i, /^dl/i, /^dm/i, /^dc/i, /^dj/i, /^dv/i, /^ds/i], - any: [/^dg|dime/i, /^dl|dil/i, /^dm|dima/i, /^dc|dimè/i, /^dj|dij/i, /^dv|div/i, /^ds|dis/i] -}; -var matchDayPeriodPatterns = { - any: /(^(a\.?m|p\.?m))|(ante meridiem|post meridiem)|((del |de la |de l’)(matin|aprèp-miègjorn|vèspre|ser|nuèch))/i -}; -var parseDayPeriodPatterns = { - any: { - am: /(^a)|ante meridiem/i, - pm: /(^p)|post meridiem/i, - midnight: /^mièj/i, - noon: /^mièg/i, - morning: /matin/i, - afternoon: /aprèp-miègjorn/i, - evening: /vèspre|ser/i, - night: /nuèch/i - } -}; -var match = { - ordinalNumber: buildMatchPatternFn({ - matchPattern: matchOrdinalNumberPattern, - parsePattern: parseOrdinalNumberPattern, - valueCallback: function valueCallback(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 valueCallback(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: 'any', - parsePatterns: parseDayPeriodPatterns, - defaultParseWidth: 'any' - }) -}; -export default match;
\ No newline at end of file |
