jquery-ui-rails 5.0.4 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (279) hide show
  1. checksums.yaml +7 -0
  2. data/.gitmodules +1 -1
  3. data/.travis.yml +1 -1
  4. data/History.md +23 -2
  5. data/README.md +67 -50
  6. data/Rakefile +58 -29
  7. data/VERSIONS.md +4 -0
  8. data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  9. data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
  10. data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
  11. data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
  12. data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
  13. data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
  14. data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
  15. data/app/assets/javascripts/jquery-ui/core.js +15 -304
  16. data/app/assets/javascripts/jquery-ui/data.js +45 -0
  17. data/app/assets/javascripts/jquery-ui/disable-selection.js +51 -0
  18. data/app/assets/javascripts/jquery-ui/effect.all.js +15 -16
  19. data/app/assets/javascripts/jquery-ui/effect.js +565 -891
  20. data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +76 -0
  21. data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +116 -0
  22. data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +71 -0
  23. data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +75 -0
  24. data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +117 -0
  25. data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +53 -0
  26. data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +95 -0
  27. data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +63 -0
  28. data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +49 -0
  29. data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +70 -0
  30. data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +63 -0
  31. data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +80 -0
  32. data/app/assets/javascripts/jquery-ui/effects/effect-size.js +199 -0
  33. data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +82 -0
  34. data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +46 -0
  35. data/app/assets/javascripts/jquery-ui/focusable.js +89 -0
  36. data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +83 -0
  37. data/app/assets/javascripts/jquery-ui/form.js +25 -0
  38. data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +40 -0
  39. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +42 -0
  40. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +42 -0
  41. data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +40 -0
  42. data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +40 -0
  43. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +41 -0
  44. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +40 -0
  45. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +40 -0
  46. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +40 -0
  47. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +48 -0
  48. data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +40 -0
  49. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +41 -0
  50. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +40 -0
  51. data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +40 -0
  52. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +40 -0
  53. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +40 -0
  54. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +40 -0
  55. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +40 -0
  56. data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +40 -0
  57. data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +48 -0
  58. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +39 -0
  59. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +76 -0
  60. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +40 -0
  61. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +48 -0
  62. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +40 -0
  63. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +40 -0
  64. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +42 -0
  65. data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +40 -0
  66. data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +40 -0
  67. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +40 -0
  68. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +40 -0
  69. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +39 -0
  70. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +40 -0
  71. data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +40 -0
  72. data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +48 -0
  73. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +40 -0
  74. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +40 -0
  75. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +40 -0
  76. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +51 -0
  77. data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +40 -0
  78. data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +40 -0
  79. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +40 -0
  80. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +41 -0
  81. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +48 -0
  82. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +48 -0
  83. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +48 -0
  84. data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +40 -0
  85. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +40 -0
  86. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +40 -0
  87. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +52 -0
  88. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +40 -0
  89. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +40 -0
  90. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +52 -0
  91. data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +53 -0
  92. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +40 -0
  93. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +48 -0
  94. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +47 -0
  95. data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +64 -0
  96. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +43 -0
  97. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +40 -0
  98. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +40 -0
  99. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +41 -0
  100. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +40 -0
  101. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +40 -0
  102. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +40 -0
  103. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +40 -0
  104. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +56 -0
  105. data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +40 -0
  106. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +40 -0
  107. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +40 -0
  108. data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +41 -0
  109. data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +40 -0
  110. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +40 -0
  111. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +40 -0
  112. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +40 -0
  113. data/app/assets/javascripts/jquery-ui/ie.js +20 -0
  114. data/app/assets/javascripts/jquery-ui/jquery-patch.js +91 -0
  115. data/app/assets/javascripts/jquery-ui/jquery-var-for-color.js +24 -0
  116. data/app/assets/javascripts/jquery-ui/keycode.js +51 -0
  117. data/app/assets/javascripts/jquery-ui/labels.js +71 -0
  118. data/app/assets/javascripts/jquery-ui/plugin.js +49 -0
  119. data/app/assets/javascripts/jquery-ui/position.js +107 -111
  120. data/app/assets/javascripts/jquery-ui/safe-active-element.js +46 -0
  121. data/app/assets/javascripts/jquery-ui/safe-blur.js +27 -0
  122. data/app/assets/javascripts/jquery-ui/scroll-parent.js +50 -0
  123. data/app/assets/javascripts/jquery-ui/tabbable.js +41 -0
  124. data/app/assets/javascripts/jquery-ui/unique-id.js +54 -0
  125. data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +722 -0
  126. data/app/assets/javascripts/jquery-ui/version.js +20 -0
  127. data/app/assets/javascripts/jquery-ui/widget.js +359 -163
  128. data/app/assets/javascripts/jquery-ui/{accordion.js → widgets/accordion.js} +200 -163
  129. data/app/assets/javascripts/jquery-ui/{autocomplete.js → widgets/autocomplete.js} +153 -106
  130. data/app/assets/javascripts/jquery-ui/widgets/button.js +454 -0
  131. data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +289 -0
  132. data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +304 -0
  133. data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2243 -0
  134. data/app/assets/javascripts/jquery-ui/{dialog.js → widgets/dialog.js} +267 -181
  135. data/app/assets/javascripts/jquery-ui/{draggable.js → widgets/draggable.js} +430 -294
  136. data/app/assets/javascripts/jquery-ui/{droppable.js → widgets/droppable.js} +174 -84
  137. data/app/assets/javascripts/jquery-ui/{menu.js → widgets/menu.js} +228 -158
  138. data/app/assets/javascripts/jquery-ui/widgets/mouse.js +241 -0
  139. data/app/assets/javascripts/jquery-ui/{progressbar.js → widgets/progressbar.js} +63 -41
  140. data/app/assets/javascripts/jquery-ui/widgets/resizable.js +1225 -0
  141. data/app/assets/javascripts/jquery-ui/widgets/selectable.js +321 -0
  142. data/app/assets/javascripts/jquery-ui/{selectmenu.js → widgets/selectmenu.js} +259 -177
  143. data/app/assets/javascripts/jquery-ui/{slider.js → widgets/slider.js} +199 -160
  144. data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1623 -0
  145. data/app/assets/javascripts/jquery-ui/{spinner.js → widgets/spinner.js} +184 -114
  146. data/app/assets/javascripts/jquery-ui/{tabs.js → widgets/tabs.js} +258 -211
  147. data/app/assets/javascripts/jquery-ui/{tooltip.js → widgets/tooltip.js} +165 -100
  148. data/app/assets/javascripts/jquery-ui.js +53 -33
  149. data/app/assets/stylesheets/jquery-ui/accordion.css +1 -15
  150. data/app/assets/stylesheets/jquery-ui/all.css +1 -1
  151. data/app/assets/stylesheets/jquery-ui/autocomplete.css +1 -3
  152. data/app/assets/stylesheets/jquery-ui/base.css +3 -1
  153. data/app/assets/stylesheets/jquery-ui/button.css +35 -68
  154. data/app/assets/stylesheets/jquery-ui/checkboxradio.css +37 -0
  155. data/app/assets/stylesheets/jquery-ui/controlgroup.css +68 -0
  156. data/app/assets/stylesheets/jquery-ui/core.css +12 -8
  157. data/app/assets/stylesheets/jquery-ui/datepicker.css +11 -2
  158. data/app/assets/stylesheets/jquery-ui/dialog.css +38 -11
  159. data/app/assets/stylesheets/jquery-ui/draggable.css +1 -2
  160. data/app/assets/stylesheets/jquery-ui/menu.css +7 -7
  161. data/app/assets/stylesheets/jquery-ui/progressbar.css +2 -3
  162. data/app/assets/stylesheets/jquery-ui/resizable.css +1 -2
  163. data/app/assets/stylesheets/jquery-ui/selectable.css +1 -2
  164. data/app/assets/stylesheets/jquery-ui/selectmenu.css +11 -22
  165. data/app/assets/stylesheets/jquery-ui/slider.css +2 -3
  166. data/app/assets/stylesheets/jquery-ui/sortable.css +1 -2
  167. data/app/assets/stylesheets/jquery-ui/spinner.css +7 -22
  168. data/app/assets/stylesheets/jquery-ui/tabs.css +1 -2
  169. data/app/assets/stylesheets/jquery-ui/theme.css.erb +121 -92
  170. data/app/assets/stylesheets/jquery-ui/tooltip.css +1 -4
  171. data/lib/jquery/ui/rails/version.rb +2 -2
  172. metadata +153 -146
  173. data/app/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  174. data/app/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  175. data/app/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  176. data/app/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
  177. data/app/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  178. data/app/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  179. data/app/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  180. data/app/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
  181. data/app/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
  182. data/app/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
  183. data/app/assets/images/jquery-ui/ui-icons_888888_256x240.png +0 -0
  184. data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
  185. data/app/assets/javascripts/jquery-ui/button.js +0 -414
  186. data/app/assets/javascripts/jquery-ui/datepicker-af.js +0 -37
  187. data/app/assets/javascripts/jquery-ui/datepicker-ar-DZ.js +0 -37
  188. data/app/assets/javascripts/jquery-ui/datepicker-ar.js +0 -38
  189. data/app/assets/javascripts/jquery-ui/datepicker-az.js +0 -37
  190. data/app/assets/javascripts/jquery-ui/datepicker-be.js +0 -37
  191. data/app/assets/javascripts/jquery-ui/datepicker-bg.js +0 -38
  192. data/app/assets/javascripts/jquery-ui/datepicker-bs.js +0 -37
  193. data/app/assets/javascripts/jquery-ui/datepicker-ca.js +0 -37
  194. data/app/assets/javascripts/jquery-ui/datepicker-cs.js +0 -37
  195. data/app/assets/javascripts/jquery-ui/datepicker-cy-GB.js +0 -37
  196. data/app/assets/javascripts/jquery-ui/datepicker-da.js +0 -37
  197. data/app/assets/javascripts/jquery-ui/datepicker-de.js +0 -37
  198. data/app/assets/javascripts/jquery-ui/datepicker-el.js +0 -37
  199. data/app/assets/javascripts/jquery-ui/datepicker-en-AU.js +0 -37
  200. data/app/assets/javascripts/jquery-ui/datepicker-en-GB.js +0 -37
  201. data/app/assets/javascripts/jquery-ui/datepicker-en-NZ.js +0 -37
  202. data/app/assets/javascripts/jquery-ui/datepicker-eo.js +0 -37
  203. data/app/assets/javascripts/jquery-ui/datepicker-es.js +0 -37
  204. data/app/assets/javascripts/jquery-ui/datepicker-et.js +0 -37
  205. data/app/assets/javascripts/jquery-ui/datepicker-eu.js +0 -36
  206. data/app/assets/javascripts/jquery-ui/datepicker-fa.js +0 -73
  207. data/app/assets/javascripts/jquery-ui/datepicker-fi.js +0 -37
  208. data/app/assets/javascripts/jquery-ui/datepicker-fo.js +0 -37
  209. data/app/assets/javascripts/jquery-ui/datepicker-fr-CA.js +0 -37
  210. data/app/assets/javascripts/jquery-ui/datepicker-fr-CH.js +0 -37
  211. data/app/assets/javascripts/jquery-ui/datepicker-fr.js +0 -39
  212. data/app/assets/javascripts/jquery-ui/datepicker-gl.js +0 -37
  213. data/app/assets/javascripts/jquery-ui/datepicker-he.js +0 -37
  214. data/app/assets/javascripts/jquery-ui/datepicker-hi.js +0 -37
  215. data/app/assets/javascripts/jquery-ui/datepicker-hr.js +0 -37
  216. data/app/assets/javascripts/jquery-ui/datepicker-hu.js +0 -36
  217. data/app/assets/javascripts/jquery-ui/datepicker-hy.js +0 -37
  218. data/app/assets/javascripts/jquery-ui/datepicker-id.js +0 -37
  219. data/app/assets/javascripts/jquery-ui/datepicker-is.js +0 -37
  220. data/app/assets/javascripts/jquery-ui/datepicker-it-CH.js +0 -37
  221. data/app/assets/javascripts/jquery-ui/datepicker-it.js +0 -37
  222. data/app/assets/javascripts/jquery-ui/datepicker-ja.js +0 -37
  223. data/app/assets/javascripts/jquery-ui/datepicker-ka.js +0 -35
  224. data/app/assets/javascripts/jquery-ui/datepicker-kk.js +0 -37
  225. data/app/assets/javascripts/jquery-ui/datepicker-km.js +0 -37
  226. data/app/assets/javascripts/jquery-ui/datepicker-ko.js +0 -37
  227. data/app/assets/javascripts/jquery-ui/datepicker-ky.js +0 -38
  228. data/app/assets/javascripts/jquery-ui/datepicker-lb.js +0 -37
  229. data/app/assets/javascripts/jquery-ui/datepicker-lt.js +0 -37
  230. data/app/assets/javascripts/jquery-ui/datepicker-lv.js +0 -37
  231. data/app/assets/javascripts/jquery-ui/datepicker-mk.js +0 -37
  232. data/app/assets/javascripts/jquery-ui/datepicker-ml.js +0 -37
  233. data/app/assets/javascripts/jquery-ui/datepicker-ms.js +0 -37
  234. data/app/assets/javascripts/jquery-ui/datepicker-nb.js +0 -36
  235. data/app/assets/javascripts/jquery-ui/datepicker-nl-BE.js +0 -37
  236. data/app/assets/javascripts/jquery-ui/datepicker-nl.js +0 -37
  237. data/app/assets/javascripts/jquery-ui/datepicker-nn.js +0 -36
  238. data/app/assets/javascripts/jquery-ui/datepicker-no.js +0 -37
  239. data/app/assets/javascripts/jquery-ui/datepicker-pl.js +0 -37
  240. data/app/assets/javascripts/jquery-ui/datepicker-pt-BR.js +0 -37
  241. data/app/assets/javascripts/jquery-ui/datepicker-pt.js +0 -36
  242. data/app/assets/javascripts/jquery-ui/datepicker-rm.js +0 -35
  243. data/app/assets/javascripts/jquery-ui/datepicker-ro.js +0 -40
  244. data/app/assets/javascripts/jquery-ui/datepicker-ru.js +0 -37
  245. data/app/assets/javascripts/jquery-ui/datepicker-sk.js +0 -37
  246. data/app/assets/javascripts/jquery-ui/datepicker-sl.js +0 -38
  247. data/app/assets/javascripts/jquery-ui/datepicker-sq.js +0 -37
  248. data/app/assets/javascripts/jquery-ui/datepicker-sr-SR.js +0 -37
  249. data/app/assets/javascripts/jquery-ui/datepicker-sr.js +0 -37
  250. data/app/assets/javascripts/jquery-ui/datepicker-sv.js +0 -37
  251. data/app/assets/javascripts/jquery-ui/datepicker-ta.js +0 -37
  252. data/app/assets/javascripts/jquery-ui/datepicker-th.js +0 -37
  253. data/app/assets/javascripts/jquery-ui/datepicker-tj.js +0 -37
  254. data/app/assets/javascripts/jquery-ui/datepicker-tr.js +0 -37
  255. data/app/assets/javascripts/jquery-ui/datepicker-uk.js +0 -38
  256. data/app/assets/javascripts/jquery-ui/datepicker-vi.js +0 -37
  257. data/app/assets/javascripts/jquery-ui/datepicker-zh-CN.js +0 -37
  258. data/app/assets/javascripts/jquery-ui/datepicker-zh-HK.js +0 -37
  259. data/app/assets/javascripts/jquery-ui/datepicker-zh-TW.js +0 -37
  260. data/app/assets/javascripts/jquery-ui/datepicker.js +0 -2086
  261. data/app/assets/javascripts/jquery-ui/effect-blind.js +0 -92
  262. data/app/assets/javascripts/jquery-ui/effect-bounce.js +0 -125
  263. data/app/assets/javascripts/jquery-ui/effect-clip.js +0 -79
  264. data/app/assets/javascripts/jquery-ui/effect-drop.js +0 -77
  265. data/app/assets/javascripts/jquery-ui/effect-explode.js +0 -109
  266. data/app/assets/javascripts/jquery-ui/effect-fade.js +0 -42
  267. data/app/assets/javascripts/jquery-ui/effect-fold.js +0 -88
  268. data/app/assets/javascripts/jquery-ui/effect-highlight.js +0 -62
  269. data/app/assets/javascripts/jquery-ui/effect-puff.js +0 -63
  270. data/app/assets/javascripts/jquery-ui/effect-pulsate.js +0 -75
  271. data/app/assets/javascripts/jquery-ui/effect-scale.js +0 -92
  272. data/app/assets/javascripts/jquery-ui/effect-shake.js +0 -86
  273. data/app/assets/javascripts/jquery-ui/effect-size.js +0 -235
  274. data/app/assets/javascripts/jquery-ui/effect-slide.js +0 -76
  275. data/app/assets/javascripts/jquery-ui/effect-transfer.js +0 -59
  276. data/app/assets/javascripts/jquery-ui/mouse.js +0 -202
  277. data/app/assets/javascripts/jquery-ui/resizable.js +0 -1183
  278. data/app/assets/javascripts/jquery-ui/selectable.js +0 -291
  279. data/app/assets/javascripts/jquery-ui/sortable.js +0 -1308
