flatpickr_rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/flatpickr_rails.gemspec +1 -1
  3. data/lib/flatpickr_rails/version.rb +1 -1
  4. data/vendor/assets/javascripts/flatpickr/core.js +1034 -1
  5. data/vendor/assets/javascripts/flatpickr/index.js +0 -2
  6. data/vendor/assets/stylesheets/flatpickr.confetti.css +246 -1
  7. data/vendor/assets/stylesheets/flatpickr.css +242 -1
  8. data/vendor/assets/stylesheets/flatpickr.dark.css +243 -1
  9. data/vendor/assets/stylesheets/flatpickr.material_blue.css +246 -1
  10. data/vendor/assets/stylesheets/flatpickr.material_green.css +246 -1
  11. data/vendor/assets/stylesheets/flatpickr.material_orange.css +246 -1
  12. data/vendor/assets/stylesheets/flatpickr.material_red.css +246 -1
  13. metadata +2 -23
  14. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.ar.js +0 -11
  15. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.bg.js +0 -11
  16. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.bn.js +0 -11
  17. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.de.js +0 -11
  18. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.es.js +0 -17
  19. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.fa.js +0 -15
  20. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.fi.js +0 -17
  21. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.fr.js +0 -19
  22. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.he.js +0 -11
  23. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.hi.js +0 -11
  24. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.ja.js +0 -11
  25. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.ko.js +0 -15
  26. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.nl.js +0 -21
  27. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.no.js +0 -15
  28. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.pa.js +0 -11
  29. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.pl.js +0 -15
  30. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.pt.js +0 -11
  31. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.ru.js +0 -11
  32. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.sq.js +0 -11
  33. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.tr.js +0 -13
  34. data/vendor/assets/javascripts/flatpickr/locales/flatpickr.l10n.zh.js +0 -11
