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,24 +1,73 @@
1
- /* Norwegian locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.no = {};
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.no = {})));
6
+ }(this, (function (exports) { 'use strict';
4
7
 
5
- flatpickr.l10ns.no.weekdays = {
6
- shorthand: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"],
7
- longhand: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"]
8
- };
8
+ const fp = typeof window !== "undefined" && window.flatpickr !== undefined
9
+ ? window.flatpickr
10
+ : {
11
+ l10ns: {},
12
+ };
13
+ const Norwegian = {
14
+ weekdays: {
15
+ shorthand: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"],
16
+ longhand: [
17
+ "Søndag",
18
+ "Mandag",
19
+ "Tirsdag",
20
+ "Onsdag",
21
+ "Torsdag",
22
+ "Fredag",
23
+ "Lørdag",
24
+ ],
25
+ },
26
+ months: {
27
+ shorthand: [
28
+ "Jan",
29
+ "Feb",
30
+ "Mar",
31
+ "Apr",
32
+ "Mai",
33
+ "Jun",
34
+ "Jul",
35
+ "Aug",
36
+ "Sep",
37
+ "Okt",
38
+ "Nov",
39
+ "Des",
40
+ ],
41
+ longhand: [
42
+ "Januar",
43
+ "Februar",
44
+ "Mars",
45
+ "April",
46
+ "Mai",
47
+ "Juni",
48
+ "Juli",
49
+ "August",
50
+ "September",
51
+ "Oktober",
52
+ "November",
53
+ "Desember",
54
+ ],
55
+ },
56
+ firstDayOfWeek: 1,
57
+ rangeSeparator: " til ",
58
+ weekAbbreviation: "Uke",
59
+ scrollTitle: "Scroll for å endre",
60
+ toggleTitle: "Klikk for å veksle",
61
+ ordinal: () => {
62
+ return ".";
63
+ },
64
+ };
65
+ fp.l10ns.no = Norwegian;
66
+ var no = fp.l10ns;
9
67
 
10
- flatpickr.l10ns.no.months = {
11
- shorthand: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
12
- longhand: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"]
13
- };
68
+ exports.Norwegian = Norwegian;
69
+ exports.default = no;
14
70
 
15
- flatpickr.l10ns.no.firstDayOfWeek = 1;
16
- flatpickr.l10ns.no.rangeSeparator = " til ";
17
- flatpickr.l10ns.no.weekAbbreviation = "Uke";
18
- flatpickr.l10ns.no.scrollTitle = "Scroll for å endre";
19
- flatpickr.l10ns.no.toggleTitle = "Klikk for å veksle";
71
+ Object.defineProperty(exports, '__esModule', { value: true });
20
72
 
21
- flatpickr.l10ns.no.ordinal = function () {
22
- return ".";
23
- };
24
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
73
+ })));
@@ -1,14 +1,65 @@
1
- /* Punjabi locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.pa = {};
4
-
5
- flatpickr.l10ns.pa.weekdays = {
6
- shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"],
7
- longhand: ["ਐਤਵਾਰ", "ਸੋਮਵਾਰ", "ਮੰਗਲਵਾਰ", "ਬੁੱਧਵਾਰ", "ਵੀਰਵਾਰ", "ਸ਼ੁੱਕਰਵਾਰ", "ਸ਼ਨਿੱਚਰਵਾਰ"]
8
- };
9
-
10
- flatpickr.l10ns.pa.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.pa = {})));
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 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
+ },
56
+ };
57
+ fp.l10ns.pa = Punjabi;
58
+ var pa = fp.l10ns;
59
+
60
+ exports.Punjabi = Punjabi;
61
+ exports.default = pa;
62
+
63
+ Object.defineProperty(exports, '__esModule', { value: true });
64
+
65
+ })));
@@ -1,18 +1,73 @@
1
- /* Polish locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.pl = {};
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.pl = {})));
6
+ }(this, (function (exports) { 'use strict';
4
7
 
5
- flatpickr.l10ns.pl.weekdays = {
6
- shorthand: ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "So"],
7
- longhand: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"]
8
- };
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
+ },
64
+ };
65
+ fp.l10ns.pl = Polish;
66
+ var pl = fp.l10ns;
9
67
 
10
- flatpickr.l10ns.pl.months = {
11
- shorthand: ["Sty", "Lut", "Mar", "Kwi", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru"],
12
- longhand: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"]
13
- };
68
+ exports.Polish = Polish;
69
+ exports.default = pl;
14
70
 
15
- flatpickr.l10ns.pl.ordinal = function () {
16
- return ".";
17
- };
18
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
71
+ Object.defineProperty(exports, '__esModule', { value: true });
72
+
73
+ })));
@@ -1,17 +1,66 @@
1
- /* Portuguese locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.pt = {};
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.pt = {})));
6
+ }(this, (function (exports) { 'use strict';
4
7
 
5
- flatpickr.l10ns.pt.weekdays = {
6
- shorthand: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
7
- longhand: ["Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"]
8
- };
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é ",
57
+ };
58
+ fp.l10ns.pt = Portuguese;
59
+ var pt = fp.l10ns;
9
60
 
10
- flatpickr.l10ns.pt.months = {
11
- shorthand: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
12
- longhand: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"]
13
- };
61
+ exports.Portuguese = Portuguese;
62
+ exports.default = pt;
14
63
 
15
- flatpickr.l10ns.pt.rangeSeparator = " até ";
64
+ Object.defineProperty(exports, '__esModule', { value: true });
16
65
 
17
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
66
+ })));
@@ -1,21 +1,69 @@
1
- /* Romanian locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.ro = {};
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.ro = {})));
6
+ }(this, (function (exports) { 'use strict';
4
7
 
5
- flatpickr.l10ns.ro.weekdays = {
6
- shorthand: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sam"],
7
- longhand: ["Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"]
8
- };
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
+ },
60
+ };
61
+ fp.l10ns.ro = Romanian;
62
+ var ro = fp.l10ns;
9
63
 
10
- flatpickr.l10ns.ro.months = {
11
- shorthand: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec"],
12
- longhand: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"]
13
- };
64
+ exports.Romanian = Romanian;
65
+ exports.default = ro;
14
66
 
15
- flatpickr.l10ns.ro.firstDayOfWeek = 1;
67
+ Object.defineProperty(exports, '__esModule', { value: true });
16
68
 
17
- flatpickr.l10ns.ro.ordinal = function () {
18
- return "";
19
- };
20
-
21
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
69
+ })));
@@ -1,16 +1,75 @@
1
- /* Russian locals for flatpickr */
2
- var flatpickr = flatpickr || { l10ns: {} };
3
- flatpickr.l10ns.ru = {};
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.ru = {})));
6
+ }(this, (function (exports) { 'use strict';
4
7
 
5
- flatpickr.l10ns.ru.firstDayOfWeek = 1; // Monday
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: "Год",
66
+ };
67
+ fp.l10ns.ru = Russian;
68
+ var ru = fp.l10ns;
6
69
 
7
- flatpickr.l10ns.ru.weekdays = {
8
- shorthand: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
9
- longhand: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"]
10
- };
70
+ exports.Russian = Russian;
71
+ exports.default = ru;
11
72
 
12
- flatpickr.l10ns.ru.months = {
13
- shorthand: ["Янв", "Фев", "Март", "Апр", "Май", "Июнь", "Июль", "Авг", "Сен", "Окт", "Ноя", "Дек"],
14
- longhand: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"]
15
- };
16
- if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
73
+ Object.defineProperty(exports, '__esModule', { value: true });
74
+
75
+ })));