jquery-datetimepicker-rails 2.3.9.0 → 2.4.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e32ec4bd8a85ed90950369ec535010bb39aa80e2
4
- data.tar.gz: 5881fcdb8a3816f77dd4dd5d9ce04d776f84aa77
3
+ metadata.gz: c04ff004ecd582a51d2ab5ae5eb47d2dbf252da9
4
+ data.tar.gz: 2a774a5a0d00b8dd9e0cb396cd1abf9a065be5bc
5
5
  SHA512:
6
- metadata.gz: 1a6d65bf4542fa190b4b0fb97f3eeeb7eb893c1e88110bde99b1d2e278c6d02fdc4dde88abf808eb983ab31c3a6c9efcb6589b45e8666fff8ec6ec29b2447a07
7
- data.tar.gz: 52dc6ea276b05784a01cad64a216f7e9f62d7c215fa52bebd12b66deb633310c3d9803a8ff74c656817fdb0cc0c69c32a0be5795959bb1493f58db62ac1ef7ad
6
+ metadata.gz: 28bb8bd777981cfa92fb8fee3de80394b3bcfafeaeb8741da958772f9fed5898e6fa617201925c0c609854d2abb9fa6612bce28d8b3f97b9cb3c29e23eaea985
7
+ data.tar.gz: 372fe14e062e46d508e1b0580ae44a8b99de4ffa3dc6fc88b3883a3e44994fe3a32fc4de0c13e037a861aa99b948dbc421915a094476036130609d3c51d8d8d2
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @preserve jQuery DateTimePicker plugin v2.3.9
2
+ * @preserve jQuery DateTimePicker plugin v2.4.1
3
3
  * @homepage http://xdsoft.net/jqplugins/datetimepicker/
4
4
  * (c) 2014, Chupurnov Valeriy.
5
5
  */
@@ -231,6 +231,190 @@
231
231
  dayOfWeek: [
232
232
  "Va", "Hé", "Ke", "Sze", "Cs", "Pé", "Szo"
233
233
  ]