@@ -1,49 +1,55 @@
1
- //= require jquery-ui/core
1
+ //= require jquery-ui/widgets/draggable
2
+ //= require jquery-ui/widgets/mouse
3
+ //= require jquery-ui/version
2
4
  //= require jquery-ui/widget
3
- //= require jquery-ui/mouse
4
- //= require jquery-ui/draggable
5
5
 
6
6
  /*!
7
- * jQuery UI Droppable 1.11.3
7
+ * jQuery UI Droppable 1.13.0
8
8
  * http://jqueryui.com
9
9
  *
10
10
  * Copyright jQuery Foundation and other contributors
11
11
  * Released under the MIT license.
12
12
  * http://jquery.org/license
13
- *
14
- * http://api.jqueryui.com/droppable/
15
13
  */
16
- (function( factory ) {
14
+
15
+ //>>label: Droppable
16
+ //>>group: Interactions
17
+ //>>description: Enables drop targets for draggable elements.
18
+ //>>docs: http://api.jqueryui.com/droppable/
19
+ //>>demos: http://jqueryui.com/droppable/
20
+
21
+ ( function( factory ) {
22
+ "use strict";
23
+
17
24
  if ( typeof define === "function" && define.amd ) {
18
25
 
19
26
  // AMD. Register as an anonymous module.
20
- define([
27
+ define( [
21
28
  "jquery",
22
- "./core",
23
- "./widget",
29
+ "./draggable",
24
30
  "./mouse",
25
- "./draggable"
31
+ "../version",
32
+ "../widget"
26
33
  ], factory );
27
34
  } else {
28
35
 
29
36
  // Browser globals
30
37
  factory( jQuery );
31
38
  }
32
- }(function( $ ) {
39
+ } )( function( $ ) {
40
+ "use strict";
33
41
 
34
42
  $.widget( "ui.droppable", {
35
- version: "1.11.3",
43
+ version: "1.13.0",
36
44
  widgetEventPrefix: "drop",
37
45
  options: {
38
46
  accept: "*",
39
- activeClass: false,
40
47
  addClasses: true,
41
48
  greedy: false,
42
- hoverClass: false,
43
49
  scope: "default",
44
50
  tolerance: "intersect",
45
51
 
46
- // callbacks
52
+ // Callbacks
47
53
  activate: null,
48
54
  deactivate: null,
49
55
  drop: null,
@@ -59,15 +65,17 @@ $.widget( "ui.droppable", {
59
65
  this.isover = false;
60
66
  this.isout = true;
61
67
 
62
- this.accept = $.isFunction( accept ) ? accept : function( d ) {
68
+ this.accept = typeof accept === "function" ? accept : function( d ) {
63
69
  return d.is( accept );
64
70
  };
65
71
 
66
72
  this.proportions = function( /* valueToWrite */ ) {
67
73
  if ( arguments.length ) {
74
+
68
75
  // Store the droppable's proportions
69
76
  proportions = arguments[ 0 ];
70
77
  } else {
78
+
71
79
  // Retrieve or derive the droppable's proportions
72
80
  return proportions ?
73
81
  proportions :
@@ -80,11 +88,14 @@ $.widget( "ui.droppable", {
80
88
 
81
89
  this._addToManager( o.scope );
82
90
 
83
- o.addClasses && this.element.addClass( "ui-droppable" );
91
+ if ( o.addClasses ) {
92
+ this._addClass( "ui-droppable" );
93
+ }
84
94
 
85
95
  },
86
96
 
87
97
  _addToManager: function( scope ) {
98
+
88
99
  // Add the reference and positions to the manager
89
100
  $.ui.ddmanager.droppables[ scope ] = $.ui.ddmanager.droppables[ scope ] || [];
90
101
  $.ui.ddmanager.droppables[ scope ].push( this );
@@ -103,14 +114,12 @@ $.widget( "ui.droppable", {
103
114
  var drop = $.ui.ddmanager.droppables[ this.options.scope ];
104
115
 
105
116
  this._splice( drop );
106
-
107
- this.element.removeClass( "ui-droppable ui-droppable-disabled" );
108
117
  },
109
118
 
110
119
  _setOption: function( key, value ) {
111
120
 
112
121
  if ( key === "accept" ) {
113
- this.accept = $.isFunction( value ) ? value : function( d ) {
122
+ this.accept = typeof value === "function" ? value : function( d ) {
114
123
  return d.is( value );
115
124
  };
116
125
  } else if ( key === "scope" ) {
@@ -125,20 +134,18 @@ $.widget( "ui.droppable", {
125
134
 
126
135
  _activate: function( event ) {
127
136
  var draggable = $.ui.ddmanager.current;
128
- if ( this.options.activeClass ) {
129
- this.element.addClass( this.options.activeClass );
130
- }
131
- if ( draggable ){
137
+
138
+ this._addActiveClass();
139
+ if ( draggable ) {
132
140
  this._trigger( "activate", event, this.ui( draggable ) );
133
141
  }
134
142
  },
135
143
 
136
144
  _deactivate: function( event ) {
137
145
  var draggable = $.ui.ddmanager.current;
138
- if ( this.options.activeClass ) {
139
- this.element.removeClass( this.options.activeClass );
140
- }
141
- if ( draggable ){
146
+
147
+ this._removeActiveClass();
148
+ if ( draggable ) {
142
149
  this._trigger( "deactivate", event, this.ui( draggable ) );
143
150
  }
144
151
  },
@@ -148,14 +155,14 @@ $.widget( "ui.droppable", {
148
155
  var draggable = $.ui.ddmanager.current;
149
156
 
150
157
  // Bail if draggable and droppable are same element
151
- if ( !draggable || ( draggable.currentItem || draggable.element )[ 0 ] === this.element[ 0 ] ) {
158
+ if ( !draggable || ( draggable.currentItem ||
159
+ draggable.element )[ 0 ] === this.element[ 0 ] ) {
152
160
  return;
153
161
  }
154
162
 
155
- if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem || draggable.element ) ) ) {
156
- if ( this.options.hoverClass ) {
157
- this.element.addClass( this.options.hoverClass );
158
- }
163
+ if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem ||
164
+ draggable.element ) ) ) {
165
+ this._addHoverClass();
159
166
  this._trigger( "over", event, this.ui( draggable ) );
160
167
  }
161
168
 
@@ -166,14 +173,14 @@ $.widget( "ui.droppable", {
166
173
  var draggable = $.ui.ddmanager.current;
167
174
 
168
175
  // Bail if draggable and droppable are same element
169
- if ( !draggable || ( draggable.currentItem || draggable.element )[ 0 ] === this.element[ 0 ] ) {
176
+ if ( !draggable || ( draggable.currentItem ||
177
+ draggable.element )[ 0 ] === this.element[ 0 ] ) {
170
178
  return;
171
179
  }
172
180
 
173
- if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem || draggable.element ) ) ) {
174
- if ( this.options.hoverClass ) {
175
- this.element.removeClass( this.options.hoverClass );
176
- }
181
+ if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem ||
182
+ draggable.element ) ) ) {
183
+ this._removeHoverClass();
177
184
  this._trigger( "out", event, this.ui( draggable ) );
178
185
  }
179
186
 
@@ -185,31 +192,42 @@ $.widget( "ui.droppable", {
185
192
  childrenIntersection = false;
186
193
 
187
194
  // Bail if draggable and droppable are same element
188
- if ( !draggable || ( draggable.currentItem || draggable.element )[ 0 ] === this.element[ 0 ] ) {
195
+ if ( !draggable || ( draggable.currentItem ||
196
+ draggable.element )[ 0 ] === this.element[ 0 ] ) {
189
197
  return false;
190
198
  }
191
199
 
192
- this.element.find( ":data(ui-droppable)" ).not( ".ui-draggable-dragging" ).each(function() {
193
- var inst = $( this ).droppable( "instance" );
194
- if (
195
- inst.options.greedy &&
196
- !inst.options.disabled &&
197
- inst.options.scope === draggable.options.scope &&
198
- inst.accept.call( inst.element[ 0 ], ( draggable.currentItem || draggable.element ) ) &&
199
- $.ui.intersect( draggable, $.extend( inst, { offset: inst.element.offset() } ), inst.options.tolerance, event )
200
- ) { childrenIntersection = true; return false; }
201
- });
200
+ this.element
201
+ .find( ":data(ui-droppable)" )
202
+ .not( ".ui-draggable-dragging" )
203
+ .each( function() {
204
+ var inst = $( this ).droppable( "instance" );
205
+ if (
206
+ inst.options.greedy &&
207
+ !inst.options.disabled &&
208
+ inst.options.scope === draggable.options.scope &&
209
+ inst.accept.call(
210
+ inst.element[ 0 ], ( draggable.currentItem || draggable.element )
211
+ ) &&
212
+ $.ui.intersect(
213
+ draggable,
214
+ $.extend( inst, { offset: inst.element.offset() } ),
215
+ inst.options.tolerance, event
216
+ )
217
+ ) {
218
+ childrenIntersection = true;
219
+ return false;
220
+ }
221
+ } );
202
222
  if ( childrenIntersection ) {
203
223
  return false;
204
224
  }
205
225
 
206
- if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem || draggable.element ) ) ) {
207
- if ( this.options.activeClass ) {
208
- this.element.removeClass( this.options.activeClass );
209
- }
210
- if ( this.options.hoverClass ) {
211
- this.element.removeClass( this.options.hoverClass );
212
- }
226
+ if ( this.accept.call( this.element[ 0 ],
227
+ ( draggable.currentItem || draggable.element ) ) ) {
228
+ this._removeActiveClass();
229
+ this._removeHoverClass();
230
+
213
231
  this._trigger( "drop", event, this.ui( draggable ) );
214
232
  return this.element;
215
233
  }
@@ -225,11 +243,28 @@ $.widget( "ui.droppable", {
225
243
  position: c.position,
226
244
  offset: c.positionAbs
227
245
  };
228
- }
246
+ },
247
+
248
+ // Extension points just to make backcompat sane and avoid duplicating logic
249
+ // TODO: Remove in 1.14 along with call to it below
250
+ _addHoverClass: function() {
251
+ this._addClass( "ui-droppable-hover" );
252
+ },
229
253
 
230
- });
254
+ _removeHoverClass: function() {
255
+ this._removeClass( "ui-droppable-hover" );
256
+ },
257
+
258
+ _addActiveClass: function() {
259
+ this._addClass( "ui-droppable-active" );
260
+ },
231
261
 
232
- $.ui.intersect = (function() {
262
+ _removeActiveClass: function() {
263
+ this._removeClass( "ui-droppable-active" );
264
+ }
265
+ } );
266
+
267
+ $.ui.intersect = ( function() {
233
268
  function isOverAxis( x, reference, size ) {
234
269
  return ( x >= reference ) && ( x < ( reference + size ) );
235
270
  }
@@ -240,8 +275,10 @@ $.ui.intersect = (function() {
240
275
  return false;
241
276
  }
242
277
 
243
- var x1 = ( draggable.positionAbs || draggable.position.absolute ).left + draggable.margins.left,
244
- y1 = ( draggable.positionAbs || draggable.position.absolute ).top + draggable.margins.top,
278
+ var x1 = ( draggable.positionAbs ||
279
+ draggable.position.absolute ).left + draggable.margins.left,
280
+ y1 = ( draggable.positionAbs ||
281
+ draggable.position.absolute ).top + draggable.margins.top,
245
282
  x2 = x1 + draggable.helperProportions.width,
246
283
  y2 = y1 + draggable.helperProportions.height,
247
284
  l = droppable.offset.left,
@@ -258,7 +295,8 @@ $.ui.intersect = (function() {
258
295
  t < y1 + ( draggable.helperProportions.height / 2 ) && // Bottom Half
259
296
  y2 - ( draggable.helperProportions.height / 2 ) < b ); // Top Half
260
297
  case "pointer":
261
- return isOverAxis( event.pageY, t, droppable.proportions().height ) && isOverAxis( event.pageX, l, droppable.proportions().width );
298
+ return isOverAxis( event.pageY, t, droppable.proportions().height ) &&
299
+ isOverAxis( event.pageX, l, droppable.proportions().width );
262
300
  case "touch":
263
301
  return (
264
302
  ( y1 >= t && y1 <= b ) || // Top edge touching
@@ -273,7 +311,7 @@ $.ui.intersect = (function() {
273
311
  return false;
274
312
  }
275
313
  };
276
- })();
314
+ } )();
277
315
 
278
316
  /*
279
317
  This manager tracks offsets of draggables and droppables
@@ -291,7 +329,8 @@ $.ui.ddmanager = {
291
329
  droppablesLoop: for ( i = 0; i < m.length; i++ ) {
292
330
 
293
331
  // No disabled and non-accepted
294
- if ( m[ i ].options.disabled || ( t && !m[ i ].accept.call( m[ i ].element[ 0 ], ( t.currentItem || t.element ) ) ) ) {
332
+ if ( m[ i ].options.disabled || ( t && !m[ i ].accept.call( m[ i ].element[ 0 ],
333
+ ( t.currentItem || t.element ) ) ) ) {
295
334
  continue;
296
335
  }
297
336
 
@@ -314,7 +353,10 @@ $.ui.ddmanager = {
314
353
  }
315
354
 
316
355
  m[ i ].offset = m[ i ].element.offset();
317
- m[ i ].proportions({ width: m[ i ].element[ 0 ].offsetWidth, height: m[ i ].element[ 0 ].offsetHeight });
356
+ m[ i ].proportions( {
357
+ width: m[ i ].element[ 0 ].offsetWidth,
358
+ height: m[ i ].element[ 0 ].offsetHeight
359
+ } );
318
360
 
319
361
  }
320
362
 
@@ -322,37 +364,43 @@ $.ui.ddmanager = {
322
364
  drop: function( draggable, event ) {
323
365
 
324
366
  var dropped = false;
367
+
325
368
  // Create a copy of the droppables in case the list changes during the drop (#9116)
326
369
  $.each( ( $.ui.ddmanager.droppables[ draggable.options.scope ] || [] ).slice(), function() {
327
370
 
328
371
  if ( !this.options ) {
329
372
  return;
330
373
  }
331
- if ( !this.options.disabled && this.visible && $.ui.intersect( draggable, this, this.options.tolerance, event ) ) {
374
+ if ( !this.options.disabled && this.visible &&
375
+ $.ui.intersect( draggable, this, this.options.tolerance, event ) ) {
332
376
  dropped = this._drop.call( this, event ) || dropped;
333
377
  }
334
378
 
335
- if ( !this.options.disabled && this.visible && this.accept.call( this.element[ 0 ], ( draggable.currentItem || draggable.element ) ) ) {
379
+ if ( !this.options.disabled && this.visible && this.accept.call( this.element[ 0 ],
380
+ ( draggable.currentItem || draggable.element ) ) ) {
336
381
  this.isout = true;
337
382
  this.isover = false;
338
383
  this._deactivate.call( this, event );
339
384
  }
340
385
 
341
- });
386
+ } );
342
387
  return dropped;
343
388
 
344
389
  },
345
390
  dragStart: function( draggable, event ) {
346
- // Listen for scrolling so that if the dragging causes scrolling the position of the droppables can be recalculated (see #5003)
347
- draggable.element.parentsUntil( "body" ).bind( "scroll.droppable", function() {
391
+
392
+ // Listen for scrolling so that if the dragging causes scrolling the position of the
393
+ // droppables can be recalculated (see #5003)
394
+ draggable.element.parentsUntil( "body" ).on( "scroll.droppable", function() {
348
395
  if ( !draggable.options.refreshPositions ) {
349
396
  $.ui.ddmanager.prepareOffsets( draggable, event );
350
397
  }
351
- });
398
+ } );
352
399
  },
353
400
  drag: function( draggable, event ) {
354
401
 
355
- // If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
402
+ // If you have a highly dynamic page, you might try this option. It renders positions
403
+ // every time you move the mouse.
356
404
  if ( draggable.options.refreshPositions ) {
357
405
  $.ui.ddmanager.prepareOffsets( draggable, event );
358
406
  }
@@ -366,17 +414,20 @@ $.ui.ddmanager = {
366
414
 
367
415
  var parentInstance, scope, parent,
368
416
  intersects = $.ui.intersect( draggable, this, this.options.tolerance, event ),
369
- c = !intersects && this.isover ? "isout" : ( intersects && !this.isover ? "isover" : null );
417
+ c = !intersects && this.isover ?
418
+ "isout" :
419
+ ( intersects && !this.isover ? "isover" : null );
370
420
  if ( !c ) {
371
421
  return;
372
422
  }
373
423
 
374
424
  if ( this.options.greedy ) {
425
+
375
426
  // find droppable parents with same scope
376
427
  scope = this.options.scope;
377
- parent = this.element.parents( ":data(ui-droppable)" ).filter(function() {
428
+ parent = this.element.parents( ":data(ui-droppable)" ).filter( function() {
378
429
  return $( this ).droppable( "instance" ).options.scope === scope;
379
- });
430
+ } );
380
431
 
381
432
  if ( parent.length ) {
382
433
  parentInstance = $( parent[ 0 ] ).droppable( "instance" );
@@ -384,7 +435,7 @@ $.ui.ddmanager = {
384
435
  }
385
436
  }
386
437
 
387
- // we just moved into a greedy child
438
+ // We just moved into a greedy child
388
439
  if ( parentInstance && c === "isover" ) {
389
440
  parentInstance.isover = false;
390
441
  parentInstance.isout = true;
@@ -392,27 +443,66 @@ $.ui.ddmanager = {
392
443
  }
393
444
 
394
445
  this[ c ] = true;
395
- this[c === "isout" ? "isover" : "isout"] = false;
396
- this[c === "isover" ? "_over" : "_out"].call( this, event );
446
+ this[ c === "isout" ? "isover" : "isout" ] = false;
447
+ this[ c === "isover" ? "_over" : "_out" ].call( this, event );
397
448
 
398
- // we just moved out of a greedy child
449
+ // We just moved out of a greedy child
399
450
  if ( parentInstance && c === "isout" ) {
400
451
  parentInstance.isout = false;
401
452
  parentInstance.isover = true;
402
453
  parentInstance._over.call( parentInstance, event );
403
454
  }
404
- });
455
+ } );
405
456
 
406
457
  },
407
458
  dragStop: function( draggable, event ) {
408
- draggable.element.parentsUntil( "body" ).unbind( "scroll.droppable" );
409
- // Call prepareOffsets one final time since IE does not fire return scroll events when overflow was caused by drag (see #5003)
459
+ draggable.element.parentsUntil( "body" ).off( "scroll.droppable" );
460
+
461
+ // Call prepareOffsets one final time since IE does not fire return scroll events when
462
+ // overflow was caused by drag (see #5003)
410
463
  if ( !draggable.options.refreshPositions ) {
411
464
  $.ui.ddmanager.prepareOffsets( draggable, event );
412
465
  }
413
466
  }
414
467
  };
415
468
 
469
+ // DEPRECATED
470
+ // TODO: switch return back to widget declaration at top of file when this is removed
471
+ if ( $.uiBackCompat !== false ) {
472
+
473
+ // Backcompat for activeClass and hoverClass options
474
+ $.widget( "ui.droppable", $.ui.droppable, {
475
+ options: {
476
+ hoverClass: false,
477
+ activeClass: false
478
+ },
479
+ _addActiveClass: function() {
480
+ this._super();
481
+ if ( this.options.activeClass ) {
482
+ this.element.addClass( this.options.activeClass );
483
+ }
484
+ },
485
+ _removeActiveClass: function() {
486
+ this._super();
487
+ if ( this.options.activeClass ) {
488
+ this.element.removeClass( this.options.activeClass );
489
+ }
490
+ },
491
+ _addHoverClass: function() {
492
+ this._super();
493
+ if ( this.options.hoverClass ) {
494
+ this.element.addClass( this.options.hoverClass );
495
+ }
496
+ },
497
+ _removeHoverClass: function() {
498
+ this._super();
499
+ if ( this.options.hoverClass ) {
500
+ this.element.removeClass( this.options.hoverClass );
501
+ }
502
+ }
503
+ } );
504
+ }
505
+
416
506
  return $.ui.droppable;
417
507
 
418
- }));
508
+ } );