jquery-ui-rails 5.0.5 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of jquery-ui-rails might be problematic. Click here for more details.

Files changed (275) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +1 -1
  3. data/History.md +12 -0
  4. data/README.md +47 -30
  5. data/Rakefile +48 -27
  6. data/VERSIONS.md +1 -0
  7. data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  8. data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
  9. data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
  10. data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
  11. data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
  12. data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
  13. data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
  14. data/app/assets/javascripts/jquery-ui.js +52 -33
  15. data/app/assets/javascripts/jquery-ui/core.js +37 -304
  16. data/app/assets/javascripts/jquery-ui/data.js +41 -0
  17. data/app/assets/javascripts/jquery-ui/disable-selection.js +48 -0
  18. data/app/assets/javascripts/jquery-ui/effect.all.js +15 -16
  19. data/app/assets/javascripts/jquery-ui/effect.js +620 -284
  20. data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +73 -0
  21. data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +113 -0
  22. data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +68 -0
  23. data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +72 -0
  24. data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +114 -0
  25. data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +50 -0
  26. data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +92 -0
  27. data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +60 -0
  28. data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +46 -0
  29. data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +67 -0
  30. data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +60 -0
  31. data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +77 -0
  32. data/app/assets/javascripts/jquery-ui/effects/effect-size.js +194 -0
  33. data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +79 -0
  34. data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +43 -0
  35. data/app/assets/javascripts/jquery-ui/escape-selector.js +23 -0
  36. data/app/assets/javascripts/jquery-ui/focusable.js +86 -0
  37. data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +80 -0
  38. data/app/assets/javascripts/jquery-ui/form.js +22 -0
  39. data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +37 -0
  40. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +39 -0
  41. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +39 -0
  42. data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +37 -0
  43. data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +37 -0
  44. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +38 -0
  45. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +37 -0
  46. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +37 -0
  47. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +37 -0
  48. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +45 -0
  49. data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +37 -0
  50. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +37 -0
  51. data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +37 -0
  52. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +37 -0
  53. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +37 -0
  54. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +37 -0
  55. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +37 -0
  56. data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +37 -0
  57. data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +45 -0
  58. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +36 -0
  59. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +73 -0
  60. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +37 -0
  61. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +45 -0
  62. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +37 -0
  63. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +37 -0
  64. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +39 -0
  65. data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +37 -0
  66. data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +37 -0
  67. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +37 -0
  68. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +37 -0
  69. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +36 -0
  70. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +37 -0
  71. data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +37 -0
  72. data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +45 -0
  73. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +37 -0
  74. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +37 -0
  75. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +37 -0
  76. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +48 -0
  77. data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +37 -0
  78. data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +37 -0
  79. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +37 -0
  80. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +38 -0
  81. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +45 -0
  82. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +45 -0
  83. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +45 -0
  84. data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +37 -0
  85. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +37 -0
  86. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +37 -0
  87. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +49 -0
  88. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +37 -0
  89. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +37 -0
  90. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +49 -0
  91. data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +50 -0
  92. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +37 -0
  93. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +45 -0
  94. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +44 -0
  95. data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +61 -0
  96. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +40 -0
  97. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +37 -0
  98. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +37 -0
  99. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +38 -0
  100. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +37 -0
  101. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +37 -0
  102. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +37 -0
  103. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +37 -0
  104. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +53 -0
  105. data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +37 -0
  106. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +37 -0
  107. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +37 -0
  108. data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +38 -0
  109. data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +37 -0
  110. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +37 -0
  111. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +37 -0
  112. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +37 -0
  113. data/app/assets/javascripts/jquery-ui/ie.js +17 -0
  114. data/app/assets/javascripts/jquery-ui/jquery-1-7.js +91 -0
  115. data/app/assets/javascripts/jquery-ui/keycode.js +47 -0
  116. data/app/assets/javascripts/jquery-ui/labels.js +65 -0
  117. data/app/assets/javascripts/jquery-ui/plugin.js +46 -0
  118. data/app/assets/javascripts/jquery-ui/position.js +92 -109
  119. data/app/assets/javascripts/jquery-ui/safe-active-element.js +42 -0
  120. data/app/assets/javascripts/jquery-ui/safe-blur.js +23 -0
  121. data/app/assets/javascripts/jquery-ui/scroll-parent.js +47 -0
  122. data/app/assets/javascripts/jquery-ui/tabbable.js +38 -0
  123. data/app/assets/javascripts/jquery-ui/unique-id.js +51 -0
  124. data/app/assets/javascripts/jquery-ui/version.js +17 -0
  125. data/app/assets/javascripts/jquery-ui/widget.js +328 -151
  126. data/app/assets/javascripts/jquery-ui/{accordion.js → widgets/accordion.js} +187 -162
  127. data/app/assets/javascripts/jquery-ui/{autocomplete.js → widgets/autocomplete.js} +148 -92
  128. data/app/assets/javascripts/jquery-ui/widgets/button.js +391 -0
  129. data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +291 -0
  130. data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +300 -0
  131. data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2123 -0
  132. data/app/assets/javascripts/jquery-ui/{dialog.js → widgets/dialog.js} +229 -158
  133. data/app/assets/javascripts/jquery-ui/{draggable.js → widgets/draggable.js} +416 -293
  134. data/app/assets/javascripts/jquery-ui/{droppable.js → widgets/droppable.js} +167 -83
  135. data/app/assets/javascripts/jquery-ui/{menu.js → widgets/menu.js} +164 -134
  136. data/app/assets/javascripts/jquery-ui/widgets/mouse.js +230 -0
  137. data/app/assets/javascripts/jquery-ui/{progressbar.js → widgets/progressbar.js} +60 -41
  138. data/app/assets/javascripts/jquery-ui/{resizable.js → widgets/resizable.js} +413 -362
  139. data/app/assets/javascripts/jquery-ui/widgets/selectable.js +314 -0
  140. data/app/assets/javascripts/jquery-ui/{selectmenu.js → widgets/selectmenu.js} +253 -176
  141. data/app/assets/javascripts/jquery-ui/{slider.js → widgets/slider.js} +193 -157
  142. data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1561 -0
  143. data/app/assets/javascripts/jquery-ui/{spinner.js → widgets/spinner.js} +175 -112
  144. data/app/assets/javascripts/jquery-ui/{tabs.js → widgets/tabs.js} +237 -195
  145. data/app/assets/javascripts/jquery-ui/{tooltip.js → widgets/tooltip.js} +136 -87
  146. data/app/assets/stylesheets/jquery-ui/accordion.css +1 -15
  147. data/app/assets/stylesheets/jquery-ui/all.css +1 -1
  148. data/app/assets/stylesheets/jquery-ui/autocomplete.css +1 -3
  149. data/app/assets/stylesheets/jquery-ui/base.css +3 -1
  150. data/app/assets/stylesheets/jquery-ui/button.css +35 -68
  151. data/app/assets/stylesheets/jquery-ui/checkboxradio.css +37 -0
  152. data/app/assets/stylesheets/jquery-ui/controlgroup.css +68 -0
  153. data/app/assets/stylesheets/jquery-ui/core.css +11 -7
  154. data/app/assets/stylesheets/jquery-ui/datepicker.css +11 -2
  155. data/app/assets/stylesheets/jquery-ui/dialog.css +38 -11
  156. data/app/assets/stylesheets/jquery-ui/draggable.css +1 -2
  157. data/app/assets/stylesheets/jquery-ui/menu.css +7 -7
  158. data/app/assets/stylesheets/jquery-ui/progressbar.css +1 -2
  159. data/app/assets/stylesheets/jquery-ui/resizable.css +1 -2
  160. data/app/assets/stylesheets/jquery-ui/selectable.css +1 -2
  161. data/app/assets/stylesheets/jquery-ui/selectmenu.css +11 -22
  162. data/app/assets/stylesheets/jquery-ui/slider.css +1 -2
  163. data/app/assets/stylesheets/jquery-ui/sortable.css +1 -2
  164. data/app/assets/stylesheets/jquery-ui/spinner.css +7 -22
  165. data/app/assets/stylesheets/jquery-ui/tabs.css +1 -2
  166. data/app/assets/stylesheets/jquery-ui/theme.css.erb +113 -87
  167. data/app/assets/stylesheets/jquery-ui/tooltip.css +1 -4
  168. data/lib/jquery/ui/rails/version.rb +2 -2
  169. metadata +150 -144
  170. data/app/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  171. data/app/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  172. data/app/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  173. data/app/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
  174. data/app/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  175. data/app/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  176. data/app/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  177. data/app/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
  178. data/app/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
  179. data/app/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
  180. data/app/assets/images/jquery-ui/ui-icons_888888_256x240.png +0 -0
  181. data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
  182. data/app/assets/javascripts/jquery-ui/button.js +0 -414
  183. data/app/assets/javascripts/jquery-ui/datepicker-af.js +0 -37
  184. data/app/assets/javascripts/jquery-ui/datepicker-ar-DZ.js +0 -37
  185. data/app/assets/javascripts/jquery-ui/datepicker-ar.js +0 -38
  186. data/app/assets/javascripts/jquery-ui/datepicker-az.js +0 -37
  187. data/app/assets/javascripts/jquery-ui/datepicker-be.js +0 -37
  188. data/app/assets/javascripts/jquery-ui/datepicker-bg.js +0 -38
  189. data/app/assets/javascripts/jquery-ui/datepicker-bs.js +0 -37
  190. data/app/assets/javascripts/jquery-ui/datepicker-ca.js +0 -37
  191. data/app/assets/javascripts/jquery-ui/datepicker-cs.js +0 -37
  192. data/app/assets/javascripts/jquery-ui/datepicker-cy-GB.js +0 -37
  193. data/app/assets/javascripts/jquery-ui/datepicker-da.js +0 -37
  194. data/app/assets/javascripts/jquery-ui/datepicker-de.js +0 -37
  195. data/app/assets/javascripts/jquery-ui/datepicker-el.js +0 -37
  196. data/app/assets/javascripts/jquery-ui/datepicker-en-AU.js +0 -37
  197. data/app/assets/javascripts/jquery-ui/datepicker-en-GB.js +0 -37
  198. data/app/assets/javascripts/jquery-ui/datepicker-en-NZ.js +0 -37
  199. data/app/assets/javascripts/jquery-ui/datepicker-eo.js +0 -37
  200. data/app/assets/javascripts/jquery-ui/datepicker-es.js +0 -37
  201. data/app/assets/javascripts/jquery-ui/datepicker-et.js +0 -37
  202. data/app/assets/javascripts/jquery-ui/datepicker-eu.js +0 -36
  203. data/app/assets/javascripts/jquery-ui/datepicker-fa.js +0 -73
  204. data/app/assets/javascripts/jquery-ui/datepicker-fi.js +0 -37
  205. data/app/assets/javascripts/jquery-ui/datepicker-fo.js +0 -37
  206. data/app/assets/javascripts/jquery-ui/datepicker-fr-CA.js +0 -37
  207. data/app/assets/javascripts/jquery-ui/datepicker-fr-CH.js +0 -37
  208. data/app/assets/javascripts/jquery-ui/datepicker-fr.js +0 -39
  209. data/app/assets/javascripts/jquery-ui/datepicker-gl.js +0 -37
  210. data/app/assets/javascripts/jquery-ui/datepicker-he.js +0 -37
  211. data/app/assets/javascripts/jquery-ui/datepicker-hi.js +0 -37
  212. data/app/assets/javascripts/jquery-ui/datepicker-hr.js +0 -37
  213. data/app/assets/javascripts/jquery-ui/datepicker-hu.js +0 -36
  214. data/app/assets/javascripts/jquery-ui/datepicker-hy.js +0 -37
  215. data/app/assets/javascripts/jquery-ui/datepicker-id.js +0 -37
  216. data/app/assets/javascripts/jquery-ui/datepicker-is.js +0 -37
  217. data/app/assets/javascripts/jquery-ui/datepicker-it-CH.js +0 -37
  218. data/app/assets/javascripts/jquery-ui/datepicker-it.js +0 -37
  219. data/app/assets/javascripts/jquery-ui/datepicker-ja.js +0 -37
  220. data/app/assets/javascripts/jquery-ui/datepicker-ka.js +0 -35
  221. data/app/assets/javascripts/jquery-ui/datepicker-kk.js +0 -37
  222. data/app/assets/javascripts/jquery-ui/datepicker-km.js +0 -37
  223. data/app/assets/javascripts/jquery-ui/datepicker-ko.js +0 -37
  224. data/app/assets/javascripts/jquery-ui/datepicker-ky.js +0 -38
  225. data/app/assets/javascripts/jquery-ui/datepicker-lb.js +0 -37
  226. data/app/assets/javascripts/jquery-ui/datepicker-lt.js +0 -37
  227. data/app/assets/javascripts/jquery-ui/datepicker-lv.js +0 -37
  228. data/app/assets/javascripts/jquery-ui/datepicker-mk.js +0 -37
  229. data/app/assets/javascripts/jquery-ui/datepicker-ml.js +0 -37
  230. data/app/assets/javascripts/jquery-ui/datepicker-ms.js +0 -37
  231. data/app/assets/javascripts/jquery-ui/datepicker-nb.js +0 -36
  232. data/app/assets/javascripts/jquery-ui/datepicker-nl-BE.js +0 -37
  233. data/app/assets/javascripts/jquery-ui/datepicker-nl.js +0 -37
  234. data/app/assets/javascripts/jquery-ui/datepicker-nn.js +0 -36
  235. data/app/assets/javascripts/jquery-ui/datepicker-no.js +0 -37
  236. data/app/assets/javascripts/jquery-ui/datepicker-pl.js +0 -37
  237. data/app/assets/javascripts/jquery-ui/datepicker-pt-BR.js +0 -37
  238. data/app/assets/javascripts/jquery-ui/datepicker-pt.js +0 -36
  239. data/app/assets/javascripts/jquery-ui/datepicker-rm.js +0 -35
  240. data/app/assets/javascripts/jquery-ui/datepicker-ro.js +0 -40
  241. data/app/assets/javascripts/jquery-ui/datepicker-ru.js +0 -37
  242. data/app/assets/javascripts/jquery-ui/datepicker-sk.js +0 -37
  243. data/app/assets/javascripts/jquery-ui/datepicker-sl.js +0 -38
  244. data/app/assets/javascripts/jquery-ui/datepicker-sq.js +0 -37
  245. data/app/assets/javascripts/jquery-ui/datepicker-sr-SR.js +0 -37
  246. data/app/assets/javascripts/jquery-ui/datepicker-sr.js +0 -37
  247. data/app/assets/javascripts/jquery-ui/datepicker-sv.js +0 -37
  248. data/app/assets/javascripts/jquery-ui/datepicker-ta.js +0 -37
  249. data/app/assets/javascripts/jquery-ui/datepicker-th.js +0 -37
  250. data/app/assets/javascripts/jquery-ui/datepicker-tj.js +0 -37
  251. data/app/assets/javascripts/jquery-ui/datepicker-tr.js +0 -37
  252. data/app/assets/javascripts/jquery-ui/datepicker-uk.js +0 -38
  253. data/app/assets/javascripts/jquery-ui/datepicker-vi.js +0 -37
  254. data/app/assets/javascripts/jquery-ui/datepicker-zh-CN.js +0 -37
  255. data/app/assets/javascripts/jquery-ui/datepicker-zh-HK.js +0 -37
  256. data/app/assets/javascripts/jquery-ui/datepicker-zh-TW.js +0 -37
  257. data/app/assets/javascripts/jquery-ui/datepicker.js +0 -2086
  258. data/app/assets/javascripts/jquery-ui/effect-blind.js +0 -92
  259. data/app/assets/javascripts/jquery-ui/effect-bounce.js +0 -125
  260. data/app/assets/javascripts/jquery-ui/effect-clip.js +0 -79
  261. data/app/assets/javascripts/jquery-ui/effect-drop.js +0 -77
  262. data/app/assets/javascripts/jquery-ui/effect-explode.js +0 -109
  263. data/app/assets/javascripts/jquery-ui/effect-fade.js +0 -42
  264. data/app/assets/javascripts/jquery-ui/effect-fold.js +0 -88
  265. data/app/assets/javascripts/jquery-ui/effect-highlight.js +0 -62
  266. data/app/assets/javascripts/jquery-ui/effect-puff.js +0 -63
  267. data/app/assets/javascripts/jquery-ui/effect-pulsate.js +0 -75
  268. data/app/assets/javascripts/jquery-ui/effect-scale.js +0 -92
  269. data/app/assets/javascripts/jquery-ui/effect-shake.js +0 -86
  270. data/app/assets/javascripts/jquery-ui/effect-size.js +0 -235
  271. data/app/assets/javascripts/jquery-ui/effect-slide.js +0 -76
  272. data/app/assets/javascripts/jquery-ui/effect-transfer.js +0 -59
  273. data/app/assets/javascripts/jquery-ui/mouse.js +0 -202
  274. data/app/assets/javascripts/jquery-ui/selectable.js +0 -291
  275. data/app/assets/javascripts/jquery-ui/sortable.js +0 -1319
