jquery-ui-rails-dox-fork 7.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/.gitmodules +3 -0
  4. data/.travis.yml +2 -0
  5. data/CONTRIBUTING.txt +30 -0
  6. data/Gemfile +3 -0
  7. data/History.md +172 -0
  8. data/License.txt +2 -0
  9. data/README.md +311 -0
  10. data/Rakefile +263 -0
  11. data/VERSIONS.md +41 -0
  12. data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  13. data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
  14. data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
  15. data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
  16. data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
  17. data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
  18. data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
  19. data/app/assets/javascripts/jquery-ui/core.js +15 -0
  20. data/app/assets/javascripts/jquery-ui/data.js +45 -0
  21. data/app/assets/javascripts/jquery-ui/disable-selection.js +51 -0
  22. data/app/assets/javascripts/jquery-ui/effect.all.js +15 -0
  23. data/app/assets/javascripts/jquery-ui/effect.js +975 -0
  24. data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +76 -0
  25. data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +116 -0
  26. data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +71 -0
  27. data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +75 -0
  28. data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +117 -0
  29. data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +53 -0
  30. data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +95 -0
  31. data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +63 -0
  32. data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +49 -0
  33. data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +70 -0
  34. data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +63 -0
  35. data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +80 -0
  36. data/app/assets/javascripts/jquery-ui/effects/effect-size.js +199 -0
  37. data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +82 -0
  38. data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +46 -0
  39. data/app/assets/javascripts/jquery-ui/focusable.js +89 -0
  40. data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +83 -0
  41. data/app/assets/javascripts/jquery-ui/form.js +25 -0
  42. data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +40 -0
  43. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +42 -0
  44. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +42 -0
  45. data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +40 -0
  46. data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +40 -0
  47. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +41 -0
  48. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +40 -0
  49. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +40 -0
  50. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +40 -0
  51. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +48 -0
  52. data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +40 -0
  53. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +41 -0
  54. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +40 -0
  55. data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +40 -0
  56. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +40 -0
  57. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +40 -0
  58. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +40 -0
  59. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +40 -0
  60. data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +40 -0
  61. data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +48 -0
  62. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +39 -0
  63. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +76 -0
  64. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +40 -0
  65. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +48 -0
  66. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +40 -0
  67. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +40 -0
  68. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +42 -0
  69. data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +40 -0
  70. data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +40 -0
  71. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +40 -0
  72. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +40 -0
  73. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +39 -0
  74. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +40 -0
  75. data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +41 -0
  76. data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +48 -0
  77. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +40 -0
  78. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +40 -0
  79. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +40 -0
  80. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +51 -0
  81. data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +40 -0
  82. data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +40 -0
  83. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +40 -0
  84. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +41 -0
  85. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +48 -0
  86. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +48 -0
  87. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +48 -0
  88. data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +40 -0
  89. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +40 -0
  90. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +40 -0
  91. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +52 -0
  92. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +40 -0
  93. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +40 -0
  94. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +52 -0
  95. data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +53 -0
  96. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +40 -0
  97. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +48 -0
  98. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +47 -0
  99. data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +64 -0
  100. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +43 -0
  101. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +40 -0
  102. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +40 -0
  103. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +41 -0
  104. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +40 -0
  105. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +40 -0
  106. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +40 -0
  107. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +40 -0
  108. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +56 -0
  109. data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +40 -0
  110. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +40 -0
  111. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +40 -0
  112. data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +41 -0
  113. data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +40 -0
  114. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +40 -0
  115. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +40 -0
  116. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +40 -0
  117. data/app/assets/javascripts/jquery-ui/ie.js +20 -0
  118. data/app/assets/javascripts/jquery-ui/jquery-patch.js +91 -0
  119. data/app/assets/javascripts/jquery-ui/jquery-var-for-color.js +24 -0
  120. data/app/assets/javascripts/jquery-ui/keycode.js +51 -0
  121. data/app/assets/javascripts/jquery-ui/labels.js +71 -0
  122. data/app/assets/javascripts/jquery-ui/plugin.js +49 -0
  123. data/app/assets/javascripts/jquery-ui/position.js +513 -0
  124. data/app/assets/javascripts/jquery-ui/safe-active-element.js +46 -0
  125. data/app/assets/javascripts/jquery-ui/safe-blur.js +27 -0
  126. data/app/assets/javascripts/jquery-ui/scroll-parent.js +50 -0
  127. data/app/assets/javascripts/jquery-ui/tabbable.js +41 -0
  128. data/app/assets/javascripts/jquery-ui/unique-id.js +54 -0
  129. data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +722 -0
  130. data/app/assets/javascripts/jquery-ui/version.js +20 -0
  131. data/app/assets/javascripts/jquery-ui/widget.js +758 -0
  132. data/app/assets/javascripts/jquery-ui/widgets/accordion.js +627 -0
  133. data/app/assets/javascripts/jquery-ui/widgets/autocomplete.js +685 -0
  134. data/app/assets/javascripts/jquery-ui/widgets/button.js +454 -0
  135. data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +294 -0
  136. data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +304 -0
  137. data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2243 -0
  138. data/app/assets/javascripts/jquery-ui/widgets/dialog.js +968 -0
  139. data/app/assets/javascripts/jquery-ui/widgets/draggable.js +1268 -0
  140. data/app/assets/javascripts/jquery-ui/widgets/droppable.js +508 -0
  141. data/app/assets/javascripts/jquery-ui/widgets/menu.js +720 -0
  142. data/app/assets/javascripts/jquery-ui/widgets/mouse.js +241 -0
  143. data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +184 -0
  144. data/app/assets/javascripts/jquery-ui/widgets/resizable.js +1225 -0
  145. data/app/assets/javascripts/jquery-ui/widgets/selectable.js +321 -0
  146. data/app/assets/javascripts/jquery-ui/widgets/selectmenu.js +702 -0
  147. data/app/assets/javascripts/jquery-ui/widgets/slider.js +760 -0
  148. data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1622 -0
  149. data/app/assets/javascripts/jquery-ui/widgets/spinner.js +588 -0
  150. data/app/assets/javascripts/jquery-ui/widgets/tabs.js +931 -0
  151. data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +533 -0
  152. data/app/assets/javascripts/jquery-ui.js +57 -0
  153. data/app/assets/stylesheets/jquery-ui/accordion.css +26 -0
  154. data/app/assets/stylesheets/jquery-ui/all.css +14 -0
  155. data/app/assets/stylesheets/jquery-ui/autocomplete.css +19 -0
  156. data/app/assets/stylesheets/jquery-ui/base.css +32 -0
  157. data/app/assets/stylesheets/jquery-ui/button.css +85 -0
  158. data/app/assets/stylesheets/jquery-ui/checkboxradio.css +37 -0
  159. data/app/assets/stylesheets/jquery-ui/controlgroup.css +68 -0
  160. data/app/assets/stylesheets/jquery-ui/core.css +100 -0
  161. data/app/assets/stylesheets/jquery-ui/datepicker.css +188 -0
  162. data/app/assets/stylesheets/jquery-ui/dialog.css +104 -0
  163. data/app/assets/stylesheets/jquery-ui/draggable.css +15 -0
  164. data/app/assets/stylesheets/jquery-ui/menu.css +67 -0
  165. data/app/assets/stylesheets/jquery-ui/progressbar.css +31 -0
  166. data/app/assets/stylesheets/jquery-ui/resizable.css +81 -0
  167. data/app/assets/stylesheets/jquery-ui/selectable.css +20 -0
  168. data/app/assets/stylesheets/jquery-ui/selectmenu.css +53 -0
  169. data/app/assets/stylesheets/jquery-ui/slider.css +78 -0
  170. data/app/assets/stylesheets/jquery-ui/sortable.css +15 -0
  171. data/app/assets/stylesheets/jquery-ui/spinner.css +55 -0
  172. data/app/assets/stylesheets/jquery-ui/tabs.css +54 -0
  173. data/app/assets/stylesheets/jquery-ui/theme.css.erb +456 -0
  174. data/app/assets/stylesheets/jquery-ui/tooltip.css +22 -0
  175. data/app/assets/stylesheets/jquery-ui.css +1 -0
  176. data/lib/jquery/ui/rails/engine.rb +8 -0
  177. data/lib/jquery/ui/rails/version.rb +8 -0
  178. data/lib/jquery/ui/rails.rb +2 -0
  179. data/lib/jquery-ui-rails.rb +1 -0
  180. metadata +250 -0
@@ -0,0 +1,49 @@
1
+ //= require jquery-ui/version
2
+ //= require jquery-ui/effect
3
+ //= require jquery-ui/effects/effect-scale
4
+
5
+ /*!
6
+ * jQuery UI Effects Puff 1.13.2
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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Pulsate 1.13.2
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/version
2
+ //= require jquery-ui/effect
3
+ //= require jquery-ui/effects/effect-size
4
+
5
+ /*!
6
+ * jQuery UI Effects Scale 1.13.2
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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Shake 1.13.2
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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Size 1.13.2
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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Slide 1.13.2
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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Transfer 1.13.2
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/version
2
+
3
+ /*!
4
+ * jQuery UI Focusable 1.13.2
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
+ } );