Update flatPickr 4.6.3

This commit is contained in:
Fred Tempez 2020-07-16 19:21:53 +02:00
parent 1bd0d7b964
commit 6529b611a4

View File

@ -1,31 +1,68 @@
/* flatpickr v4.5.2, @license MIT */
(function (global, factory) { (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) : typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.fr = {}))); (global = global || self, factory(global.fr = {}));
}(this, (function (exports) { 'use strict'; }(this, function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : { var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {} l10ns: {}
}; };
var French = { var French = {
firstDayOfWeek: 1, firstDayOfWeek: 1,
weekdays: { weekdays: {
shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"], shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"],
longhand: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"] longhand: [
"dimanche",
"lundi",
"mardi",
"mercredi",
"jeudi",
"vendredi",
"samedi",
]
}, },
months: { months: {
shorthand: ["janv", "févr", "mars", "avr", "mai", "juin", "juil", "août", "sept", "oct", "nov", "déc"], shorthand: [
longhand: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"] "janv",
"févr",
"mars",
"avr",
"mai",
"juin",
"juil",
"août",
"sept",
"oct",
"nov",
"déc",
],
longhand: [
"janvier",
"février",
"mars",
"avril",
"mai",
"juin",
"juillet",
"août",
"septembre",
"octobre",
"novembre",
"décembre",
]
}, },
ordinal: function ordinal(nth) { ordinal: function (nth) {
if (nth > 1) return "ème"; if (nth > 1)
return "";
return "er"; return "er";
}, },
rangeSeparator: " au ", rangeSeparator: " au ",
weekAbbreviation: "Sem", weekAbbreviation: "Sem",
scrollTitle: "Défiler pour augmenter la valeur", scrollTitle: "Défiler pour augmenter la valeur",
toggleTitle: "Cliquer pour basculer" toggleTitle: "Cliquer pour basculer",
time_24hr: true
}; };
fp.l10ns.fr = French; fp.l10ns.fr = French;
var fr = fp.l10ns; var fr = fp.l10ns;
@ -35,4 +72,4 @@
Object.defineProperty(exports, '__esModule', { value: true }); Object.defineProperty(exports, '__esModule', { value: true });
}))); }));