@@ -1,38 +1,50 @@
1
- //= require jquery-ui/core
2
- //= require jquery-ui/widget
3
- //= require jquery-ui/menu
1
+ //= require jquery-ui/widgets/menu
2
+ //= require jquery-ui/keycode
4
3
  //= require jquery-ui/position
4
+ //= require jquery-ui/safe-active-element
5
+ //= require jquery-ui/version
6
+ //= require jquery-ui/widget
5
7
 
6
8
  /*!
7
- * jQuery UI Autocomplete 1.11.4
9
+ * jQuery UI Autocomplete 1.12.1
8
10
  * http://jqueryui.com
9
11
  *
10
12
  * Copyright jQuery Foundation and other contributors
11
13
  * Released under the MIT license.
12
14
  * http://jquery.org/license
13
- *
14
- * http://api.jqueryui.com/autocomplete/
15
15
  */
16
- (function( factory ) {
16
+
17
+ //>>label: Autocomplete
18
+ //>>group: Widgets
19
+ //>>description: Lists suggested words as the user is typing.
20
+ //>>docs: http://api.jqueryui.com/autocomplete/
21
+ //>>demos: http://jqueryui.com/autocomplete/
22
+ //>>css.structure: ../../themes/base/core.css
23
+ //>>css.structure: ../../themes/base/autocomplete.css
24
+ //>>css.theme: ../../themes/base/theme.css
25
+
26
+ ( function( factory ) {
17
27
  if ( typeof define === "function" && define.amd ) {
18
28
 
19
29
  // AMD. Register as an anonymous module.
20
- define([
30
+ define( [
21
31
  "jquery",
22
- "./core",
23
- "./widget",
24
- "./position",
25
- "./menu"
32
+ "./menu",
33
+ "../keycode",
34
+ "../position",
35
+ "../safe-active-element",
36
+ "../version",
37
+ "../widget"
26
38
  ], factory );
27
39
  } else {
28
40
 
29
41
  // Browser globals
30
42
  factory( jQuery );
31
43
  }
32
- }(function( $ ) {
44
+ }( function( $ ) {
33
45
 
34
46
  $.widget( "ui.autocomplete", {
35
- version: "1.11.4",
47
+ version: "1.12.1",
36
48
  defaultElement: "<input>",
37
49
  options: {
38
50
  appendTo: null,
@@ -46,7 +58,7 @@ $.widget( "ui.autocomplete", {
46
58
  },
47
59
  source: null,
48
60
 
49
- // callbacks
61
+ // Callbacks
50
62
  change: null,
51
63
  close: null,
52
64
  focus: null,
@@ -60,6 +72,7 @@ $.widget( "ui.autocomplete", {
60
72
  pending: 0,
61
73
 
62
74
  _create: function() {
75
+
63
76
  // Some browsers only repeat keydown events, not keypress events,
64
77
  // so we use the suppressKeyPress flag to determine if we've already
65
78
  // handled the keydown event. #7269
@@ -72,21 +85,17 @@ $.widget( "ui.autocomplete", {
72
85
  isTextarea = nodeName === "textarea",
73
86
  isInput = nodeName === "input";
74
87
 
75
- this.isMultiLine =
76
- // Textareas are always multi-line
77
- isTextarea ? true :
78
- // Inputs are always single-line, even if inside a contentEditable element
79
- // IE also treats inputs as contentEditable
80
- isInput ? false :
81
- // All other element types are determined by whether or not they're contentEditable
82
- this.element.prop( "isContentEditable" );
88
+ // Textareas are always multi-line
89
+ // Inputs are always single-line, even if inside a contentEditable element
90
+ // IE also treats inputs as contentEditable
91
+ // All other element types are determined by whether or not they're contentEditable
92
+ this.isMultiLine = isTextarea || !isInput && this._isContentEditable( this.element );
83
93
 
84
94
  this.valueMethod = this.element[ isTextarea || isInput ? "val" : "text" ];
85
95
  this.isNewMenu = true;
86
96
 
87
- this.element
88
- .addClass( "ui-autocomplete-input" )
89
- .attr( "autocomplete", "off" );
97
+ this._addClass( "ui-autocomplete-input" );
98
+ this.element.attr( "autocomplete", "off" );
90
99
 
91
100
  this._on( this.element, {
92
101
  keydown: function( event ) {
@@ -119,8 +128,10 @@ $.widget( "ui.autocomplete", {
119
128
  this._keyEvent( "next", event );
120
129
  break;
121
130
  case keyCode.ENTER:
131
+
122
132
  // when menu is open and has focus
123
133
  if ( this.menu.active ) {
134
+
124
135
  // #6055 - Opera still allows the keypress to occur
125
136
  // which causes forms to submit
126
137
  suppressKeyPress = true;
@@ -139,6 +150,7 @@ $.widget( "ui.autocomplete", {
139
150
  this._value( this.term );
140
151
  }
141
152
  this.close( event );
153
+
142
154
  // Different browsers have different default behavior for escape
143
155
  // Single press can mean undo or clear
144
156
  // Double press in IE means clear the whole form
@@ -147,6 +159,7 @@ $.widget( "ui.autocomplete", {
147
159
  break;
148
160
  default:
149
161
  suppressKeyPressRepeat = true;
162
+
150
163
  // search timeout should be triggered before the input value is changed
151
164
  this._searchTimeout( event );
152
165
  break;
@@ -164,7 +177,7 @@ $.widget( "ui.autocomplete", {
164
177
  return;
165
178
  }
166
179
 
167
- // replicate some key handlers to allow them to repeat in Firefox and Opera
180
+ // Replicate some key handlers to allow them to repeat in Firefox and Opera
168
181
  var keyCode = $.ui.keyCode;
169
182
  switch ( event.keyCode ) {
170
183
  case keyCode.PAGE_UP:
@@ -203,51 +216,46 @@ $.widget( "ui.autocomplete", {
203
216
  this.close( event );
204
217
  this._change( event );
205
218
  }
206
- });
219
+ } );
207
220
 
208
221
  this._initSource();
209
222
  this.menu = $( "<ul>" )
210
- .addClass( "ui-autocomplete ui-front" )
211
223
  .appendTo( this._appendTo() )
212
- .menu({
224
+ .menu( {
225
+
213
226
  // disable ARIA support, the live region takes care of that
214
227
  role: null
215
- })
228
+ } )
216
229
  .hide()
217
230
  .menu( "instance" );
218
231
 
232
+ this._addClass( this.menu.element, "ui-autocomplete", "ui-front" );
219
233
  this._on( this.menu.element, {
220
234
  mousedown: function( event ) {
235
+
221
236
  // prevent moving focus out of the text field
222
237
  event.preventDefault();
223
238
 
224
239
  // IE doesn't prevent moving focus even with event.preventDefault()
225
240
  // so we set a flag to know when we should ignore the blur event
226
241
  this.cancelBlur = true;
227
- this._delay(function() {
242
+ this._delay( function() {
228
243
  delete this.cancelBlur;
229
- });
230
-
231
- // clicking on the scrollbar causes focus to shift to the body
232
- // but we can't detect a mouseup or a click immediately afterward
233
- // so we have to track the next mousedown and close the menu if
234
- // the user clicks somewhere outside of the autocomplete
235
- var menuElement = this.menu.element[ 0 ];
236
- if ( !$( event.target ).closest( ".ui-menu-item" ).length ) {
237
- this._delay(function() {
238
- var that = this;
239
- this.document.one( "mousedown", function( event ) {
240
- if ( event.target !== that.element[ 0 ] &&
241
- event.target !== menuElement &&
242
- !$.contains( menuElement, event.target ) ) {
243
- that.close();
244
- }
245
- });
246
- });
247
- }
244
+
245
+ // Support: IE 8 only
246
+ // Right clicking a menu item or selecting text from the menu items will
247
+ // result in focus moving out of the input. However, we've already received
248
+ // and ignored the blur event because of the cancelBlur flag set above. So
249
+ // we restore focus to ensure that the menu closes properly based on the user's
250
+ // next actions.
251
+ if ( this.element[ 0 ] !== $.ui.safeActiveElement( this.document[ 0 ] ) ) {
252
+ this.element.trigger( "focus" );
253
+ }
254
+ } );
248
255
  },
249
256
  menufocus: function( event, ui ) {
250
257
  var label, item;
258
+
251
259
  // support: Firefox
252
260
  // Prevent accidental activation of menu items in Firefox (#7024 #9118)
253
261
  if ( this.isNewMenu ) {
@@ -257,7 +265,7 @@ $.widget( "ui.autocomplete", {
257
265
 
258
266
  this.document.one( "mousemove", function() {
259
267
  $( event.target ).trigger( event.originalEvent );
260
- });
268
+ } );
261
269
 
262
270
  return;
263
271
  }
@@ -265,6 +273,7 @@ $.widget( "ui.autocomplete", {
265
273
 
266
274
  item = ui.item.data( "ui-autocomplete-item" );
267
275
  if ( false !== this._trigger( "focus", event, { item: item } ) ) {
276
+
268
277
  // use value to match what will end up in the input, if it was a key event
269
278
  if ( event.originalEvent && /^key/.test( event.originalEvent.type ) ) {
270
279
  this._value( item.value );
@@ -282,22 +291,24 @@ $.widget( "ui.autocomplete", {
282
291
  var item = ui.item.data( "ui-autocomplete-item" ),
283
292
  previous = this.previous;
284
293
 
285
- // only trigger when focus was lost (click on menu)
286
- if ( this.element[ 0 ] !== this.document[ 0 ].activeElement ) {
287
- this.element.focus();
294
+ // Only trigger when focus was lost (click on menu)
295
+ if ( this.element[ 0 ] !== $.ui.safeActiveElement( this.document[ 0 ] ) ) {
296
+ this.element.trigger( "focus" );
288
297
  this.previous = previous;
298
+
289
299
  // #6109 - IE triggers two focus events and the second
290
300
  // is asynchronous, so we need to reset the previous
291
301
  // term synchronously and asynchronously :-(
292
- this._delay(function() {
302
+ this._delay( function() {
293
303
  this.previous = previous;
294
304
  this.selectedItem = item;
295
- });
305
+ } );
296
306
  }
297
307
 
298
308
  if ( false !== this._trigger( "select", event, { item: item } ) ) {
299
309
  this._value( item.value );
300
310
  }
311
+
301
312
  // reset the term after the select event
302
313
  // this allows custom select handling to work properly
303
314
  this.term = this._value();
@@ -305,31 +316,30 @@ $.widget( "ui.autocomplete", {
305
316
  this.close( event );
306
317
  this.selectedItem = item;
307
318
  }
308
- });
309
-
310
- this.liveRegion = $( "<span>", {
311
- role: "status",
312
- "aria-live": "assertive",
313
- "aria-relevant": "additions"
314
- })
315
- .addClass( "ui-helper-hidden-accessible" )
319
+ } );
320
+
321
+ this.liveRegion = $( "<div>", {
322
+ role: "status",
323
+ "aria-live": "assertive",
324
+ "aria-relevant": "additions"
325
+ } )
316
326
  .appendTo( this.document[ 0 ].body );
317
327
 
318
- // turning off autocomplete prevents the browser from remembering the
328
+ this._addClass( this.liveRegion, null, "ui-helper-hidden-accessible" );
329
+
330
+ // Turning off autocomplete prevents the browser from remembering the
319
331
  // value when navigating through history, so we re-enable autocomplete
320
332
  // if the page is unloaded before the widget is destroyed. #7790
321
333
  this._on( this.window, {
322
334
  beforeunload: function() {
323
335
  this.element.removeAttr( "autocomplete" );
324
336
  }
325
- });
337
+ } );
326
338
  },
327
339
 
328
340
  _destroy: function() {
329
341
  clearTimeout( this.searching );
330
- this.element
331
- .removeClass( "ui-autocomplete-input" )
332
- .removeAttr( "autocomplete" );
342
+ this.element.removeAttr( "autocomplete" );
333
343
  this.menu.element.remove();
334
344
  this.liveRegion.remove();
335
345
  },
@@ -347,6 +357,20 @@ $.widget( "ui.autocomplete", {
347
357
  }
348
358
  },
349
359
 
360
+ _isEventTargetInWidget: function( event ) {
361
+ var menuElement = this.menu.element[ 0 ];
362
+
363
+ return event.target === this.element[ 0 ] ||
364
+ event.target === menuElement ||
365
+ $.contains( menuElement, event.target );
366
+ },
367
+
368
+ _closeOnClickOutside: function( event ) {
369
+ if ( !this._isEventTargetInWidget( event ) ) {
370
+ this.close();
371
+ }
372
+ },
373
+
350
374
  _appendTo: function() {
351
375
  var element = this.options.appendTo;
352
376
 
@@ -357,7 +381,7 @@ $.widget( "ui.autocomplete", {
357
381
  }
358
382
 
359
383
  if ( !element || !element[ 0 ] ) {
360
- element = this.element.closest( ".ui-front" );
384
+ element = this.element.closest( ".ui-front, dialog" );
361
385
  }
362
386
 
363
387
  if ( !element.length ) {
@@ -381,7 +405,7 @@ $.widget( "ui.autocomplete", {
381
405
  if ( that.xhr ) {
382
406
  that.xhr.abort();
383
407
  }
384
- that.xhr = $.ajax({
408
+ that.xhr = $.ajax( {
385
409
  url: url,
386
410
  data: request,
387
411
  dataType: "json",
@@ -389,9 +413,9 @@ $.widget( "ui.autocomplete", {
389
413
  response( data );
390
414
  },
391
415
  error: function() {
392
- response([]);
416
+ response( [] );
393
417
  }
394
- });
418
+ } );
395
419
  };
396
420
  } else {
397
421
  this.source = this.options.source;
@@ -400,7 +424,7 @@ $.widget( "ui.autocomplete", {
400
424
 
401
425
  _searchTimeout: function( event ) {
402
426
  clearTimeout( this.searching );
403
- this.searching = this._delay(function() {
427
+ this.searching = this._delay( function() {
404
428
 
405
429
  // Search if the value has changed, or if the user retypes the same value (see #7434)
406
430
  var equalValues = this.term === this._value(),
@@ -417,7 +441,7 @@ $.widget( "ui.autocomplete", {
417
441
  search: function( value, event ) {
418
442
  value = value != null ? value : this._value();
419
443
 
420
- // always save the actual value, not the one passed as an argument
444
+ // Always save the actual value, not the one passed as an argument
421
445
  this.term = this._value();
422
446
 
423
447
  if ( value.length < this.options.minLength ) {
@@ -433,7 +457,7 @@ $.widget( "ui.autocomplete", {
433
457
 
434
458
  _search: function( value ) {
435
459
  this.pending++;
436
- this.element.addClass( "ui-autocomplete-loading" );
460
+ this._addClass( "ui-autocomplete-loading" );
437
461
  this.cancelSearch = false;
438
462
 
439
463
  this.source( { term: value }, this._response() );
@@ -442,14 +466,14 @@ $.widget( "ui.autocomplete", {
442
466
  _response: function() {
443
467
  var index = ++this.requestIndex;
444
468
 
445
- return $.proxy(function( content ) {
469
+ return $.proxy( function( content ) {
446
470
  if ( index === this.requestIndex ) {
447
471
  this.__response( content );
448
472
  }
449
473
 
450
474
  this.pending--;
451
475
  if ( !this.pending ) {
452
- this.element.removeClass( "ui-autocomplete-loading" );
476
+ this._removeClass( "ui-autocomplete-loading" );
453
477
  }
454
478
  }, this );
455
479
  },
@@ -463,6 +487,7 @@ $.widget( "ui.autocomplete", {
463
487
  this._suggest( content );
464
488
  this._trigger( "open" );
465
489
  } else {
490
+
466
491
  // use ._close() instead of .close() so we don't cancel future searches
467
492
  this._close();
468
493
  }
@@ -474,6 +499,10 @@ $.widget( "ui.autocomplete", {
474
499
  },
475
500
 
476
501
  _close: function( event ) {
502
+
503
+ // Remove the handler that closes the menu on outside clicks
504
+ this._off( this.document, "mousedown" );
505
+
477
506
  if ( this.menu.element.is( ":visible" ) ) {
478
507
  this.menu.element.hide();
479
508
  this.menu.blur();
@@ -489,6 +518,7 @@ $.widget( "ui.autocomplete", {
489
518
  },
490
519
 
491
520
  _normalize: function( items ) {
521
+
492
522
  // assume all items have the right format when the first item is complete
493
523
  if ( items.length && items[ 0 ].label && items[ 0 ].value ) {
494
524
  return items;
@@ -503,8 +533,8 @@ $.widget( "ui.autocomplete", {
503
533
  return $.extend( {}, item, {
504
534
  label: item.label || item.value,
505
535
  value: item.value || item.label
506
- });
507
- });
536
+ } );
537
+ } );
508
538
  },
509
539
 
510
540
  _suggest: function( items ) {
@@ -513,21 +543,27 @@ $.widget( "ui.autocomplete", {
513
543
  this.isNewMenu = true;
514
544
  this.menu.refresh();
515
545
 
516
- // size and position menu
546
+ // Size and position menu
517
547
  ul.show();
518
548
  this._resizeMenu();
519
- ul.position( $.extend({
549
+ ul.position( $.extend( {
520
550
  of: this.element
521
551
  }, this.options.position ) );
522
552
 
523
553
  if ( this.options.autoFocus ) {
524
554
  this.menu.next();
525
555
  }
556
+
557
+ // Listen for interactions outside of the widget (#6642)
558
+ this._on( this.document, {
559
+ mousedown: "_closeOnClickOutside"
560
+ } );
526
561
  },
527
562
 
528
563
  _resizeMenu: function() {
529
564
  var ul = this.menu.element;
530
565
  ul.outerWidth( Math.max(
566
+
531
567
  // Firefox wraps long text (possibly a rounding bug)
532
568
  // so we add 1px to avoid the wrapping (#7513)
533
569
  ul.width( "" ).outerWidth() + 1,
@@ -539,7 +575,7 @@ $.widget( "ui.autocomplete", {
539
575
  var that = this;
540
576
  $.each( items, function( index, item ) {
541
577
  that._renderItemData( ul, item );
542
- });
578
+ } );
543
579
  },
544
580
 
545
581
  _renderItemData: function( ul, item ) {
@@ -547,7 +583,9 @@ $.widget( "ui.autocomplete", {
547
583
  },
548
584
 
549
585
  _renderItem: function( ul, item ) {
550
- return $( "<li>" ).text( item.label ).appendTo( ul );
586
+ return $( "<li>" )
587
+ .append( $( "<div>" ).text( item.label ) )
588
+ .appendTo( ul );
551
589
  },
552
590
 
553
591
  _move: function( direction, event ) {
@@ -580,11 +618,29 @@ $.widget( "ui.autocomplete", {
580
618
  if ( !this.isMultiLine || this.menu.element.is( ":visible" ) ) {
581
619
  this._move( keyEvent, event );
582
620
 
583
- // prevents moving cursor to beginning/end of the text field in some browsers
621
+ // Prevents moving cursor to beginning/end of the text field in some browsers
584
622
  event.preventDefault();
585
623
  }
624
+ },
625
+
626
+ // Support: Chrome <=50
627
+ // We should be able to just use this.element.prop( "isContentEditable" )
628
+ // but hidden elements always report false in Chrome.
629
+ // https://code.google.com/p/chromium/issues/detail?id=313082
630
+ _isContentEditable: function( element ) {
631
+ if ( !element.length ) {
632
+ return false;
633
+ }
634
+
635
+ var editable = element.prop( "contentEditable" );
636
+
637
+ if ( editable === "inherit" ) {
638
+ return this._isContentEditable( element.parent() );
639
+ }
640
+
641
+ return editable === "true";
586
642
  }
587
- });
643
+ } );
588
644
 
589
645
  $.extend( $.ui.autocomplete, {
590
646
  escapeRegex: function( value ) {
@@ -594,11 +650,11 @@ $.extend( $.ui.autocomplete, {
594
650
  var matcher = new RegExp( $.ui.autocomplete.escapeRegex( term ), "i" );
595
651
  return $.grep( array, function( value ) {
596
652
  return matcher.test( value.label || value.value || value );
597
- });
653
+ } );
598
654
  }
599
- });
655
+ } );
600
656
 
601
- // live region extension, adding a `messages` option
657
+ // Live region extension, adding a `messages` option
602
658
  // NOTE: This is an experimental API. We are still investigating
603
659
  // a full solution for string manipulation and internationalization.
604
660
  $.widget( "ui.autocomplete", $.ui.autocomplete, {
@@ -626,8 +682,8 @@ $.widget( "ui.autocomplete", $.ui.autocomplete, {
626
682
  this.liveRegion.children().hide();
627
683
  $( "<div>" ).text( message ).appendTo( this.liveRegion );
628
684
  }
629
- });
685
+ } );
630
686
 
631
687
  return $.ui.autocomplete;
632
688
 
633
- }));
689
+ } ) );