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,76 @@
1
+ //= require jquery-ui/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Blind 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: 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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Bounce 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: 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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Clip 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: 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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Drop 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: 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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Explode 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: 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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Fade 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: 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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Fold 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: 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/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Highlight 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: 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
+ } );