flatpickr 4.5.2.0 → 4.5.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -14
  3. data/lib/flatpickr/version.rb +1 -1
  4. data/vendor/assets/javascripts/flatpickr.js +2065 -2106
  5. data/vendor/assets/javascripts/flatpickr/l10n/ar.js +12 -35
  6. data/vendor/assets/javascripts/flatpickr/l10n/at.js +17 -53
  7. data/vendor/assets/javascripts/flatpickr/l10n/be.js +22 -58
  8. data/vendor/assets/javascripts/flatpickr/l10n/bg.js +12 -48
  9. data/vendor/assets/javascripts/flatpickr/l10n/bn.js +12 -48
  10. data/vendor/assets/javascripts/flatpickr/l10n/cat.js +34 -66
  11. data/vendor/assets/javascripts/flatpickr/l10n/cs.js +22 -58
  12. data/vendor/assets/javascripts/flatpickr/l10n/cy.js +23 -75
  13. data/vendor/assets/javascripts/flatpickr/l10n/da.js +18 -54
  14. data/vendor/assets/javascripts/flatpickr/l10n/de.js +17 -53
  15. data/vendor/assets/javascripts/flatpickr/l10n/default.js +35 -66
  16. data/vendor/assets/javascripts/flatpickr/l10n/eo.js +20 -56
  17. data/vendor/assets/javascripts/flatpickr/l10n/es.js +17 -53
  18. data/vendor/assets/javascripts/flatpickr/l10n/et.js +20 -56
  19. data/vendor/assets/javascripts/flatpickr/l10n/fa.js +16 -52
  20. data/vendor/assets/javascripts/flatpickr/l10n/fi.js +16 -52
  21. data/vendor/assets/javascripts/flatpickr/l10n/fr.js +21 -58
  22. data/vendor/assets/javascripts/flatpickr/l10n/gr.js +21 -57
  23. data/vendor/assets/javascripts/flatpickr/l10n/he.js +12 -40
  24. data/vendor/assets/javascripts/flatpickr/l10n/hi.js +12 -48
  25. data/vendor/assets/javascripts/flatpickr/l10n/hr.js +13 -49
  26. data/vendor/assets/javascripts/flatpickr/l10n/hu.js +19 -55
  27. data/vendor/assets/javascripts/flatpickr/l10n/id.js +16 -44
  28. data/vendor/assets/javascripts/flatpickr/l10n/index.js +963 -2805
  29. data/vendor/assets/javascripts/flatpickr/l10n/it.js +20 -54
  30. data/vendor/assets/javascripts/flatpickr/l10n/ja.js +12 -48
  31. data/vendor/assets/javascripts/flatpickr/l10n/km.js +21 -57
  32. data/vendor/assets/javascripts/flatpickr/l10n/ko.js +15 -51
  33. data/vendor/assets/javascripts/flatpickr/l10n/kz.js +22 -58
  34. data/vendor/assets/javascripts/flatpickr/l10n/lt.js +19 -55
  35. data/vendor/assets/javascripts/flatpickr/l10n/lv.js +14 -50
  36. data/vendor/assets/javascripts/flatpickr/l10n/mk.js +15 -51
  37. data/vendor/assets/javascripts/flatpickr/l10n/mn.js +14 -42
  38. data/vendor/assets/javascripts/flatpickr/l10n/ms.js +16 -52
  39. data/vendor/assets/javascripts/flatpickr/l10n/my.js +16 -52
  40. data/vendor/assets/javascripts/flatpickr/l10n/nl.js +21 -58
  41. data/vendor/assets/javascripts/flatpickr/l10n/no.js +20 -56
  42. data/vendor/assets/javascripts/flatpickr/l10n/pa.js +12 -48
  43. data/vendor/assets/javascripts/flatpickr/l10n/pl.js +20 -56
  44. data/vendor/assets/javascripts/flatpickr/l10n/pt.js +13 -49
  45. data/vendor/assets/javascripts/flatpickr/l10n/ro.js +16 -52
  46. data/vendor/assets/javascripts/flatpickr/l10n/ru.js +22 -58
  47. data/vendor/assets/javascripts/flatpickr/l10n/si.js +12 -48
  48. data/vendor/assets/javascripts/flatpickr/l10n/sk.js +17 -53
  49. data/vendor/assets/javascripts/flatpickr/l10n/sl.js +17 -53
  50. data/vendor/assets/javascripts/flatpickr/l10n/sq.js +12 -48
  51. data/vendor/assets/javascripts/flatpickr/l10n/sr.js +15 -51
  52. data/vendor/assets/javascripts/flatpickr/l10n/sv.js +17 -53
  53. data/vendor/assets/javascripts/flatpickr/l10n/th.js +19 -55
  54. data/vendor/assets/javascripts/flatpickr/l10n/tr.js +21 -57
  55. data/vendor/assets/javascripts/flatpickr/l10n/uk.js +13 -49
  56. data/vendor/assets/javascripts/flatpickr/l10n/vn.js +13 -49
  57. data/vendor/assets/javascripts/flatpickr/l10n/zh.js +16 -52
  58. data/vendor/assets/javascripts/flatpickr/plugins/confirmDate/confirmDate.js +32 -35
  59. data/vendor/assets/javascripts/flatpickr/plugins/labelPlugin/labelPlugin.js +18 -17
  60. data/vendor/assets/javascripts/flatpickr/plugins/minMaxTimePlugin.js +262 -251
  61. data/vendor/assets/javascripts/flatpickr/plugins/monthSelect/monthSelect.js +46 -63
  62. data/vendor/assets/javascripts/flatpickr/plugins/rangePlugin.js +134 -125
  63. data/vendor/assets/javascripts/flatpickr/plugins/scrollPlugin.js +44 -31
  64. data/vendor/assets/javascripts/flatpickr/plugins/weekSelect/weekSelect.js +63 -66
  65. metadata +3 -4
