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,59 +5,23 @@
5
5
  (factory((global.sk = {})));
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 Slovak = {
14
- weekdays: {
15
- shorthand: ["Ned", "Pon", "Ut", "Str", "Štv", "Pia", "Sob"],
16
- longhand: [
17
- "Nedeľa",
18
- "Pondelok",
19
- "Utorok",
20
- "Streda",
21
- "Štvrtok",
22
- "Piatok",
23
- "Sobota",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Jan",
29
- "Feb",
30
- "Mar",
31
- "Apr",
32
- "Máj",
33
- "Jún",
34
- "Júl",
35
- "Aug",
36
- "Sep",
37
- "Okt",
38
- "Nov",
39
- "Dec",
40
- ],
41
- longhand: [
42
- "Január",
43
- "Február",
44
- "Marec",
45
- "Apríl",
46
- "Máj",
47
- "Jún",
48
- "Júl",
49
- "August",
50
- "September",
51
- "Október",
52
- "November",
53
- "December",
54
- ],
55
- },
56
- firstDayOfWeek: 1,
57
- rangeSeparator: " do ",
58
- ordinal: function () {
59
- return ".";
60
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Slovak = {
12
+ weekdays: {
13
+ shorthand: ["Ned", "Pon", "Ut", "Str", "Štv", "Pia", "Sob"],
14
+ longhand: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota"]
15
+ },
16
+ months: {
17
+ shorthand: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"],
18
+ longhand: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"]
19
+ },
20
+ firstDayOfWeek: 1,
21
+ rangeSeparator: " do ",
22
+ ordinal: function ordinal() {
23
+ return ".";
24
+ }
61
25
  };
62
26
  fp.l10ns.sk = Slovak;
63
27
  var sk = fp.l10ns;
@@ -5,59 +5,23 @@
5
5
  (factory((global.sl = {})));
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 Slovenian = {
14
- weekdays: {
15
- shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"],
16
- longhand: [
17
- "Nedelja",
18
- "Ponedeljek",
19
- "Torek",
20
- "Sreda",
21
- "Četrtek",
22
- "Petek",
23
- "Sobota",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Jan",
29
- "Feb",
30
- "Mar",
31
- "Apr",
32
- "Maj",
33
- "Jun",
34
- "Jul",
35
- "Avg",
36
- "Sep",
37
- "Okt",
38
- "Nov",
39
- "Dec",
40
- ],
41
- longhand: [
42
- "Januar",
43
- "Februar",
44
- "Marec",
45
- "April",
46
- "Maj",
47
- "Junij",
48
- "Julij",
49
- "Avgust",
50
- "September",
51
- "Oktober",
52
- "November",
53
- "December",
54
- ],
55
- },
56
- firstDayOfWeek: 1,
57
- rangeSeparator: " do ",
58
- ordinal: function () {
59
- return ".";
60
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Slovenian = {
12
+ weekdays: {
13
+ shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"],
14
+ longhand: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota"]
15
+ },
16
+ months: {
17
+ shorthand: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
18
+ longhand: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"]
19
+ },
20
+ firstDayOfWeek: 1,
21
+ rangeSeparator: " do ",
22
+ ordinal: function ordinal() {
23
+ return ".";
24
+ }
61
25
  };
62
26
  fp.l10ns.sl = Slovenian;
63
27
  var sl = fp.l10ns;
@@ -5,54 +5,18 @@
5
5
  (factory((global.sq = {})));
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 Albanian = {
14
- weekdays: {
15
- shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
16
- longhand: [
17
- "E Diel",
18
- "E Hënë",
19
- "E Martë",
20
- "E Mërkurë",
21
- "E Enjte",
22
- "E Premte",
23
- "E Shtunë",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Jan",
29
- "Shk",
30
- "Mar",
31
- "Pri",
32
- "Maj",
33
- "Qer",
34
- "Kor",
35
- "Gus",
36
- "Sht",
37
- "Tet",
38
- "Nën",
39
- "Dhj",
40
- ],
41
- longhand: [
42
- "Janar",
43
- "Shkurt",
44
- "Mars",
45
- "Prill",
46
- "Maj",
47
- "Qershor",
48
- "Korrik",
49
- "Gusht",
50
- "Shtator",
51
- "Tetor",
52
- "Nëntor",
53
- "Dhjetor",
54
- ],
55
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Albanian = {
12
+ weekdays: {
13
+ shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
14
+ longhand: ["E Diel", "E Hënë", "E Martë", "E Mërkurë", "E Enjte", "E Premte", "E Shtunë"]
15
+ },
16
+ months: {
17
+ shorthand: ["Jan", "Shk", "Mar", "Pri", "Maj", "Qer", "Kor", "Gus", "Sht", "Tet", "Nën", "Dhj"],
18
+ longhand: ["Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor", "Korrik", "Gusht", "Shtator", "Tetor", "Nëntor", "Dhjetor"]
19
+ }
56
20
  };
57
21
  fp.l10ns.sq = Albanian;
58
22
  var sq = fp.l10ns;
@@ -5,57 +5,21 @@
5
5
  (factory((global.sr = {})));
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 Serbian = {
14
- weekdays: {
15
- shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
16
- longhand: [
17
- "Nedelja",
18
- "Ponedeljak",
19
- "Utorak",
20
- "Sreda",
21
- "Četvrtak",
22
- "Petak",
23
- "Subota",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Jan",
29
- "Feb",
30
- "Mar",
31
- "Apr",
32
- "Maj",
33
- "Jun",
34
- "Jul",
35
- "Avg",
36
- "Sep",
37
- "Okt",
38
- "Nov",
39
- "Dec",
40
- ],
41
- longhand: [
42
- "Januar",
43
- "Februar",
44
- "Mart",
45
- "April",
46
- "Maj",
47
- "Jun",
48
- "Jul",
49
- "Avgust",
50
- "Septembar",
51
- "Oktobar",
52
- "Novembar",
53
- "Decembar",
54
- ],
55
- },
56
- firstDayOfWeek: 1,
57
- weekAbbreviation: "Ned.",
58
- rangeSeparator: " do ",
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Serbian = {
12
+ weekdays: {
13
+ shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
14
+ longhand: ["Nedelja", "Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota"]
15
+ },
16
+ months: {
17
+ shorthand: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
18
+ longhand: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"]
19
+ },
20
+ firstDayOfWeek: 1,
21
+ weekAbbreviation: "Ned.",
22
+ rangeSeparator: " do "
59
23
  };
60
24
  fp.l10ns.sr = Serbian;
61
25
  var sr = fp.l10ns;
@@ -5,59 +5,23 @@
5
5
  (factory((global.sv = {})));
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 Swedish = {
14
- firstDayOfWeek: 1,
15
- weekAbbreviation: "v",
16
- weekdays: {
17
- shorthand: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör"],
18
- longhand: [
19
- "Söndag",
20
- "Måndag",
21
- "Tisdag",
22
- "Onsdag",
23
- "Torsdag",
24
- "Fredag",
25
- "Lördag",
26
- ],
27
- },
28
- months: {
29
- shorthand: [
30
- "Jan",
31
- "Feb",
32
- "Mar",
33
- "Apr",
34
- "Maj",
35
- "Jun",
36
- "Jul",
37
- "Aug",
38
- "Sep",
39
- "Okt",
40
- "Nov",
41
- "Dec",
42
- ],
43
- longhand: [
44
- "Januari",
45
- "Februari",
46
- "Mars",
47
- "April",
48
- "Maj",
49
- "Juni",
50
- "Juli",
51
- "Augusti",
52
- "September",
53
- "Oktober",
54
- "November",
55
- "December",
56
- ],
57
- },
58
- ordinal: () => {
59
- return ".";
60
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Swedish = {
12
+ firstDayOfWeek: 1,
13
+ weekAbbreviation: "v",
14
+ weekdays: {
15
+ shorthand: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör"],
16
+ longhand: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"]
17
+ },
18
+ months: {
19
+ shorthand: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
20
+ longhand: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"]
21
+ },
22
+ ordinal: function ordinal() {
23
+ return ".";
24
+ }
61
25
  };
62
26
  fp.l10ns.sv = Swedish;
63
27
  var sv = fp.l10ns;
@@ -5,61 +5,25 @@
5
5
  (factory((global.th = {})));
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 Thai = {
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
- rangeSeparator: " ถึง ",
58
- scrollTitle: "เลื่อนเพื่อเพิ่มหรือลด",
59
- toggleTitle: "คลิกเพื่อเปลี่ยน",
60
- ordinal: () => {
61
- return "";
62
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Thai = {
12
+ weekdays: {
13
+ shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
14
+ longhand: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศุกร์", "เสาร์"]
15
+ },
16
+ months: {
17
+ shorthand: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."],
18
+ longhand: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"]
19
+ },
20
+ firstDayOfWeek: 1,
21
+ rangeSeparator: " ถึง ",
22
+ scrollTitle: "เลื่อนเพื่อเพิ่มหรือลด",
23
+ toggleTitle: "คลิกเพื่อเปลี่ยน",
24
+ ordinal: function ordinal() {
25
+ return "";
26
+ }
63
27
  };
64
28
  fp.l10ns.th = Thai;
65
29
  var th = fp.l10ns;