flatpickr 3.0.7.0 → 4.5.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +1 -1
  3. data/README.md +26 -7
  4. data/Rakefile +14 -6
  5. data/lib/flatpickr.rb +3 -1
  6. data/lib/flatpickr/engine.rb +2 -0
  7. data/lib/flatpickr/version.rb +3 -1
  8. data/vendor/assets/javascripts/flatpickr.js +2215 -2351
  9. data/vendor/assets/javascripts/flatpickr/l10n/ar.js +52 -14
  10. data/vendor/assets/javascripts/flatpickr/l10n/at.js +70 -0
  11. data/vendor/assets/javascripts/flatpickr/l10n/be.js +75 -0
  12. data/vendor/assets/javascripts/flatpickr/l10n/bg.js +65 -14
  13. data/vendor/assets/javascripts/flatpickr/l10n/bn.js +65 -14
  14. data/vendor/assets/javascripts/flatpickr/l10n/cat.js +79 -30
  15. data/vendor/assets/javascripts/flatpickr/l10n/cs.js +71 -16
  16. data/vendor/assets/javascripts/flatpickr/l10n/cy.js +88 -32
  17. data/vendor/assets/javascripts/flatpickr/l10n/da.js +68 -15
  18. data/vendor/assets/javascripts/flatpickr/l10n/de.js +66 -17
  19. data/vendor/assets/javascripts/flatpickr/l10n/default.js +81 -0
  20. data/vendor/assets/javascripts/flatpickr/l10n/eo.js +69 -22
  21. data/vendor/assets/javascripts/flatpickr/l10n/es.js +66 -16
  22. data/vendor/assets/javascripts/flatpickr/l10n/et.js +69 -22
  23. data/vendor/assets/javascripts/flatpickr/l10n/fa.js +66 -15
  24. data/vendor/assets/javascripts/flatpickr/l10n/fi.js +65 -16
  25. data/vendor/assets/javascripts/flatpickr/l10n/fr.js +71 -23
  26. data/vendor/assets/javascripts/flatpickr/l10n/gr.js +70 -25
  27. data/vendor/assets/javascripts/flatpickr/l10n/he.js +57 -14
  28. data/vendor/assets/javascripts/flatpickr/l10n/hi.js +65 -14
  29. data/vendor/assets/javascripts/flatpickr/l10n/hr.js +62 -13
  30. data/vendor/assets/javascripts/flatpickr/l10n/hu.js +68 -21
  31. data/vendor/assets/javascripts/flatpickr/l10n/id.js +57 -16
  32. data/vendor/assets/javascripts/flatpickr/l10n/index.js +3022 -97
  33. data/vendor/assets/javascripts/flatpickr/l10n/it.js +67 -21
  34. data/vendor/assets/javascripts/flatpickr/l10n/ja.js +65 -14
  35. data/vendor/assets/javascripts/flatpickr/l10n/km.js +74 -0
  36. data/vendor/assets/javascripts/flatpickr/l10n/ko.js +65 -15
  37. data/vendor/assets/javascripts/flatpickr/l10n/kz.js +75 -0
  38. data/vendor/assets/javascripts/flatpickr/l10n/lt.js +68 -21
  39. data/vendor/assets/javascripts/flatpickr/l10n/lv.js +64 -13
  40. data/vendor/assets/javascripts/flatpickr/l10n/mk.js +64 -15
  41. data/vendor/assets/javascripts/flatpickr/l10n/mn.js +59 -0
  42. data/vendor/assets/javascripts/flatpickr/l10n/ms.js +64 -16
  43. data/vendor/assets/javascripts/flatpickr/l10n/my.js +65 -16
  44. data/vendor/assets/javascripts/flatpickr/l10n/nl.js +71 -23
  45. data/vendor/assets/javascripts/flatpickr/l10n/no.js +69 -20
  46. data/vendor/assets/javascripts/flatpickr/l10n/pa.js +65 -14
  47. data/vendor/assets/javascripts/flatpickr/l10n/pl.js +70 -15
  48. data/vendor/assets/javascripts/flatpickr/l10n/pt.js +62 -13
  49. data/vendor/assets/javascripts/flatpickr/l10n/ro.js +65 -17
  50. data/vendor/assets/javascripts/flatpickr/l10n/ru.js +72 -13
  51. data/vendor/assets/javascripts/flatpickr/l10n/si.js +62 -12
  52. data/vendor/assets/javascripts/flatpickr/l10n/sk.js +66 -17
  53. data/vendor/assets/javascripts/flatpickr/l10n/sl.js +66 -17
  54. data/vendor/assets/javascripts/flatpickr/l10n/sq.js +65 -14
  55. data/vendor/assets/javascripts/flatpickr/l10n/sr.js +64 -15
  56. data/vendor/assets/javascripts/flatpickr/l10n/sv.js +66 -17
  57. data/vendor/assets/javascripts/flatpickr/l10n/th.js +68 -20
  58. data/vendor/assets/javascripts/flatpickr/l10n/tr.js +71 -13
  59. data/vendor/assets/javascripts/flatpickr/l10n/uk.js +63 -13
  60. data/vendor/assets/javascripts/flatpickr/l10n/vn.js +62 -13
  61. data/vendor/assets/javascripts/flatpickr/l10n/zh.js +65 -16
  62. data/vendor/assets/javascripts/flatpickr/plugins/confirmDate/confirmDate.js +49 -0
  63. data/vendor/assets/javascripts/flatpickr/plugins/labelPlugin/labelPlugin.js +31 -0
  64. data/vendor/assets/javascripts/flatpickr/plugins/minMaxTimePlugin.js +281 -0
  65. data/vendor/assets/javascripts/flatpickr/plugins/monthSelect/monthSelect.js +77 -0
  66. data/vendor/assets/javascripts/flatpickr/plugins/rangePlugin.js +138 -0
  67. data/vendor/assets/javascripts/flatpickr/plugins/scrollPlugin.js +50 -0
  68. data/vendor/assets/javascripts/flatpickr/plugins/weekSelect/weekSelect.js +80 -0
  69. data/vendor/assets/stylesheets/flatpickr.css +741 -13
  70. data/vendor/assets/stylesheets/flatpickr/ie.css +13 -0
  71. data/vendor/assets/stylesheets/flatpickr/plugins/confirmDate/confirmDate.css +24 -0
  72. data/vendor/assets/stylesheets/flatpickr/plugins/monthSelect/monthSelect.css +10 -0
  73. data/vendor/assets/stylesheets/flatpickr/themes/airbnb.css +103 -210
  74. data/vendor/assets/stylesheets/flatpickr/themes/confetti.css +102 -209
  75. data/vendor/assets/stylesheets/flatpickr/themes/dark.css +117 -224
  76. data/vendor/assets/stylesheets/flatpickr/themes/light.css +102 -209
  77. data/vendor/assets/stylesheets/flatpickr/themes/material_blue.css +102 -209
  78. data/vendor/assets/stylesheets/flatpickr/themes/material_green.css +102 -209
  79. data/vendor/assets/stylesheets/flatpickr/themes/material_orange.css +102 -209
  80. data/vendor/assets/stylesheets/flatpickr/themes/material_red.css +102 -209
  81. metadata +19 -12
  82. data/vendor/assets/stylesheets/flatpickr/rtl/flatpickr.min.css +0 -13
  83. data/vendor/assets/stylesheets/flatpickr/rtl/themes/airbnb.rtl.css +0 -946
  84. data/vendor/assets/stylesheets/flatpickr/rtl/themes/base16_flat.rtl.css +0 -869
  85. data/vendor/assets/stylesheets/flatpickr/rtl/themes/confetti.rtl.css +0 -883
  86. data/vendor/assets/stylesheets/flatpickr/rtl/themes/dark.rtl.css +0 -869
  87. data/vendor/assets/stylesheets/flatpickr/rtl/themes/material_blue.rtl.css +0 -883
  88. data/vendor/assets/stylesheets/flatpickr/rtl/themes/material_green.rtl.css +0 -883
  89. data/vendor/assets/stylesheets/flatpickr/rtl/themes/material_orange.rtl.css +0 -883
  90. data/vendor/assets/stylesheets/flatpickr/rtl/themes/material_red.rtl.css +0 -883
