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,54 +5,18 @@
5
5
  (factory((global.pa = {})));
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 Punjabi = {
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 Punjabi = {
12
+ weekdays: {
13
+ shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"],
14
+ longhand: ["ਐਤਵਾਰ", "ਸੋਮਵਾਰ", "ਮੰਗਲਵਾਰ", "ਬੁੱਧਵਾਰ", "ਵੀਰਵਾਰ", "ਸ਼ੁੱਕਰਵਾਰ", "ਸ਼ਨਿੱਚਰਵਾਰ"]
15
+ },
16
+ months: {
17
+ shorthand: ["ਜਨ", "ਫ਼ਰ", "ਮਾਰ", "ਅਪ੍ਰੈ", "ਮਈ", "ਜੂਨ", "ਜੁਲਾ", "ਅਗ", "ਸਤੰ", "ਅਕ", "ਨਵੰ", "ਦਸੰ"],
18
+ longhand: ["ਜਨਵਰੀ", "ਫ਼ਰਵਰੀ", "ਮਾਰਚ", "ਅਪ੍ਰੈਲ", "ਮਈ", "ਜੂਨ", "ਜੁਲਾਈ", "ਅਗਸਤ", "ਸਤੰਬਰ", "ਅਕਤੂਬਰ", "ਨਵੰਬਰ", "ਦਸੰਬਰ"]
19
+ }
56
20
  };
57
21
  fp.l10ns.pa = Punjabi;
58
22
  var pa = fp.l10ns;
@@ -5,62 +5,26 @@
5
5
  (factory((global.pl = {})));
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 Polish = {
14
- weekdays: {
15
- shorthand: ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "So"],
16
- longhand: [
17
- "Niedziela",
18
- "Poniedziałek",
19
- "Wtorek",
20
- "Środa",
21
- "Czwartek",
22
- "Piątek",
23
- "Sobota",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Sty",
29
- "Lut",
30
- "Mar",
31
- "Kwi",
32
- "Maj",
33
- "Cze",
34
- "Lip",
35
- "Sie",
36
- "Wrz",
37
- "Paź",
38
- "Lis",
39
- "Gru",
40
- ],
41
- longhand: [
42
- "Styczeń",
43
- "Luty",
44
- "Marzec",
45
- "Kwiecień",
46
- "Maj",
47
- "Czerwiec",
48
- "Lipiec",
49
- "Sierpień",
50
- "Wrzesień",
51
- "Październik",
52
- "Listopad",
53
- "Grudzień",
54
- ],
55
- },
56
- rangeSeparator: " do ",
57
- weekAbbreviation: "tydz.",
58
- scrollTitle: "Przwiń aby zwiększyć",
59
- toggleTitle: "Kliknij aby przełączyć",
60
- firstDayOfWeek: 1,
61
- ordinal: () => {
62
- return ".";
63
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Polish = {
12
+ weekdays: {
13
+ shorthand: ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "So"],
14
+ longhand: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"]
15
+ },
16
+ months: {
17
+ shorthand: ["Sty", "Lut", "Mar", "Kwi", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru"],
18
+ longhand: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"]
19
+ },
20
+ rangeSeparator: " do ",
21
+ weekAbbreviation: "tydz.",
22
+ scrollTitle: "Przwiń aby zwiększyć",
23
+ toggleTitle: "Kliknij aby przełączyć",
24
+ firstDayOfWeek: 1,
25
+ ordinal: function ordinal() {
26
+ return ".";
27
+ }
64
28
  };
65
29
  fp.l10ns.pl = Polish;
66
30
  var pl = fp.l10ns;
@@ -5,55 +5,19 @@
5
5
  (factory((global.pt = {})));
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 Portuguese = {
14
- weekdays: {
15
- shorthand: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
16
- longhand: [
17
- "Domingo",
18
- "Segunda-feira",
19
- "Terça-feira",
20
- "Quarta-feira",
21
- "Quinta-feira",
22
- "Sexta-feira",
23
- "Sábado",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Jan",
29
- "Fev",
30
- "Mar",
31
- "Abr",
32
- "Mai",
33
- "Jun",
34
- "Jul",
35
- "Ago",
36
- "Set",
37
- "Out",
38
- "Nov",
39
- "Dez",
40
- ],
41
- longhand: [
42
- "Janeiro",
43
- "Fevereiro",
44
- "Março",
45
- "Abril",
46
- "Maio",
47
- "Junho",
48
- "Julho",
49
- "Agosto",
50
- "Setembro",
51
- "Outubro",
52
- "Novembro",
53
- "Dezembro",
54
- ],
55
- },
56
- rangeSeparator: " até ",
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Portuguese = {
12
+ weekdays: {
13
+ shorthand: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
14
+ longhand: ["Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"]
15
+ },
16
+ months: {
17
+ shorthand: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
18
+ longhand: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"]
19
+ },
20
+ rangeSeparator: " até "
57
21
  };
58
22
  fp.l10ns.pt = Portuguese;
59
23
  var pt = fp.l10ns;
@@ -5,58 +5,22 @@
5
5
  (factory((global.ro = {})));
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 Romanian = {
14
- weekdays: {
15
- shorthand: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sam"],
16
- longhand: [
17
- "Duminică",
18
- "Luni",
19
- "Marți",
20
- "Miercuri",
21
- "Joi",
22
- "Vineri",
23
- "Sâmbătă",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Ian",
29
- "Feb",
30
- "Mar",
31
- "Apr",
32
- "Mai",
33
- "Iun",
34
- "Iul",
35
- "Aug",
36
- "Sep",
37
- "Oct",
38
- "Noi",
39
- "Dec",
40
- ],
41
- longhand: [
42
- "Ianuarie",
43
- "Februarie",
44
- "Martie",
45
- "Aprilie",
46
- "Mai",
47
- "Iunie",
48
- "Iulie",
49
- "August",
50
- "Septembrie",
51
- "Octombrie",
52
- "Noiembrie",
53
- "Decembrie",
54
- ],
55
- },
56
- firstDayOfWeek: 1,
57
- ordinal: () => {
58
- return "";
59
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Romanian = {
12
+ weekdays: {
13
+ shorthand: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sam"],
14
+ longhand: ["Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"]
15
+ },
16
+ months: {
17
+ shorthand: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec"],
18
+ longhand: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"]
19
+ },
20
+ firstDayOfWeek: 1,
21
+ ordinal: function ordinal() {
22
+ return "";
23
+ }
60
24
  };
61
25
  fp.l10ns.ro = Romanian;
62
26
  var ro = fp.l10ns;
@@ -5,64 +5,28 @@
5
5
  (factory((global.ru = {})));
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 Russian = {
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 Russian = {
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.ru = Russian;
68
32
  var ru = fp.l10ns;
@@ -5,54 +5,18 @@
5
5
  (factory((global.si = {})));
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 Sinhala = {
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 Sinhala = {
12
+ weekdays: {
13
+ shorthand: ["ඉ", "ස", "අ", "බ", "බ්‍ර", "සි", "සෙ"],
14
+ longhand: ["ඉරිදා", "සඳුදා", "අඟහරුවාදා", "බදාදා", "බ්‍රහස්පතින්දා", "සිකුරාදා", "සෙනසුරාදා"]
15
+ },
16
+ months: {
17
+ shorthand: ["ජන", "පෙබ", "මාර්", "අප්‍රේ", "මැයි", "ජුනි", "ජූලි", "අගෝ", "සැප්", "ඔක්", "නොවැ", "දෙසැ"],
18
+ longhand: ["ජනවාරි", "පෙබරවාරි", "මාර්තු", "අප්‍රේල්", "මැයි", "ජුනි", "ජූලි", "අගෝස්තු", "සැප්තැම්බර්", "ඔක්තෝබර්", "නොවැම්බර්", "දෙසැම්බර්"]
19
+ }
56
20
  };
57
21
  fp.l10ns.si = Sinhala;
58
22
  var si = fp.l10ns;