h2ocube_rails_assets 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. data/h2ocube_rails_assets.gemspec +1 -1
  2. data/vendor/assets/javascripts/jquery.fileupload.js +1 -1
  3. data/vendor/assets/javascripts/jquery.ui.js +2 -14914
  4. data/vendor/assets/javascripts/jquery.ui/jquery-ui.custom.js +14879 -0
  5. data/vendor/assets/javascripts/jquery.ui/jquery.ui.accordion.js +731 -0
  6. data/vendor/assets/javascripts/jquery.ui/jquery.ui.autocomplete.js +602 -0
  7. data/vendor/assets/javascripts/jquery.ui/jquery.ui.button.js +418 -0
  8. data/vendor/assets/javascripts/jquery.ui/jquery.ui.core.js +356 -0
  9. data/vendor/assets/javascripts/jquery.ui/jquery.ui.datepicker.js +1846 -0
  10. data/vendor/assets/javascripts/jquery.ui/jquery.ui.dialog.js +858 -0
  11. data/vendor/assets/javascripts/jquery.ui/jquery.ui.draggable.js +836 -0
  12. data/vendor/assets/javascripts/jquery.ui/jquery.ui.droppable.js +294 -0
  13. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-blind.js +82 -0
  14. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-bounce.js +113 -0
  15. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-clip.js +67 -0
  16. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-drop.js +65 -0
  17. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-explode.js +97 -0
  18. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-fade.js +30 -0
  19. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-fold.js +76 -0
  20. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-highlight.js +50 -0
  21. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-pulsate.js +63 -0
  22. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-scale.js +318 -0
  23. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js +74 -0
  24. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-slide.js +64 -0
  25. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-transfer.js +47 -0
  26. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect.js +1276 -0
  27. data/vendor/assets/javascripts/jquery.ui/jquery.ui.menu.js +610 -0
  28. data/vendor/assets/javascripts/jquery.ui/jquery.ui.mouse.js +169 -0
  29. data/vendor/assets/javascripts/jquery.ui/jquery.ui.position.js +517 -0
  30. data/vendor/assets/javascripts/jquery.ui/jquery.ui.progressbar.js +105 -0
  31. data/vendor/assets/javascripts/jquery.ui/jquery.ui.resizable.js +801 -0
  32. data/vendor/assets/javascripts/jquery.ui/jquery.ui.selectable.js +261 -0
  33. data/vendor/assets/javascripts/jquery.ui/jquery.ui.slider.js +644 -0
  34. data/vendor/assets/javascripts/jquery.ui/jquery.ui.sortable.js +1096 -0
  35. data/vendor/assets/javascripts/jquery.ui/jquery.ui.spinner.js +478 -0
  36. data/vendor/assets/javascripts/jquery.ui/jquery.ui.tabs.js +1366 -0
  37. data/vendor/assets/javascripts/jquery.ui/jquery.ui.tooltip.js +398 -0
  38. data/vendor/assets/javascripts/{jquery.ui.widget.js → jquery.ui/jquery.ui.widget.js} +39 -34
  39. metadata +37 -9
