sn-jquery-ui-rails 6.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) 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/Gemfile +3 -0
  6. data/History.md +168 -0
  7. data/License.txt +2 -0
  8. data/README.md +311 -0
  9. data/Rakefile +258 -0
  10. data/VERSIONS.md +39 -0
  11. data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  12. data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
  13. data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
  14. data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
  15. data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
  16. data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
  17. data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
  18. data/app/assets/javascripts/jquery-ui/core.js +15 -0
  19. data/app/assets/javascripts/jquery-ui/data.js +41 -0
  20. data/app/assets/javascripts/jquery-ui/disable-selection.js +48 -0
  21. data/app/assets/javascripts/jquery-ui/effect.all.js +15 -0
  22. data/app/assets/javascripts/jquery-ui/effect.js +1637 -0
  23. data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +73 -0
  24. data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +113 -0
  25. data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +68 -0
  26. data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +72 -0
  27. data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +114 -0
  28. data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +50 -0
  29. data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +92 -0
  30. data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +60 -0
  31. data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +46 -0
  32. data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +67 -0
  33. data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +60 -0
  34. data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +77 -0
  35. data/app/assets/javascripts/jquery-ui/effects/effect-size.js +194 -0
  36. data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +79 -0
  37. data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +43 -0
  38. data/app/assets/javascripts/jquery-ui/escape-selector.js +23 -0
  39. data/app/assets/javascripts/jquery-ui/focusable.js +86 -0
  40. data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +80 -0
  41. data/app/assets/javascripts/jquery-ui/form.js +22 -0
  42. data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +37 -0
  43. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +39 -0
  44. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +39 -0
  45. data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +37 -0
  46. data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +37 -0
  47. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +38 -0
  48. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +37 -0
  49. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +37 -0
  50. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +37 -0
  51. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +45 -0
  52. data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +37 -0
  53. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +37 -0
  54. data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +37 -0
  55. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +37 -0
  56. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +37 -0
  57. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +37 -0
  58. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +37 -0
  59. data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +37 -0
  60. data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +45 -0
  61. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +36 -0
  62. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +73 -0
  63. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +37 -0
  64. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +45 -0
  65. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +37 -0
  66. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +37 -0
  67. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +39 -0
  68. data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +37 -0
  69. data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +37 -0
  70. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +37 -0
  71. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +37 -0
  72. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +36 -0
  73. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +37 -0
  74. data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +37 -0
  75. data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +45 -0
  76. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +37 -0
  77. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +37 -0
  78. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +37 -0
  79. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +48 -0
  80. data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +37 -0
  81. data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +37 -0
  82. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +37 -0
  83. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +38 -0
  84. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +45 -0
  85. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +45 -0
  86. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +45 -0
  87. data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +37 -0
  88. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +37 -0
  89. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +37 -0
  90. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +49 -0
  91. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +37 -0
  92. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +37 -0
  93. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +49 -0
  94. data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +50 -0
  95. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +37 -0
  96. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +45 -0
  97. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +44 -0
  98. data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +61 -0
  99. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +40 -0
  100. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +37 -0
  101. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +37 -0
  102. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +38 -0
  103. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +37 -0
  104. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +37 -0
  105. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +37 -0
  106. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +37 -0
  107. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +53 -0
  108. data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +37 -0
  109. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +37 -0
  110. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +37 -0
  111. data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +38 -0
  112. data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +37 -0
  113. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +37 -0
  114. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +37 -0
  115. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +37 -0
  116. data/app/assets/javascripts/jquery-ui/ie.js +17 -0
  117. data/app/assets/javascripts/jquery-ui/jquery-1-7.js +91 -0
  118. data/app/assets/javascripts/jquery-ui/keycode.js +47 -0
  119. data/app/assets/javascripts/jquery-ui/labels.js +65 -0
  120. data/app/assets/javascripts/jquery-ui/plugin.js +46 -0
  121. data/app/assets/javascripts/jquery-ui/position.js +500 -0
  122. data/app/assets/javascripts/jquery-ui/safe-active-element.js +42 -0
  123. data/app/assets/javascripts/jquery-ui/safe-blur.js +23 -0
  124. data/app/assets/javascripts/jquery-ui/scroll-parent.js +47 -0
  125. data/app/assets/javascripts/jquery-ui/tabbable.js +38 -0
  126. data/app/assets/javascripts/jquery-ui/unique-id.js +51 -0
  127. data/app/assets/javascripts/jquery-ui/version.js +17 -0
  128. data/app/assets/javascripts/jquery-ui/widget.js +735 -0
  129. data/app/assets/javascripts/jquery-ui/widgets/accordion.js +618 -0
  130. data/app/assets/javascripts/jquery-ui/widgets/autocomplete.js +689 -0
  131. data/app/assets/javascripts/jquery-ui/widgets/button.js +391 -0
  132. data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +291 -0
  133. data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +300 -0
  134. data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2123 -0
  135. data/app/assets/javascripts/jquery-ui/widgets/dialog.js +954 -0
  136. data/app/assets/javascripts/jquery-ui/widgets/draggable.js +1259 -0
  137. data/app/assets/javascripts/jquery-ui/widgets/droppable.js +502 -0
  138. data/app/assets/javascripts/jquery-ui/widgets/menu.js +680 -0
  139. data/app/assets/javascripts/jquery-ui/widgets/mouse.js +230 -0
  140. data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +181 -0
  141. data/app/assets/javascripts/jquery-ui/widgets/resizable.js +1207 -0
  142. data/app/assets/javascripts/jquery-ui/widgets/selectable.js +314 -0
  143. data/app/assets/javascripts/jquery-ui/widgets/selectmenu.js +697 -0
  144. data/app/assets/javascripts/jquery-ui/widgets/slider.js +757 -0
  145. data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1561 -0
  146. data/app/assets/javascripts/jquery-ui/widgets/spinner.js +581 -0
  147. data/app/assets/javascripts/jquery-ui/widgets/tabs.js +931 -0
  148. data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +526 -0
  149. data/app/assets/javascripts/jquery-ui.js +56 -0
  150. data/app/assets/stylesheets/jquery-ui/accordion.css +26 -0
  151. data/app/assets/stylesheets/jquery-ui/all.css +14 -0
  152. data/app/assets/stylesheets/jquery-ui/autocomplete.css +19 -0
  153. data/app/assets/stylesheets/jquery-ui/base.css +32 -0
  154. data/app/assets/stylesheets/jquery-ui/button.css +85 -0
  155. data/app/assets/stylesheets/jquery-ui/checkboxradio.css +37 -0
  156. data/app/assets/stylesheets/jquery-ui/controlgroup.css +68 -0
  157. data/app/assets/stylesheets/jquery-ui/core.css +100 -0
  158. data/app/assets/stylesheets/jquery-ui/datepicker.css +188 -0
  159. data/app/assets/stylesheets/jquery-ui/dialog.css +104 -0
  160. data/app/assets/stylesheets/jquery-ui/draggable.css +15 -0
  161. data/app/assets/stylesheets/jquery-ui/menu.css +67 -0
  162. data/app/assets/stylesheets/jquery-ui/progressbar.css +31 -0
  163. data/app/assets/stylesheets/jquery-ui/resizable.css +81 -0
  164. data/app/assets/stylesheets/jquery-ui/selectable.css +20 -0
  165. data/app/assets/stylesheets/jquery-ui/selectmenu.css +53 -0
  166. data/app/assets/stylesheets/jquery-ui/slider.css +78 -0
  167. data/app/assets/stylesheets/jquery-ui/sortable.css +15 -0
  168. data/app/assets/stylesheets/jquery-ui/spinner.css +55 -0
  169. data/app/assets/stylesheets/jquery-ui/tabs.css +54 -0
  170. data/app/assets/stylesheets/jquery-ui/theme.css.erb +453 -0
  171. data/app/assets/stylesheets/jquery-ui/tooltip.css +22 -0
  172. data/app/assets/stylesheets/jquery-ui.css +1 -0
  173. data/lib/jquery/ui/rails/engine.rb +8 -0
  174. data/lib/jquery/ui/rails/version.rb +8 -0
  175. data/lib/jquery/ui/rails.rb +2 -0
  176. data/lib/jquery-ui-rails.rb +1 -0
  177. metadata +248 -0