234
+ },
235
+ az: { //Azerbaijanian (Azeri)
236
+ months: [
237
+ "Yanvar", "Fevral", "Mart", "Aprel", "May", "Iyun", "Iyul", "Avqust", "Sentyabr", "Oktyabr", "Noyabr", "Dekabr"
238
+ ],
239
+ dayOfWeek: [
240
+ "B", "Be", "Ça", "Ç", "Ca", "C", "Ş"
241
+ ]
242
+ },
243
+ bs: { //Bosanski
244
+ months: [
245
+ "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
246
+ ],
247
+ dayOfWeek: [
248
+ "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"
249
+ ]
250
+ },
251
+ ca: { //Català
252
+ months: [
253
+ "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
254
+ ],
255
+ dayOfWeek: [
256
+ "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"
257
+ ]
258
+ },
259
+ 'en-GB': { //English (British)
260
+ months: [
261
+ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
262
+ ],
263
+ dayOfWeek: [
264
+ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
265
+ ]
266
+ },
267
+ et: { //"Eesti"
268
+ months: [
269
+ "Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"
270
+ ],
271
+ dayOfWeek: [
272
+ "P", "E", "T", "K", "N", "R", "L"
273
+ ]
274
+ },
275
+ eu: { //Euskara
276
+ months: [
277
+ "Urtarrila", "Otsaila", "Martxoa", "Apirila", "Maiatza", "Ekaina", "Uztaila", "Abuztua", "Iraila", "Urria", "Azaroa", "Abendua"
278
+ ],
279
+ dayOfWeek: [
280
+ "Ig.", "Al.", "Ar.", "Az.", "Og.", "Or.", "La."
281
+ ]
282
+ },
283
+ fi: { //Finnish (Suomi)
284
+ months: [
285
+ "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
286
+ ],
287
+ dayOfWeek: [
288
+ "Su", "Ma", "Ti", "Ke", "To", "Pe", "La"
289
+ ]
290
+ },
291
+ gl: { //Galego
292
+ months: [
293
+ "Xan", "Feb", "Maz", "Abr", "Mai", "Xun", "Xul", "Ago", "Set", "Out", "Nov", "Dec"
294
+ ],
295
+ dayOfWeek: [
296
+ "Dom", "Lun", "Mar", "Mer", "Xov", "Ven", "Sab"
297
+ ]
298
+ },
299
+ hr: { //Hrvatski
300
+ months: [
301
+ "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
302
+ ],
303
+ dayOfWeek: [
304
+ "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"
305
+ ]
306
+ },
307
+ ko: { //Korean (한국어)
308
+ months: [
309
+ "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"
310
+ ],
311
+ dayOfWeek: [
312
+ "일", "월", "화", "수", "목", "금", "토"
313
+ ]
314
+ },
315
+ lt: { //Lithuanian (lietuvių)
316
+ months: [
317
+ "Sausio", "Vasario", "Kovo", "Balandžio", "Gegužės", "Birželio", "Liepos", "Rugpjūčio", "Rugsėjo", "Spalio", "Lapkričio", "Gruodžio"
318
+ ],
319
+ dayOfWeek: [
320
+ "Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš"
321
+ ]
322
+ },
323
+ lv: { //Latvian (Latviešu)
324
+ months: [
325
+ "Janvāris", "Februāris", "Marts", "Aprīlis ", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"
326
+ ],
327
+ dayOfWeek: [
328
+ "Sv", "Pr", "Ot", "Tr", "Ct", "Pk", "St"
329
+ ]
330
+ },
331
+ mk: { //Macedonian (Македонски)
332
+ months: [
333
+ "јануари", "февруари", "март", "април", "мај", "јуни", "јули", "август", "септември", "октомври", "ноември", "декември"
334
+ ],
335
+ dayOfWeek: [
336
+ "нед", "пон", "вто", "сре", "чет", "пет", "саб"
337
+ ]
338
+ },
339
+ mn: { //Mongolian (Монгол)
340
+ months: [
341
+ "1-р сар", "2-р сар", "3-р сар", "4-р сар", "5-р сар", "6-р сар", "7-р сар", "8-р сар", "9-р сар", "10-р сар", "11-р сар", "12-р сар"
342
+ ],
343
+ dayOfWeek: [
344
+ "Дав", "Мяг", "Лха", "Пүр", "Бсн", "Бям", "Ням"
345
+ ]
346
+ },
347
+ 'pt-BR': { //Português(Brasil)
348
+ months: [
349
+ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
350
+ ],
351
+ dayOfWeek: [
352
+ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"
353
+ ]
354
+ },
355
+ sk: { //Slovenčina
356
+ months: [
357
+ "Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"
358
+ ],
359
+ dayOfWeek: [
360
+ "Ne", "Po", "Ut", "St", "Št", "Pi", "So"
361
+ ]
362
+ },
363
+ sq: { //Albanian (Shqip)
364
+ months: [
365
+ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
366
+ ],
367
+ dayOfWeek: [
368
+ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
369
+ ]
370
+ },
371
+ 'sr-YU': { //Serbian (Srpski)
372
+ months: [
373
+ "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
374
+ ],
375
+ dayOfWeek: [
376
+ "Ned", "Pon", "Uto", "Sre", "čet", "Pet", "Sub"
377
+ ]
378
+ },
379
+ sr: { //Serbian Cyrillic (Српски)
380
+ months: [
381
+ "јануар", "фебруар", "март", "април", "мај", "јун", "јул", "август", "септембар", "октобар", "новембар", "децембар"
382
+ ],
383
+ dayOfWeek: [
384
+ "нед", "пон", "уто", "сре", "чет", "пет", "суб"
385
+ ]
386
+ },
387
+ sv: { //Svenska
388
+ months: [
389
+ "Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"
390
+ ],
391
+ dayOfWeek: [
392
+ "Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör"
393
+ ]
394
+ },
395
+ 'zh-TW': { //Traditional Chinese (繁體中文)
396
+ months: [
397
+ "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
398
+ ],
399
+ dayOfWeek: [
400
+ "日", "一", "二", "三", "四", "五", "六"
401
+ ]
402
+ },
403
+ zh: { //Simplified Chinese (简体中文)
404
+ months: [
405
+ "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
406
+ ],
407
+ dayOfWeek: [
408
+ "日", "一", "二", "三", "四", "五", "六"
409
+ ]
410
+ },
411
+ he: { //Hebrew (עברית)
412
+ months: [
413
+ 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'
414
+ ],
415
+ dayOfWeek: [
416
+ 'א\'', 'ב\'', 'ג\'', 'ד\'', 'ה\'', 'ו\'', 'שבת'
417
+ ]
234
418
  }
