jquery-ui-rails 2.0.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jquery-ui-rails might be problematic. Click here for more details.
- data/History.md +15 -0
- data/License.txt +2 -3
- data/README.md +17 -19
- data/Rakefile +79 -28
- data/lib/jquery/ui/rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.ui.accordion.js +537 -417
- data/vendor/assets/javascripts/jquery.ui.all.js +17 -14
- data/vendor/assets/javascripts/jquery.ui.autocomplete.js +311 -339
- data/vendor/assets/javascripts/jquery.ui.button.js +63 -59
- data/vendor/assets/javascripts/jquery.ui.core.js +134 -112
- data/vendor/assets/javascripts/jquery.ui.datepicker-ar-DZ.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-ar.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-az.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-bg.js +16 -16
- data/vendor/assets/javascripts/jquery.ui.datepicker-bs.js +5 -5
- data/vendor/assets/javascripts/jquery.ui.datepicker-ca.js +13 -13
- data/vendor/assets/javascripts/jquery.ui.datepicker-cs.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-cy-GB.js +1 -1
- data/vendor/assets/javascripts/jquery.ui.datepicker-da.js +9 -9
- data/vendor/assets/javascripts/jquery.ui.datepicker-de.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-el.js +1 -1
- data/vendor/assets/javascripts/jquery.ui.datepicker-eo.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-es.js +6 -6
- data/vendor/assets/javascripts/jquery.ui.datepicker-et.js +1 -1
- data/vendor/assets/javascripts/jquery.ui.datepicker-eu.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-fa.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-fi.js +5 -5
- data/vendor/assets/javascripts/jquery.ui.datepicker-fo.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-fr-CH.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-fr.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-gl.js +6 -6
- data/vendor/assets/javascripts/jquery.ui.datepicker-he.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-hr.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-hy.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-id.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-is.js +11 -11
- data/vendor/assets/javascripts/jquery.ui.datepicker-it.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-ja.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-kk.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-ko.js +1 -1
- data/vendor/assets/javascripts/jquery.ui.datepicker-lt.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-lv.js +1 -1
- data/vendor/assets/javascripts/jquery.ui.datepicker-ml.js +1 -1
- data/vendor/assets/javascripts/jquery.ui.datepicker-ms.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-nl.js +1 -1
- data/vendor/assets/javascripts/jquery.ui.datepicker-no.js +18 -18
- data/vendor/assets/javascripts/jquery.ui.datepicker-pl.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-pt-BR.js +7 -7
- data/vendor/assets/javascripts/jquery.ui.datepicker-pt.js +6 -6
- data/vendor/assets/javascripts/jquery.ui.datepicker-rm.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-ro.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-ru.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-sk.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-sl.js +6 -6
- data/vendor/assets/javascripts/jquery.ui.datepicker-sq.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-sr-SR.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-sr.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-sv.js +9 -9
- data/vendor/assets/javascripts/jquery.ui.datepicker-th.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-tj.js +1 -1
- data/vendor/assets/javascripts/jquery.ui.datepicker-tr.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-uk.js +3 -3
- data/vendor/assets/javascripts/jquery.ui.datepicker-vi.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-zh-CN.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-zh-HK.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker-zh-TW.js +2 -2
- data/vendor/assets/javascripts/jquery.ui.datepicker.js +51 -59
- data/vendor/assets/javascripts/jquery.ui.dialog.js +402 -409
- data/vendor/assets/javascripts/jquery.ui.draggable.js +79 -75
- data/vendor/assets/javascripts/jquery.ui.droppable.js +10 -17
- data/vendor/assets/javascripts/jquery.ui.effect-blind.js +84 -0
- data/vendor/assets/javascripts/jquery.ui.effect-bounce.js +115 -0
- data/vendor/assets/javascripts/jquery.ui.effect-clip.js +69 -0
- data/vendor/assets/javascripts/jquery.ui.effect-drop.js +67 -0
- data/vendor/assets/javascripts/jquery.ui.effect-explode.js +99 -0
- data/vendor/assets/javascripts/jquery.ui.effect-fade.js +32 -0
- data/vendor/assets/javascripts/jquery.ui.effect-fold.js +78 -0
- data/vendor/assets/javascripts/jquery.ui.effect-highlight.js +52 -0
- data/vendor/assets/javascripts/jquery.ui.effect-pulsate.js +65 -0
- data/vendor/assets/javascripts/jquery.ui.effect-scale.js +320 -0
- data/vendor/assets/javascripts/jquery.ui.effect-shake.js +76 -0
- data/vendor/assets/javascripts/jquery.ui.effect-slide.js +66 -0
- data/vendor/assets/javascripts/jquery.ui.effect-transfer.js +49 -0
- data/vendor/assets/javascripts/jquery.ui.effect.all.js +14 -0
- data/vendor/assets/javascripts/jquery.ui.effect.js +1276 -0
- data/vendor/assets/javascripts/jquery.ui.menu.js +614 -0
- data/vendor/assets/javascripts/jquery.ui.mouse.js +22 -20
- data/vendor/assets/javascripts/jquery.ui.position.js +367 -158
- data/vendor/assets/javascripts/jquery.ui.progressbar.js +10 -14
- data/vendor/assets/javascripts/jquery.ui.resizable.js +143 -149
- data/vendor/assets/javascripts/jquery.ui.selectable.js +22 -28
- data/vendor/assets/javascripts/jquery.ui.slider.js +88 -106
- data/vendor/assets/javascripts/jquery.ui.sortable.js +97 -95
- data/vendor/assets/javascripts/jquery.ui.spinner.js +482 -0
- data/vendor/assets/javascripts/jquery.ui.tabs.js +1189 -580
- data/vendor/assets/javascripts/jquery.ui.tooltip.js +402 -0
- data/vendor/assets/javascripts/jquery.ui.widget.js +373 -117
- data/vendor/assets/stylesheets/jquery.ui.accordion.css.erb +10 -13
- data/vendor/assets/stylesheets/jquery.ui.all.css.erb +4 -3
- data/vendor/assets/stylesheets/jquery.ui.autocomplete.css.erb +10 -44
- data/vendor/assets/stylesheets/jquery.ui.base.css.erb +7 -3
- data/vendor/assets/stylesheets/jquery.ui.button.css.erb +6 -4
- data/vendor/assets/stylesheets/jquery.ui.core.css.erb +5 -4
- data/vendor/assets/stylesheets/jquery.ui.datepicker.css.erb +4 -3
- data/vendor/assets/stylesheets/jquery.ui.dialog.css.erb +6 -5
- data/vendor/assets/stylesheets/jquery.ui.menu.css.erb +34 -0
- data/vendor/assets/stylesheets/jquery.ui.progressbar.css.erb +4 -3
- data/vendor/assets/stylesheets/jquery.ui.resizable.css.erb +4 -3
- data/vendor/assets/stylesheets/jquery.ui.selectable.css.erb +4 -3
- data/vendor/assets/stylesheets/jquery.ui.slider.css.erb +4 -3
- data/vendor/assets/stylesheets/jquery.ui.spinner.css.erb +27 -0
- data/vendor/assets/stylesheets/jquery.ui.tabs.css.erb +8 -8
- data/vendor/assets/stylesheets/jquery.ui.theme.css.erb +8 -7
- data/vendor/assets/stylesheets/jquery.ui.tooltip.css.erb +25 -0
- metadata +24 -19
- data/dependencies.js +0 -31
- data/vendor/assets/javascripts/jquery.effects.all.js +0 -14
- data/vendor/assets/javascripts/jquery.effects.blind.js +0 -51
- data/vendor/assets/javascripts/jquery.effects.bounce.js +0 -80
- data/vendor/assets/javascripts/jquery.effects.clip.js +0 -56
- data/vendor/assets/javascripts/jquery.effects.core.js +0 -612
- data/vendor/assets/javascripts/jquery.effects.drop.js +0 -52
- data/vendor/assets/javascripts/jquery.effects.explode.js +0 -81
- data/vendor/assets/javascripts/jquery.effects.fade.js +0 -34
- data/vendor/assets/javascripts/jquery.effects.fold.js +0 -58
- data/vendor/assets/javascripts/jquery.effects.highlight.js +0 -52
- data/vendor/assets/javascripts/jquery.effects.pulsate.js +0 -53
- data/vendor/assets/javascripts/jquery.effects.scale.js +0 -180
- data/vendor/assets/javascripts/jquery.effects.shake.js +0 -59
- data/vendor/assets/javascripts/jquery.effects.slide.js +0 -52
- data/vendor/assets/javascripts/jquery.effects.transfer.js +0 -47
@@ -1,59 +0,0 @@
|
|
1
|
-
//= require jquery.effects.core
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Shake 1.8.24
|
5
|
-
*
|
6
|
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
7
|
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
8
|
-
* http://jquery.org/license
|
9
|
-
*
|
10
|
-
* http://docs.jquery.com/UI/Effects/Shake
|
11
|
-
*
|
12
|
-
* Depends:
|
13
|
-
* jquery.effects.core.js
|
14
|
-
*/
|
15
|
-
(function( $, undefined ) {
|
16
|
-
|
17
|
-
$.effects.shake = function(o) {
|
18
|
-
|
19
|
-
return this.queue(function() {
|
20
|
-
|
21
|
-
// Create element
|
22
|
-
var el = $(this), props = ['position','top','bottom','left','right'];
|
23
|
-
|
24
|
-
// Set options
|
25
|
-
var mode = $.effects.setMode(el, o.options.mode || 'effect'); // Set Mode
|
26
|
-
var direction = o.options.direction || 'left'; // Default direction
|
27
|
-
var distance = o.options.distance || 20; // Default distance
|
28
|
-
var times = o.options.times || 3; // Default # of times
|
29
|
-
var speed = o.duration || o.options.duration || 140; // Default speed per shake
|
30
|
-
|
31
|
-
// Adjust
|
32
|
-
$.effects.save(el, props); el.show(); // Save & Show
|
33
|
-
$.effects.createWrapper(el); // Create Wrapper
|
34
|
-
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
|
35
|
-
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
|
36
|
-
|
37
|
-
// Animation
|
38
|
-
var animation = {}, animation1 = {}, animation2 = {};
|
39
|
-
animation[ref] = (motion == 'pos' ? '-=' : '+=') + distance;
|
40
|
-
animation1[ref] = (motion == 'pos' ? '+=' : '-=') + distance * 2;
|
41
|
-
animation2[ref] = (motion == 'pos' ? '-=' : '+=') + distance * 2;
|
42
|
-
|
43
|
-
// Animate
|
44
|
-
el.animate(animation, speed, o.options.easing);
|
45
|
-
for (var i = 1; i < times; i++) { // Shakes
|
46
|
-
el.animate(animation1, speed, o.options.easing).animate(animation2, speed, o.options.easing);
|
47
|
-
};
|
48
|
-
el.animate(animation1, speed, o.options.easing).
|
49
|
-
animate(animation, speed / 2, o.options.easing, function(){ // Last shake
|
50
|
-
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
51
|
-
if(o.callback) o.callback.apply(this, arguments); // Callback
|
52
|
-
});
|
53
|
-
el.queue('fx', function() { el.dequeue(); });
|
54
|
-
el.dequeue();
|
55
|
-
});
|
56
|
-
|
57
|
-
};
|
58
|
-
|
59
|
-
})(jQuery);
|
@@ -1,52 +0,0 @@
|
|
1
|
-
//= require jquery.effects.core
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Slide 1.8.24
|
5
|
-
*
|
6
|
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
7
|
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
8
|
-
* http://jquery.org/license
|
9
|
-
*
|
10
|
-
* http://docs.jquery.com/UI/Effects/Slide
|
11
|
-
*
|
12
|
-
* Depends:
|
13
|
-
* jquery.effects.core.js
|
14
|
-
*/
|
15
|
-
(function( $, undefined ) {
|
16
|
-
|
17
|
-
$.effects.slide = function(o) {
|
18
|
-
|
19
|
-
return this.queue(function() {
|
20
|
-
|
21
|
-
// Create element
|
22
|
-
var el = $(this), props = ['position','top','bottom','left','right'];
|
23
|
-
|
24
|
-
// Set options
|
25
|
-
var mode = $.effects.setMode(el, o.options.mode || 'show'); // Set Mode
|
26
|
-
var direction = o.options.direction || 'left'; // Default Direction
|
27
|
-
|
28
|
-
// Adjust
|
29
|
-
$.effects.save(el, props); el.show(); // Save & Show
|
30
|
-
$.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
|
31
|
-
var ref = (direction == 'up' || direction == 'down') ? 'top' : 'left';
|
32
|
-
var motion = (direction == 'up' || direction == 'left') ? 'pos' : 'neg';
|
33
|
-
var distance = o.options.distance || (ref == 'top' ? el.outerHeight( true ) : el.outerWidth( true ));
|
34
|
-
if (mode == 'show') el.css(ref, motion == 'pos' ? (isNaN(distance) ? "-" + distance : -distance) : distance); // Shift
|
35
|
-
|
36
|
-
// Animation
|
37
|
-
var animation = {};
|
38
|
-
animation[ref] = (mode == 'show' ? (motion == 'pos' ? '+=' : '-=') : (motion == 'pos' ? '-=' : '+=')) + distance;
|
39
|
-
|
40
|
-
// Animate
|
41
|
-
el.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() {
|
42
|
-
if(mode == 'hide') el.hide(); // Hide
|
43
|
-
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
|
44
|
-
if(o.callback) o.callback.apply(this, arguments); // Callback
|
45
|
-
el.dequeue();
|
46
|
-
}});
|
47
|
-
|
48
|
-
});
|
49
|
-
|
50
|
-
};
|
51
|
-
|
52
|
-
})(jQuery);
|
@@ -1,47 +0,0 @@
|
|
1
|
-
//= require jquery.effects.core
|
2
|
-
|
3
|
-
/*!
|
4
|
-
* jQuery UI Effects Transfer 1.8.24
|
5
|
-
*
|
6
|
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
7
|
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
8
|
-
* http://jquery.org/license
|
9
|
-
*
|
10
|
-
* http://docs.jquery.com/UI/Effects/Transfer
|
11
|
-
*
|
12
|
-
* Depends:
|
13
|
-
* jquery.effects.core.js
|
14
|
-
*/
|
15
|
-
(function( $, undefined ) {
|
16
|
-
|
17
|
-
$.effects.transfer = function(o) {
|
18
|
-
return this.queue(function() {
|
19
|
-
var elem = $(this),
|
20
|
-
target = $(o.options.to),
|
21
|
-
endPosition = target.offset(),
|
22
|
-
animation = {
|
23
|
-
top: endPosition.top,
|
24
|
-
left: endPosition.left,
|
25
|
-
height: target.innerHeight(),
|
26
|
-
width: target.innerWidth()
|
27
|
-
},
|
28
|
-
startPosition = elem.offset(),
|
29
|
-
transfer = $('<div class="ui-effects-transfer"></div>')
|
30
|
-
.appendTo(document.body)
|
31
|
-
.addClass(o.options.className)
|
32
|
-
.css({
|
33
|
-
top: startPosition.top,
|
34
|
-
left: startPosition.left,
|
35
|
-
height: elem.innerHeight(),
|
36
|
-
width: elem.innerWidth(),
|
37
|
-
position: 'absolute'
|
38
|
-
})
|
39
|
-
.animate(animation, o.duration, o.options.easing, function() {
|
40
|
-
transfer.remove();
|
41
|
-
(o.callback && o.callback.apply(elem[0], arguments));
|
42
|
-
elem.dequeue();
|
43
|
-
});
|
44
|
-
});
|
45
|
-
};
|
46
|
-
|
47
|
-
})(jQuery);
|