@@ -1,11 +0,0 @@
1
- /* Japanese locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.weekdays = {
4
- shorthand: ['日', '月', '火', '水', '木', '金', '土'],
5
- longhand: ['日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日']
6
- };
7
-
8
- flatpickr.init.prototype.l10n.months = {
9
- shorthand: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
10
- longhand: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
11
- };
@@ -1,15 +0,0 @@
1
- /* Republic of Korea locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.weekdays = {
4
- shorthand: ['일', '월', '화', '수', '목', '금', '토'],
5
- longhand: ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일']
6
- };
7
-
8
- flatpickr.init.prototype.l10n.months = {
9
- shorthand: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
10
- longhand: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월']
11
- };
12
-
13
- flatpickr.init.prototype.l10n.ordinal = () => {
14
- return "일";
15
- };
@@ -1,21 +0,0 @@
1
- /* Dutch locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.weekdays = {
4
- shorthand: ['Zo', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za'],
5
- longhand: ['Zondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag']
6
- };
7
-
8
- flatpickr.init.prototype.l10n.months = {
9
- shorthand: ['Jan', 'Feb', 'Maa', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sept', 'Okt', 'Nov', 'Dec'],
10
- longhand: ['Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni', 'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December']
11
- };
12
-
13
- flatpickr.init.prototype.l10n.firstDayOfWeek = 1;
14
-
15
- flatpickr.init.prototype.l10n.ordinal = (nth) => {
16
- if (nth === 1 || nth === 8 || nth >= 20) {
17
- return "ste";
18
- }
19
-
20
- return "de";
21
- };
@@ -1,15 +0,0 @@
1
- /* Norwegian locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.weekdays = {
4
- shorthand: ['Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'],
5
- longhand: ['Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag']
6
- };
7
-
8
- flatpickr.init.prototype.l10n.months = {
9
- shorthand: ['Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
10
- longhand: ['Januar', 'Februar', 'Mars', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Desember']
11
- };
12
-
13
- flatpickr.init.prototype.l10n.ordinal = () => {
14
- return ".";
15
- };
@@ -1,11 +0,0 @@
1
- /* Punjabi locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.weekdays = {
4
- shorthand: ['ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', 'ਸ਼ਨਿੱਚਰ'],
5
- longhand: ['ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ']
6
- };
7
-
8
- flatpickr.init.prototype.l10n.months = {
9
- shorthand: ['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕ', 'ਨਵੰ', 'ਦਸੰ'],
10
- longhand: ['ਜਨਵਰੀ','ਫ਼ਰਵਰੀ','ਮਾਰਚ','ਅਪ੍ਰੈਲ','ਮਈ','ਜੂਨ', 'ਜੁਲਾਈ','ਅਗਸਤ','ਸਤੰਬਰ','ਅਕਤੂਬਰ','ਨਵੰਬਰ','ਦਸੰਬਰ']
11
- };
@@ -1,15 +0,0 @@
1
- /* Polish locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.weekdays = {
4
- shorthand: ['Nd', 'Pn', 'Wt', 'Śr', 'Cz', 'Pt', 'So'],
5
- longhand: ['Niedziela', 'Poniedziałek', 'Wtorek', 'Środa', 'Czwartek', 'Piątek', 'Sobota']
6
- };
7
-
8
- flatpickr.init.prototype.l10n.months = {
9
- shorthand: ['Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze', 'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru'],
10
- longhand: ['Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec', 'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień']
11
- };
12
-
13
- flatpickr.init.prototype.l10n.ordinal = () => {
14
- return ".";
15
- };
@@ -1,11 +0,0 @@
1
- /* Portuguese locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.weekdays = {
4
- shorthand: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'],
5
- longhand: ['Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'Sábado']
6
- };
7
-
8
- flatpickr.init.prototype.l10n.months = {
9
- shorthand: ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],
10
- longhand: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro']
11
- };
@@ -1,11 +0,0 @@
1
- /* Russian locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.weekdays = {
4
- shorthand: ['Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб'],
5
- longhand: ['Воскресенье', 'Понедельник', 'Вторник', 'Среда', 'Четверг', 'Пятница', 'Суббота']
6
- };
7
-
8
- flatpickr.init.prototype.l10n.months = {
9
- shorthand: ['Янв', 'Фев', 'Март', 'Апр', 'Май', 'Июнь', 'Июль', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'],
10
- longhand: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь']
11
- };
@@ -1,11 +0,0 @@
1
- /* Albanian locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.weekdays = {
4
- shorthand: ['Di', 'Hë', 'Ma', 'Më', 'En', 'Pr', 'Sh'],
5
- longhand: ['E Diel', 'E Hënë', 'E Martë', 'E Mërkurë', 'E Enjte', 'E Premte', 'E Shtunë']
6
- };
7
-
8
- flatpickr.init.prototype.l10n.months = {
9
- shorthand: ['Jan', 'Shk', 'Mar', 'Pri', 'Maj', 'Qer', 'Kor', 'Gus', 'Sht', 'Tet', 'Nën', 'Dhj'],
10
- longhand: ['Janar', 'Shkurt', 'Mars', 'Prill', 'Maj', 'Qershor', 'Korrik', 'Gusht', 'Shtator', 'Tetor', 'Nëntor', 'Dhjetor']
11
- };
@@ -1,13 +0,0 @@
1
- /* Turkish locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.firstDayOfWeek = 1;
4
-
5
- flatpickr.init.prototype.l10n.weekdays = {
6
- shorthand: ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'],
7
- longhand: ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi']
8
- };
9
-
10
- flatpickr.init.prototype.l10n.months = {
11
- shorthand: ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'],
12
- longhand: ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık']
13
- };
@@ -1,11 +0,0 @@
1
- /* Mandarin locals for flatpickr */
2
-
3
- flatpickr.init.prototype.l10n.weekdays = {
4
- shorthand: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
5
- longhand: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']
6
- };
7
-
8
- flatpickr.init.prototype.l10n.months = {
9
- shorthand: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
10
- longhand: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
11
- };