235
419
  },
236
420
  value: '',
@@ -1487,6 +1671,13 @@
1487
1671
  }
1488
1672
  event.stopPropagation();
1489
1673
  })
1674
+ .on('toggle.xdsoft', function (event) {
1675
+ if (datetimepicker.is(':visible')) {
1676
+ datetimepicker.trigger('close.xdsoft');
1677
+ } else {
1678
+ datetimepicker.trigger('open.xdsoft');
1679
+ }
1680
+ })
1490
1681
  .data('input', input);
1491
1682
 
1492
1683
  timer = 0;
@@ -1598,6 +1789,9 @@
1598
1789
  case 'hide':
1599
1790
  datetimepicker.trigger('close.xdsoft');
1600
1791
  break;
1792
+ case 'toggle':
1793
+ datetimepicker.trigger('toggle.xdsoft');
1794
+ break;
1601
1795
  case 'destroy':
1602
1796
  destroyDateTimePicker($(this));
1603
1797
  break;
@@ -1,5 +1,5 @@
1
1
  .xdsoft_datetimepicker{
2
- box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.506);
2
+ box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.506);
3
3
  background: #FFFFFF;
4
4
  border-bottom: 1px solid #BBBBBB;
5
5
  border-left: 1px solid #CCCCCC;
@@ -8,7 +8,7 @@
8
8
  color: #333333;
9
9
  font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
10
10
  padding: 8px;
11
- padding-left: 0px;
11
+ padding-left: 0;
12
12
  padding-top: 2px;
13
13
  position: absolute;
14
14
  z-index: 9999;
@@ -50,8 +50,8 @@
50
50
  .xdsoft_datetimepicker *{
51
51
  -moz-box-sizing: border-box;
52
52
  box-sizing: border-box;
53
- padding:0px;
54
- margin:0px;
53
+ padding: 0;
54
+ margin: 0;
55
55
  }
56
56
  .xdsoft_datetimepicker .xdsoft_datepicker, .xdsoft_datetimepicker .xdsoft_timepicker{
57
57
  display:none;
@@ -72,7 +72,7 @@
72
72
  float:left;
73
73
  text-align:center;
74
74
  margin-left:8px;
75
- margin-top:0px;
75
+ margin-top: 0;
76
76
  }
