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,62 +5,26 @@
5
5
  (factory((global.eo = {})));
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 Esperanto = {
14
- firstDayOfWeek: 1,
15
- rangeSeparator: " ĝis ",
16
- weekAbbreviation: "Sem",
17
- scrollTitle: "Rulumu por pligrandigi la valoron",
18
- toggleTitle: "Klaku por ŝalti",
19
- weekdays: {
20
- shorthand: ["Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab"],
21
- longhand: [
22
- "dimanĉo",
23
- "lundo",
24
- "mardo",
25
- "merkredo",
26
- "ĵaŭdo",
27
- "vendredo",
28
- "sabato",
29
- ],
30
- },
31
- months: {
32
- shorthand: [
33
- "Jan",
34
- "Feb",
35
- "Mar",
36
- "Apr",
37
- "Maj",
38
- "Jun",
39
- "Jul",
40
- "Aŭg",
41
- "Sep",
42
- "Okt",
43
- "Nov",
44
- "Dec",
45
- ],
46
- longhand: [
47
- "januaro",
48
- "februaro",
49
- "marto",
50
- "aprilo",
51
- "majo",
52
- "junio",
53
- "julio",
54
- "aŭgusto",
55
- "septembro",
56
- "oktobro",
57
- "novembro",
58
- "decembro",
59
- ],
60
- },
61
- ordinal: () => {
62
- return "-a";
63
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Esperanto = {
12
+ firstDayOfWeek: 1,
13
+ rangeSeparator: " ĝis ",
14
+ weekAbbreviation: "Sem",
15
+ scrollTitle: "Rulumu por pligrandigi la valoron",
16
+ toggleTitle: "Klaku por ŝalti",
17
+ weekdays: {
18
+ shorthand: ["Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab"],
19
+ longhand: ["dimanĉo", "lundo", "mardo", "merkredo", "ĵaŭdo", "vendredo", "sabato"]
20
+ },
21
+ months: {
22
+ shorthand: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aŭg", "Sep", "Okt", "Nov", "Dec"],
23
+ longhand: ["januaro", "februaro", "marto", "aprilo", "majo", "junio", "julio", "aŭgusto", "septembro", "oktobro", "novembro", "decembro"]
24
+ },
25
+ ordinal: function ordinal() {
26
+ return "-a";
27
+ }
64
28
  };
65
29
  fp.l10ns.eo = Esperanto;
66
30
  var eo = fp.l10ns;
@@ -5,59 +5,23 @@
5
5
  (factory((global.es = {})));
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 Spanish = {
14
- weekdays: {
15
- shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
16
- longhand: [
17
- "Domingo",
18
- "Lunes",
19
- "Martes",
20
- "Miércoles",
21
- "Jueves",
22
- "Viernes",
23
- "Sábado",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Ene",
29
- "Feb",
30
- "Mar",
31
- "Abr",
32
- "May",
33
- "Jun",
34
- "Jul",
35
- "Ago",
36
- "Sep",
37
- "Oct",
38
- "Nov",
39
- "Dic",
40
- ],
41
- longhand: [
42
- "Enero",
43
- "Febrero",
44
- "Marzo",
45
- "Abril",
46
- "Mayo",
47
- "Junio",
48
- "Julio",
49
- "Agosto",
50
- "Septiembre",
51
- "Octubre",
52
- "Noviembre",
53
- "Diciembre",
54
- ],
55
- },
56
- ordinal: () => {
57
- return "º";
58
- },
59
- firstDayOfWeek: 1,
60
- rangeSeparator: " a ",
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Spanish = {
12
+ weekdays: {
13
+ shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
14
+ longhand: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"]
15
+ },
16
+ months: {
17
+ shorthand: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
18
+ longhand: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"]
19
+ },
20
+ ordinal: function ordinal() {
21
+ return "º";
22
+ },
23
+ firstDayOfWeek: 1,
24
+ rangeSeparator: " a "
61
25
  };
62
26
  fp.l10ns.es = Spanish;
63
27
  var es = fp.l10ns;
@@ -5,62 +5,26 @@
5
5
  (factory((global.et = {})));
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 Estonian = {
14
- weekdays: {
15
- shorthand: ["P", "E", "T", "K", "N", "R", "L"],
16
- longhand: [
17
- "Pühapäev",
18
- "Esmaspäev",
19
- "Teisipäev",
20
- "Kolmapäev",
21
- "Neljapäev",
22
- "Reede",
23
- "Laupäev",
24
- ],
25
- },
26
- months: {
27
- shorthand: [
28
- "Jaan",
29
- "Veebr",
30
- "Märts",
31
- "Apr",
32
- "Mai",
33
- "Juuni",
34
- "Juuli",
35
- "Aug",
36
- "Sept",
37
- "Okt",
38
- "Nov",
39
- "Dets",
40
- ],
41
- longhand: [
42
- "Jaanuar",
43
- "Veebruar",
44
- "Märts",
45
- "Aprill",
46
- "Mai",
47
- "Juuni",
48
- "Juuli",
49
- "August",
50
- "September",
51
- "Oktoober",
52
- "November",
53
- "Detsember",
54
- ],
55
- },
56
- firstDayOfWeek: 1,
57
- ordinal: function () {
58
- return ".";
59
- },
60
- weekAbbreviation: "Näd",
61
- rangeSeparator: " kuni ",
62
- scrollTitle: "Keri, et suurendada",
63
- toggleTitle: "Klõpsa, et vahetada",
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Estonian = {
12
+ weekdays: {
13
+ shorthand: ["P", "E", "T", "K", "N", "R", "L"],
14
+ longhand: ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev"]
15
+ },
16
+ months: {
17
+ shorthand: ["Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"],
18
+ longhand: ["Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"]
19
+ },
20
+ firstDayOfWeek: 1,
21
+ ordinal: function ordinal() {
22
+ return ".";
23
+ },
24
+ weekAbbreviation: "Näd",
25
+ rangeSeparator: " kuni ",
26
+ scrollTitle: "Keri, et suurendada",
27
+ toggleTitle: "Klõpsa, et vahetada"
64
28
  };
65
29
  fp.l10ns.et = Estonian;
66
30
  var et = fp.l10ns;
@@ -5,58 +5,22 @@
5
5
  (factory((global.fa = {})));
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 Persian = {
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: 6,
57
- ordinal: () => {
58
- return "";
59
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Persian = {
12
+ weekdays: {
13
+ shorthand: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه"],
14
+ longhand: ["یک‌شنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنچ‌شنبه", "جمعه", "شنبه"]
15
+ },
16
+ months: {
17
+ shorthand: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"],
18
+ longhand: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"]
19
+ },
20
+ firstDayOfWeek: 6,
21
+ ordinal: function ordinal() {
22
+ return "";
23
+ }
60
24
  };
61
25
  fp.l10ns.fa = Persian;
62
26
  var fa = fp.l10ns;
@@ -5,58 +5,22 @@
5
5
  (factory((global.fi = {})));
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 Finnish = {
14
- firstDayOfWeek: 1,
15
- weekdays: {
16
- shorthand: ["Su", "Ma", "Ti", "Ke", "To", "Pe", "La"],
17
- longhand: [
18
- "Sunnuntai",
19
- "Maanantai",
20
- "Tiistai",
21
- "Keskiviikko",
22
- "Torstai",
23
- "Perjantai",
24
- "Lauantai",
25
- ],
26
- },
27
- months: {
28
- shorthand: [
29
- "Tammi",
30
- "Helmi",
31
- "Maalis",
32
- "Huhti",
33
- "Touko",
34
- "Kesä",
35
- "Heinä",
36
- "Elo",
37
- "Syys",
38
- "Loka",
39
- "Marras",
40
- "Joulu",
41
- ],
42
- longhand: [
43
- "Tammikuu",
44
- "Helmikuu",
45
- "Maaliskuu",
46
- "Huhtikuu",
47
- "Toukokuu",
48
- "Kesäkuu",
49
- "Heinäkuu",
50
- "Elokuu",
51
- "Syyskuu",
52
- "Lokakuu",
53
- "Marraskuu",
54
- "Joulukuu",
55
- ],
56
- },
57
- ordinal: () => {
58
- return ".";
59
- },
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var Finnish = {
12
+ firstDayOfWeek: 1,
13
+ weekdays: {
14
+ shorthand: ["Su", "Ma", "Ti", "Ke", "To", "Pe", "La"],
15
+ longhand: ["Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"]
16
+ },
17
+ months: {
18
+ shorthand: ["Tammi", "Helmi", "Maalis", "Huhti", "Touko", "Kesä", "Heinä", "Elo", "Syys", "Loka", "Marras", "Joulu"],
19
+ longhand: ["Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"]
20
+ },
21
+ ordinal: function ordinal() {
22
+ return ".";
23
+ }
60
24
  };
61
25
  fp.l10ns.fi = Finnish;
62
26
  var fi = fp.l10ns;
@@ -5,64 +5,27 @@
5
5
  (factory((global.fr = {})));
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 French = {
14
- firstDayOfWeek: 1,
15
- weekdays: {
16
- shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"],
17
- longhand: [
18
- "dimanche",
19
- "lundi",
20
- "mardi",
21
- "mercredi",
22
- "jeudi",
23
- "vendredi",
24
- "samedi",
25
- ],
26
- },
27
- months: {
28
- shorthand: [
29
- "janv",
30
- "févr",
31
- "mars",
32
- "avr",
33
- "mai",
34
- "juin",
35
- "juil",
36
- "août",
37
- "sept",
38
- "oct",
39
- "nov",
40
- "déc",
41
- ],
42
- longhand: [
43
- "janvier",
44
- "février",
45
- "mars",
46
- "avril",
47
- "mai",
48
- "juin",
49
- "juillet",
50
- "août",
51
- "septembre",
52
- "octobre",
53
- "novembre",
54
- "décembre",
55
- ],
56
- },
57
- ordinal: nth => {
58
- if (nth > 1)
59
- return "";
60
- return "er";
61
- },
62
- rangeSeparator: " au ",
63
- weekAbbreviation: "Sem",
64
- scrollTitle: "Défiler pour augmenter la valeur",
65
- toggleTitle: "Cliquer pour basculer",
8
+ var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
9
+ l10ns: {}
10
+ };
11
+ var French = {
12
+ firstDayOfWeek: 1,
13
+ weekdays: {
14
+ shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"],
15
+ longhand: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"]
16
+ },
17
+ months: {
18
+ shorthand: ["janv", "févr", "mars", "avr", "mai", "juin", "juil", "août", "sept", "oct", "nov", "déc"],
19
+ longhand: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"]
20
+ },
21
+ ordinal: function ordinal(nth) {
22
+ if (nth > 1) return "";
23
+ return "er";
24
+ },
25
+ rangeSeparator: " au ",
26
+ weekAbbreviation: "Sem",
27
+ scrollTitle: "Défiler pour augmenter la valeur",
28
+ toggleTitle: "Cliquer pour basculer"
66
29
  };
67
30
  fp.l10ns.fr = French;
68
31
  var fr = fp.l10ns;