Update flatpickr javascript lib

This commit is contained in:
Clemens Schwaighofer
2023-01-05 15:14:08 +09:00
parent 764ca1f098
commit c97520e186
3 changed files with 17 additions and 13 deletions

View File

@@ -1,13 +1,13 @@
(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) :
(global = global || self, factory(global.ja = {})); (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ja = {}));
}(this, function (exports) { 'use strict'; }(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr ? window.flatpickr
: { : {
l10ns: {} l10ns: {},
}; };
var Japanese = { var Japanese = {
weekdays: { weekdays: {
@@ -20,7 +20,7 @@
"木曜日", "木曜日",
"金曜日", "金曜日",
"土曜日", "土曜日",
] ],
}, },
months: { months: {
shorthand: [ shorthand: [
@@ -50,11 +50,15 @@
"10月", "10月",
"11月", "11月",
"12月", "12月",
] ],
}, },
time_24hr: true, time_24hr: true,
rangeSeparator: " から ", rangeSeparator: " から ",
firstDayOfWeek: 1 monthAriaLabel: "月",
amPM: ["午前", "午後"],
yearAriaLabel: "年",
hourAriaLabel: "時間",
minuteAriaLabel: "分",
}; };
fp.l10ns.ja = Japanese; fp.l10ns.ja = Japanese;
var ja = fp.l10ns; var ja = fp.l10ns;
@@ -64,4 +68,4 @@
Object.defineProperty(exports, '__esModule', { value: true }); Object.defineProperty(exports, '__esModule', { value: true });
})); })));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long