77
77
  .xdsoft_datetimepicker .xdsoft_datepicker.active+.xdsoft_timepicker{
78
78
  margin-top:8px;
@@ -101,17 +101,17 @@
101
101
 
102
102
  .xdsoft_datetimepicker .xdsoft_prev{
103
103
  float: left;
104
- background-position:-20px 0px;
104
+ background-position:-20px 0;
105
105
  }
106
106
  .xdsoft_datetimepicker .xdsoft_today_button{
107
107
  float: left;
108
- background-position:-70px 0px;
108
+ background-position:-70px 0;
109
109
  margin-left:5px;
110
110
  }
111
111
 
112
112
  .xdsoft_datetimepicker .xdsoft_next{
113
113
  float: right;
114
- background-position:0px 0px;
114
+ background-position: 0 0;
115
115
  }
116
116
 
117
117
  .xdsoft_datetimepicker .xdsoft_next,
@@ -119,7 +119,7 @@
119
119
  .xdsoft_datetimepicker .xdsoft_today_button{
120
120
  background-color: transparent;
121
121
  background-repeat: no-repeat;
122
- border: 0px none currentColor;
122
+ border: 0 none currentColor;
123
123
  cursor: pointer;
124
124
  display: block;
125
125
  height: 30px;
@@ -127,7 +127,7 @@
127
127
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
128
128
  outline: medium none currentColor;
129
129
  overflow: hidden;
130
- padding: 0px;
130
+ padding: 0;
131
131
  position: relative;
132
132
  text-indent: 100%;
133
133
  white-space: nowrap;
@@ -144,9 +144,9 @@
144
144
  margin-top:7px;
145
145
  }
146
146
  .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev{
147
- background-position:-40px 0px;
147
+ background-position:-40px 0;
148
148
  margin-bottom:7px;
149
- margin-top:0px;
149
+ margin-top: 0;
150
150
  }
151
151
  .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box{
152
152
  height:151px;
@@ -161,13 +161,13 @@
161
161
  text-align: center;
162
162
  border-collapse:collapse;
163
163
  cursor:pointer;
164
- border-bottom-width:0px;
164
+ border-bottom-width: 0;
165
165
  height:25px;
166
166
  line-height:25px;
167
167
  }
168
168
 
169
169
  .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div > div:first-child{
170
- border-top-width:0px;
170
+ border-top-width: 0;
171
171
  }
172
172
  .xdsoft_datetimepicker .xdsoft_today_button:hover,
173
173
  .xdsoft_datetimepicker .xdsoft_next:hover,
@@ -199,7 +199,7 @@
199
199
  .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select{
200
200
  border:1px solid #ccc;
201
201
  position:absolute;
202
- right:0px;
202
+ right: 0;
203
203
  top:30px;
204
204
  z-index:101;
205
205
  display:none;
@@ -219,7 +219,7 @@
219
219
  }
220
220
  .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current{
221
221
  background: #33AAFF;
222
- box-shadow: #178FE5 0px 1px 3px 0px inset;
222
+ box-shadow: #178FE5 0 1px 3px 0 inset;
223
223
  color:#fff;
224
224
  font-weight: 700;
225
225
  }
@@ -253,7 +253,7 @@
253
253
  font-size: 12px;
254
254
  text-align: right;
255
255
  vertical-align: middle;
256
- padding:0px;
256
+ padding: 0;
257
257
  border-collapse:collapse;
258
258
  cursor:pointer;
259
259
  height: 25px;
@@ -271,7 +271,7 @@
271
271
  .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
272
272
  .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current{
273
273
  background: #33AAFF;
274
- box-shadow: #178FE5 0px 1px 3px 0px inset;
274
+ box-shadow: #178FE5 0 1px 3px 0 inset;
275
275
  color:#fff;
276
276
  font-weight: 700;
277
277
  }
@@ -320,9 +320,9 @@
320
320
  .xdsoft_scrollbar{
321
321
  position:absolute;
322
322
  width:7px;
323
- right:0px;
324
- top:0px;
325
- bottom:0px;
323
+ right: 0;
324
+ top: 0;
325
+ bottom: 0;
326
326
  cursor:pointer;
327
327
  }
328
328
  .xdsoft_scroller_box{
@@ -331,7 +331,7 @@ position:relative;
331
331
 
332
332
 
333
333
  .xdsoft_datetimepicker.xdsoft_dark{
334
- box-shadow: 0px 5px 15px -5px rgba(255, 255, 255, 0.506);
334
+ box-shadow: 0 5px 15px -5px rgba(255, 255, 255, 0.506);
335
335
  background: #000000;
336
336
  border-bottom: 1px solid #444444;
337
337
  border-left: 1px solid #333333;
@@ -364,7 +364,7 @@ position:relative;
364
364
 
365
365
  .xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current{
366
366
  background: #cc5500;
367
- box-shadow: #b03e00 0px 1px 3px 0px inset;
367
+ box-shadow: #b03e00 0 1px 3px 0 inset;
368
368
  color:#000;
369
369
  }
370
370
 
@@ -392,7 +392,7 @@ position:relative;
392
392
  .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_current,
393
393
  .xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current{
394
394
  background: #cc5500;
395
- box-shadow: #b03e00 0px 1px 3px 0px inset;
395
+ box-shadow: #b03e00 0 1px 3px 0 inset;
396
396
  color:#000;
397
397
  }
398
398
 
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Datetimepicker
3
3
  module Rails
4
- VERSION = '2.3.9.0'
4
+ VERSION = '2.4.1.0'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-datetimepicker-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.9.0
4
+ version: 2.4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Novikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-29 00:00:00.000000000 Z
11
+ date: 2014-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.2.2
79
+ rubygems_version: 2.4.4
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: This gem packages the datetimepicker jQuery plugin for Rails 3.1+ asset pipeline