@@ -5,41 +5,18 @@
5
5
  (factory((global.ar = {})));
6
6
  }(this, (function (exports) { 'use strict';
7
7
 
8
- const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
- ? window.flatpickr
10
- : {
11
- l10ns: {},
12
- };
13
- const Arabic = {
14
- weekdays: {
15
- shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
16
- longhand: [
17
- "الأحد",
18
- "الاثنين",
19
- "الثلاثاء",
20
- "الأربعاء",
21
- "الخميس",
22
- "الجمعة",
23
- "السبت",
24
- ],
25
- },
26
- months: {
27
- shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
28
- longhand: [
29
- "يناير",
30
- "فبراير",
31
- "مارس",
32
- "أبريل",
33
- "مايو",
34
- "يونيو",
35
- "يوليو",
36
- "أغسطس",
37
- "سبتمبر",
38
- "أكتوبر",
39
- "نوفمبر",
40
- "ديسمبر",
41
- ],
42
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Arabic = {
12
+ weekdays: {
13
+ shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
14
+ longhand: ["الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"]
15
+ },
16
+ months: {
17
+ shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
18
+ longhand: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"]
19
+ }
43
20
  };
44
21
  fp.l10ns.ar = Arabic;
45
22
  var ar = fp.l10ns;
@@ -5,59 +5,23 @@
5
5
  (factory((global.at = {})));
6
6
  }(this, (function (exports) { 'use strict';
7
7
 
8
- const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
- ? window.flatpickr
10
- : {
11
- l10ns: {},
12
- };
13
- const Austria = {
14
- weekdays: {
15
- shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
16
- longhand: [
17
- "Sonntag",
18
- "Montag",
19
- "Dienstag",
20
- "Mittwoch",
21
- "Donnerstag",
22
- "Freitag",
23
- "Samstag",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Jän",
29
- "Feb",
30
- "Mär",
31
- "Apr",
32
- "Mai",
33
- "Jun",
34
- "Jul",
35
- "Aug",
36
- "Sep",
37
- "Okt",
38
- "Nov",
39
- "Dez",
40
- ],
41
- longhand: [
42
- "Jänner",
43
- "Februar",
44
- "März",
45
- "April",
46
- "Mai",
47
- "Juni",
48
- "Juli",
49
- "August",
50
- "September",
51
- "Oktober",
52
- "November",
53
- "Dezember",
54
- ],
55
- },
56
- firstDayOfWeek: 1,
57
- weekAbbreviation: "KW",
58
- rangeSeparator: " bis ",
59
- scrollTitle: "Zum Ändern scrollen",
60
- toggleTitle: "Zum Umschalten klicken",
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Austria = {
12
+ weekdays: {
13
+ shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
14
+ longhand: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"]
15
+ },
16
+ months: {
17
+ shorthand: ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
18
+ longhand: ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"]
19
+ },
20
+ firstDayOfWeek: 1,
21
+ weekAbbreviation: "KW",
22
+ rangeSeparator: " bis ",
23
+ scrollTitle: "Zum Ändern scrollen",
24
+ toggleTitle: "Zum Umschalten klicken"
61
25
  };
62
26
  fp.l10ns.at = Austria;
63
27
  var at = fp.l10ns;
@@ -5,64 +5,28 @@
5
5
  (factory((global.be = {})));
6
6
  }(this, (function (exports) { 'use strict';
7
7
 
8
- const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
- ? window.flatpickr
10
- : {
11
- l10ns: {},
12
- };
13
- const Belarusian = {
14
- weekdays: {
15
- shorthand: ["Нд", "Пн", "Аў", "Ср", "Чц", "Пт", "Сб"],
16
- longhand: [
17
- "Нядзеля",
18
- "Панядзелак",
19
- "Аўторак",
20
- "Серада",
21
- "Чацвер",
22
- "Пятніца",
23
- "Субота",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Сту",
29
- "Лют",
30
- "Сак",
31
- "Кра",
32
- "Тра",
33
- "Чэр",
34
- "Ліп",
35
- "Жні",
36
- "Вер",
37
- "Кас",
38
- "Ліс",
39
- "Сне",
40
- ],
41
- longhand: [
42
- "Студзень",
43
- "Люты",
44
- "Сакавік",
45
- "Красавік",
46
- "Травень",
47
- "Чэрвень",
48
- "Ліпень",
49
- "Жнівень",
50
- "Верасень",
51
- "Кастрычнік",
52
- "Лістапад",
53
- "Снежань",
54
- ],
55
- },
56
- firstDayOfWeek: 1,
57
- ordinal: function () {
58
- return "";
59
- },
60
- rangeSeparator: " — ",
61
- weekAbbreviation: "Тыд.",
62
- scrollTitle: "Пракруціце для павелічэння",
63
- toggleTitle: "Націсніце для пераключэння",
64
- amPM: ["ДП", "ПП"],
65
- yearAriaLabel: "Год",
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Belarusian = {
12
+ weekdays: {
13
+ shorthand: ["Нд", "Пн", "Аў", "Ср", "Чц", "Пт", "Сб"],
14
+ longhand: ["Нядзеля", "Панядзелак", "Аўторак", "Серада", "Чацвер", "Пятніца", "Субота"]
15
+ },
16
+ months: {
17
+ shorthand: ["Сту", "Лют", "Сак", "Кра", "Тра", "Чэр", "Ліп", "Жні", "Вер", "Кас", "Ліс", "Сне"],
18
+ longhand: ["Студзень", "Люты", "Сакавік", "Красавік", "Травень", "Чэрвень", "Ліпень", "Жнівень", "Верасень", "Кастрычнік", "Лістапад", "Снежань"]
19
+ },
20
+ firstDayOfWeek: 1,
21
+ ordinal: function ordinal() {
22
+ return "";
23
+ },
24
+ rangeSeparator: " — ",
25
+ weekAbbreviation: "Тыд.",
26
+ scrollTitle: "Пракруціце для павелічэння",
27
+ toggleTitle: "Націсніце для пераключэння",
28
+ amPM: ["ДП", "ПП"],
29
+ yearAriaLabel: "Год"
66
30
  };
67
31
  fp.l10ns.be = Belarusian;
68
32
  var be = fp.l10ns;
@@ -5,54 +5,18 @@
5
5
  (factory((global.bg = {})));
6
6
  }(this, (function (exports) { 'use strict';
7
7
 
8
- const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
- ? window.flatpickr
10
- : {
11
- l10ns: {},
12
- };
13
- const Bulgarian = {
14
- weekdays: {
15
- shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
16
- longhand: [
17
- "Неделя",
18
- "Понеделник",
19
- "Вторник",
20
- "Сряда",
21
- "Четвъртък",
22
- "Петък",
23
- "Събота",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Яну",
29
- "Фев",
30
- "Март",
31
- "Апр",
32
- "Май",
33
- "Юни",
34
- "Юли",
35
- "Авг",
36
- "Сеп",
37
- "Окт",
38
- "Ное",
39
- "Дек",
40
- ],
41
- longhand: [
42
- "Януари",
43
- "Февруари",
44
- "Март",
45
- "Април",
46
- "Май",
47
- "Юни",
48
- "Юли",
49
- "Август",
50
- "Септември",
51
- "Октомври",
52
- "Ноември",
53
- "Декември",
54
- ],
55
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Bulgarian = {
12
+ weekdays: {
13
+ shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
14
+ longhand: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"]
15
+ },
16
+ months: {
17
+ shorthand: ["Яну", "Фев", "Март", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"],
18
+ longhand: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"]
19
+ }
56
20
  };
57
21
  fp.l10ns.bg = Bulgarian;
58
22
  var bg = fp.l10ns;
@@ -5,54 +5,18 @@
5
5
  (factory((global.bn = {})));
6
6
  }(this, (function (exports) { 'use strict';
7
7
 
8
- const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
- ? window.flatpickr
10
- : {
11
- l10ns: {},
12
- };
13
- const Bangla = {
14
- weekdays: {
15
- shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
16
- longhand: [
17
- "রবিবার",
18
- "সোমবার",
19
- "মঙ্গলবার",
20
- "বুধবার",
21
- "বৃহস্পতিবার",
22
- "শুক্রবার",
23
- "শনিবার",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "জানু",
29
- "ফেব্রু",
30
- "মার্চ",
31
- "এপ্রিল",
32
- "মে",
33
- "জুন",
34
- "জুলাই",
35
- "আগ",
36
- "সেপ্টে",
37
- "অক্টো",
38
- "নভে",
39
- "ডিসে",
40
- ],
41
- longhand: [
42
- "জানুয়ারী",
43
- "ফেব্রুয়ারী",
44
- "মার্চ",
45
- "এপ্রিল",
46
- "মে",
47
- "জুন",
48
- "জুলাই",
49
- "আগস্ট",
50
- "সেপ্টেম্বর",
51
- "অক্টোবর",
52
- "নভেম্বর",
53
- "ডিসেম্বর",
54
- ],
55
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Bangla = {
12
+ weekdays: {
13
+ shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
14
+ longhand: ["রবিবার", "সোমবার", "মঙ্গলবার", "বুধবার", "বৃহস্পতিবার", "শুক্রবার", "শনিবার"]
15
+ },
16
+ months: {
17
+ shorthand: ["জানু", "ফেব্রু", "মার্চ", "এপ্রিল", "মে", "জুন", "জুলাই", "আগ", "সেপ্টে", "অক্টো", "নভে", "ডিসে"],
18
+ longhand: ["জানুয়ারী", "ফেব্রুয়ারী", "মার্চ", "এপ্রিল", "মে", "জুন", "জুলাই", "আগস্ট", "সেপ্টেম্বর", "অক্টোবর", "নভেম্বর", "ডিসেম্বর"]
19
+ }
56
20
  };
57
21
  fp.l10ns.bn = Bangla;
58
22
  var bn = fp.l10ns;
@@ -5,72 +5,40 @@
5
5
  (factory((global.cat = {})));
6
6
  }(this, (function (exports) { 'use strict';
7
7
 
8
- const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
- ? window.flatpickr
10
- : {
11
- l10ns: {},
12
- };
13
- const Catalan = {
14
- weekdays: {
15
- shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
16
- longhand: [
17
- "Diumenge",
18
- "Dilluns",
19
- "Dimarts",
20
- "Dimecres",
21
- "Dijous",
22
- "Divendres",
23
- "Dissabte",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Gen",
29
- "Febr",
30
- "Març",
31
- "Abr",
32
- "Maig",
33
- "Juny",
34
- "Jul",
35
- "Ag",
36
- "Set",
37
- "Oct",
38
- "Nov",
39
- "Des",
40
- ],
41
- longhand: [
42
- "Gener",
43
- "Febrer",
44
- "Març",
45
- "Abril",
46
- "Maig",
47
- "Juny",
48
- "Juliol",
49
- "Agost",
50
- "Setembre",
51
- "Octubre",
52
- "Novembre",
53
- "Desembre",
54
- ],
55
- },
56
- ordinal: nth => {
57
- const s = nth % 100;
58
- if (s > 3 && s < 21)
59
- return "è";
60
- switch (s % 10) {
61
- case 1:
62
- return "r";
63
- case 2:
64
- return "n";
65
- case 3:
66
- return "r";
67
- case 4:
68
- return "t";
69
- default:
70
- return "è";
71
- }
72
- },
73
- firstDayOfWeek: 1,
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Catalan = {
12
+ weekdays: {
13
+ shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
14
+ longhand: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"]
15
+ },
16
+ months: {
17
+ shorthand: ["Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des"],
18
+ longhand: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"]
19
+ },
20
+ ordinal: function ordinal(nth) {
21
+ var s = nth % 100;
22
+ if (s > 3 && s < 21) return "è";
23
+
24
+ switch (s % 10) {
25
+ case 1:
26
+ return "r";
27
+
28
+ case 2:
29
+ return "n";
30
+
31
+ case 3:
32
+ return "r";
33
+
34
+ case 4:
35
+ return "t";
36
+
37
+ default:
38
+ return "è";
39
+ }
40
+ },
41
+ firstDayOfWeek: 1
74
42
  };
75
43
  fp.l10ns.cat = Catalan;
76
44
  var cat = fp.l10ns;