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,49 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
//= require jquery-ui-patch-1131/effects/effect-scale
|
4
|
+
|
5
|
+
/*!
|
6
|
+
* jQuery UI Effects Puff 1.13.1
|
7
|
+
* http://jqueryui.com
|
8
|
+
*
|
9
|
+
* Copyright jQuery Foundation and other contributors
|
10
|
+
* Released under the MIT license.
|
11
|
+
* http://jquery.org/license
|
12
|
+
*/
|
13
|
+
|
14
|
+
//>>label: Puff Effect
|
15
|
+
//>>group: Effects
|
16
|
+
//>>description: Creates a puff effect by scaling the element up and hiding it at the same time.
|
17
|
+
//>>docs: http://api.jqueryui.com/puff-effect/
|
18
|
+
//>>demos: http://jqueryui.com/effect/
|
19
|
+
|
20
|
+
( function( factory ) {
|
21
|
+
"use strict";
|
22
|
+
|
23
|
+
if ( typeof define === "function" && define.amd ) {
|
24
|
+
|
25
|
+
// AMD. Register as an anonymous module.
|
26
|
+
define( [
|
27
|
+
"jquery",
|
28
|
+
"../version",
|
29
|
+
"../effect",
|
30
|
+
"./effect-scale"
|
31
|
+
], factory );
|
32
|
+
} else {
|
33
|
+
|
34
|
+
// Browser globals
|
35
|
+
factory( jQuery );
|
36
|
+
}
|
37
|
+
} )( function( $ ) {
|
38
|
+
"use strict";
|
39
|
+
|
40
|
+
return $.effects.define( "puff", "hide", function( options, done ) {
|
41
|
+
var newOptions = $.extend( true, {}, options, {
|
42
|
+
fade: true,
|
43
|
+
percent: parseInt( options.percent, 10 ) || 150
|
44
|
+
} );
|
45
|
+
|
46
|
+
$.effects.effect.scale.call( this, newOptions, done );
|
47
|
+
} );
|
48
|
+
|
49
|
+
} );
|
@@ -0,0 +1,70 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Pulsate 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: Pulsate Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Pulsates an element n times by changing the opacity to zero and back.
|
16
|
+
//>>docs: http://api.jqueryui.com/pulsate-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( "pulsate", "show", function( options, done ) {
|
39
|
+
var element = $( this ),
|
40
|
+
mode = options.mode,
|
41
|
+
show = mode === "show",
|
42
|
+
hide = mode === "hide",
|
43
|
+
showhide = show || hide,
|
44
|
+
|
45
|
+
// Showing or hiding leaves off the "last" animation
|
46
|
+
anims = ( ( options.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ),
|
47
|
+
duration = options.duration / anims,
|
48
|
+
animateTo = 0,
|
49
|
+
i = 1,
|
50
|
+
queuelen = element.queue().length;
|
51
|
+
|
52
|
+
if ( show || !element.is( ":visible" ) ) {
|
53
|
+
element.css( "opacity", 0 ).show();
|
54
|
+
animateTo = 1;
|
55
|
+
}
|
56
|
+
|
57
|
+
// Anims - 1 opacity "toggles"
|
58
|
+
for ( ; i < anims; i++ ) {
|
59
|
+
element.animate( { opacity: animateTo }, duration, options.easing );
|
60
|
+
animateTo = 1 - animateTo;
|
61
|
+
}
|
62
|
+
|
63
|
+
element.animate( { opacity: animateTo }, duration, options.easing );
|
64
|
+
|
65
|
+
element.queue( done );
|
66
|
+
|
67
|
+
$.effects.unshift( element, queuelen, anims + 1 );
|
68
|
+
} );
|
69
|
+
|
70
|
+
} );
|
@@ -0,0 +1,63 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
//= require jquery-ui-patch-1131/effects/effect-size
|
4
|
+
|
5
|
+
/*!
|
6
|
+
* jQuery UI Effects Scale 1.13.1
|
7
|
+
* http://jqueryui.com
|
8
|
+
*
|
9
|
+
* Copyright jQuery Foundation and other contributors
|
10
|
+
* Released under the MIT license.
|
11
|
+
* http://jquery.org/license
|
12
|
+
*/
|
13
|
+
|
14
|
+
//>>label: Scale Effect
|
15
|
+
//>>group: Effects
|
16
|
+
//>>description: Grows or shrinks an element and its content.
|
17
|
+
//>>docs: http://api.jqueryui.com/scale-effect/
|
18
|
+
//>>demos: http://jqueryui.com/effect/
|
19
|
+
|
20
|
+
( function( factory ) {
|
21
|
+
"use strict";
|
22
|
+
|
23
|
+
if ( typeof define === "function" && define.amd ) {
|
24
|
+
|
25
|
+
// AMD. Register as an anonymous module.
|
26
|
+
define( [
|
27
|
+
"jquery",
|
28
|
+
"../version",
|
29
|
+
"../effect",
|
30
|
+
"./effect-size"
|
31
|
+
], factory );
|
32
|
+
} else {
|
33
|
+
|
34
|
+
// Browser globals
|
35
|
+
factory( jQuery );
|
36
|
+
}
|
37
|
+
} )( function( $ ) {
|
38
|
+
"use strict";
|
39
|
+
|
40
|
+
return $.effects.define( "scale", function( options, done ) {
|
41
|
+
|
42
|
+
// Create element
|
43
|
+
var el = $( this ),
|
44
|
+
mode = options.mode,
|
45
|
+
percent = parseInt( options.percent, 10 ) ||
|
46
|
+
( parseInt( options.percent, 10 ) === 0 ? 0 : ( mode !== "effect" ? 0 : 100 ) ),
|
47
|
+
|
48
|
+
newOptions = $.extend( true, {
|
49
|
+
from: $.effects.scaledDimensions( el ),
|
50
|
+
to: $.effects.scaledDimensions( el, percent, options.direction || "both" ),
|
51
|
+
origin: options.origin || [ "middle", "center" ]
|
52
|
+
}, options );
|
53
|
+
|
54
|
+
// Fade option to support puff
|
55
|
+
if ( options.fade ) {
|
56
|
+
newOptions.from.opacity = 1;
|
57
|
+
newOptions.to.opacity = 0;
|
58
|
+
}
|
59
|
+
|
60
|
+
$.effects.effect.size.call( this, newOptions, done );
|
61
|
+
} );
|
62
|
+
|
63
|
+
} );
|
@@ -0,0 +1,80 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Shake 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: Shake Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Shakes an element horizontally or vertically n times.
|
16
|
+
//>>docs: http://api.jqueryui.com/shake-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( "shake", function( options, done ) {
|
39
|
+
|
40
|
+
var i = 1,
|
41
|
+
element = $( this ),
|
42
|
+
direction = options.direction || "left",
|
43
|
+
distance = options.distance || 20,
|
44
|
+
times = options.times || 3,
|
45
|
+
anims = times * 2 + 1,
|
46
|
+
speed = Math.round( options.duration / anims ),
|
47
|
+
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
|
48
|
+
positiveMotion = ( direction === "up" || direction === "left" ),
|
49
|
+
animation = {},
|
50
|
+
animation1 = {},
|
51
|
+
animation2 = {},
|
52
|
+
|
53
|
+
queuelen = element.queue().length;
|
54
|
+
|
55
|
+
$.effects.createPlaceholder( element );
|
56
|
+
|
57
|
+
// Animation
|
58
|
+
animation[ ref ] = ( positiveMotion ? "-=" : "+=" ) + distance;
|
59
|
+
animation1[ ref ] = ( positiveMotion ? "+=" : "-=" ) + distance * 2;
|
60
|
+
animation2[ ref ] = ( positiveMotion ? "-=" : "+=" ) + distance * 2;
|
61
|
+
|
62
|
+
// Animate
|
63
|
+
element.animate( animation, speed, options.easing );
|
64
|
+
|
65
|
+
// Shakes
|
66
|
+
for ( ; i < times; i++ ) {
|
67
|
+
element
|
68
|
+
.animate( animation1, speed, options.easing )
|
69
|
+
.animate( animation2, speed, options.easing );
|
70
|
+
}
|
71
|
+
|
72
|
+
element
|
73
|
+
.animate( animation1, speed, options.easing )
|
74
|
+
.animate( animation, speed / 2, options.easing )
|
75
|
+
.queue( done );
|
76
|
+
|
77
|
+
$.effects.unshift( element, queuelen, anims + 1 );
|
78
|
+
} );
|
79
|
+
|
80
|
+
} );
|
@@ -0,0 +1,199 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Size 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: Size Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Resize an element to a specified width and height.
|
16
|
+
//>>docs: http://api.jqueryui.com/size-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( "size", function( options, done ) {
|
39
|
+
|
40
|
+
// Create element
|
41
|
+
var baseline, factor, temp,
|
42
|
+
element = $( this ),
|
43
|
+
|
44
|
+
// Copy for children
|
45
|
+
cProps = [ "fontSize" ],
|
46
|
+
vProps = [ "borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom" ],
|
47
|
+
hProps = [ "borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight" ],
|
48
|
+
|
49
|
+
// Set options
|
50
|
+
mode = options.mode,
|
51
|
+
restore = mode !== "effect",
|
52
|
+
scale = options.scale || "both",
|
53
|
+
origin = options.origin || [ "middle", "center" ],
|
54
|
+
position = element.css( "position" ),
|
55
|
+
pos = element.position(),
|
56
|
+
original = $.effects.scaledDimensions( element ),
|
57
|
+
from = options.from || original,
|
58
|
+
to = options.to || $.effects.scaledDimensions( element, 0 );
|
59
|
+
|
60
|
+
$.effects.createPlaceholder( element );
|
61
|
+
|
62
|
+
if ( mode === "show" ) {
|
63
|
+
temp = from;
|
64
|
+
from = to;
|
65
|
+
to = temp;
|
66
|
+
}
|
67
|
+
|
68
|
+
// Set scaling factor
|
69
|
+
factor = {
|
70
|
+
from: {
|
71
|
+
y: from.height / original.height,
|
72
|
+
x: from.width / original.width
|
73
|
+
},
|
74
|
+
to: {
|
75
|
+
y: to.height / original.height,
|
76
|
+
x: to.width / original.width
|
77
|
+
}
|
78
|
+
};
|
79
|
+
|
80
|
+
// Scale the css box
|
81
|
+
if ( scale === "box" || scale === "both" ) {
|
82
|
+
|
83
|
+
// Vertical props scaling
|
84
|
+
if ( factor.from.y !== factor.to.y ) {
|
85
|
+
from = $.effects.setTransition( element, vProps, factor.from.y, from );
|
86
|
+
to = $.effects.setTransition( element, vProps, factor.to.y, to );
|
87
|
+
}
|
88
|
+
|
89
|
+
// Horizontal props scaling
|
90
|
+
if ( factor.from.x !== factor.to.x ) {
|
91
|
+
from = $.effects.setTransition( element, hProps, factor.from.x, from );
|
92
|
+
to = $.effects.setTransition( element, hProps, factor.to.x, to );
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
// Scale the content
|
97
|
+
if ( scale === "content" || scale === "both" ) {
|
98
|
+
|
99
|
+
// Vertical props scaling
|
100
|
+
if ( factor.from.y !== factor.to.y ) {
|
101
|
+
from = $.effects.setTransition( element, cProps, factor.from.y, from );
|
102
|
+
to = $.effects.setTransition( element, cProps, factor.to.y, to );
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
// Adjust the position properties based on the provided origin points
|
107
|
+
if ( origin ) {
|
108
|
+
baseline = $.effects.getBaseline( origin, original );
|
109
|
+
from.top = ( original.outerHeight - from.outerHeight ) * baseline.y + pos.top;
|
110
|
+
from.left = ( original.outerWidth - from.outerWidth ) * baseline.x + pos.left;
|
111
|
+
to.top = ( original.outerHeight - to.outerHeight ) * baseline.y + pos.top;
|
112
|
+
to.left = ( original.outerWidth - to.outerWidth ) * baseline.x + pos.left;
|
113
|
+
}
|
114
|
+
delete from.outerHeight;
|
115
|
+
delete from.outerWidth;
|
116
|
+
element.css( from );
|
117
|
+
|
118
|
+
// Animate the children if desired
|
119
|
+
if ( scale === "content" || scale === "both" ) {
|
120
|
+
|
121
|
+
vProps = vProps.concat( [ "marginTop", "marginBottom" ] ).concat( cProps );
|
122
|
+
hProps = hProps.concat( [ "marginLeft", "marginRight" ] );
|
123
|
+
|
124
|
+
// Only animate children with width attributes specified
|
125
|
+
// TODO: is this right? should we include anything with css width specified as well
|
126
|
+
element.find( "*[width]" ).each( function() {
|
127
|
+
var child = $( this ),
|
128
|
+
childOriginal = $.effects.scaledDimensions( child ),
|
129
|
+
childFrom = {
|
130
|
+
height: childOriginal.height * factor.from.y,
|
131
|
+
width: childOriginal.width * factor.from.x,
|
132
|
+
outerHeight: childOriginal.outerHeight * factor.from.y,
|
133
|
+
outerWidth: childOriginal.outerWidth * factor.from.x
|
134
|
+
},
|
135
|
+
childTo = {
|
136
|
+
height: childOriginal.height * factor.to.y,
|
137
|
+
width: childOriginal.width * factor.to.x,
|
138
|
+
outerHeight: childOriginal.height * factor.to.y,
|
139
|
+
outerWidth: childOriginal.width * factor.to.x
|
140
|
+
};
|
141
|
+
|
142
|
+
// Vertical props scaling
|
143
|
+
if ( factor.from.y !== factor.to.y ) {
|
144
|
+
childFrom = $.effects.setTransition( child, vProps, factor.from.y, childFrom );
|
145
|
+
childTo = $.effects.setTransition( child, vProps, factor.to.y, childTo );
|
146
|
+
}
|
147
|
+
|
148
|
+
// Horizontal props scaling
|
149
|
+
if ( factor.from.x !== factor.to.x ) {
|
150
|
+
childFrom = $.effects.setTransition( child, hProps, factor.from.x, childFrom );
|
151
|
+
childTo = $.effects.setTransition( child, hProps, factor.to.x, childTo );
|
152
|
+
}
|
153
|
+
|
154
|
+
if ( restore ) {
|
155
|
+
$.effects.saveStyle( child );
|
156
|
+
}
|
157
|
+
|
158
|
+
// Animate children
|
159
|
+
child.css( childFrom );
|
160
|
+
child.animate( childTo, options.duration, options.easing, function() {
|
161
|
+
|
162
|
+
// Restore children
|
163
|
+
if ( restore ) {
|
164
|
+
$.effects.restoreStyle( child );
|
165
|
+
}
|
166
|
+
} );
|
167
|
+
} );
|
168
|
+
}
|
169
|
+
|
170
|
+
// Animate
|
171
|
+
element.animate( to, {
|
172
|
+
queue: false,
|
173
|
+
duration: options.duration,
|
174
|
+
easing: options.easing,
|
175
|
+
complete: function() {
|
176
|
+
|
177
|
+
var offset = element.offset();
|
178
|
+
|
179
|
+
if ( to.opacity === 0 ) {
|
180
|
+
element.css( "opacity", from.opacity );
|
181
|
+
}
|
182
|
+
|
183
|
+
if ( !restore ) {
|
184
|
+
element
|
185
|
+
.css( "position", position === "static" ? "relative" : position )
|
186
|
+
.offset( offset );
|
187
|
+
|
188
|
+
// Need to save style here so that automatic style restoration
|
189
|
+
// doesn't restore to the original styles from before the animation.
|
190
|
+
$.effects.saveStyle( element );
|
191
|
+
}
|
192
|
+
|
193
|
+
done();
|
194
|
+
}
|
195
|
+
} );
|
196
|
+
|
197
|
+
} );
|
198
|
+
|
199
|
+
} );
|
@@ -0,0 +1,82 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Slide 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: Slide Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Slides an element in and out of the viewport.
|
16
|
+
//>>docs: http://api.jqueryui.com/slide-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( "slide", "show", function( options, done ) {
|
39
|
+
var startClip, startRef,
|
40
|
+
element = $( this ),
|
41
|
+
map = {
|
42
|
+
up: [ "bottom", "top" ],
|
43
|
+
down: [ "top", "bottom" ],
|
44
|
+
left: [ "right", "left" ],
|
45
|
+
right: [ "left", "right" ]
|
46
|
+
},
|
47
|
+
mode = options.mode,
|
48
|
+
direction = options.direction || "left",
|
49
|
+
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
|
50
|
+
positiveMotion = ( direction === "up" || direction === "left" ),
|
51
|
+
distance = options.distance ||
|
52
|
+
element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ),
|
53
|
+
animation = {};
|
54
|
+
|
55
|
+
$.effects.createPlaceholder( element );
|
56
|
+
|
57
|
+
startClip = element.cssClip();
|
58
|
+
startRef = element.position()[ ref ];
|
59
|
+
|
60
|
+
// Define hide animation
|
61
|
+
animation[ ref ] = ( positiveMotion ? -1 : 1 ) * distance + startRef;
|
62
|
+
animation.clip = element.cssClip();
|
63
|
+
animation.clip[ map[ direction ][ 1 ] ] = animation.clip[ map[ direction ][ 0 ] ];
|
64
|
+
|
65
|
+
// Reverse the animation if we're showing
|
66
|
+
if ( mode === "show" ) {
|
67
|
+
element.cssClip( animation.clip );
|
68
|
+
element.css( ref, animation[ ref ] );
|
69
|
+
animation.clip = startClip;
|
70
|
+
animation[ ref ] = startRef;
|
71
|
+
}
|
72
|
+
|
73
|
+
// Actually animate
|
74
|
+
element.animate( animation, {
|
75
|
+
queue: false,
|
76
|
+
duration: options.duration,
|
77
|
+
easing: options.easing,
|
78
|
+
complete: done
|
79
|
+
} );
|
80
|
+
} );
|
81
|
+
|
82
|
+
} );
|
@@ -0,0 +1,46 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
//= require jquery-ui-patch-1131/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Transfer 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: Transfer Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Displays a transfer effect from one element to another.
|
16
|
+
//>>docs: http://api.jqueryui.com/transfer-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
|
+
var effect;
|
39
|
+
if ( $.uiBackCompat !== false ) {
|
40
|
+
effect = $.effects.define( "transfer", function( options, done ) {
|
41
|
+
$( this ).transfer( options, done );
|
42
|
+
} );
|
43
|
+
}
|
44
|
+
return effect;
|
45
|
+
|
46
|
+
} );
|
@@ -0,0 +1,89 @@
|
|
1
|
+
//= require jquery-ui-patch-1131/version
|
2
|
+
|
3
|
+
/*!
|
4
|
+
* jQuery UI Focusable 1.13.1
|
5
|
+
* http://jqueryui.com
|
6
|
+
*
|
7
|
+
* Copyright jQuery Foundation and other contributors
|
8
|
+
* Released under the MIT license.
|
9
|
+
* http://jquery.org/license
|
10
|
+
*/
|
11
|
+
|
12
|
+
//>>label: :focusable Selector
|
13
|
+
//>>group: Core
|
14
|
+
//>>description: Selects elements which can be focused.
|
15
|
+
//>>docs: http://api.jqueryui.com/focusable-selector/
|
16
|
+
|
17
|
+
( function( factory ) {
|
18
|
+
"use strict";
|
19
|
+
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [ "jquery", "./version" ], factory );
|
24
|
+
} else {
|
25
|
+
|
26
|
+
// Browser globals
|
27
|
+
factory( jQuery );
|
28
|
+
}
|
29
|
+
} )( function( $ ) {
|
30
|
+
"use strict";
|
31
|
+
|
32
|
+
// Selectors
|
33
|
+
$.ui.focusable = function( element, hasTabindex ) {
|
34
|
+
var map, mapName, img, focusableIfVisible, fieldset,
|
35
|
+
nodeName = element.nodeName.toLowerCase();
|
36
|
+
|
37
|
+
if ( "area" === nodeName ) {
|
38
|
+
map = element.parentNode;
|
39
|
+
mapName = map.name;
|
40
|
+
if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) {
|
41
|
+
return false;
|
42
|
+
}
|
43
|
+
img = $( "img[usemap='#" + mapName + "']" );
|
44
|
+
return img.length > 0 && img.is( ":visible" );
|
45
|
+
}
|
46
|
+
|
47
|
+
if ( /^(input|select|textarea|button|object)$/.test( nodeName ) ) {
|
48
|
+
focusableIfVisible = !element.disabled;
|
49
|
+
|
50
|
+
if ( focusableIfVisible ) {
|
51
|
+
|
52
|
+
// Form controls within a disabled fieldset are disabled.
|
53
|
+
// However, controls within the fieldset's legend do not get disabled.
|
54
|
+
// Since controls generally aren't placed inside legends, we skip
|
55
|
+
// this portion of the check.
|
56
|
+
fieldset = $( element ).closest( "fieldset" )[ 0 ];
|
57
|
+
if ( fieldset ) {
|
58
|
+
focusableIfVisible = !fieldset.disabled;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
} else if ( "a" === nodeName ) {
|
62
|
+
focusableIfVisible = element.href || hasTabindex;
|
63
|
+
} else {
|
64
|
+
focusableIfVisible = hasTabindex;
|
65
|
+
}
|
66
|
+
|
67
|
+
return focusableIfVisible && $( element ).is( ":visible" ) && visible( $( element ) );
|
68
|
+
};
|
69
|
+
|
70
|
+
// Support: IE 8 only
|
71
|
+
// IE 8 doesn't resolve inherit to visible/hidden for computed values
|
72
|
+
function visible( element ) {
|
73
|
+
var visibility = element.css( "visibility" );
|
74
|
+
while ( visibility === "inherit" ) {
|
75
|
+
element = element.parent();
|
76
|
+
visibility = element.css( "visibility" );
|
77
|
+
}
|
78
|
+
return visibility === "visible";
|
79
|
+
}
|
80
|
+
|
81
|
+
$.extend( $.expr.pseudos, {
|
82
|
+
focusable: function( element ) {
|
83
|
+
return $.ui.focusable( element, $.attr( element, "tabindex" ) != null );
|
84
|
+
}
|
85
|
+
} );
|
86
|
+
|
87
|
+
return $.ui.focusable;
|
88
|
+
|
89
|
+
} );
|