flatpickr 4.5.2.1 → 4.5.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flatpickr/version.rb +1 -1
- data/vendor/assets/javascripts/flatpickr.js +2400 -2075
- data/vendor/assets/javascripts/flatpickr/l10n/ar.js +42 -20
- data/vendor/assets/javascripts/flatpickr/l10n/at.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/az.js +73 -0
- data/vendor/assets/javascripts/flatpickr/l10n/be.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/bg.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/bn.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/cat.js +71 -40
- data/vendor/assets/javascripts/flatpickr/l10n/cs.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/cy.js +81 -29
- data/vendor/assets/javascripts/flatpickr/l10n/da.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/de.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/default.js +62 -32
- data/vendor/assets/javascripts/flatpickr/l10n/eo.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/es.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/et.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/fa.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/fi.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/fo.js +73 -0
- data/vendor/assets/javascripts/flatpickr/l10n/fr.js +59 -23
- data/vendor/assets/javascripts/flatpickr/l10n/gr.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/he.js +49 -21
- data/vendor/assets/javascripts/flatpickr/l10n/hi.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/hr.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/hu.js +59 -23
- data/vendor/assets/javascripts/flatpickr/l10n/id.js +49 -22
- data/vendor/assets/javascripts/flatpickr/l10n/index.js +3147 -1036
- data/vendor/assets/javascripts/flatpickr/l10n/is.js +71 -0
- data/vendor/assets/javascripts/flatpickr/l10n/it.js +56 -23
- data/vendor/assets/javascripts/flatpickr/l10n/ja.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/km.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/ko.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/kz.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/lt.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/lv.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/mk.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/mn.js +47 -20
- data/vendor/assets/javascripts/flatpickr/l10n/ms.js +56 -21
- data/vendor/assets/javascripts/flatpickr/l10n/my.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/nl.js +59 -23
- data/vendor/assets/javascripts/flatpickr/l10n/no.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/pa.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/pl.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/pt.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/ro.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/ru.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/si.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/sk.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/sl.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/sq.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/sr-cyr.js +67 -0
- data/vendor/assets/javascripts/flatpickr/l10n/sr.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/sv.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/th.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/tr.js +57 -22
- data/vendor/assets/javascripts/flatpickr/l10n/uk.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/vn.js +55 -20
- data/vendor/assets/javascripts/flatpickr/l10n/zh-tw.js +68 -0
- data/vendor/assets/javascripts/flatpickr/l10n/zh.js +55 -20
- data/vendor/assets/javascripts/flatpickr/plugins/confirmDate/confirmDate.js +63 -35
- data/vendor/assets/javascripts/flatpickr/plugins/labelPlugin/labelPlugin.js +24 -26
- data/vendor/assets/javascripts/flatpickr/plugins/minMaxTimePlugin.js +229 -200
- data/vendor/assets/javascripts/flatpickr/plugins/monthSelect/monthSelect.js +68 -51
- data/vendor/assets/javascripts/flatpickr/plugins/rangePlugin.js +136 -141
- data/vendor/assets/javascripts/flatpickr/plugins/scrollPlugin.js +43 -49
- data/vendor/assets/javascripts/flatpickr/plugins/weekSelect/weekSelect.js +70 -67
- data/vendor/assets/stylesheets/flatpickr.css +12 -1
- data/vendor/assets/stylesheets/flatpickr/themes/airbnb.css +12 -1
- data/vendor/assets/stylesheets/flatpickr/themes/confetti.css +12 -1
- data/vendor/assets/stylesheets/flatpickr/themes/dark.css +12 -1
- data/vendor/assets/stylesheets/flatpickr/themes/light.css +12 -1
- data/vendor/assets/stylesheets/flatpickr/themes/material_blue.css +12 -1
- data/vendor/assets/stylesheets/flatpickr/themes/material_green.css +12 -1
- data/vendor/assets/stylesheets/flatpickr/themes/material_orange.css +12 -1
- data/vendor/assets/stylesheets/flatpickr/themes/material_red.css +12 -1
- metadata +7 -2
@@ -1,38 +1,68 @@
|
|
1
|
-
/* flatpickr v4.5.2, @license MIT */
|
2
1
|
(function (global, factory) {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}(this,
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
4
|
+
(global = global || self, factory(global.default = {}));
|
5
|
+
}(this, function (exports) { 'use strict';
|
7
6
|
|
8
|
-
|
7
|
+
var english = {
|
9
8
|
weekdays: {
|
10
|
-
|
11
|
-
|
9
|
+
shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
10
|
+
longhand: [
|
11
|
+
"Sunday",
|
12
|
+
"Monday",
|
13
|
+
"Tuesday",
|
14
|
+
"Wednesday",
|
15
|
+
"Thursday",
|
16
|
+
"Friday",
|
17
|
+
"Saturday",
|
18
|
+
]
|
12
19
|
},
|
13
20
|
months: {
|
14
|
-
|
15
|
-
|
21
|
+
shorthand: [
|
22
|
+
"Jan",
|
23
|
+
"Feb",
|
24
|
+
"Mar",
|
25
|
+
"Apr",
|
26
|
+
"May",
|
27
|
+
"Jun",
|
28
|
+
"Jul",
|
29
|
+
"Aug",
|
30
|
+
"Sep",
|
31
|
+
"Oct",
|
32
|
+
"Nov",
|
33
|
+
"Dec",
|
34
|
+
],
|
35
|
+
longhand: [
|
36
|
+
"January",
|
37
|
+
"February",
|
38
|
+
"March",
|
39
|
+
"April",
|
40
|
+
"May",
|
41
|
+
"June",
|
42
|
+
"July",
|
43
|
+
"August",
|
44
|
+
"September",
|
45
|
+
"October",
|
46
|
+
"November",
|
47
|
+
"December",
|
48
|
+
]
|
16
49
|
},
|
17
50
|
daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
|
18
51
|
firstDayOfWeek: 0,
|
19
|
-
ordinal: function
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
default:
|
34
|
-
return "th";
|
35
|
-
}
|
52
|
+
ordinal: function (nth) {
|
53
|
+
var s = nth % 100;
|
54
|
+
if (s > 3 && s < 21)
|
55
|
+
return "th";
|
56
|
+
switch (s % 10) {
|
57
|
+
case 1:
|
58
|
+
return "st";
|
59
|
+
case 2:
|
60
|
+
return "nd";
|
61
|
+
case 3:
|
62
|
+
return "rd";
|
63
|
+
default:
|
64
|
+
return "th";
|
65
|
+
}
|
36
66
|
},
|
37
67
|
rangeSeparator: " to ",
|
38
68
|
weekAbbreviation: "Wk",
|
@@ -40,11 +70,11 @@
|
|
40
70
|
toggleTitle: "Click to toggle",
|
41
71
|
amPM: ["AM", "PM"],
|
42
72
|
yearAriaLabel: "Year"
|
43
|
-
|
73
|
+
};
|
44
74
|
|
45
|
-
|
46
|
-
|
75
|
+
exports.english = english;
|
76
|
+
exports.default = english;
|
47
77
|
|
48
|
-
|
78
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
49
79
|
|
50
|
-
}))
|
80
|
+
}));
|
@@ -1,37 +1,72 @@
|
|
1
|
-
/* flatpickr v4.5.2, @license MIT */
|
2
1
|
(function (global, factory) {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}(this,
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
4
|
+
(global = global || self, factory(global.eo = {}));
|
5
|
+
}(this, function (exports) { 'use strict';
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
|
8
|
+
? window.flatpickr
|
9
|
+
: {
|
10
|
+
l10ns: {}
|
11
|
+
};
|
12
|
+
var Esperanto = {
|
12
13
|
firstDayOfWeek: 1,
|
13
14
|
rangeSeparator: " ĝis ",
|
14
15
|
weekAbbreviation: "Sem",
|
15
16
|
scrollTitle: "Rulumu por pligrandigi la valoron",
|
16
17
|
toggleTitle: "Klaku por ŝalti",
|
17
18
|
weekdays: {
|
18
|
-
|
19
|
-
|
19
|
+
shorthand: ["Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab"],
|
20
|
+
longhand: [
|
21
|
+
"dimanĉo",
|
22
|
+
"lundo",
|
23
|
+
"mardo",
|
24
|
+
"merkredo",
|
25
|
+
"ĵaŭdo",
|
26
|
+
"vendredo",
|
27
|
+
"sabato",
|
28
|
+
]
|
20
29
|
},
|
21
30
|
months: {
|
22
|
-
|
23
|
-
|
31
|
+
shorthand: [
|
32
|
+
"Jan",
|
33
|
+
"Feb",
|
34
|
+
"Mar",
|
35
|
+
"Apr",
|
36
|
+
"Maj",
|
37
|
+
"Jun",
|
38
|
+
"Jul",
|
39
|
+
"Aŭg",
|
40
|
+
"Sep",
|
41
|
+
"Okt",
|
42
|
+
"Nov",
|
43
|
+
"Dec",
|
44
|
+
],
|
45
|
+
longhand: [
|
46
|
+
"januaro",
|
47
|
+
"februaro",
|
48
|
+
"marto",
|
49
|
+
"aprilo",
|
50
|
+
"majo",
|
51
|
+
"junio",
|
52
|
+
"julio",
|
53
|
+
"aŭgusto",
|
54
|
+
"septembro",
|
55
|
+
"oktobro",
|
56
|
+
"novembro",
|
57
|
+
"decembro",
|
58
|
+
]
|
24
59
|
},
|
25
|
-
ordinal: function
|
26
|
-
|
60
|
+
ordinal: function () {
|
61
|
+
return "-a";
|
27
62
|
}
|
28
|
-
|
29
|
-
|
30
|
-
|
63
|
+
};
|
64
|
+
fp.l10ns.eo = Esperanto;
|
65
|
+
var eo = fp.l10ns;
|
31
66
|
|
32
|
-
|
33
|
-
|
67
|
+
exports.Esperanto = Esperanto;
|
68
|
+
exports.default = eo;
|
34
69
|
|
35
|
-
|
70
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
36
71
|
|
37
|
-
}))
|
72
|
+
}));
|
@@ -1,34 +1,69 @@
|
|
1
|
-
/* flatpickr v4.5.2, @license MIT */
|
2
1
|
(function (global, factory) {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}(this,
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
4
|
+
(global = global || self, factory(global.es = {}));
|
5
|
+
}(this, function (exports) { 'use strict';
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
|
8
|
+
? window.flatpickr
|
9
|
+
: {
|
10
|
+
l10ns: {}
|
11
|
+
};
|
12
|
+
var Spanish = {
|
12
13
|
weekdays: {
|
13
|
-
|
14
|
-
|
14
|
+
shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
|
15
|
+
longhand: [
|
16
|
+
"Domingo",
|
17
|
+
"Lunes",
|
18
|
+
"Martes",
|
19
|
+
"Miércoles",
|
20
|
+
"Jueves",
|
21
|
+
"Viernes",
|
22
|
+
"Sábado",
|
23
|
+
]
|
15
24
|
},
|
16
25
|
months: {
|
17
|
-
|
18
|
-
|
26
|
+
shorthand: [
|
27
|
+
"Ene",
|
28
|
+
"Feb",
|
29
|
+
"Mar",
|
30
|
+
"Abr",
|
31
|
+
"May",
|
32
|
+
"Jun",
|
33
|
+
"Jul",
|
34
|
+
"Ago",
|
35
|
+
"Sep",
|
36
|
+
"Oct",
|
37
|
+
"Nov",
|
38
|
+
"Dic",
|
39
|
+
],
|
40
|
+
longhand: [
|
41
|
+
"Enero",
|
42
|
+
"Febrero",
|
43
|
+
"Marzo",
|
44
|
+
"Abril",
|
45
|
+
"Mayo",
|
46
|
+
"Junio",
|
47
|
+
"Julio",
|
48
|
+
"Agosto",
|
49
|
+
"Septiembre",
|
50
|
+
"Octubre",
|
51
|
+
"Noviembre",
|
52
|
+
"Diciembre",
|
53
|
+
]
|
19
54
|
},
|
20
|
-
ordinal: function
|
21
|
-
|
55
|
+
ordinal: function () {
|
56
|
+
return "º";
|
22
57
|
},
|
23
58
|
firstDayOfWeek: 1,
|
24
59
|
rangeSeparator: " a "
|
25
|
-
|
26
|
-
|
27
|
-
|
60
|
+
};
|
61
|
+
fp.l10ns.es = Spanish;
|
62
|
+
var es = fp.l10ns;
|
28
63
|
|
29
|
-
|
30
|
-
|
64
|
+
exports.Spanish = Spanish;
|
65
|
+
exports.default = es;
|
31
66
|
|
32
|
-
|
67
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
33
68
|
|
34
|
-
}))
|
69
|
+
}));
|
@@ -1,37 +1,72 @@
|
|
1
|
-
/* flatpickr v4.5.2, @license MIT */
|
2
1
|
(function (global, factory) {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}(this,
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
4
|
+
(global = global || self, factory(global.et = {}));
|
5
|
+
}(this, function (exports) { 'use strict';
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
|
8
|
+
? window.flatpickr
|
9
|
+
: {
|
10
|
+
l10ns: {}
|
11
|
+
};
|
12
|
+
var Estonian = {
|
12
13
|
weekdays: {
|
13
|
-
|
14
|
-
|
14
|
+
shorthand: ["P", "E", "T", "K", "N", "R", "L"],
|
15
|
+
longhand: [
|
16
|
+
"Pühapäev",
|
17
|
+
"Esmaspäev",
|
18
|
+
"Teisipäev",
|
19
|
+
"Kolmapäev",
|
20
|
+
"Neljapäev",
|
21
|
+
"Reede",
|
22
|
+
"Laupäev",
|
23
|
+
]
|
15
24
|
},
|
16
25
|
months: {
|
17
|
-
|
18
|
-
|
26
|
+
shorthand: [
|
27
|
+
"Jaan",
|
28
|
+
"Veebr",
|
29
|
+
"Märts",
|
30
|
+
"Apr",
|
31
|
+
"Mai",
|
32
|
+
"Juuni",
|
33
|
+
"Juuli",
|
34
|
+
"Aug",
|
35
|
+
"Sept",
|
36
|
+
"Okt",
|
37
|
+
"Nov",
|
38
|
+
"Dets",
|
39
|
+
],
|
40
|
+
longhand: [
|
41
|
+
"Jaanuar",
|
42
|
+
"Veebruar",
|
43
|
+
"Märts",
|
44
|
+
"Aprill",
|
45
|
+
"Mai",
|
46
|
+
"Juuni",
|
47
|
+
"Juuli",
|
48
|
+
"August",
|
49
|
+
"September",
|
50
|
+
"Oktoober",
|
51
|
+
"November",
|
52
|
+
"Detsember",
|
53
|
+
]
|
19
54
|
},
|
20
55
|
firstDayOfWeek: 1,
|
21
|
-
ordinal: function
|
22
|
-
|
56
|
+
ordinal: function () {
|
57
|
+
return ".";
|
23
58
|
},
|
24
59
|
weekAbbreviation: "Näd",
|
25
60
|
rangeSeparator: " kuni ",
|
26
61
|
scrollTitle: "Keri, et suurendada",
|
27
62
|
toggleTitle: "Klõpsa, et vahetada"
|
28
|
-
|
29
|
-
|
30
|
-
|
63
|
+
};
|
64
|
+
fp.l10ns.et = Estonian;
|
65
|
+
var et = fp.l10ns;
|
31
66
|
|
32
|
-
|
33
|
-
|
67
|
+
exports.Estonian = Estonian;
|
68
|
+
exports.default = et;
|
34
69
|
|
35
|
-
|
70
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
36
71
|
|
37
|
-
}))
|
72
|
+
}));
|
@@ -1,33 +1,68 @@
|
|
1
|
-
/* flatpickr v4.5.2, @license MIT */
|
2
1
|
(function (global, factory) {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}(this,
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
4
|
+
(global = global || self, factory(global.fa = {}));
|
5
|
+
}(this, function (exports) { 'use strict';
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
|
8
|
+
? window.flatpickr
|
9
|
+
: {
|
10
|
+
l10ns: {}
|
11
|
+
};
|
12
|
+
var Persian = {
|
12
13
|
weekdays: {
|
13
|
-
|
14
|
-
|
14
|
+
shorthand: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه"],
|
15
|
+
longhand: [
|
16
|
+
"یکشنبه",
|
17
|
+
"دوشنبه",
|
18
|
+
"سهشنبه",
|
19
|
+
"چهارشنبه",
|
20
|
+
"پنچشنبه",
|
21
|
+
"جمعه",
|
22
|
+
"شنبه",
|
23
|
+
]
|
15
24
|
},
|
16
25
|
months: {
|
17
|
-
|
18
|
-
|
26
|
+
shorthand: [
|
27
|
+
"ژانویه",
|
28
|
+
"فوریه",
|
29
|
+
"مارس",
|
30
|
+
"آوریل",
|
31
|
+
"مه",
|
32
|
+
"ژوئن",
|
33
|
+
"ژوئیه",
|
34
|
+
"اوت",
|
35
|
+
"سپتامبر",
|
36
|
+
"اکتبر",
|
37
|
+
"نوامبر",
|
38
|
+
"دسامبر",
|
39
|
+
],
|
40
|
+
longhand: [
|
41
|
+
"ژانویه",
|
42
|
+
"فوریه",
|
43
|
+
"مارس",
|
44
|
+
"آوریل",
|
45
|
+
"مه",
|
46
|
+
"ژوئن",
|
47
|
+
"ژوئیه",
|
48
|
+
"اوت",
|
49
|
+
"سپتامبر",
|
50
|
+
"اکتبر",
|
51
|
+
"نوامبر",
|
52
|
+
"دسامبر",
|
53
|
+
]
|
19
54
|
},
|
20
55
|
firstDayOfWeek: 6,
|
21
|
-
ordinal: function
|
22
|
-
|
56
|
+
ordinal: function () {
|
57
|
+
return "";
|
23
58
|
}
|
24
|
-
|
25
|
-
|
26
|
-
|
59
|
+
};
|
60
|
+
fp.l10ns.fa = Persian;
|
61
|
+
var fa = fp.l10ns;
|
27
62
|
|
28
|
-
|
29
|
-
|
63
|
+
exports.Persian = Persian;
|
64
|
+
exports.default = fa;
|
30
65
|
|
31
|
-
|
66
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
32
67
|
|
33
|
-
}))
|
68
|
+
}));
|