jquery-ui-rails-patch-1131 7.0.0
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.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.gitmodules +3 -0
- data/.travis.yml +2 -0
- data/Gemfile +3 -0
- data/History.md +178 -0
- data/License.txt +2 -0
- data/README.md +311 -0
- data/Rakefile +265 -0
- data/VERSIONS.md +41 -0
- data/app/assets/images/jquery-ui-patch-1131/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/jquery-ui-patch-1131/ui-icons_444444_256x240.png +0 -0
- data/app/assets/images/jquery-ui-patch-1131/ui-icons_555555_256x240.png +0 -0
- data/app/assets/images/jquery-ui-patch-1131/ui-icons_777620_256x240.png +0 -0
- data/app/assets/images/jquery-ui-patch-1131/ui-icons_777777_256x240.png +0 -0
- data/app/assets/images/jquery-ui-patch-1131/ui-icons_cc0000_256x240.png +0 -0
- data/app/assets/images/jquery-ui-patch-1131/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/core.js +15 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/data.js +45 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/disable-selection.js +51 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effect.all.js +15 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effect.js +975 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-blind.js +76 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-bounce.js +116 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-clip.js +71 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-drop.js +75 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-explode.js +117 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-fade.js +53 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-fold.js +95 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-highlight.js +63 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-puff.js +49 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-pulsate.js +70 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-scale.js +63 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-shake.js +80 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-size.js +199 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-slide.js +82 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/effects/effect-transfer.js +46 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/focusable.js +89 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/form-reset-mixin.js +83 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/form.js +25 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-af.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ar-DZ.js +42 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ar.js +42 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-az.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-be.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-bg.js +41 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-bs.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ca.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-cs.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-cy-GB.js +48 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-da.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-de-AT.js +41 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-de.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-el.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-en-AU.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-en-GB.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-en-NZ.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-eo.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-es.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-et.js +48 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-eu.js +39 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fa.js +76 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fi.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fo.js +48 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fr-CA.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fr-CH.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-fr.js +42 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-gl.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-he.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-hi.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-hr.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-hu.js +39 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-hy.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-id.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-is.js +48 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-it-CH.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-it.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ja.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ka.js +51 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-kk.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-km.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ko.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ky.js +41 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-lb.js +48 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-lt.js +48 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-lv.js +48 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-mk.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ml.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ms.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-nb.js +52 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-nl-BE.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-nl.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-nn.js +52 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-no.js +53 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-pl.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-pt-BR.js +48 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-pt.js +47 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-rm.js +64 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ro.js +43 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ru.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sk.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sl.js +41 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sq.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sr-SR.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sr.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-sv.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-ta.js +56 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-th.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-tj.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-tr.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-uk.js +41 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-vi.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-zh-CN.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-zh-HK.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/i18n/datepicker-zh-TW.js +40 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/ie.js +20 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/jquery-patch.js +91 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/jquery-var-for-color.js +24 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/keycode.js +51 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/labels.js +71 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/plugin.js +49 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/position.js +513 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/safe-active-element.js +46 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/safe-blur.js +27 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/scroll-parent.js +50 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/tabbable.js +41 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/unique-id.js +54 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/vendor/jquery-color/LICENSE.txt +43 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/vendor/jquery-color/jquery.color.js +722 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/version.js +20 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widget.js +758 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/accordion.js +627 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/autocomplete.js +685 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/button.js +454 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/checkboxradio.js +289 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/controlgroup.js +304 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/datepicker.js +2243 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/dialog.js +968 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/draggable.js +1268 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/droppable.js +508 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/menu.js +720 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/mouse.js +241 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/progressbar.js +184 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/resizable.js +1225 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/selectable.js +321 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/selectmenu.js +702 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/slider.js +760 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/sortable.js +1622 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/spinner.js +588 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/tabs.js +931 -0
- data/app/assets/javascripts/jquery-ui-patch-1131/widgets/tooltip.js +533 -0
- data/app/assets/javascripts/jquery-ui-patch-1131.js +56 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/accordion.css +26 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/all.css +14 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/autocomplete.css +19 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/base.css +32 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/button.css +85 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/checkboxradio.css +37 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/controlgroup.css +67 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/core.css +100 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/datepicker.css +188 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/dialog.css +104 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/draggable.css +15 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/menu.css +67 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/progressbar.css +31 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/resizable.css +81 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/selectable.css +20 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/selectmenu.css +53 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/slider.css +78 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/sortable.css +15 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/spinner.css +55 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/tabs.css +54 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/theme.css.erb +456 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131/tooltip.css +22 -0
- data/app/assets/stylesheets/jquery-ui-patch-1131.css +1 -0
- data/jquery-ui-rails-patch-1131.gemspec +23 -0
- data/lib/jquery/ui/rails/engine.rb +8 -0
- data/lib/jquery/ui/rails/version.rb +8 -0
- data/lib/jquery/ui/rails.rb +2 -0
- data/lib/jquery-ui-rails-patch-1131.rb +1 -0
- metadata +251 -0
@@ -0,0 +1,76 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Blind 1.13.1
|
6
|
+
* http://jqueryui.com
|
7
|
+
*
|
8
|
+
* Copyright jQuery Foundation and other contributors
|
9
|
+
* Released under the MIT license.
|
10
|
+
* http://jquery.org/license
|
11
|
+
*/
|
12
|
+
|
13
|
+
//>>label: Blind Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Blinds the element.
|
16
|
+
//>>docs: http://api.jqueryui.com/blind-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
"use strict";
|
21
|
+
|
22
|
+
if ( typeof define === "function" && define.amd ) {
|
23
|
+
|
24
|
+
// AMD. Register as an anonymous module.
|
25
|
+
define( [
|
26
|
+
"jquery",
|
27
|
+
"../version",
|
28
|
+
"../effect"
|
29
|
+
], factory );
|
30
|
+
} else {
|
31
|
+
|
32
|
+
// Browser globals
|
33
|
+
factory( jQuery );
|
34
|
+
}
|
35
|
+
} )( function( $ ) {
|
36
|
+
"use strict";
|
37
|
+
|
38
|
+
return $.effects.define( "blind", "hide", function( options, done ) {
|
39
|
+
var map = {
|
40
|
+
up: [ "bottom", "top" ],
|
41
|
+
vertical: [ "bottom", "top" ],
|
42
|
+
down: [ "top", "bottom" ],
|
43
|
+
left: [ "right", "left" ],
|
44
|
+
horizontal: [ "right", "left" ],
|
45
|
+
right: [ "left", "right" ]
|
46
|
+
},
|
47
|
+
element = $( this ),
|
48
|
+
direction = options.direction || "up",
|
49
|
+
start = element.cssClip(),
|
50
|
+
animate = { clip: $.extend( {}, start ) },
|
51
|
+
placeholder = $.effects.createPlaceholder( element );
|
52
|
+
|
53
|
+
animate.clip[ map[ direction ][ 0 ] ] = animate.clip[ map[ direction ][ 1 ] ];
|
54
|
+
|
55
|
+
if ( options.mode === "show" ) {
|
56
|
+
element.cssClip( animate.clip );
|
57
|
+
if ( placeholder ) {
|
58
|
+
placeholder.css( $.effects.clipToBox( animate ) );
|
59
|
+
}
|
60
|
+
|
61
|
+
animate.clip = start;
|
62
|
+
}
|
63
|
+
|
64
|
+
if ( placeholder ) {
|
65
|
+
placeholder.animate( $.effects.clipToBox( animate ), options.duration, options.easing );
|
66
|
+
}
|
67
|
+
|
68
|
+
element.animate( animate, {
|
69
|
+
queue: false,
|
70
|
+
duration: options.duration,
|
71
|
+
easing: options.easing,
|
72
|
+
complete: done
|
73
|
+
} );
|
74
|
+
} );
|
75
|
+
|
76
|
+
} );
|
@@ -0,0 +1,116 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Bounce 1.13.1
|
6
|
+
* http://jqueryui.com
|
7
|
+
*
|
8
|
+
* Copyright jQuery Foundation and other contributors
|
9
|
+
* Released under the MIT license.
|
10
|
+
* http://jquery.org/license
|
11
|
+
*/
|
12
|
+
|
13
|
+
//>>label: Bounce Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Bounces an element horizontally or vertically n times.
|
16
|
+
//>>docs: http://api.jqueryui.com/bounce-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
"use strict";
|
21
|
+
|
22
|
+
if ( typeof define === "function" && define.amd ) {
|
23
|
+
|
24
|
+
// AMD. Register as an anonymous module.
|
25
|
+
define( [
|
26
|
+
"jquery",
|
27
|
+
"../version",
|
28
|
+
"../effect"
|
29
|
+
], factory );
|
30
|
+
} else {
|
31
|
+
|
32
|
+
// Browser globals
|
33
|
+
factory( jQuery );
|
34
|
+
}
|
35
|
+
} )( function( $ ) {
|
36
|
+
"use strict";
|
37
|
+
|
38
|
+
return $.effects.define( "bounce", function( options, done ) {
|
39
|
+
var upAnim, downAnim, refValue,
|
40
|
+
element = $( this ),
|
41
|
+
|
42
|
+
// Defaults:
|
43
|
+
mode = options.mode,
|
44
|
+
hide = mode === "hide",
|
45
|
+
show = mode === "show",
|
46
|
+
direction = options.direction || "up",
|
47
|
+
distance = options.distance,
|
48
|
+
times = options.times || 5,
|
49
|
+
|
50
|
+
// Number of internal animations
|
51
|
+
anims = times * 2 + ( show || hide ? 1 : 0 ),
|
52
|
+
speed = options.duration / anims,
|
53
|
+
easing = options.easing,
|
54
|
+
|
55
|
+
// Utility:
|
56
|
+
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
|
57
|
+
motion = ( direction === "up" || direction === "left" ),
|
58
|
+
i = 0,
|
59
|
+
|
60
|
+
queuelen = element.queue().length;
|
61
|
+
|
62
|
+
$.effects.createPlaceholder( element );
|
63
|
+
|
64
|
+
refValue = element.css( ref );
|
65
|
+
|
66
|
+
// Default distance for the BIGGEST bounce is the outer Distance / 3
|
67
|
+
if ( !distance ) {
|
68
|
+
distance = element[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3;
|
69
|
+
}
|
70
|
+
|
71
|
+
if ( show ) {
|
72
|
+
downAnim = { opacity: 1 };
|
73
|
+
downAnim[ ref ] = refValue;
|
74
|
+
|
75
|
+
// If we are showing, force opacity 0 and set the initial position
|
76
|
+
// then do the "first" animation
|
77
|
+
element
|
78
|
+
.css( "opacity", 0 )
|
79
|
+
.css( ref, motion ? -distance * 2 : distance * 2 )
|
80
|
+
.animate( downAnim, speed, easing );
|
81
|
+
}
|
82
|
+
|
83
|
+
// Start at the smallest distance if we are hiding
|
84
|
+
if ( hide ) {
|
85
|
+
distance = distance / Math.pow( 2, times - 1 );
|
86
|
+
}
|
87
|
+
|
88
|
+
downAnim = {};
|
89
|
+
downAnim[ ref ] = refValue;
|
90
|
+
|
91
|
+
// Bounces up/down/left/right then back to 0 -- times * 2 animations happen here
|
92
|
+
for ( ; i < times; i++ ) {
|
93
|
+
upAnim = {};
|
94
|
+
upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
|
95
|
+
|
96
|
+
element
|
97
|
+
.animate( upAnim, speed, easing )
|
98
|
+
.animate( downAnim, speed, easing );
|
99
|
+
|
100
|
+
distance = hide ? distance * 2 : distance / 2;
|
101
|
+
}
|
102
|
+
|
103
|
+
// Last Bounce when Hiding
|
104
|
+
if ( hide ) {
|
105
|
+
upAnim = { opacity: 0 };
|
106
|
+
upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
|
107
|
+
|
108
|
+
element.animate( upAnim, speed, easing );
|
109
|
+
}
|
110
|
+
|
111
|
+
element.queue( done );
|
112
|
+
|
113
|
+
$.effects.unshift( element, queuelen, anims + 1 );
|
114
|
+
} );
|
115
|
+
|
116
|
+
} );
|
@@ -0,0 +1,71 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Clip 1.13.1
|
6
|
+
* http://jqueryui.com
|
7
|
+
*
|
8
|
+
* Copyright jQuery Foundation and other contributors
|
9
|
+
* Released under the MIT license.
|
10
|
+
* http://jquery.org/license
|
11
|
+
*/
|
12
|
+
|
13
|
+
//>>label: Clip Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Clips the element on and off like an old TV.
|
16
|
+
//>>docs: http://api.jqueryui.com/clip-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
"use strict";
|
21
|
+
|
22
|
+
if ( typeof define === "function" && define.amd ) {
|
23
|
+
|
24
|
+
// AMD. Register as an anonymous module.
|
25
|
+
define( [
|
26
|
+
"jquery",
|
27
|
+
"../version",
|
28
|
+
"../effect"
|
29
|
+
], factory );
|
30
|
+
} else {
|
31
|
+
|
32
|
+
// Browser globals
|
33
|
+
factory( jQuery );
|
34
|
+
}
|
35
|
+
} )( function( $ ) {
|
36
|
+
"use strict";
|
37
|
+
|
38
|
+
return $.effects.define( "clip", "hide", function( options, done ) {
|
39
|
+
var start,
|
40
|
+
animate = {},
|
41
|
+
element = $( this ),
|
42
|
+
direction = options.direction || "vertical",
|
43
|
+
both = direction === "both",
|
44
|
+
horizontal = both || direction === "horizontal",
|
45
|
+
vertical = both || direction === "vertical";
|
46
|
+
|
47
|
+
start = element.cssClip();
|
48
|
+
animate.clip = {
|
49
|
+
top: vertical ? ( start.bottom - start.top ) / 2 : start.top,
|
50
|
+
right: horizontal ? ( start.right - start.left ) / 2 : start.right,
|
51
|
+
bottom: vertical ? ( start.bottom - start.top ) / 2 : start.bottom,
|
52
|
+
left: horizontal ? ( start.right - start.left ) / 2 : start.left
|
53
|
+
};
|
54
|
+
|
55
|
+
$.effects.createPlaceholder( element );
|
56
|
+
|
57
|
+
if ( options.mode === "show" ) {
|
58
|
+
element.cssClip( animate.clip );
|
59
|
+
animate.clip = start;
|
60
|
+
}
|
61
|
+
|
62
|
+
element.animate( animate, {
|
63
|
+
queue: false,
|
64
|
+
duration: options.duration,
|
65
|
+
easing: options.easing,
|
66
|
+
complete: done
|
67
|
+
} );
|
68
|
+
|
69
|
+
} );
|
70
|
+
|
71
|
+
} );
|
@@ -0,0 +1,75 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Drop 1.13.1
|
6
|
+
* http://jqueryui.com
|
7
|
+
*
|
8
|
+
* Copyright jQuery Foundation and other contributors
|
9
|
+
* Released under the MIT license.
|
10
|
+
* http://jquery.org/license
|
11
|
+
*/
|
12
|
+
|
13
|
+
//>>label: Drop Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Moves an element in one direction and hides it at the same time.
|
16
|
+
//>>docs: http://api.jqueryui.com/drop-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
"use strict";
|
21
|
+
|
22
|
+
if ( typeof define === "function" && define.amd ) {
|
23
|
+
|
24
|
+
// AMD. Register as an anonymous module.
|
25
|
+
define( [
|
26
|
+
"jquery",
|
27
|
+
"../version",
|
28
|
+
"../effect"
|
29
|
+
], factory );
|
30
|
+
} else {
|
31
|
+
|
32
|
+
// Browser globals
|
33
|
+
factory( jQuery );
|
34
|
+
}
|
35
|
+
} )( function( $ ) {
|
36
|
+
"use strict";
|
37
|
+
|
38
|
+
return $.effects.define( "drop", "hide", function( options, done ) {
|
39
|
+
|
40
|
+
var distance,
|
41
|
+
element = $( this ),
|
42
|
+
mode = options.mode,
|
43
|
+
show = mode === "show",
|
44
|
+
direction = options.direction || "left",
|
45
|
+
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
|
46
|
+
motion = ( direction === "up" || direction === "left" ) ? "-=" : "+=",
|
47
|
+
oppositeMotion = ( motion === "+=" ) ? "-=" : "+=",
|
48
|
+
animation = {
|
49
|
+
opacity: 0
|
50
|
+
};
|
51
|
+
|
52
|
+
$.effects.createPlaceholder( element );
|
53
|
+
|
54
|
+
distance = options.distance ||
|
55
|
+
element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ) / 2;
|
56
|
+
|
57
|
+
animation[ ref ] = motion + distance;
|
58
|
+
|
59
|
+
if ( show ) {
|
60
|
+
element.css( animation );
|
61
|
+
|
62
|
+
animation[ ref ] = oppositeMotion + distance;
|
63
|
+
animation.opacity = 1;
|
64
|
+
}
|
65
|
+
|
66
|
+
// Animate
|
67
|
+
element.animate( animation, {
|
68
|
+
queue: false,
|
69
|
+
duration: options.duration,
|
70
|
+
easing: options.easing,
|
71
|
+
complete: done
|
72
|
+
} );
|
73
|
+
} );
|
74
|
+
|
75
|
+
} );
|
@@ -0,0 +1,117 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Explode 1.13.1
|
6
|
+
* http://jqueryui.com
|
7
|
+
*
|
8
|
+
* Copyright jQuery Foundation and other contributors
|
9
|
+
* Released under the MIT license.
|
10
|
+
* http://jquery.org/license
|
11
|
+
*/
|
12
|
+
|
13
|
+
//>>label: Explode Effect
|
14
|
+
//>>group: Effects
|
15
|
+
/* eslint-disable max-len */
|
16
|
+
//>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness.
|
17
|
+
/* eslint-enable max-len */
|
18
|
+
//>>docs: http://api.jqueryui.com/explode-effect/
|
19
|
+
//>>demos: http://jqueryui.com/effect/
|
20
|
+
|
21
|
+
( function( factory ) {
|
22
|
+
"use strict";
|
23
|
+
|
24
|
+
if ( typeof define === "function" && define.amd ) {
|
25
|
+
|
26
|
+
// AMD. Register as an anonymous module.
|
27
|
+
define( [
|
28
|
+
"jquery",
|
29
|
+
"../version",
|
30
|
+
"../effect"
|
31
|
+
], factory );
|
32
|
+
} else {
|
33
|
+
|
34
|
+
// Browser globals
|
35
|
+
factory( jQuery );
|
36
|
+
}
|
37
|
+
} )( function( $ ) {
|
38
|
+
"use strict";
|
39
|
+
|
40
|
+
return $.effects.define( "explode", "hide", function( options, done ) {
|
41
|
+
|
42
|
+
var i, j, left, top, mx, my,
|
43
|
+
rows = options.pieces ? Math.round( Math.sqrt( options.pieces ) ) : 3,
|
44
|
+
cells = rows,
|
45
|
+
element = $( this ),
|
46
|
+
mode = options.mode,
|
47
|
+
show = mode === "show",
|
48
|
+
|
49
|
+
// Show and then visibility:hidden the element before calculating offset
|
50
|
+
offset = element.show().css( "visibility", "hidden" ).offset(),
|
51
|
+
|
52
|
+
// Width and height of a piece
|
53
|
+
width = Math.ceil( element.outerWidth() / cells ),
|
54
|
+
height = Math.ceil( element.outerHeight() / rows ),
|
55
|
+
pieces = [];
|
56
|
+
|
57
|
+
// Children animate complete:
|
58
|
+
function childComplete() {
|
59
|
+
pieces.push( this );
|
60
|
+
if ( pieces.length === rows * cells ) {
|
61
|
+
animComplete();
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
// Clone the element for each row and cell.
|
66
|
+
for ( i = 0; i < rows; i++ ) { // ===>
|
67
|
+
top = offset.top + i * height;
|
68
|
+
my = i - ( rows - 1 ) / 2;
|
69
|
+
|
70
|
+
for ( j = 0; j < cells; j++ ) { // |||
|
71
|
+
left = offset.left + j * width;
|
72
|
+
mx = j - ( cells - 1 ) / 2;
|
73
|
+
|
74
|
+
// Create a clone of the now hidden main element that will be absolute positioned
|
75
|
+
// within a wrapper div off the -left and -top equal to size of our pieces
|
76
|
+
element
|
77
|
+
.clone()
|
78
|
+
.appendTo( "body" )
|
79
|
+
.wrap( "<div></div>" )
|
80
|
+
.css( {
|
81
|
+
position: "absolute",
|
82
|
+
visibility: "visible",
|
83
|
+
left: -j * width,
|
84
|
+
top: -i * height
|
85
|
+
} )
|
86
|
+
|
87
|
+
// Select the wrapper - make it overflow: hidden and absolute positioned based on
|
88
|
+
// where the original was located +left and +top equal to the size of pieces
|
89
|
+
.parent()
|
90
|
+
.addClass( "ui-effects-explode" )
|
91
|
+
.css( {
|
92
|
+
position: "absolute",
|
93
|
+
overflow: "hidden",
|
94
|
+
width: width,
|
95
|
+
height: height,
|
96
|
+
left: left + ( show ? mx * width : 0 ),
|
97
|
+
top: top + ( show ? my * height : 0 ),
|
98
|
+
opacity: show ? 0 : 1
|
99
|
+
} )
|
100
|
+
.animate( {
|
101
|
+
left: left + ( show ? 0 : mx * width ),
|
102
|
+
top: top + ( show ? 0 : my * height ),
|
103
|
+
opacity: show ? 1 : 0
|
104
|
+
}, options.duration || 500, options.easing, childComplete );
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
function animComplete() {
|
109
|
+
element.css( {
|
110
|
+
visibility: "visible"
|
111
|
+
} );
|
112
|
+
$( pieces ).remove();
|
113
|
+
done();
|
114
|
+
}
|
115
|
+
} );
|
116
|
+
|
117
|
+
} );
|
@@ -0,0 +1,53 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Fade 1.13.1
|
6
|
+
* http://jqueryui.com
|
7
|
+
*
|
8
|
+
* Copyright jQuery Foundation and other contributors
|
9
|
+
* Released under the MIT license.
|
10
|
+
* http://jquery.org/license
|
11
|
+
*/
|
12
|
+
|
13
|
+
//>>label: Fade Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Fades the element.
|
16
|
+
//>>docs: http://api.jqueryui.com/fade-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
"use strict";
|
21
|
+
|
22
|
+
if ( typeof define === "function" && define.amd ) {
|
23
|
+
|
24
|
+
// AMD. Register as an anonymous module.
|
25
|
+
define( [
|
26
|
+
"jquery",
|
27
|
+
"../version",
|
28
|
+
"../effect"
|
29
|
+
], factory );
|
30
|
+
} else {
|
31
|
+
|
32
|
+
// Browser globals
|
33
|
+
factory( jQuery );
|
34
|
+
}
|
35
|
+
} )( function( $ ) {
|
36
|
+
"use strict";
|
37
|
+
|
38
|
+
return $.effects.define( "fade", "toggle", function( options, done ) {
|
39
|
+
var show = options.mode === "show";
|
40
|
+
|
41
|
+
$( this )
|
42
|
+
.css( "opacity", show ? 0 : 1 )
|
43
|
+
.animate( {
|
44
|
+
opacity: show ? 1 : 0
|
45
|
+
}, {
|
46
|
+
queue: false,
|
47
|
+
duration: options.duration,
|
48
|
+
easing: options.easing,
|
49
|
+
complete: done
|
50
|
+
} );
|
51
|
+
} );
|
52
|
+
|
53
|
+
} );
|
@@ -0,0 +1,95 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Fold 1.13.1
|
6
|
+
* http://jqueryui.com
|
7
|
+
*
|
8
|
+
* Copyright jQuery Foundation and other contributors
|
9
|
+
* Released under the MIT license.
|
10
|
+
* http://jquery.org/license
|
11
|
+
*/
|
12
|
+
|
13
|
+
//>>label: Fold Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Folds an element first horizontally and then vertically.
|
16
|
+
//>>docs: http://api.jqueryui.com/fold-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
"use strict";
|
21
|
+
|
22
|
+
if ( typeof define === "function" && define.amd ) {
|
23
|
+
|
24
|
+
// AMD. Register as an anonymous module.
|
25
|
+
define( [
|
26
|
+
"jquery",
|
27
|
+
"../version",
|
28
|
+
"../effect"
|
29
|
+
], factory );
|
30
|
+
} else {
|
31
|
+
|
32
|
+
// Browser globals
|
33
|
+
factory( jQuery );
|
34
|
+
}
|
35
|
+
} )( function( $ ) {
|
36
|
+
"use strict";
|
37
|
+
|
38
|
+
return $.effects.define( "fold", "hide", function( options, done ) {
|
39
|
+
|
40
|
+
// Create element
|
41
|
+
var element = $( this ),
|
42
|
+
mode = options.mode,
|
43
|
+
show = mode === "show",
|
44
|
+
hide = mode === "hide",
|
45
|
+
size = options.size || 15,
|
46
|
+
percent = /([0-9]+)%/.exec( size ),
|
47
|
+
horizFirst = !!options.horizFirst,
|
48
|
+
ref = horizFirst ? [ "right", "bottom" ] : [ "bottom", "right" ],
|
49
|
+
duration = options.duration / 2,
|
50
|
+
|
51
|
+
placeholder = $.effects.createPlaceholder( element ),
|
52
|
+
|
53
|
+
start = element.cssClip(),
|
54
|
+
animation1 = { clip: $.extend( {}, start ) },
|
55
|
+
animation2 = { clip: $.extend( {}, start ) },
|
56
|
+
|
57
|
+
distance = [ start[ ref[ 0 ] ], start[ ref[ 1 ] ] ],
|
58
|
+
|
59
|
+
queuelen = element.queue().length;
|
60
|
+
|
61
|
+
if ( percent ) {
|
62
|
+
size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];
|
63
|
+
}
|
64
|
+
animation1.clip[ ref[ 0 ] ] = size;
|
65
|
+
animation2.clip[ ref[ 0 ] ] = size;
|
66
|
+
animation2.clip[ ref[ 1 ] ] = 0;
|
67
|
+
|
68
|
+
if ( show ) {
|
69
|
+
element.cssClip( animation2.clip );
|
70
|
+
if ( placeholder ) {
|
71
|
+
placeholder.css( $.effects.clipToBox( animation2 ) );
|
72
|
+
}
|
73
|
+
|
74
|
+
animation2.clip = start;
|
75
|
+
}
|
76
|
+
|
77
|
+
// Animate
|
78
|
+
element
|
79
|
+
.queue( function( next ) {
|
80
|
+
if ( placeholder ) {
|
81
|
+
placeholder
|
82
|
+
.animate( $.effects.clipToBox( animation1 ), duration, options.easing )
|
83
|
+
.animate( $.effects.clipToBox( animation2 ), duration, options.easing );
|
84
|
+
}
|
85
|
+
|
86
|
+
next();
|
87
|
+
} )
|
88
|
+
.animate( animation1, duration, options.easing )
|
89
|
+
.animate( animation2, duration, options.easing )
|
90
|
+
.queue( done );
|
91
|
+
|
92
|
+
$.effects.unshift( element, queuelen, 4 );
|
93
|
+
} );
|
94
|
+
|
95
|
+
} );
|
@@ -0,0 +1,63 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Highlight 1.13.1
|
6
|
+
* http://jqueryui.com
|
7
|
+
*
|
8
|
+
* Copyright jQuery Foundation and other contributors
|
9
|
+
* Released under the MIT license.
|
10
|
+
* http://jquery.org/license
|
11
|
+
*/
|
12
|
+
|
13
|
+
//>>label: Highlight Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Highlights the background of an element in a defined color for a custom duration.
|
16
|
+
//>>docs: http://api.jqueryui.com/highlight-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
"use strict";
|
21
|
+
|
22
|
+
if ( typeof define === "function" && define.amd ) {
|
23
|
+
|
24
|
+
// AMD. Register as an anonymous module.
|
25
|
+
define( [
|
26
|
+
"jquery",
|
27
|
+
"../version",
|
28
|
+
"../effect"
|
29
|
+
], factory );
|
30
|
+
} else {
|
31
|
+
|
32
|
+
// Browser globals
|
33
|
+
factory( jQuery );
|
34
|
+
}
|
35
|
+
} )( function( $ ) {
|
36
|
+
"use strict";
|
37
|
+
|
38
|
+
return $.effects.define( "highlight", "show", function( options, done ) {
|
39
|
+
var element = $( this ),
|
40
|
+
animation = {
|
41
|
+
backgroundColor: element.css( "backgroundColor" )
|
42
|
+
};
|
43
|
+
|
44
|
+
if ( options.mode === "hide" ) {
|
45
|
+
animation.opacity = 0;
|
46
|
+
}
|
47
|
+
|
48
|
+
$.effects.saveStyle( element );
|
49
|
+
|
50
|
+
element
|
51
|
+
.css( {
|
52
|
+
backgroundImage: "none",
|
53
|
+
backgroundColor: options.color || "#ffff99"
|
54
|
+
} )
|
55
|
+
.animate( animation, {
|
56
|
+
queue: false,
|
57
|
+
duration: options.duration,
|
58
|
+
easing: options.easing,
|
59
|
+
complete: done
|
60
|
+
} );
|
61
|
+
} );
|
62
|
+
|
63
|
+
} );
|