Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
302
VApp/node_modules/date-fns/locale/cs/_lib/formatDistance/index.js
generated
vendored
Normal file
302
VApp/node_modules/date-fns/locale/cs/_lib/formatDistance/index.js
generated
vendored
Normal file
@ -0,0 +1,302 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
one: {
|
||||
regular: 'méně než sekunda',
|
||||
past: 'před méně než sekundou',
|
||||
future: 'za méně než sekundu'
|
||||
},
|
||||
few: {
|
||||
regular: 'méně než {{count}} sekundy',
|
||||
past: 'před méně než {{count}} sekundami',
|
||||
future: 'za méně než {{count}} sekundy'
|
||||
},
|
||||
many: {
|
||||
regular: 'méně než {{count}} sekund',
|
||||
past: 'před méně než {{count}} sekundami',
|
||||
future: 'za méně než {{count}} sekund'
|
||||
}
|
||||
},
|
||||
xSeconds: {
|
||||
one: {
|
||||
regular: 'sekunda',
|
||||
past: 'před sekundou',
|
||||
future: 'za sekundu'
|
||||
},
|
||||
few: {
|
||||
regular: '{{count}} sekundy',
|
||||
past: 'před {{count}} sekundami',
|
||||
future: 'za {{count}} sekundy'
|
||||
},
|
||||
many: {
|
||||
regular: '{{count}} sekund',
|
||||
past: 'před {{count}} sekundami',
|
||||
future: 'za {{count}} sekund'
|
||||
}
|
||||
},
|
||||
halfAMinute: {
|
||||
type: 'other',
|
||||
other: {
|
||||
regular: 'půl minuty',
|
||||
past: 'před půl minutou',
|
||||
future: 'za půl minuty'
|
||||
}
|
||||
},
|
||||
lessThanXMinutes: {
|
||||
one: {
|
||||
regular: 'méně než minuta',
|
||||
past: 'před méně než minutou',
|
||||
future: 'za méně než minutu'
|
||||
},
|
||||
few: {
|
||||
regular: 'méně než {{count}} minuty',
|
||||
past: 'před méně než {{count}} minutami',
|
||||
future: 'za méně než {{count}} minuty'
|
||||
},
|
||||
many: {
|
||||
regular: 'méně než {{count}} minut',
|
||||
past: 'před méně než {{count}} minutami',
|
||||
future: 'za méně než {{count}} minut'
|
||||
}
|
||||
},
|
||||
xMinutes: {
|
||||
one: {
|
||||
regular: 'minuta',
|
||||
past: 'před minutou',
|
||||
future: 'za minutu'
|
||||
},
|
||||
few: {
|
||||
regular: '{{count}} minuty',
|
||||
past: 'před {{count}} minutami',
|
||||
future: 'za {{count}} minuty'
|
||||
},
|
||||
many: {
|
||||
regular: '{{count}} minut',
|
||||
past: 'před {{count}} minutami',
|
||||
future: 'za {{count}} minut'
|
||||
}
|
||||
},
|
||||
aboutXHours: {
|
||||
one: {
|
||||
regular: 'přibližně hodina',
|
||||
past: 'přibližně před hodinou',
|
||||
future: 'přibližně za hodinu'
|
||||
},
|
||||
few: {
|
||||
regular: 'přibližně {{count}} hodiny',
|
||||
past: 'přibližně před {{count}} hodinami',
|
||||
future: 'přibližně za {{count}} hodiny'
|
||||
},
|
||||
many: {
|
||||
regular: 'přibližně {{count}} hodin',
|
||||
past: 'přibližně před {{count}} hodinami',
|
||||
future: 'přibližně za {{count}} hodin'
|
||||
}
|
||||
},
|
||||
xHours: {
|
||||
one: {
|
||||
regular: 'hodina',
|
||||
past: 'před hodinou',
|
||||
future: 'za hodinu'
|
||||
},
|
||||
few: {
|
||||
regular: '{{count}} hodiny',
|
||||
past: 'před {{count}} hodinami',
|
||||
future: 'za {{count}} hodiny'
|
||||
},
|
||||
many: {
|
||||
regular: '{{count}} hodin',
|
||||
past: 'před {{count}} hodinami',
|
||||
future: 'za {{count}} hodin'
|
||||
}
|
||||
},
|
||||
xDays: {
|
||||
one: {
|
||||
regular: 'den',
|
||||
past: 'před dnem',
|
||||
future: 'za den'
|
||||
},
|
||||
few: {
|
||||
regular: '{{count}} dny',
|
||||
past: 'před {{count}} dny',
|
||||
future: 'za {{count}} dny'
|
||||
},
|
||||
many: {
|
||||
regular: '{{count}} dní',
|
||||
past: 'před {{count}} dny',
|
||||
future: 'za {{count}} dní'
|
||||
}
|
||||
},
|
||||
aboutXWeeks: {
|
||||
one: {
|
||||
regular: 'přibližně týden',
|
||||
past: 'přibližně před týdnem',
|
||||
future: 'přibližně za týden'
|
||||
},
|
||||
few: {
|
||||
regular: 'přibližně {{count}} týdny',
|
||||
past: 'přibližně před {{count}} týdny',
|
||||
future: 'přibližně za {{count}} týdny'
|
||||
},
|
||||
many: {
|
||||
regular: 'přibližně {{count}} týdnů',
|
||||
past: 'přibližně před {{count}} týdny',
|
||||
future: 'přibližně za {{count}} týdnů'
|
||||
}
|
||||
},
|
||||
xWeeks: {
|
||||
one: {
|
||||
regular: 'týden',
|
||||
past: 'před týdnem',
|
||||
future: 'za týden'
|
||||
},
|
||||
few: {
|
||||
regular: '{{count}} týdny',
|
||||
past: 'před {{count}} týdny',
|
||||
future: 'za {{count}} týdny'
|
||||
},
|
||||
many: {
|
||||
regular: '{{count}} týdnů',
|
||||
past: 'před {{count}} týdny',
|
||||
future: 'za {{count}} týdnů'
|
||||
}
|
||||
},
|
||||
aboutXMonths: {
|
||||
one: {
|
||||
regular: 'přibližně měsíc',
|
||||
past: 'přibližně před měsícem',
|
||||
future: 'přibližně za měsíc'
|
||||
},
|
||||
few: {
|
||||
regular: 'přibližně {{count}} měsíce',
|
||||
past: 'přibližně před {{count}} měsíci',
|
||||
future: 'přibližně za {{count}} měsíce'
|
||||
},
|
||||
many: {
|
||||
regular: 'přibližně {{count}} měsíců',
|
||||
past: 'přibližně před {{count}} měsíci',
|
||||
future: 'přibližně za {{count}} měsíců'
|
||||
}
|
||||
},
|
||||
xMonths: {
|
||||
one: {
|
||||
regular: 'měsíc',
|
||||
past: 'před měsícem',
|
||||
future: 'za měsíc'
|
||||
},
|
||||
few: {
|
||||
regular: '{{count}} měsíce',
|
||||
past: 'před {{count}} měsíci',
|
||||
future: 'za {{count}} měsíce'
|
||||
},
|
||||
many: {
|
||||
regular: '{{count}} měsíců',
|
||||
past: 'před {{count}} měsíci',
|
||||
future: 'za {{count}} měsíců'
|
||||
}
|
||||
},
|
||||
aboutXYears: {
|
||||
one: {
|
||||
regular: 'přibližně rok',
|
||||
past: 'přibližně před rokem',
|
||||
future: 'přibližně za rok'
|
||||
},
|
||||
few: {
|
||||
regular: 'přibližně {{count}} roky',
|
||||
past: 'přibližně před {{count}} roky',
|
||||
future: 'přibližně za {{count}} roky'
|
||||
},
|
||||
many: {
|
||||
regular: 'přibližně {{count}} roků',
|
||||
past: 'přibližně před {{count}} roky',
|
||||
future: 'přibližně za {{count}} roků'
|
||||
}
|
||||
},
|
||||
xYears: {
|
||||
one: {
|
||||
regular: 'rok',
|
||||
past: 'před rokem',
|
||||
future: 'za rok'
|
||||
},
|
||||
few: {
|
||||
regular: '{{count}} roky',
|
||||
past: 'před {{count}} roky',
|
||||
future: 'za {{count}} roky'
|
||||
},
|
||||
many: {
|
||||
regular: '{{count}} roků',
|
||||
past: 'před {{count}} roky',
|
||||
future: 'za {{count}} roků'
|
||||
}
|
||||
},
|
||||
overXYears: {
|
||||
one: {
|
||||
regular: 'více než rok',
|
||||
past: 'před více než rokem',
|
||||
future: 'za více než rok'
|
||||
},
|
||||
few: {
|
||||
regular: 'více než {{count}} roky',
|
||||
past: 'před více než {{count}} roky',
|
||||
future: 'za více než {{count}} roky'
|
||||
},
|
||||
many: {
|
||||
regular: 'více než {{count}} roků',
|
||||
past: 'před více než {{count}} roky',
|
||||
future: 'za více než {{count}} roků'
|
||||
}
|
||||
},
|
||||
almostXYears: {
|
||||
one: {
|
||||
regular: 'skoro rok',
|
||||
past: 'skoro před rokem',
|
||||
future: 'skoro za rok'
|
||||
},
|
||||
few: {
|
||||
regular: 'skoro {{count}} roky',
|
||||
past: 'skoro před {{count}} roky',
|
||||
future: 'skoro za {{count}} roky'
|
||||
},
|
||||
many: {
|
||||
regular: 'skoro {{count}} roků',
|
||||
past: 'skoro před {{count}} roky',
|
||||
future: 'skoro za {{count}} roků'
|
||||
}
|
||||
}
|
||||
};
|
||||
var formatDistance = function formatDistance(token, count, options) {
|
||||
var pluralResult;
|
||||
var tokenValue = formatDistanceLocale[token];
|
||||
|
||||
// cs pluralization
|
||||
if (tokenValue.type === 'other') {
|
||||
pluralResult = tokenValue.other;
|
||||
} else if (count === 1) {
|
||||
pluralResult = tokenValue.one;
|
||||
} else if (count > 1 && count < 5) {
|
||||
pluralResult = tokenValue.few;
|
||||
} else {
|
||||
pluralResult = tokenValue.many;
|
||||
}
|
||||
|
||||
// times
|
||||
var suffixExist = (options === null || options === void 0 ? void 0 : options.addSuffix) === true;
|
||||
var comparison = options === null || options === void 0 ? void 0 : options.comparison;
|
||||
var timeResult;
|
||||
if (suffixExist && comparison === -1) {
|
||||
timeResult = pluralResult.past;
|
||||
} else if (suffixExist && comparison === 1) {
|
||||
timeResult = pluralResult.future;
|
||||
} else {
|
||||
timeResult = pluralResult.regular;
|
||||
}
|
||||
return timeResult.replace('{{count}}', String(count));
|
||||
};
|
||||
var _default = formatDistance;
|
||||
exports.default = _default;
|
||||
module.exports = exports.default;
|
43
VApp/node_modules/date-fns/locale/cs/_lib/formatLong/index.js
generated
vendored
Normal file
43
VApp/node_modules/date-fns/locale/cs/_lib/formatLong/index.js
generated
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js"));
|
||||
var dateFormats = {
|
||||
full: 'EEEE, d. MMMM yyyy',
|
||||
long: 'd. MMMM yyyy',
|
||||
medium: 'd. M. yyyy',
|
||||
short: 'dd.MM.yyyy'
|
||||
};
|
||||
var timeFormats = {
|
||||
full: 'H:mm:ss zzzz',
|
||||
long: 'H:mm:ss z',
|
||||
medium: 'H:mm:ss',
|
||||
short: 'H:mm'
|
||||
};
|
||||
var dateTimeFormats = {
|
||||
full: "{{date}} 'v' {{time}}",
|
||||
long: "{{date}} 'v' {{time}}",
|
||||
medium: '{{date}}, {{time}}',
|
||||
short: '{{date}}, {{time}}'
|
||||
};
|
||||
var formatLong = {
|
||||
date: (0, _index.default)({
|
||||
formats: dateFormats,
|
||||
defaultWidth: 'full'
|
||||
}),
|
||||
time: (0, _index.default)({
|
||||
formats: timeFormats,
|
||||
defaultWidth: 'full'
|
||||
}),
|
||||
dateTime: (0, _index.default)({
|
||||
formats: dateTimeFormats,
|
||||
defaultWidth: 'full'
|
||||
})
|
||||
};
|
||||
var _default = formatLong;
|
||||
exports.default = _default;
|
||||
module.exports = exports.default;
|
28
VApp/node_modules/date-fns/locale/cs/_lib/formatRelative/index.js
generated
vendored
Normal file
28
VApp/node_modules/date-fns/locale/cs/_lib/formatRelative/index.js
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var accusativeWeekdays = ['neděli', 'pondělí', 'úterý', 'středu', 'čtvrtek', 'pátek', 'sobotu'];
|
||||
var formatRelativeLocale = {
|
||||
lastWeek: "'poslední' eeee 've' p",
|
||||
yesterday: "'včera v' p",
|
||||
today: "'dnes v' p",
|
||||
tomorrow: "'zítra v' p",
|
||||
nextWeek: function nextWeek(date) {
|
||||
var day = date.getUTCDay();
|
||||
return "'v " + accusativeWeekdays[day] + " o' p";
|
||||
},
|
||||
other: 'P'
|
||||
};
|
||||
var formatRelative = function formatRelative(token, date) {
|
||||
var format = formatRelativeLocale[token];
|
||||
if (typeof format === 'function') {
|
||||
return format(date);
|
||||
}
|
||||
return format;
|
||||
};
|
||||
var _default = formatRelative;
|
||||
exports.default = _default;
|
||||
module.exports = exports.default;
|
135
VApp/node_modules/date-fns/locale/cs/_lib/localize/index.js
generated
vendored
Normal file
135
VApp/node_modules/date-fns/locale/cs/_lib/localize/index.js
generated
vendored
Normal file
@ -0,0 +1,135 @@
|
||||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js"));
|
||||
var eraValues = {
|
||||
narrow: ['př. n. l.', 'n. l.'],
|
||||
abbreviated: ['př. n. l.', 'n. l.'],
|
||||
wide: ['před naším letopočtem', 'našeho letopočtu']
|
||||
};
|
||||
var quarterValues = {
|
||||
narrow: ['1', '2', '3', '4'],
|
||||
abbreviated: ['1. čtvrtletí', '2. čtvrtletí', '3. čtvrtletí', '4. čtvrtletí'],
|
||||
wide: ['1. čtvrtletí', '2. čtvrtletí', '3. čtvrtletí', '4. čtvrtletí']
|
||||
};
|
||||
var monthValues = {
|
||||
narrow: ['L', 'Ú', 'B', 'D', 'K', 'Č', 'Č', 'S', 'Z', 'Ř', 'L', 'P'],
|
||||
abbreviated: ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'],
|
||||
wide: ['leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen', 'listopad', 'prosinec']
|
||||
};
|
||||
var formattingMonthValues = {
|
||||
narrow: ['L', 'Ú', 'B', 'D', 'K', 'Č', 'Č', 'S', 'Z', 'Ř', 'L', 'P'],
|
||||
abbreviated: ['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'],
|
||||
wide: ['ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', 'září', 'října', 'listopadu', 'prosince']
|
||||
};
|
||||
var dayValues = {
|
||||
narrow: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
|
||||
short: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
|
||||
abbreviated: ['ned', 'pon', 'úte', 'stř', 'čtv', 'pát', 'sob'],
|
||||
wide: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota']
|
||||
};
|
||||
var dayPeriodValues = {
|
||||
narrow: {
|
||||
am: 'dop.',
|
||||
pm: 'odp.',
|
||||
midnight: 'půlnoc',
|
||||
noon: 'poledne',
|
||||
morning: 'ráno',
|
||||
afternoon: 'odpoledne',
|
||||
evening: 'večer',
|
||||
night: 'noc'
|
||||
},
|
||||
abbreviated: {
|
||||
am: 'dop.',
|
||||
pm: 'odp.',
|
||||
midnight: 'půlnoc',
|
||||
noon: 'poledne',
|
||||
morning: 'ráno',
|
||||
afternoon: 'odpoledne',
|
||||
evening: 'večer',
|
||||
night: 'noc'
|
||||
},
|
||||
wide: {
|
||||
am: 'dopoledne',
|
||||
pm: 'odpoledne',
|
||||
midnight: 'půlnoc',
|
||||
noon: 'poledne',
|
||||
morning: 'ráno',
|
||||
afternoon: 'odpoledne',
|
||||
evening: 'večer',
|
||||
night: 'noc'
|
||||
}
|
||||
};
|
||||
var formattingDayPeriodValues = {
|
||||
narrow: {
|
||||
am: 'dop.',
|
||||
pm: 'odp.',
|
||||
midnight: 'půlnoc',
|
||||
noon: 'poledne',
|
||||
morning: 'ráno',
|
||||
afternoon: 'odpoledne',
|
||||
evening: 'večer',
|
||||
night: 'noc'
|
||||
},
|
||||
abbreviated: {
|
||||
am: 'dop.',
|
||||
pm: 'odp.',
|
||||
midnight: 'půlnoc',
|
||||
noon: 'poledne',
|
||||
morning: 'ráno',
|
||||
afternoon: 'odpoledne',
|
||||
evening: 'večer',
|
||||
night: 'noc'
|
||||
},
|
||||
wide: {
|
||||
am: 'dopoledne',
|
||||
pm: 'odpoledne',
|
||||
midnight: 'půlnoc',
|
||||
noon: 'poledne',
|
||||
morning: 'ráno',
|
||||
afternoon: 'odpoledne',
|
||||
evening: 'večer',
|
||||
night: 'noc'
|
||||
}
|
||||
};
|
||||
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
|
||||
var number = Number(dirtyNumber);
|
||||
return number + '.';
|
||||
};
|
||||
var localize = {
|
||||
ordinalNumber: ordinalNumber,
|
||||
era: (0, _index.default)({
|
||||
values: eraValues,
|
||||
defaultWidth: 'wide'
|
||||
}),
|
||||
quarter: (0, _index.default)({
|
||||
values: quarterValues,
|
||||
defaultWidth: 'wide',
|
||||
argumentCallback: function argumentCallback(quarter) {
|
||||
return quarter - 1;
|
||||
}
|
||||
}),
|
||||
month: (0, _index.default)({
|
||||
values: monthValues,
|
||||
defaultWidth: 'wide',
|
||||
formattingValues: formattingMonthValues,
|
||||
defaultFormattingWidth: 'wide'
|
||||
}),
|
||||
day: (0, _index.default)({
|
||||
values: dayValues,
|
||||
defaultWidth: 'wide'
|
||||
}),
|
||||
dayPeriod: (0, _index.default)({
|
||||
values: dayPeriodValues,
|
||||
defaultWidth: 'wide',
|
||||
formattingValues: formattingDayPeriodValues,
|
||||
defaultFormattingWidth: 'wide'
|
||||
})
|
||||
};
|
||||
var _default = localize;
|
||||
exports.default = _default;
|
||||
module.exports = exports.default;
|
106
VApp/node_modules/date-fns/locale/cs/_lib/match/index.js
generated
vendored
Normal file
106
VApp/node_modules/date-fns/locale/cs/_lib/match/index.js
generated
vendored
Normal file
@ -0,0 +1,106 @@
|
||||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js"));
|
||||
var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js"));
|
||||
var matchOrdinalNumberPattern = /^(\d+)\.?/i;
|
||||
var parseOrdinalNumberPattern = /\d+/i;
|
||||
var matchEraPatterns = {
|
||||
narrow: /^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,
|
||||
abbreviated: /^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,
|
||||
wide: /^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i
|
||||
};
|
||||
var parseEraPatterns = {
|
||||
any: [/^p[řr]/i, /^(po|n)/i]
|
||||
};
|
||||
var matchQuarterPatterns = {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^[1234]\. [čc]tvrtlet[íi]/i,
|
||||
wide: /^[1234]\. [čc]tvrtlet[íi]/i
|
||||
};
|
||||
var parseQuarterPatterns = {
|
||||
any: [/1/i, /2/i, /3/i, /4/i]
|
||||
};
|
||||
var matchMonthPatterns = {
|
||||
narrow: /^[lúubdkčcszřrlp]/i,
|
||||
abbreviated: /^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,
|
||||
wide: /^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i
|
||||
};
|
||||
var parseMonthPatterns = {
|
||||
narrow: [/^l/i, /^[úu]/i, /^b/i, /^d/i, /^k/i, /^[čc]/i, /^[čc]/i, /^s/i, /^z/i, /^[řr]/i, /^l/i, /^p/i],
|
||||
any: [/^led/i, /^[úu]n/i, /^b[řr]e/i, /^dub/i, /^kv[ěe]/i, /^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i, /^[čc]vc|[čc]erven(ec|ce)/i, /^srp/i, /^z[áa][řr]/i, /^[řr][íi]j/i, /^lis/i, /^pro/i]
|
||||
};
|
||||
var matchDayPatterns = {
|
||||
narrow: /^[npuúsčps]/i,
|
||||
short: /^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,
|
||||
abbreviated: /^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,
|
||||
wide: /^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i
|
||||
};
|
||||
var parseDayPatterns = {
|
||||
narrow: [/^n/i, /^p/i, /^[úu]/i, /^s/i, /^[čc]/i, /^p/i, /^s/i],
|
||||
any: [/^ne/i, /^po/i, /^[úu]t/i, /^st/i, /^[čc]t/i, /^p[áa]/i, /^so/i]
|
||||
};
|
||||
var matchDayPeriodPatterns = {
|
||||
any: /^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i
|
||||
};
|
||||
var parseDayPeriodPatterns = {
|
||||
any: {
|
||||
am: /^dop/i,
|
||||
pm: /^odp/i,
|
||||
midnight: /^p[ůu]lnoc/i,
|
||||
noon: /^poledne/i,
|
||||
morning: /r[áa]no/i,
|
||||
afternoon: /odpoledne/i,
|
||||
evening: /ve[čc]er/i,
|
||||
night: /noc/i
|
||||
}
|
||||
};
|
||||
var match = {
|
||||
ordinalNumber: (0, _index2.default)({
|
||||
matchPattern: matchOrdinalNumberPattern,
|
||||
parsePattern: parseOrdinalNumberPattern,
|
||||
valueCallback: function valueCallback(value) {
|
||||
return parseInt(value, 10);
|
||||
}
|
||||
}),
|
||||
era: (0, _index.default)({
|
||||
matchPatterns: matchEraPatterns,
|
||||
defaultMatchWidth: 'wide',
|
||||
parsePatterns: parseEraPatterns,
|
||||
defaultParseWidth: 'any'
|
||||
}),
|
||||
quarter: (0, _index.default)({
|
||||
matchPatterns: matchQuarterPatterns,
|
||||
defaultMatchWidth: 'wide',
|
||||
parsePatterns: parseQuarterPatterns,
|
||||
defaultParseWidth: 'any',
|
||||
valueCallback: function valueCallback(index) {
|
||||
return index + 1;
|
||||
}
|
||||
}),
|
||||
month: (0, _index.default)({
|
||||
matchPatterns: matchMonthPatterns,
|
||||
defaultMatchWidth: 'wide',
|
||||
parsePatterns: parseMonthPatterns,
|
||||
defaultParseWidth: 'any'
|
||||
}),
|
||||
day: (0, _index.default)({
|
||||
matchPatterns: matchDayPatterns,
|
||||
defaultMatchWidth: 'wide',
|
||||
parsePatterns: parseDayPatterns,
|
||||
defaultParseWidth: 'any'
|
||||
}),
|
||||
dayPeriod: (0, _index.default)({
|
||||
matchPatterns: matchDayPeriodPatterns,
|
||||
defaultMatchWidth: 'any',
|
||||
parsePatterns: parseDayPeriodPatterns,
|
||||
defaultParseWidth: 'any'
|
||||
})
|
||||
};
|
||||
var _default = match;
|
||||
exports.default = _default;
|
||||
module.exports = exports.default;
|
4
VApp/node_modules/date-fns/locale/cs/index.d.ts
generated
vendored
Normal file
4
VApp/node_modules/date-fns/locale/cs/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
|
||||
|
||||
import { cs } from 'date-fns/locale'
|
||||
export default cs
|
37
VApp/node_modules/date-fns/locale/cs/index.js
generated
vendored
Normal file
37
VApp/node_modules/date-fns/locale/cs/index.js
generated
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js"));
|
||||
var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js"));
|
||||
var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js"));
|
||||
var _index4 = _interopRequireDefault(require("./_lib/localize/index.js"));
|
||||
var _index5 = _interopRequireDefault(require("./_lib/match/index.js"));
|
||||
/**
|
||||
* @type {Locale}
|
||||
* @category Locales
|
||||
* @summary Czech locale.
|
||||
* @language Czech
|
||||
* @iso-639-2 ces
|
||||
* @author David Rus [@davidrus]{@link https://github.com/davidrus}
|
||||
* @author Pavel Hrách [@SilenY]{@link https://github.com/SilenY}
|
||||
* @author Jozef Bíroš [@JozefBiros]{@link https://github.com/JozefBiros}
|
||||
*/
|
||||
var locale = {
|
||||
code: 'cs',
|
||||
formatDistance: _index.default,
|
||||
formatLong: _index2.default,
|
||||
formatRelative: _index3.default,
|
||||
localize: _index4.default,
|
||||
match: _index5.default,
|
||||
options: {
|
||||
weekStartsOn: 1 /* Monday */,
|
||||
firstWeekContainsDate: 4
|
||||
}
|
||||
};
|
||||
var _default = locale;
|
||||
exports.default = _default;
|
||||
module.exports = exports.default;
|
35
VApp/node_modules/date-fns/locale/cs/index.js.flow
generated
vendored
Normal file
35
VApp/node_modules/date-fns/locale/cs/index.js.flow
generated
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
// @flow
|
||||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
|
||||
|
||||
export type Locale = {
|
||||
code?: string,
|
||||
formatDistance?: (...args: Array<any>) => any,
|
||||
formatRelative?: (...args: Array<any>) => any,
|
||||
localize?: {
|
||||
ordinalNumber: (...args: Array<any>) => any,
|
||||
era: (...args: Array<any>) => any,
|
||||
quarter: (...args: Array<any>) => any,
|
||||
month: (...args: Array<any>) => any,
|
||||
day: (...args: Array<any>) => any,
|
||||
dayPeriod: (...args: Array<any>) => any,
|
||||
},
|
||||
formatLong?: {
|
||||
date: (...args: Array<any>) => any,
|
||||
time: (...args: Array<any>) => any,
|
||||
dateTime: (...args: Array<any>) => any,
|
||||
},
|
||||
match?: {
|
||||
ordinalNumber: (...args: Array<any>) => any,
|
||||
era: (...args: Array<any>) => any,
|
||||
quarter: (...args: Array<any>) => any,
|
||||
month: (...args: Array<any>) => any,
|
||||
day: (...args: Array<any>) => any,
|
||||
dayPeriod: (...args: Array<any>) => any,
|
||||
},
|
||||
options?: {
|
||||
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6,
|
||||
firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7,
|
||||
},
|
||||
}
|
||||
|
||||
declare module.exports: Locale
|
5
VApp/node_modules/date-fns/locale/cs/package.json
generated
vendored
Normal file
5
VApp/node_modules/date-fns/locale/cs/package.json
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"sideEffects": false,
|
||||
"module": "../../esm/locale/cs/index.js",
|
||||
"typings": "../../typings.d.ts"
|
||||
}
|
Reference in New Issue
Block a user