@@ -0,0 +1,73 @@
1
+ //= require jquery-ui/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Blind 1.12.1
6
+ * http://jqueryui.com
7
+ *
8
+ * Copyright jQuery Foundation and other contributors
9
+ * Released under the MIT license.
10
+ * http://jquery.org/license
11
+ */
12
+
13
+ //>>label: Blind Effect
14
+ //>>group: Effects
15
+ //>>description: Blinds the element.
16
+ //>>docs: http://api.jqueryui.com/blind-effect/
17
+ //>>demos: http://jqueryui.com/effect/
18
+
19
+ ( function( factory ) {
20
+ if ( typeof define === "function" && define.amd ) {
21
+
22
+ // AMD. Register as an anonymous module.
23
+ define( [
24
+ "jquery",
25
+ "../version",
26
+ "../effect"
27
+ ], factory );
28
+ } else {
29
+
30
+ // Browser globals
31
+ factory( jQuery );
32
+ }
33
+ }( function( $ ) {
34
+
35
+ return $.effects.define( "blind", "hide", function( options, done ) {
36
+ var map = {
37
+ up: [ "bottom", "top" ],
38
+ vertical: [ "bottom", "top" ],
39
+ down: [ "top", "bottom" ],
40
+ left: [ "right", "left" ],
41
+ horizontal: [ "right", "left" ],
42
+ right: [ "left", "right" ]
43
+ },
44
+ element = $( this ),
45
+ direction = options.direction || "up",
46
+ start = element.cssClip(),
47
+ animate = { clip: $.extend( {}, start ) },
48
+ placeholder = $.effects.createPlaceholder( element );
49
+
50
+ animate.clip[ map[ direction ][ 0 ] ] = animate.clip[ map[ direction ][ 1 ] ];
51
+
52
+ if ( options.mode === "show" ) {
53
+ element.cssClip( animate.clip );
54
+ if ( placeholder ) {
55
+ placeholder.css( $.effects.clipToBox( animate ) );
56
+ }
57
+
58
+ animate.clip = start;
59
+ }
60
+
61
+ if ( placeholder ) {
62
+ placeholder.animate( $.effects.clipToBox( animate ), options.duration, options.easing );
63
+ }
64
+
65
+ element.animate( animate, {
66
+ queue: false,
67
+ duration: options.duration,
68
+ easing: options.easing,
69
+ complete: done
70
+ } );
71
+ } );
72
+
73
+ } ) );
@@ -0,0 +1,113 @@
1
+ //= require jquery-ui/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Bounce 1.12.1
6
+ * http://jqueryui.com
7
+ *
8
+ * Copyright jQuery Foundation and other contributors
9
+ * Released under the MIT license.
10
+ * http://jquery.org/license
11
+ */
12
+
13
+ //>>label: Bounce Effect
14
+ //>>group: Effects
15
+ //>>description: Bounces an element horizontally or vertically n times.
16
+ //>>docs: http://api.jqueryui.com/bounce-effect/
17
+ //>>demos: http://jqueryui.com/effect/
18
+
19
+ ( function( factory ) {
20
+ if ( typeof define === "function" && define.amd ) {
21
+
22
+ // AMD. Register as an anonymous module.
23
+ define( [
24
+ "jquery",
25
+ "../version",
26
+ "../effect"
27
+ ], factory );
28
+ } else {
29
+
30
+ // Browser globals
31
+ factory( jQuery );
32
+ }
33
+ }( function( $ ) {
34
+
35
+ return $.effects.define( "bounce", function( options, done ) {
36
+ var upAnim, downAnim, refValue,
37
+ element = $( this ),
38
+
39
+ // Defaults:
40
+ mode = options.mode,
41
+ hide = mode === "hide",
42
+ show = mode === "show",
43
+ direction = options.direction || "up",
44
+ distance = options.distance,
45
+ times = options.times || 5,
46
+
47
+ // Number of internal animations
48
+ anims = times * 2 + ( show || hide ? 1 : 0 ),
49
+ speed = options.duration / anims,
50
+ easing = options.easing,
51
+
52
+ // Utility:
53
+ ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
54
+ motion = ( direction === "up" || direction === "left" ),
55
+ i = 0,
56
+
57
+ queuelen = element.queue().length;
58
+
59
+ $.effects.createPlaceholder( element );
60
+
61
+ refValue = element.css( ref );
62
+
63
+ // Default distance for the BIGGEST bounce is the outer Distance / 3
64
+ if ( !distance ) {
65
+ distance = element[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3;
66
+ }
67
+
68
+ if ( show ) {
69
+ downAnim = { opacity: 1 };
70
+ downAnim[ ref ] = refValue;
71
+
72
+ // If we are showing, force opacity 0 and set the initial position
73
+ // then do the "first" animation
74
+ element
75
+ .css( "opacity", 0 )
76
+ .css( ref, motion ? -distance * 2 : distance * 2 )
77
+ .animate( downAnim, speed, easing );
78
+ }
79
+
80
+ // Start at the smallest distance if we are hiding
81
+ if ( hide ) {
82
+ distance = distance / Math.pow( 2, times - 1 );
83
+ }
84
+
85
+ downAnim = {};
86
+ downAnim[ ref ] = refValue;
87
+
88
+ // Bounces up/down/left/right then back to 0 -- times * 2 animations happen here
89
+ for ( ; i < times; i++ ) {
90
+ upAnim = {};
91
+ upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
92
+
93
+ element
94
+ .animate( upAnim, speed, easing )
95
+ .animate( downAnim, speed, easing );
96
+
97
+ distance = hide ? distance * 2 : distance / 2;
98
+ }
99
+
100
+ // Last Bounce when Hiding
101
+ if ( hide ) {
102
+ upAnim = { opacity: 0 };
103
+ upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
104
+
105
+ element.animate( upAnim, speed, easing );
106
+ }
107
+
108
+ element.queue( done );
109
+
110
+ $.effects.unshift( element, queuelen, anims + 1 );
111
+ } );
112
+
113
+ } ) );
@@ -0,0 +1,68 @@
1
+ //= require jquery-ui/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Clip 1.12.1
6
+ * http://jqueryui.com
7
+ *
8
+ * Copyright jQuery Foundation and other contributors
9
+ * Released under the MIT license.
10
+ * http://jquery.org/license
11
+ */
12
+
13
+ //>>label: Clip Effect
14
+ //>>group: Effects
15
+ //>>description: Clips the element on and off like an old TV.
16
+ //>>docs: http://api.jqueryui.com/clip-effect/
17
+ //>>demos: http://jqueryui.com/effect/
18
+
19
+ ( function( factory ) {
20
+ if ( typeof define === "function" && define.amd ) {
21
+
22
+ // AMD. Register as an anonymous module.
23
+ define( [
24
+ "jquery",
25
+ "../version",
26
+ "../effect"
27
+ ], factory );
28
+ } else {
29
+
30
+ // Browser globals
31
+ factory( jQuery );
32
+ }
33
+ }( function( $ ) {
34
+
35
+ return $.effects.define( "clip", "hide", function( options, done ) {
36
+ var start,
37
+ animate = {},
38
+ element = $( this ),
39
+ direction = options.direction || "vertical",
40
+ both = direction === "both",
41
+ horizontal = both || direction === "horizontal",
42
+ vertical = both || direction === "vertical";
43
+
44
+ start = element.cssClip();
45
+ animate.clip = {
46
+ top: vertical ? ( start.bottom - start.top ) / 2 : start.top,
47
+ right: horizontal ? ( start.right - start.left ) / 2 : start.right,
48
+ bottom: vertical ? ( start.bottom - start.top ) / 2 : start.bottom,
49
+ left: horizontal ? ( start.right - start.left ) / 2 : start.left
50
+ };
51
+
52
+ $.effects.createPlaceholder( element );
53
+
54
+ if ( options.mode === "show" ) {
55
+ element.cssClip( animate.clip );
56
+ animate.clip = start;
57
+ }
58
+
59
+ element.animate( animate, {
60
+ queue: false,
61
+ duration: options.duration,
62
+ easing: options.easing,
63
+ complete: done
64
+ } );
65
+
66
+ } );
67
+
68
+ } ) );
@@ -0,0 +1,72 @@
1
+ //= require jquery-ui/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Drop 1.12.1
6
+ * http://jqueryui.com
7
+ *
8
+ * Copyright jQuery Foundation and other contributors
9
+ * Released under the MIT license.
10
+ * http://jquery.org/license
11
+ */
12
+
13
+ //>>label: Drop Effect
14
+ //>>group: Effects
15
+ //>>description: Moves an element in one direction and hides it at the same time.
16
+ //>>docs: http://api.jqueryui.com/drop-effect/
17
+ //>>demos: http://jqueryui.com/effect/
18
+
19
+ ( function( factory ) {
20
+ if ( typeof define === "function" && define.amd ) {
21
+
22
+ // AMD. Register as an anonymous module.
23
+ define( [
24
+ "jquery",
25
+ "../version",
26
+ "../effect"
27
+ ], factory );
28
+ } else {
29
+
30
+ // Browser globals
31
+ factory( jQuery );
32
+ }
33
+ }( function( $ ) {
34
+
35
+ return $.effects.define( "drop", "hide", function( options, done ) {
36
+
37
+ var distance,
38
+ element = $( this ),
39
+ mode = options.mode,
40
+ show = mode === "show",
41
+ direction = options.direction || "left",
42
+ ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
43
+ motion = ( direction === "up" || direction === "left" ) ? "-=" : "+=",
44
+ oppositeMotion = ( motion === "+=" ) ? "-=" : "+=",
45
+ animation = {
46
+ opacity: 0
47
+ };
48
+
49
+ $.effects.createPlaceholder( element );
50
+
51
+ distance = options.distance ||
52
+ element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ) / 2;
53
+
54
+ animation[ ref ] = motion + distance;
55
+
56
+ if ( show ) {
57
+ element.css( animation );
58
+
59
+ animation[ ref ] = oppositeMotion + distance;
60
+ animation.opacity = 1;
61
+ }
62
+
63
+ // Animate
64
+ element.animate( animation, {
65
+ queue: false,
66
+ duration: options.duration,
67
+ easing: options.easing,
68
+ complete: done
69
+ } );
70
+ } );
71
+
72
+ } ) );
@@ -0,0 +1,114 @@
1
+ //= require jquery-ui/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Explode 1.12.1
6
+ * http://jqueryui.com
7
+ *
8
+ * Copyright jQuery Foundation and other contributors
9
+ * Released under the MIT license.
10
+ * http://jquery.org/license
11
+ */
12
+
13
+ //>>label: Explode Effect
14
+ //>>group: Effects
15
+ // jscs:disable maximumLineLength
16
+ //>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness.
17
+ // jscs:enable maximumLineLength
18
+ //>>docs: http://api.jqueryui.com/explode-effect/
19
+ //>>demos: http://jqueryui.com/effect/
20
+
21
+ ( function( factory ) {
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
+
37
+ return $.effects.define( "explode", "hide", function( options, done ) {
38
+
39
+ var i, j, left, top, mx, my,
40
+ rows = options.pieces ? Math.round( Math.sqrt( options.pieces ) ) : 3,
41
+ cells = rows,
42
+ element = $( this ),
43
+ mode = options.mode,
44
+ show = mode === "show",
45
+
46
+ // Show and then visibility:hidden the element before calculating offset
47
+ offset = element.show().css( "visibility", "hidden" ).offset(),
48
+
49
+ // Width and height of a piece
50
+ width = Math.ceil( element.outerWidth() / cells ),
51
+ height = Math.ceil( element.outerHeight() / rows ),
52
+ pieces = [];
53
+
54
+ // Children animate complete:
55
+ function childComplete() {
56
+ pieces.push( this );
57
+ if ( pieces.length === rows * cells ) {
58
+ animComplete();
59
+ }
60
+ }
61
+
62
+ // Clone the element for each row and cell.
63
+ for ( i = 0; i < rows; i++ ) { // ===>
64
+ top = offset.top + i * height;
65
+ my = i - ( rows - 1 ) / 2;
66
+
67
+ for ( j = 0; j < cells; j++ ) { // |||
68
+ left = offset.left + j * width;
69
+ mx = j - ( cells - 1 ) / 2;
70
+
71
+ // Create a clone of the now hidden main element that will be absolute positioned
72
+ // within a wrapper div off the -left and -top equal to size of our pieces
73
+ element
74
+ .clone()
75
+ .appendTo( "body" )
76
+ .wrap( "<div></div>" )
77
+ .css( {
78
+ position: "absolute",
79
+ visibility: "visible",
80
+ left: -j * width,
81
+ top: -i * height
82
+ } )
83
+
84
+ // Select the wrapper - make it overflow: hidden and absolute positioned based on
85
+ // where the original was located +left and +top equal to the size of pieces
86
+ .parent()
87
+ .addClass( "ui-effects-explode" )
88
+ .css( {
89
+ position: "absolute",
90
+ overflow: "hidden",
91
+ width: width,
92
+ height: height,
93
+ left: left + ( show ? mx * width : 0 ),
94
+ top: top + ( show ? my * height : 0 ),
95
+ opacity: show ? 0 : 1
96
+ } )
97
+ .animate( {
98
+ left: left + ( show ? 0 : mx * width ),
99
+ top: top + ( show ? 0 : my * height ),
100
+ opacity: show ? 1 : 0
101
+ }, options.duration || 500, options.easing, childComplete );
102
+ }
103
+ }
104
+
105
+ function animComplete() {
106
+ element.css( {
107
+ visibility: "visible"
108
+ } );
109
+ $( pieces ).remove();
110
+ done();
111
+ }
112
+ } );
113
+
114
+ } ) );
@@ -0,0 +1,50 @@
1
+ //= require jquery-ui/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Fade 1.12.1
6
+ * http://jqueryui.com
7
+ *
8
+ * Copyright jQuery Foundation and other contributors
9
+ * Released under the MIT license.
10
+ * http://jquery.org/license
11
+ */
12
+
13
+ //>>label: Fade Effect
14
+ //>>group: Effects
15
+ //>>description: Fades the element.
16
+ //>>docs: http://api.jqueryui.com/fade-effect/
17
+ //>>demos: http://jqueryui.com/effect/
18
+
19
+ ( function( factory ) {
20
+ if ( typeof define === "function" && define.amd ) {
21
+
22
+ // AMD. Register as an anonymous module.
23
+ define( [
24
+ "jquery",
25
+ "../version",
26
+ "../effect"
27
+ ], factory );
28
+ } else {
29
+
30
+ // Browser globals
31
+ factory( jQuery );
32
+ }
33
+ }( function( $ ) {
34
+
35
+ return $.effects.define( "fade", "toggle", function( options, done ) {
36
+ var show = options.mode === "show";
37
+
38
+ $( this )
39
+ .css( "opacity", show ? 0 : 1 )
40
+ .animate( {
41
+ opacity: show ? 1 : 0
42
+ }, {
43
+ queue: false,
44
+ duration: options.duration,
45
+ easing: options.easing,
46
+ complete: done
47
+ } );
48
+ } );
49
+
50
+ } ) );
@@ -0,0 +1,92 @@
1
+ //= require jquery-ui/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Fold 1.12.1
6
+ * http://jqueryui.com
7
+ *
8
+ * Copyright jQuery Foundation and other contributors
9
+ * Released under the MIT license.
10
+ * http://jquery.org/license
11
+ */
12
+
13
+ //>>label: Fold Effect
14
+ //>>group: Effects
15
+ //>>description: Folds an element first horizontally and then vertically.
16
+ //>>docs: http://api.jqueryui.com/fold-effect/
17
+ //>>demos: http://jqueryui.com/effect/
18
+
19
+ ( function( factory ) {
20
+ if ( typeof define === "function" && define.amd ) {
21
+
22
+ // AMD. Register as an anonymous module.
23
+ define( [
24
+ "jquery",
25
+ "../version",
26
+ "../effect"
27
+ ], factory );
28
+ } else {
29
+
30
+ // Browser globals
31
+ factory( jQuery );
32
+ }
33
+ }( function( $ ) {
34
+
35
+ return $.effects.define( "fold", "hide", function( options, done ) {
36
+
37
+ // Create element
38
+ var element = $( this ),
39
+ mode = options.mode,
40
+ show = mode === "show",
41
+ hide = mode === "hide",
42
+ size = options.size || 15,
43
+ percent = /([0-9]+)%/.exec( size ),
44
+ horizFirst = !!options.horizFirst,
45
+ ref = horizFirst ? [ "right", "bottom" ] : [ "bottom", "right" ],
46
+ duration = options.duration / 2,
47
+
48
+ placeholder = $.effects.createPlaceholder( element ),
49
+
50
+ start = element.cssClip(),
51
+ animation1 = { clip: $.extend( {}, start ) },
52
+ animation2 = { clip: $.extend( {}, start ) },
53
+
54
+ distance = [ start[ ref[ 0 ] ], start[ ref[ 1 ] ] ],
55
+
56
+ queuelen = element.queue().length;
57
+
58
+ if ( percent ) {
59
+ size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];
60
+ }
61
+ animation1.clip[ ref[ 0 ] ] = size;
62
+ animation2.clip[ ref[ 0 ] ] = size;
63
+ animation2.clip[ ref[ 1 ] ] = 0;
64
+
65
+ if ( show ) {
66
+ element.cssClip( animation2.clip );
67
+ if ( placeholder ) {
68
+ placeholder.css( $.effects.clipToBox( animation2 ) );
69
+ }
70
+
71
+ animation2.clip = start;
72
+ }
73
+
74
+ // Animate
75
+ element
76
+ .queue( function( next ) {
77
+ if ( placeholder ) {
78
+ placeholder
79
+ .animate( $.effects.clipToBox( animation1 ), duration, options.easing )
80
+ .animate( $.effects.clipToBox( animation2 ), duration, options.easing );
81
+ }
82
+
83
+ next();
84
+ } )
85
+ .animate( animation1, duration, options.easing )
86
+ .animate( animation2, duration, options.easing )
87
+ .queue( done );
88
+
89
+ $.effects.unshift( element, queuelen, 4 );
90
+ } );
91
+
92
+ } ) );
@@ -0,0 +1,60 @@
1
+ //= require jquery-ui/version
2
+ //= require jquery-ui/effect
3
+
4
+ /*!
5
+ * jQuery UI Effects Highlight 1.12.1
6
+ * http://jqueryui.com
7
+ *
8
+ * Copyright jQuery Foundation and other contributors
9
+ * Released under the MIT license.
10
+ * http://jquery.org/license
11
+ */
12
+
13
+ //>>label: Highlight Effect
14
+ //>>group: Effects
15
+ //>>description: Highlights the background of an element in a defined color for a custom duration.
16
+ //>>docs: http://api.jqueryui.com/highlight-effect/
17
+ //>>demos: http://jqueryui.com/effect/
18
+
19
+ ( function( factory ) {
20
+ if ( typeof define === "function" && define.amd ) {
21
+
22
+ // AMD. Register as an anonymous module.
23
+ define( [
24
+ "jquery",
25
+ "../version",
26
+ "../effect"
27
+ ], factory );
28
+ } else {
29
+
30
+ // Browser globals
31
+ factory( jQuery );
32
+ }
33
+ }( function( $ ) {
34
+
35
+ return $.effects.define( "highlight", "show", function( options, done ) {
36
+ var element = $( this ),
37
+ animation = {
38
+ backgroundColor: element.css( "backgroundColor" )
39
+ };
40
+
41
+ if ( options.mode === "hide" ) {
42
+ animation.opacity = 0;
43
+ }
44
+
45
+ $.effects.saveStyle( element );
46
+
47
+ element
48
+ .css( {
49
+ backgroundImage: "none",
50
+ backgroundColor: options.color || "#ffff99"
51
+ } )
52
+ .animate( animation, {
53
+ queue: false,
54
+ duration: options.duration,
55
+ easing: options.easing,
56
+ complete: done
57
+ } );
58
+ } );
59
+
60
+ } ) );
@@ -0,0 +1,46 @@
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.12.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
+ if ( typeof define === "function" && define.amd ) {
22
+
23
+ // AMD. Register as an anonymous module.
24
+ define( [
25
+ "jquery",
26
+ "../version",
27
+ "../effect",
28
+ "./effect-scale"
29
+ ], factory );
30
+ } else {
31
+
32
+ // Browser globals
33
+ factory( jQuery );
34
+ }
35
+ }( function( $ ) {
36
+
37
+ return $.effects.define( "puff", "hide", function( options, done ) {
38
+ var newOptions = $.extend( true, {}, options, {
39
+ fade: true,
40
+ percent: parseInt( options.percent, 10 ) || 150
41
+ } );
42
+
43
+ $.effects.effect.scale.call( this, newOptions, done );
44
+ } );
45
+
46
+ } ) );