@@ -1,27 +1,75 @@
1
- /* French locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.fr = {};
1
+ /* flatpickr v4.5.2, @license MIT */
2
+ (function (global, factory) {
3
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
5
+ (factory((global.fr = {})));
6
+ }(this, (function (exports) { 'use strict';
4
7
 
5
- flatpickr.l10ns.fr.firstDayOfWeek = 1;
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",
66
+ };
67
+ fp.l10ns.fr = French;
68
+ var fr = fp.l10ns;
6
69
 
7
- flatpickr.l10ns.fr.weekdays = {
8
- shorthand: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"],
9
- longhand: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"]
10
- };
70
+ exports.French = French;
71
+ exports.default = fr;
11
72
 
12
- flatpickr.l10ns.fr.months = {
13
- shorthand: ["Janv", "Févr", "Mars", "Avr", "Mai", "Juin", "Juil", "Août", "Sept", "Oct", "Nov", "Déc"],
14
- longhand: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"]
15
- };
73
+ Object.defineProperty(exports, '__esModule', { value: true });
16
74
 
17
- flatpickr.l10ns.fr.ordinal = function (nth) {
18
- if (nth > 1) return "ème";
19
-
20
- return "er";
21
- };
22
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
23
-
24
- flatpickr.l10ns.fr.rangeSeparator = " au ";
25
- flatpickr.l10ns.fr.weekAbbreviation = "Sem";
26
- flatpickr.l10ns.fr.scrollTitle = "Défiler pour augmenter la valeur";
27
- flatpickr.l10ns.fr.toggleTitle = "Cliquer pour basculer";
75
+ })));
@@ -1,29 +1,74 @@
1
- /* Greek locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.gr = {};
1
+ /* flatpickr v4.5.2, @license MIT */
2
+ (function (global, factory) {
3
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
5
+ (factory((global.gr = {})));
6
+ }(this, (function (exports) { 'use strict';
4
7
 
5
- flatpickr.l10ns.gr.weekdays = {
6
- shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
7
- longhand: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"]
8
- };
8
+ const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
+ ? window.flatpickr
10
+ : {
11
+ l10ns: {},
12
+ };
13
+ const Greek = {
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
+ weekAbbreviation: "Εβδ",
61
+ rangeSeparator: " έως ",
62
+ scrollTitle: "Μετακυλήστε για προσαύξηση",
63
+ toggleTitle: "Κάντε κλικ για αλλαγή",
64
+ amPM: ["ΠΜ", "ΜΜ"],
65
+ };
66
+ fp.l10ns.gr = Greek;
67
+ var gr = fp.l10ns;
9
68
 
10
- flatpickr.l10ns.gr.months = {
11
- shorthand: ["Ιαν", "Φεβ", "Μάρ", "Απρ", "Μάι", "Ιού", "Ιού", "Αύγ", "Σεπ", "Οκτ", "Νοέ", "Δεκ"],
12
- longhand: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"]
13
- };
69
+ exports.Greek = Greek;
70
+ exports.default = gr;
14
71
 
15
- flatpickr.l10ns.gr.firstDayOfWeek = 1;
72
+ Object.defineProperty(exports, '__esModule', { value: true });
16
73
 
17
- flatpickr.l10ns.gr.ordinal = function () {
18
- return "";
19
- };
20
-
21
- flatpickr.l10ns.gr.weekAbbreviation = "Εβδ";
22
- flatpickr.l10ns.gr.rangeSeparator = " έως ";
23
- flatpickr.l10ns.gr.scrollTitle = "Μετακυλήστε για προσαύξηση";
24
- flatpickr.l10ns.gr.toggleTitle = "Κάντε κλικ για αλλαγή";
25
-
26
- flatpickr.l10ns.gr.am = "ΠΜ";
27
- flatpickr.l10ns.gr.pm = "ΜΜ";
28
-
29
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
74
+ })));
@@ -1,14 +1,57 @@
1
- /* Hebrew locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.he = {};
4
-
5
- flatpickr.l10ns.he.weekdays = {
6
- shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ז"],
7
- longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"]
8
- };
9
-
10
- flatpickr.l10ns.he.months = {
11
- shorthand: ["ינו׳", "פבר׳", "מרץ", "אפר׳", "מאי", "יוני", "יולי", "אוג׳", "ספט׳", "אוק׳", "נוב׳", "דצמ׳"],
12
- longhand: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"]
13
- };
14
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
1
+ /* flatpickr v4.5.2, @license MIT */
2
+ (function (global, factory) {
3
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
5
+ (factory((global.he = {})));
6
+ }(this, (function (exports) { 'use strict';
7
+
8
+ const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
+ ? window.flatpickr
10
+ : {
11
+ l10ns: {},
12
+ };
13
+ const Hebrew = {
14
+ weekdays: {
15
+ shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ז"],
16
+ longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"],
17
+ },
18
+ months: {
19
+ shorthand: [
20
+ "ינו׳",
21
+ "פבר׳",
22
+ "מרץ",
23
+ "אפר׳",
24
+ "מאי",
25
+ "יוני",
26
+ "יולי",
27
+ "אוג׳",
28
+ "ספט׳",
29
+ "אוק׳",
30
+ "נוב׳",
31
+ "דצמ׳",
32
+ ],
33
+ longhand: [
34
+ "ינואר",
35
+ "פברואר",
36
+ "מרץ",
37
+ "אפריל",
38
+ "מאי",
39
+ "יוני",
40
+ "יולי",
41
+ "אוגוסט",
42
+ "ספטמבר",
43
+ "אוקטובר",
44
+ "נובמבר",
45
+ "דצמבר",
46
+ ],
47
+ },
48
+ };
49
+ fp.l10ns.he = Hebrew;
50
+ var he = fp.l10ns;
51
+
52
+ exports.Hebrew = Hebrew;
53
+ exports.default = he;
54
+
55
+ Object.defineProperty(exports, '__esModule', { value: true });
56
+
57
+ })));
@@ -1,14 +1,65 @@
1
- /* Hindi locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.hi = {};
4
-
5
- flatpickr.l10ns.hi.weekdays = {
6
- shorthand: ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"],
7
- longhand: ["रविवार", "सोमवार", "मंगलवार", "बुधवार", "गुरुवार", "शुक्रवार", "शनिवार"]
8
- };
9
-
10
- flatpickr.l10ns.hi.months = {
11
- shorthand: ["जन", "फर", "मार्च", "अप्रेल", "मई", "जून", "जूलाई", "अग", "सित", "अक्ट", "नव", "दि"],
12
- longhand: ["जनवरी ", "फरवरी", "मार्च", "अप्रेल", "मई", "जून", "जूलाई", "अगस्त ", "सितम्बर", "अक्टूबर", "नवम्बर", "दिसम्बर"]
13
- };
14
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
1
+ /* flatpickr v4.5.2, @license MIT */
2
+ (function (global, factory) {
3
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
5
+ (factory((global.hi = {})));
6
+ }(this, (function (exports) { 'use strict';
7
+
8
+ const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
+ ? window.flatpickr
10
+ : {
11
+ l10ns: {},
12
+ };
13
+ const Hindi = {
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
+ };
57
+ fp.l10ns.hi = Hindi;
58
+ var hi = fp.l10ns;
59
+
60
+ exports.Hindi = Hindi;
61
+ exports.default = hi;
62
+
63
+ Object.defineProperty(exports, '__esModule', { value: true });
64
+
65
+ })));
@@ -1,17 +1,66 @@
1
- /* Croatian locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.hr = {};
1
+ /* flatpickr v4.5.2, @license MIT */
2
+ (function (global, factory) {
3
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
5
+ (factory((global.hr = {})));
6
+ }(this, (function (exports) { 'use strict';
4
7
 
5
- flatpickr.l10ns.hr.firstDayOfWeek = 1;
8
+ const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
+ ? window.flatpickr
10
+ : {
11
+ l10ns: {},
12
+ };
13
+ const Croatian = {
14
+ firstDayOfWeek: 1,
15
+ weekdays: {
16
+ shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
17
+ longhand: [
18
+ "Nedjelja",
19
+ "Ponedjeljak",
20
+ "Utorak",
21
+ "Srijeda",
22
+ "Četvrtak",
23
+ "Petak",
24
+ "Subota",
25
+ ],
26
+ },
27
+ months: {
28
+ shorthand: [
29
+ "Sij",
30
+ "Velj",
31
+ "Ožu",
32
+ "Tra",
33
+ "Svi",
34
+ "Lip",
35
+ "Srp",
36
+ "Kol",
37
+ "Ruj",
38
+ "Lis",
39
+ "Stu",
40
+ "Pro",
41
+ ],
42
+ longhand: [
43
+ "Siječanj",
44
+ "Veljača",
45
+ "Ožujak",
46
+ "Travanj",
47
+ "Svibanj",
48
+ "Lipanj",
49
+ "Srpanj",
50
+ "Kolovoz",
51
+ "Rujan",
52
+ "Listopad",
53
+ "Studeni",
54
+ "Prosinac",
55
+ ],
56
+ },
57
+ };
58
+ fp.l10ns.hr = Croatian;
59
+ var hr = fp.l10ns;
6
60
 
7
- flatpickr.l10ns.hr.weekdays = {
8
- shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
9
- longhand: ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"]
10
- };
61
+ exports.Croatian = Croatian;
62
+ exports.default = hr;
11
63
 
12
- flatpickr.l10ns.hr.months = {
13
- shorthand: ["Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro"],
14
- longhand: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"]
15
- };
64
+ Object.defineProperty(exports, '__esModule', { value: true });
16
65
 
17
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
66
+ })));
@@ -1,25 +1,72 @@
1
- /* Hungarian locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.hu = {};
1
+ /* flatpickr v4.5.2, @license MIT */
2
+ (function (global, factory) {
3
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
5
+ (factory((global.hu = {})));
6
+ }(this, (function (exports) { 'use strict';
4
7
 
5
- flatpickr.l10ns.hu.firstDayOfWeek = 1;
8
+ const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
+ ? window.flatpickr
10
+ : {
11
+ l10ns: {},
12
+ };
13
+ const Hungarian = {
14
+ firstDayOfWeek: 1,
15
+ weekdays: {
16
+ shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"],
17
+ longhand: [
18
+ "Vasárnap",
19
+ "Hétfő",
20
+ "Kedd",
21
+ "Szerda",
22
+ "Csütörtök",
23
+ "Péntek",
24
+ "Szombat",
25
+ ],
26
+ },
27
+ months: {
28
+ shorthand: [
29
+ "Jan",
30
+ "Feb",
31
+ "Már",
32
+ "Ápr",
33
+ "Máj",
34
+ "Jún",
35
+ "Júl",
36
+ "Aug",
37
+ "Szep",
38
+ "Okt",
39
+ "Nov",
40
+ "Dec",
41
+ ],
42
+ longhand: [
43
+ "Január",
44
+ "Február",
45
+ "Március",
46
+ "Április",
47
+ "Május",
48
+ "Június",
49
+ "Július",
50
+ "Augusztus",
51
+ "Szeptember",
52
+ "Október",
53
+ "November",
54
+ "December",
55
+ ],
56
+ },
57
+ ordinal: function () {
58
+ return ".";
59
+ },
60
+ weekAbbreviation: "Hét",
61
+ scrollTitle: "Görgessen",
62
+ toggleTitle: "Kattintson a váltáshoz",
63
+ };
64
+ fp.l10ns.hu = Hungarian;
65
+ var hu = fp.l10ns;
6
66
 
7
- flatpickr.l10ns.hu.weekdays = {
8
- shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"],
9
- longhand: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat"]
10
- };
67
+ exports.Hungarian = Hungarian;
68
+ exports.default = hu;
11
69
 
12
- flatpickr.l10ns.hu.months = {
13
- shorthand: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Szep", "Okt", "Nov", "Dec"],
14
- longhand: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"]
15
- };
70
+ Object.defineProperty(exports, '__esModule', { value: true });
16
71
 
17
- flatpickr.l10ns.hu.ordinal = function () {
18
- return ".";
19
- };
20
-
21
- flatpickr.l10ns.hu.weekAbbreviation = "Hét";
22
- flatpickr.l10ns.hu.scrollTitle = "Görgessen";
23
- flatpickr.l10ns.hu.toggleTitle = "Kattintson a váltáshoz";
24
-
25
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
72
+ })));