@@ -0,0 +1,67 @@
1
+ /*!
2
+ * jQuery UI Effects Clip 1.9.2
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2012 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/clip-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ $.effects.effect.clip = function( o, done ) {
17
+ // Create element
18
+ var el = $( this ),
19
+ props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
20
+ mode = $.effects.setMode( el, o.mode || "hide" ),
21
+ show = mode === "show",
22
+ direction = o.direction || "vertical",
23
+ vert = direction === "vertical",
24
+ size = vert ? "height" : "width",
25
+ position = vert ? "top" : "left",
26
+ animation = {},
27
+ wrapper, animate, distance;
28
+
29
+ // Save & Show
30
+ $.effects.save( el, props );
31
+ el.show();
32
+
33
+ // Create Wrapper
34
+ wrapper = $.effects.createWrapper( el ).css({
35
+ overflow: "hidden"
36
+ });
37
+ animate = ( el[0].tagName === "IMG" ) ? wrapper : el;
38
+ distance = animate[ size ]();
39
+
40
+ // Shift
41
+ if ( show ) {
42
+ animate.css( size, 0 );
43
+ animate.css( position, distance / 2 );
44
+ }
45
+
46
+ // Create Animation Object:
47
+ animation[ size ] = show ? distance : 0;
48
+ animation[ position ] = show ? 0 : distance / 2;
49
+
50
+ // Animate
51
+ animate.animate( animation, {
52
+ queue: false,
53
+ duration: o.duration,
54
+ easing: o.easing,
55
+ complete: function() {
56
+ if ( !show ) {
57
+ el.hide();
58
+ }
59
+ $.effects.restore( el, props );
60
+ $.effects.removeWrapper( el );
61
+ done();
62
+ }
63
+ });
64
+
65
+ };
66
+
67
+ })(jQuery);
@@ -0,0 +1,65 @@
1
+ /*!
2
+ * jQuery UI Effects Drop 1.9.2
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2012 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/drop-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ $.effects.effect.drop = function( o, done ) {
17
+
18
+ var el = $( this ),
19
+ props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
20
+ mode = $.effects.setMode( el, o.mode || "hide" ),
21
+ show = mode === "show",
22
+ direction = o.direction || "left",
23
+ ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
24
+ motion = ( direction === "up" || direction === "left" ) ? "pos" : "neg",
25
+ animation = {
26
+ opacity: show ? 1 : 0
27
+ },
28
+ distance;
29
+
30
+ // Adjust
31
+ $.effects.save( el, props );
32
+ el.show();
33
+ $.effects.createWrapper( el );
34
+
35
+ distance = o.distance || el[ ref === "top" ? "outerHeight": "outerWidth" ]( true ) / 2;
36
+
37
+ if ( show ) {
38
+ el
39
+ .css( "opacity", 0 )
40
+ .css( ref, motion === "pos" ? -distance : distance );
41
+ }
42
+
43
+ // Animation
44
+ animation[ ref ] = ( show ?
45
+ ( motion === "pos" ? "+=" : "-=" ) :
46
+ ( motion === "pos" ? "-=" : "+=" ) ) +
47
+ distance;
48
+
49
+ // Animate
50
+ el.animate( animation, {
51
+ queue: false,
52
+ duration: o.duration,
53
+ easing: o.easing,
54
+ complete: function() {
55
+ if ( mode === "hide" ) {
56
+ el.hide();
57
+ }
58
+ $.effects.restore( el, props );
59
+ $.effects.removeWrapper( el );
60
+ done();
61
+ }
62
+ });
63
+ };
64
+
65
+ })(jQuery);
@@ -0,0 +1,97 @@
1
+ /*!
2
+ * jQuery UI Effects Explode 1.9.2
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2012 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/explode-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ $.effects.effect.explode = function( o, done ) {
17
+
18
+ var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,
19
+ cells = rows,
20
+ el = $( this ),
21
+ mode = $.effects.setMode( el, o.mode || "hide" ),
22
+ show = mode === "show",
23
+
24
+ // show and then visibility:hidden the element before calculating offset
25
+ offset = el.show().css( "visibility", "hidden" ).offset(),
26
+
27
+ // width and height of a piece
28
+ width = Math.ceil( el.outerWidth() / cells ),
29
+ height = Math.ceil( el.outerHeight() / rows ),
30
+ pieces = [],
31
+
32
+ // loop
33
+ i, j, left, top, mx, my;
34
+
35
+ // children animate complete:
36
+ function childComplete() {
37
+ pieces.push( this );
38
+ if ( pieces.length === rows * cells ) {
39
+ animComplete();
40
+ }
41
+ }
42
+
43
+ // clone the element for each row and cell.
44
+ for( i = 0; i < rows ; i++ ) { // ===>
45
+ top = offset.top + i * height;
46
+ my = i - ( rows - 1 ) / 2 ;
47
+
48
+ for( j = 0; j < cells ; j++ ) { // |||
49
+ left = offset.left + j * width;
50
+ mx = j - ( cells - 1 ) / 2 ;
51
+
52
+ // Create a clone of the now hidden main element that will be absolute positioned
53
+ // within a wrapper div off the -left and -top equal to size of our pieces
54
+ el
55
+ .clone()
56
+ .appendTo( "body" )
57
+ .wrap( "<div></div>" )
58
+ .css({
59
+ position: "absolute",
60
+ visibility: "visible",
61
+ left: -j * width,
62
+ top: -i * height
63
+ })
64
+
65
+ // select the wrapper - make it overflow: hidden and absolute positioned based on
66
+ // where the original was located +left and +top equal to the size of pieces
67
+ .parent()
68
+ .addClass( "ui-effects-explode" )
69
+ .css({
70
+ position: "absolute",
71
+ overflow: "hidden",
72
+ width: width,
73
+ height: height,
74
+ left: left + ( show ? mx * width : 0 ),
75
+ top: top + ( show ? my * height : 0 ),
76
+ opacity: show ? 0 : 1
77
+ }).animate({
78
+ left: left + ( show ? 0 : mx * width ),
79
+ top: top + ( show ? 0 : my * height ),
80
+ opacity: show ? 1 : 0
81
+ }, o.duration || 500, o.easing, childComplete );
82
+ }
83
+ }
84
+
85
+ function animComplete() {
86
+ el.css({
87
+ visibility: "visible"
88
+ });
89
+ $( pieces ).remove();
90
+ if ( !show ) {
91
+ el.hide();
92
+ }
93
+ done();
94
+ }
95
+ };
96
+
97
+ })(jQuery);
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * jQuery UI Effects Fade 1.9.2
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2012 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/fade-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ $.effects.effect.fade = function( o, done ) {
17
+ var el = $( this ),
18
+ mode = $.effects.setMode( el, o.mode || "toggle" );
19
+
20
+ el.animate({
21
+ opacity: mode
22
+ }, {
23
+ queue: false,
24
+ duration: o.duration,
25
+ easing: o.easing,
26
+ complete: done
27
+ });
28
+ };
29
+
30
+ })( jQuery );
@@ -0,0 +1,76 @@
1
+ /*!
2
+ * jQuery UI Effects Fold 1.9.2
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2012 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/fold-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ $.effects.effect.fold = function( o, done ) {
17
+
18
+ // Create element
19
+ var el = $( this ),
20
+ props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
21
+ mode = $.effects.setMode( el, o.mode || "hide" ),
22
+ show = mode === "show",
23
+ hide = mode === "hide",
24
+ size = o.size || 15,
25
+ percent = /([0-9]+)%/.exec( size ),
26
+ horizFirst = !!o.horizFirst,
27
+ widthFirst = show !== horizFirst,
28
+ ref = widthFirst ? [ "width", "height" ] : [ "height", "width" ],
29
+ duration = o.duration / 2,
30
+ wrapper, distance,
31
+ animation1 = {},
32
+ animation2 = {};
33
+
34
+ $.effects.save( el, props );
35
+ el.show();
36
+
37
+ // Create Wrapper
38
+ wrapper = $.effects.createWrapper( el ).css({
39
+ overflow: "hidden"
40
+ });
41
+ distance = widthFirst ?
42
+ [ wrapper.width(), wrapper.height() ] :
43
+ [ wrapper.height(), wrapper.width() ];
44
+
45
+ if ( percent ) {
46
+ size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];
47
+ }
48
+ if ( show ) {
49
+ wrapper.css( horizFirst ? {
50
+ height: 0,
51
+ width: size
52
+ } : {
53
+ height: size,
54
+ width: 0
55
+ });
56
+ }
57
+
58
+ // Animation
59
+ animation1[ ref[ 0 ] ] = show ? distance[ 0 ] : size;
60
+ animation2[ ref[ 1 ] ] = show ? distance[ 1 ] : 0;
61
+
62
+ // Animate
63
+ wrapper
64
+ .animate( animation1, duration, o.easing )
65
+ .animate( animation2, duration, o.easing, function() {
66
+ if ( hide ) {
67
+ el.hide();
68
+ }
69
+ $.effects.restore( el, props );
70
+ $.effects.removeWrapper( el );
71
+ done();
72
+ });
73
+
74
+ };
75
+
76
+ })(jQuery);
@@ -0,0 +1,50 @@
1
+ /*!
2
+ * jQuery UI Effects Highlight 1.9.2
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2012 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/highlight-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ $.effects.effect.highlight = function( o, done ) {
17
+ var elem = $( this ),
18
+ props = [ "backgroundImage", "backgroundColor", "opacity" ],
19
+ mode = $.effects.setMode( elem, o.mode || "show" ),
20
+ animation = {
21
+ backgroundColor: elem.css( "backgroundColor" )
22
+ };
23
+
24
+ if (mode === "hide") {
25
+ animation.opacity = 0;
26
+ }
27
+
28
+ $.effects.save( elem, props );
29
+
30
+ elem
31
+ .show()
32
+ .css({
33
+ backgroundImage: "none",
34
+ backgroundColor: o.color || "#ffff99"
35
+ })
36
+ .animate( animation, {
37
+ queue: false,
38
+ duration: o.duration,
39
+ easing: o.easing,
40
+ complete: function() {
41
+ if ( mode === "hide" ) {
42
+ elem.hide();
43
+ }
44
+ $.effects.restore( elem, props );
45
+ done();
46
+ }
47
+ });
48
+ };
49
+
50
+ })(jQuery);
@@ -0,0 +1,63 @@
1
+ /*!
2
+ * jQuery UI Effects Pulsate 1.9.2
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2012 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/pulsate-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ $.effects.effect.pulsate = function( o, done ) {
17
+ var elem = $( this ),
18
+ mode = $.effects.setMode( elem, o.mode || "show" ),
19
+ show = mode === "show",
20
+ hide = mode === "hide",
21
+ showhide = ( show || mode === "hide" ),
22
+
23
+ // showing or hiding leaves of the "last" animation
24
+ anims = ( ( o.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ),
25
+ duration = o.duration / anims,
26
+ animateTo = 0,
27
+ queue = elem.queue(),
28
+ queuelen = queue.length,
29
+ i;
30
+
31
+ if ( show || !elem.is(":visible")) {
32
+ elem.css( "opacity", 0 ).show();
33
+ animateTo = 1;
34
+ }
35
+
36
+ // anims - 1 opacity "toggles"
37
+ for ( i = 1; i < anims; i++ ) {
38
+ elem.animate({
39
+ opacity: animateTo
40
+ }, duration, o.easing );
41
+ animateTo = 1 - animateTo;
42
+ }
43
+
44
+ elem.animate({
45
+ opacity: animateTo
46
+ }, duration, o.easing);
47
+
48
+ elem.queue(function() {
49
+ if ( hide ) {
50
+ elem.hide();
51
+ }
52
+ done();
53
+ });
54
+
55
+ // We just queued up "anims" animations, we need to put them next in the queue
56
+ if ( queuelen > 1 ) {
57
+ queue.splice.apply( queue,
58
+ [ 1, 0 ].concat( queue.splice( queuelen, anims + 1 ) ) );
59
+ }
60
+ elem.dequeue();
61
+ };
62
+
63
+ })(jQuery);