jquery-ui-rails 4.2.1 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. checksums.yaml +7 -0
  2. data/.gitmodules +1 -1
  3. data/.travis.yml +1 -1
  4. data/History.md +41 -2
  5. data/README.md +100 -83
  6. data/Rakefile +82 -49
  7. data/VERSIONS.md +9 -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 -0
  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 -0
  19. data/app/assets/javascripts/jquery-ui/effect.js +975 -0
  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 → jquery-ui/position.js} +120 -108
  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 +754 -0
  128. data/app/assets/javascripts/{jquery.ui.accordion.js → jquery-ui/widgets/accordion.js} +257 -203
  129. data/app/assets/javascripts/{jquery.ui.autocomplete.js → jquery-ui/widgets/autocomplete.js} +202 -133
  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/widgets/dialog.js +968 -0
  135. data/app/assets/javascripts/jquery-ui/widgets/draggable.js +1268 -0
  136. data/app/assets/javascripts/jquery-ui/widgets/droppable.js +508 -0
  137. data/app/assets/javascripts/{jquery.ui.menu.js → jquery-ui/widgets/menu.js} +276 -187
  138. data/app/assets/javascripts/jquery-ui/widgets/mouse.js +241 -0
  139. data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +184 -0
  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/widgets/selectmenu.js +702 -0
  143. data/app/assets/javascripts/{jquery.ui.slider.js → jquery-ui/widgets/slider.js} +254 -174
  144. data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1623 -0
  145. data/app/assets/javascripts/{jquery.ui.spinner.js → jquery-ui/widgets/spinner.js} +206 -119
  146. data/app/assets/javascripts/{jquery.ui.tabs.js → jquery-ui/widgets/tabs.js} +334 -255
  147. data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +530 -0
  148. data/app/assets/javascripts/jquery-ui.js +57 -0
  149. data/app/assets/stylesheets/jquery-ui/accordion.css +26 -0
  150. data/app/assets/stylesheets/{jquery.ui.all.css.erb → jquery-ui/all.css} +4 -4
  151. data/app/assets/stylesheets/{jquery.ui.autocomplete.css.erb → jquery-ui/autocomplete.css} +3 -5
  152. data/app/assets/stylesheets/jquery-ui/base.css +32 -0
  153. data/app/assets/stylesheets/jquery-ui/button.css +85 -0
  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.erb → jquery-ui/core.css} +16 -9
  157. data/app/assets/stylesheets/{jquery.ui.datepicker.css.erb → jquery-ui/datepicker.css} +14 -5
  158. data/app/assets/stylesheets/{jquery.ui.dialog.css.erb → jquery-ui/dialog.css} +40 -12
  159. data/app/assets/stylesheets/jquery-ui/draggable.css +15 -0
  160. data/app/assets/stylesheets/jquery-ui/menu.css +67 -0
  161. data/app/assets/stylesheets/jquery-ui/progressbar.css +31 -0
  162. data/app/assets/stylesheets/{jquery.ui.resizable.css.erb → jquery-ui/resizable.css} +5 -4
  163. data/app/assets/stylesheets/{jquery.ui.selectable.css.erb → jquery-ui/selectable.css} +7 -4
  164. data/app/assets/stylesheets/jquery-ui/selectmenu.css +53 -0
  165. data/app/assets/stylesheets/{jquery.ui.slider.css.erb → jquery-ui/slider.css} +7 -6
  166. data/app/assets/stylesheets/jquery-ui/sortable.css +15 -0
  167. data/app/assets/stylesheets/{jquery.ui.spinner.css.erb → jquery-ui/spinner.css} +9 -24
  168. data/app/assets/stylesheets/{jquery.ui.tabs.css.erb → jquery-ui/tabs.css} +3 -4
  169. data/app/assets/stylesheets/{jquery.ui.theme.css.erb → jquery-ui/theme.css.erb} +122 -96
  170. data/app/assets/stylesheets/{jquery.ui.tooltip.css.erb → jquery-ui/tooltip.css} +3 -6
  171. data/app/assets/stylesheets/jquery-ui.css +1 -0
  172. data/lib/jquery/ui/rails/version.rb +2 -2
  173. metadata +180 -166
  174. data/app/assets/images/jquery-ui/animated-overlay.gif +0 -0
  175. data/app/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  176. data/app/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  177. data/app/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  178. data/app/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
  179. data/app/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  180. data/app/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  181. data/app/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  182. data/app/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
  183. data/app/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
  184. data/app/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
  185. data/app/assets/images/jquery-ui/ui-icons_888888_256x240.png +0 -0
  186. data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
  187. data/app/assets/javascripts/jquery.ui.all.js +0 -34
  188. data/app/assets/javascripts/jquery.ui.button.js +0 -398
  189. data/app/assets/javascripts/jquery.ui.core.js +0 -320
  190. data/app/assets/javascripts/jquery.ui.datepicker-af.js +0 -23
  191. data/app/assets/javascripts/jquery.ui.datepicker-ar-DZ.js +0 -23
  192. data/app/assets/javascripts/jquery.ui.datepicker-ar.js +0 -23
  193. data/app/assets/javascripts/jquery.ui.datepicker-az.js +0 -23
  194. data/app/assets/javascripts/jquery.ui.datepicker-be.js +0 -23
  195. data/app/assets/javascripts/jquery.ui.datepicker-bg.js +0 -24
  196. data/app/assets/javascripts/jquery.ui.datepicker-bs.js +0 -23
  197. data/app/assets/javascripts/jquery.ui.datepicker-ca.js +0 -23
  198. data/app/assets/javascripts/jquery.ui.datepicker-cs.js +0 -23
  199. data/app/assets/javascripts/jquery.ui.datepicker-cy-GB.js +0 -23
  200. data/app/assets/javascripts/jquery.ui.datepicker-da.js +0 -23
  201. data/app/assets/javascripts/jquery.ui.datepicker-de.js +0 -23
  202. data/app/assets/javascripts/jquery.ui.datepicker-el.js +0 -23
  203. data/app/assets/javascripts/jquery.ui.datepicker-en-AU.js +0 -23
  204. data/app/assets/javascripts/jquery.ui.datepicker-en-GB.js +0 -23
  205. data/app/assets/javascripts/jquery.ui.datepicker-en-NZ.js +0 -23
  206. data/app/assets/javascripts/jquery.ui.datepicker-eo.js +0 -23
  207. data/app/assets/javascripts/jquery.ui.datepicker-es.js +0 -23
  208. data/app/assets/javascripts/jquery.ui.datepicker-et.js +0 -23
  209. data/app/assets/javascripts/jquery.ui.datepicker-eu.js +0 -23
  210. data/app/assets/javascripts/jquery.ui.datepicker-fa.js +0 -59
  211. data/app/assets/javascripts/jquery.ui.datepicker-fi.js +0 -23
  212. data/app/assets/javascripts/jquery.ui.datepicker-fo.js +0 -23
  213. data/app/assets/javascripts/jquery.ui.datepicker-fr-CA.js +0 -23
  214. data/app/assets/javascripts/jquery.ui.datepicker-fr-CH.js +0 -23
  215. data/app/assets/javascripts/jquery.ui.datepicker-fr.js +0 -25
  216. data/app/assets/javascripts/jquery.ui.datepicker-gl.js +0 -23
  217. data/app/assets/javascripts/jquery.ui.datepicker-he.js +0 -23
  218. data/app/assets/javascripts/jquery.ui.datepicker-hi.js +0 -23
  219. data/app/assets/javascripts/jquery.ui.datepicker-hr.js +0 -23
  220. data/app/assets/javascripts/jquery.ui.datepicker-hu.js +0 -23
  221. data/app/assets/javascripts/jquery.ui.datepicker-hy.js +0 -23
  222. data/app/assets/javascripts/jquery.ui.datepicker-id.js +0 -23
  223. data/app/assets/javascripts/jquery.ui.datepicker-is.js +0 -23
  224. data/app/assets/javascripts/jquery.ui.datepicker-it.js +0 -23
  225. data/app/assets/javascripts/jquery.ui.datepicker-ja.js +0 -23
  226. data/app/assets/javascripts/jquery.ui.datepicker-ka.js +0 -21
  227. data/app/assets/javascripts/jquery.ui.datepicker-kk.js +0 -23
  228. data/app/assets/javascripts/jquery.ui.datepicker-km.js +0 -23
  229. data/app/assets/javascripts/jquery.ui.datepicker-ko.js +0 -23
  230. data/app/assets/javascripts/jquery.ui.datepicker-ky.js +0 -24
  231. data/app/assets/javascripts/jquery.ui.datepicker-lb.js +0 -23
  232. data/app/assets/javascripts/jquery.ui.datepicker-lt.js +0 -23
  233. data/app/assets/javascripts/jquery.ui.datepicker-lv.js +0 -23
  234. data/app/assets/javascripts/jquery.ui.datepicker-mk.js +0 -23
  235. data/app/assets/javascripts/jquery.ui.datepicker-ml.js +0 -23
  236. data/app/assets/javascripts/jquery.ui.datepicker-ms.js +0 -23
  237. data/app/assets/javascripts/jquery.ui.datepicker-nb.js +0 -22
  238. data/app/assets/javascripts/jquery.ui.datepicker-nl-BE.js +0 -23
  239. data/app/assets/javascripts/jquery.ui.datepicker-nl.js +0 -23
  240. data/app/assets/javascripts/jquery.ui.datepicker-nn.js +0 -22
  241. data/app/assets/javascripts/jquery.ui.datepicker-no.js +0 -23
  242. data/app/assets/javascripts/jquery.ui.datepicker-pl.js +0 -23
  243. data/app/assets/javascripts/jquery.ui.datepicker-pt-BR.js +0 -23
  244. data/app/assets/javascripts/jquery.ui.datepicker-pt.js +0 -22
  245. data/app/assets/javascripts/jquery.ui.datepicker-rm.js +0 -21
  246. data/app/assets/javascripts/jquery.ui.datepicker-ro.js +0 -26
  247. data/app/assets/javascripts/jquery.ui.datepicker-ru.js +0 -23
  248. data/app/assets/javascripts/jquery.ui.datepicker-sk.js +0 -23
  249. data/app/assets/javascripts/jquery.ui.datepicker-sl.js +0 -24
  250. data/app/assets/javascripts/jquery.ui.datepicker-sq.js +0 -23
  251. data/app/assets/javascripts/jquery.ui.datepicker-sr-SR.js +0 -23
  252. data/app/assets/javascripts/jquery.ui.datepicker-sr.js +0 -23
  253. data/app/assets/javascripts/jquery.ui.datepicker-sv.js +0 -23
  254. data/app/assets/javascripts/jquery.ui.datepicker-ta.js +0 -23
  255. data/app/assets/javascripts/jquery.ui.datepicker-th.js +0 -23
  256. data/app/assets/javascripts/jquery.ui.datepicker-tj.js +0 -23
  257. data/app/assets/javascripts/jquery.ui.datepicker-tr.js +0 -23
  258. data/app/assets/javascripts/jquery.ui.datepicker-uk.js +0 -24
  259. data/app/assets/javascripts/jquery.ui.datepicker-vi.js +0 -23
  260. data/app/assets/javascripts/jquery.ui.datepicker-zh-CN.js +0 -23
  261. data/app/assets/javascripts/jquery.ui.datepicker-zh-HK.js +0 -23
  262. data/app/assets/javascripts/jquery.ui.datepicker-zh-TW.js +0 -23
  263. data/app/assets/javascripts/jquery.ui.datepicker.js +0 -2040
  264. data/app/assets/javascripts/jquery.ui.dialog.js +0 -830
  265. data/app/assets/javascripts/jquery.ui.draggable.js +0 -962
  266. data/app/assets/javascripts/jquery.ui.droppable.js +0 -394
  267. data/app/assets/javascripts/jquery.ui.effect-blind.js +0 -84
  268. data/app/assets/javascripts/jquery.ui.effect-bounce.js +0 -115
  269. data/app/assets/javascripts/jquery.ui.effect-clip.js +0 -69
  270. data/app/assets/javascripts/jquery.ui.effect-drop.js +0 -67
  271. data/app/assets/javascripts/jquery.ui.effect-explode.js +0 -99
  272. data/app/assets/javascripts/jquery.ui.effect-fade.js +0 -32
  273. data/app/assets/javascripts/jquery.ui.effect-fold.js +0 -78
  274. data/app/assets/javascripts/jquery.ui.effect-highlight.js +0 -52
  275. data/app/assets/javascripts/jquery.ui.effect-pulsate.js +0 -65
  276. data/app/assets/javascripts/jquery.ui.effect-scale.js +0 -320
  277. data/app/assets/javascripts/jquery.ui.effect-shake.js +0 -76
  278. data/app/assets/javascripts/jquery.ui.effect-slide.js +0 -66
  279. data/app/assets/javascripts/jquery.ui.effect-transfer.js +0 -49
  280. data/app/assets/javascripts/jquery.ui.effect.all.js +0 -14
  281. data/app/assets/javascripts/jquery.ui.effect.js +0 -1289
  282. data/app/assets/javascripts/jquery.ui.mouse.js +0 -172
  283. data/app/assets/javascripts/jquery.ui.progressbar.js +0 -148
  284. data/app/assets/javascripts/jquery.ui.resizable.js +0 -982
  285. data/app/assets/javascripts/jquery.ui.selectable.js +0 -281
  286. data/app/assets/javascripts/jquery.ui.sortable.js +0 -1293
  287. data/app/assets/javascripts/jquery.ui.tooltip.js +0 -406
  288. data/app/assets/javascripts/jquery.ui.widget.js +0 -521
  289. data/app/assets/stylesheets/jquery.ui.accordion.css.erb +0 -42
  290. data/app/assets/stylesheets/jquery.ui.base.css.erb +0 -27
  291. data/app/assets/stylesheets/jquery.ui.button.css.erb +0 -118
  292. data/app/assets/stylesheets/jquery.ui.menu.css.erb +0 -83
  293. data/app/assets/stylesheets/jquery.ui.progressbar.css.erb +0 -37
@@ -1,25 +1,50 @@
1
- //= require jquery.ui.core
2
- //= require jquery.ui.widget
3
- //= require jquery.ui.button
1
+ //= require jquery-ui/widgets/button
2
+ //= require jquery-ui/version
3
+ //= require jquery-ui/keycode
4
+ //= require jquery-ui/safe-active-element
5
+ //= require jquery-ui/widget
4
6
 
5
7
  /*!
6
- * jQuery UI Spinner 1.10.4
8
+ * jQuery UI Spinner 1.13.0
7
9
  * http://jqueryui.com
8
10
  *
9
- * Copyright 2014 jQuery Foundation and other contributors
11
+ * Copyright jQuery Foundation and other contributors
10
12
  * Released under the MIT license.
11
13
  * http://jquery.org/license
12
- *
13
- * http://api.jqueryui.com/spinner/
14
- *
15
- * Depends:
16
- * jquery.ui.core.js
17
- * jquery.ui.widget.js
18
- * jquery.ui.button.js
19
14
  */
20
- (function( $ ) {
21
15
 
22
- function modifier( fn ) {
16
+ //>>label: Spinner
17
+ //>>group: Widgets
18
+ //>>description: Displays buttons to easily input numbers via the keyboard or mouse.
19
+ //>>docs: http://api.jqueryui.com/spinner/
20
+ //>>demos: http://jqueryui.com/spinner/
21
+ //>>css.structure: ../../themes/base/core.css
22
+ //>>css.structure: ../../themes/base/spinner.css
23
+ //>>css.theme: ../../themes/base/theme.css
24
+
25
+ ( function( factory ) {
26
+ "use strict";
27
+
28
+ if ( typeof define === "function" && define.amd ) {
29
+
30
+ // AMD. Register as an anonymous module.
31
+ define( [
32
+ "jquery",
33
+ "./button",
34
+ "../version",
35
+ "../keycode",
36
+ "../safe-active-element",
37
+ "../widget"
38
+ ], factory );
39
+ } else {
40
+
41
+ // Browser globals
42
+ factory( jQuery );
43
+ }
44
+ } )( function( $ ) {
45
+ "use strict";
46
+
47
+ function spinnerModifier( fn ) {
23
48
  return function() {
24
49
  var previous = this.element.val();
25
50
  fn.apply( this, arguments );
@@ -31,10 +56,15 @@ function modifier( fn ) {
31
56
  }
32
57
 
33
58
  $.widget( "ui.spinner", {
34
- version: "1.10.4",
59
+ version: "1.13.0",
35
60
  defaultElement: "<input>",
36
61
  widgetEventPrefix: "spin",
37
62
  options: {
63
+ classes: {
64
+ "ui-spinner": "ui-corner-all",
65
+ "ui-spinner-down": "ui-corner-br",
66
+ "ui-spinner-up": "ui-corner-tr"
67
+ },
38
68
  culture: null,
39
69
  icons: {
40
70
  down: "ui-icon-triangle-1-s",
@@ -54,6 +84,7 @@ $.widget( "ui.spinner", {
54
84
  },
55
85
 
56
86
  _create: function() {
87
+
57
88
  // handle string values that need to be parsed
58
89
  this._setOption( "max", this.options.max );
59
90
  this._setOption( "min", this.options.min );
@@ -62,6 +93,7 @@ $.widget( "ui.spinner", {
62
93
  // Only format if there is a value, prevents the field from being marked
63
94
  // as invalid in Firefox, see #9573.
64
95
  if ( this.value() !== "" ) {
96
+
65
97
  // Format the value, but don't constrain.
66
98
  this._value( this.element.val(), true );
67
99
  }
@@ -70,26 +102,26 @@ $.widget( "ui.spinner", {
70
102
  this._on( this._events );
71
103
  this._refresh();
72
104
 
73
- // turning off autocomplete prevents the browser from remembering the
105
+ // Turning off autocomplete prevents the browser from remembering the
74
106
  // value when navigating through history, so we re-enable autocomplete
75
107
  // if the page is unloaded before the widget is destroyed. #7790
76
108
  this._on( this.window, {
77
109
  beforeunload: function() {
78
110
  this.element.removeAttr( "autocomplete" );
79
111
  }
80
- });
112
+ } );
81
113
  },
82
114
 
83
115
  _getCreateOptions: function() {
84
- var options = {},
85
- element = this.element;
116
+ var options = this._super();
117
+ var element = this.element;
86
118
 
87
119
  $.each( [ "min", "max", "step" ], function( i, option ) {
88
120
  var value = element.attr( option );
89
- if ( value !== undefined && value.length ) {
121
+ if ( value != null && value.length ) {
90
122
  options[ option ] = value;
91
123
  }
92
- });
124
+ } );
93
125
 
94
126
  return options;
95
127
  },
@@ -117,16 +149,20 @@ $.widget( "ui.spinner", {
117
149
  }
118
150
  },
119
151
  mousewheel: function( event, delta ) {
120
- if ( !delta ) {
152
+ var activeElement = $.ui.safeActiveElement( this.document[ 0 ] );
153
+ var isActive = this.element[ 0 ] === activeElement;
154
+
155
+ if ( !isActive || !delta ) {
121
156
  return;
122
157
  }
158
+
123
159
  if ( !this.spinning && !this._start( event ) ) {
124
160
  return false;
125
161
  }
126
162
 
127
- this._spin( (delta > 0 ? 1 : -1) * this.options.step, event );
163
+ this._spin( ( delta > 0 ? 1 : -1 ) * this.options.step, event );
128
164
  clearTimeout( this.mousewheelTimer );
129
- this.mousewheelTimer = this._delay(function() {
165
+ this.mousewheelTimer = this._delay( function() {
130
166
  if ( this.spinning ) {
131
167
  this._stop( event );
132
168
  }
@@ -141,44 +177,47 @@ $.widget( "ui.spinner", {
141
177
  // If the input is focused then this.previous is properly set from
142
178
  // when the input first received focus. If the input is not focused
143
179
  // then we need to set this.previous based on the value before spinning.
144
- previous = this.element[0] === this.document[0].activeElement ?
180
+ previous = this.element[ 0 ] === $.ui.safeActiveElement( this.document[ 0 ] ) ?
145
181
  this.previous : this.element.val();
146
182
  function checkFocus() {
147
- var isActive = this.element[0] === this.document[0].activeElement;
183
+ var isActive = this.element[ 0 ] === $.ui.safeActiveElement( this.document[ 0 ] );
148
184
  if ( !isActive ) {
149
- this.element.focus();
185
+ this.element.trigger( "focus" );
150
186
  this.previous = previous;
187
+
151
188
  // support: IE
152
189
  // IE sets focus asynchronously, so we need to check if focus
153
190
  // moved off of the input because the user clicked on the button.
154
- this._delay(function() {
191
+ this._delay( function() {
155
192
  this.previous = previous;
156
- });
193
+ } );
157
194
  }
158
195
  }
159
196
 
160
- // ensure focus is on (or stays on) the text field
197
+ // Ensure focus is on (or stays on) the text field
161
198
  event.preventDefault();
162
199
  checkFocus.call( this );
163
200
 
164
- // support: IE
201
+ // Support: IE
165
202
  // IE doesn't prevent moving focus even with event.preventDefault()
166
203
  // so we set a flag to know when we should ignore the blur event
167
204
  // and check (again) if focus moved off of the input.
168
205
  this.cancelBlur = true;
169
- this._delay(function() {
206
+ this._delay( function() {
170
207
  delete this.cancelBlur;
171
208
  checkFocus.call( this );
172
- });
209
+ } );
173
210
 
174
211
  if ( this._start( event ) === false ) {
175
212
  return;
176
213
  }
177
214
 
178
- this._repeat( null, $( event.currentTarget ).hasClass( "ui-spinner-up" ) ? 1 : -1, event );
215
+ this._repeat( null, $( event.currentTarget )
216
+ .hasClass( "ui-spinner-up" ) ? 1 : -1, event );
179
217
  },
180
218
  "mouseup .ui-spinner-button": "_stop",
181
219
  "mouseenter .ui-spinner-button": function( event ) {
220
+
182
221
  // button will add ui-state-active if mouse was down while mouseleave and kept down
183
222
  if ( !$( event.currentTarget ).hasClass( "ui-state-active" ) ) {
184
223
  return;
@@ -187,41 +226,66 @@ $.widget( "ui.spinner", {
187
226
  if ( this._start( event ) === false ) {
188
227
  return false;
189
228
  }
190
- this._repeat( null, $( event.currentTarget ).hasClass( "ui-spinner-up" ) ? 1 : -1, event );
229
+ this._repeat( null, $( event.currentTarget )
230
+ .hasClass( "ui-spinner-up" ) ? 1 : -1, event );
191
231
  },
232
+
192
233
  // TODO: do we really want to consider this a stop?
193
234
  // shouldn't we just stop the repeater and wait until mouseup before
194
235
  // we trigger the stop event?
195
236
  "mouseleave .ui-spinner-button": "_stop"
196
237
  },
197
238
 
198
- _draw: function() {
199
- var uiSpinner = this.uiSpinner = this.element
200
- .addClass( "ui-spinner-input" )
239
+ // Support mobile enhanced option and make backcompat more sane
240
+ _enhance: function() {
241
+ this.uiSpinner = this.element
201
242
  .attr( "autocomplete", "off" )
202
- .wrap( this._uiSpinnerHtml() )
243
+ .wrap( "<span>" )
203
244
  .parent()
204
- // add buttons
205
- .append( this._buttonHtml() );
245
+
246
+ // Add buttons
247
+ .append(
248
+ "<a></a><a></a>"
249
+ );
250
+ },
251
+
252
+ _draw: function() {
253
+ this._enhance();
254
+
255
+ this._addClass( this.uiSpinner, "ui-spinner", "ui-widget ui-widget-content" );
256
+ this._addClass( "ui-spinner-input" );
206
257
 
207
258
  this.element.attr( "role", "spinbutton" );
208
259
 
209
- // button bindings
210
- this.buttons = uiSpinner.find( ".ui-spinner-button" )
260
+ // Button bindings
261
+ this.buttons = this.uiSpinner.children( "a" )
211
262
  .attr( "tabIndex", -1 )
212
- .button()
213
- .removeClass( "ui-corner-all" );
263
+ .attr( "aria-hidden", true )
264
+ .button( {
265
+ classes: {
266
+ "ui-button": ""
267
+ }
268
+ } );
269
+
270
+ // TODO: Right now button does not support classes this is already updated in button PR
271
+ this._removeClass( this.buttons, "ui-corner-all" );
272
+
273
+ this._addClass( this.buttons.first(), "ui-spinner-button ui-spinner-up" );
274
+ this._addClass( this.buttons.last(), "ui-spinner-button ui-spinner-down" );
275
+ this.buttons.first().button( {
276
+ "icon": this.options.icons.up,
277
+ "showLabel": false
278
+ } );
279
+ this.buttons.last().button( {
280
+ "icon": this.options.icons.down,
281
+ "showLabel": false
282
+ } );
214
283
 
215
284
  // IE 6 doesn't understand height: 50% for the buttons
216
285
  // unless the wrapper has an explicit height
217
- if ( this.buttons.height() > Math.ceil( uiSpinner.height() * 0.5 ) &&
218
- uiSpinner.height() > 0 ) {
219
- uiSpinner.height( uiSpinner.height() );
220
- }
221
-
222
- // disable spinner if element was already disabled
223
- if ( this.options.disabled ) {
224
- this.disable();
286
+ if ( this.buttons.height() > Math.ceil( this.uiSpinner.height() * 0.5 ) &&
287
+ this.uiSpinner.height() > 0 ) {
288
+ this.uiSpinner.height( this.uiSpinner.height() );
225
289
  }
226
290
  },
227
291
 
@@ -247,20 +311,6 @@ $.widget( "ui.spinner", {
247
311
  return false;
248
312
  },
249
313
 
250
- _uiSpinnerHtml: function() {
251
- return "<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>";
252
- },
253
-
254
- _buttonHtml: function() {
255
- return "" +
256
- "<a class='ui-spinner-button ui-spinner-up ui-corner-tr'>" +
257
- "<span class='ui-icon " + this.options.icons.up + "'>&#9650;</span>" +
258
- "</a>" +
259
- "<a class='ui-spinner-button ui-spinner-down ui-corner-br'>" +
260
- "<span class='ui-icon " + this.options.icons.down + "'>&#9660;</span>" +
261
- "</a>";
262
- },
263
-
264
314
  _start: function( event ) {
265
315
  if ( !this.spinning && this._trigger( "start", event ) === false ) {
266
316
  return false;
@@ -277,7 +327,7 @@ $.widget( "ui.spinner", {
277
327
  i = i || 500;
278
328
 
279
329
  clearTimeout( this.timer );
280
- this.timer = this._delay(function() {
330
+ this.timer = this._delay( function() {
281
331
  this._repeat( 40, steps, event );
282
332
  }, i );
283
333
 
@@ -293,7 +343,7 @@ $.widget( "ui.spinner", {
293
343
 
294
344
  value = this._adjustValue( value + step * this._increment( this.counter ) );
295
345
 
296
- if ( !this.spinning || this._trigger( "spin", event, { value: value } ) !== false) {
346
+ if ( !this.spinning || this._trigger( "spin", event, { value: value } ) !== false ) {
297
347
  this._value( value );
298
348
  this.counter++;
299
349
  }
@@ -303,9 +353,9 @@ $.widget( "ui.spinner", {
303
353
  var incremental = this.options.incremental;
304
354
 
305
355
  if ( incremental ) {
306
- return $.isFunction( incremental ) ?
356
+ return typeof incremental === "function" ?
307
357
  incremental( i ) :
308
- Math.floor( i*i*i/50000 - i*i/500 + 17*i/200 + 1 );
358
+ Math.floor( i * i * i / 50000 - i * i / 500 + 17 * i / 200 + 1 );
309
359
  }
310
360
 
311
361
  return 1;
@@ -329,20 +379,22 @@ $.widget( "ui.spinner", {
329
379
  var base, aboveMin,
330
380
  options = this.options;
331
381
 
332
- // make sure we're at a valid step
382
+ // Make sure we're at a valid step
333
383
  // - find out where we are relative to the base (min or 0)
334
384
  base = options.min !== null ? options.min : 0;
335
385
  aboveMin = value - base;
386
+
336
387
  // - round to the nearest step
337
- aboveMin = Math.round(aboveMin / options.step) * options.step;
388
+ aboveMin = Math.round( aboveMin / options.step ) * options.step;
389
+
338
390
  // - rounding is based on 0, so adjust back to our base
339
391
  value = base + aboveMin;
340
392
 
341
- // fix precision from bad JS floating point math
393
+ // Fix precision from bad JS floating point math
342
394
  value = parseFloat( value.toFixed( this._precision() ) );
343
395
 
344
- // clamp the value
345
- if ( options.max !== null && value > options.max) {
396
+ // Clamp the value
397
+ if ( options.max !== null && value > options.max ) {
346
398
  return options.max;
347
399
  }
348
400
  if ( options.min !== null && value < options.min ) {
@@ -365,8 +417,10 @@ $.widget( "ui.spinner", {
365
417
  },
366
418
 
367
419
  _setOption: function( key, value ) {
420
+ var prevValue, first, last;
421
+
368
422
  if ( key === "culture" || key === "numberFormat" ) {
369
- var prevValue = this._parse( this.element.val() );
423
+ prevValue = this._parse( this.element.val() );
370
424
  this.options[ key ] = value;
371
425
  this.element.val( this._format( prevValue ) );
372
426
  return;
@@ -378,31 +432,28 @@ $.widget( "ui.spinner", {
378
432
  }
379
433
  }
380
434
  if ( key === "icons" ) {
381
- this.buttons.first().find( ".ui-icon" )
382
- .removeClass( this.options.icons.up )
383
- .addClass( value.up );
384
- this.buttons.last().find( ".ui-icon" )
385
- .removeClass( this.options.icons.down )
386
- .addClass( value.down );
435
+ first = this.buttons.first().find( ".ui-icon" );
436
+ this._removeClass( first, null, this.options.icons.up );
437
+ this._addClass( first, null, value.up );
438
+ last = this.buttons.last().find( ".ui-icon" );
439
+ this._removeClass( last, null, this.options.icons.down );
440
+ this._addClass( last, null, value.down );
387
441
  }
388
442
 
389
443
  this._super( key, value );
444
+ },
390
445
 
391
- if ( key === "disabled" ) {
392
- if ( value ) {
393
- this.element.prop( "disabled", true );
394
- this.buttons.button( "disable" );
395
- } else {
396
- this.element.prop( "disabled", false );
397
- this.buttons.button( "enable" );
398
- }
399
- }
446
+ _setOptionDisabled: function( value ) {
447
+ this._super( value );
448
+
449
+ this._toggleClass( this.uiSpinner, null, "ui-state-disabled", !!value );
450
+ this.element.prop( "disabled", !!value );
451
+ this.buttons.button( value ? "disable" : "enable" );
400
452
  },
401
453
 
402
- _setOptions: modifier(function( options ) {
454
+ _setOptions: spinnerModifier( function( options ) {
403
455
  this._super( options );
404
- this._value( this.element.val() );
405
- }),
456
+ } ),
406
457
 
407
458
  _parse: function( val ) {
408
459
  if ( typeof val === "string" && val !== "" ) {
@@ -422,15 +473,28 @@ $.widget( "ui.spinner", {
422
473
  },
423
474
 
424
475
  _refresh: function() {
425
- this.element.attr({
476
+ this.element.attr( {
426
477
  "aria-valuemin": this.options.min,
427
478
  "aria-valuemax": this.options.max,
479
+
428
480
  // TODO: what should we do with values that can't be parsed?
429
481
  "aria-valuenow": this._parse( this.element.val() )
430
- });
482
+ } );
431
483
  },
432
484
 
433
- // update the value without triggering change
485
+ isValid: function() {
486
+ var value = this.value();
487
+
488
+ // Null is invalid
489
+ if ( value === null ) {
490
+ return false;
491
+ }
492
+
493
+ // If value gets adjusted, it's invalid
494
+ return value === this._adjustValue( value );
495
+ },
496
+
497
+ // Update the value without triggering change
434
498
  _value: function( value, allowAny ) {
435
499
  var parsed;
436
500
  if ( value !== "" ) {
@@ -448,54 +512,77 @@ $.widget( "ui.spinner", {
448
512
 
449
513
  _destroy: function() {
450
514
  this.element
451
- .removeClass( "ui-spinner-input" )
452
515
  .prop( "disabled", false )
453
- .removeAttr( "autocomplete" )
454
- .removeAttr( "role" )
455
- .removeAttr( "aria-valuemin" )
456
- .removeAttr( "aria-valuemax" )
457
- .removeAttr( "aria-valuenow" );
516
+ .removeAttr( "autocomplete role aria-valuemin aria-valuemax aria-valuenow" );
517
+
458
518
  this.uiSpinner.replaceWith( this.element );
459
519
  },
460
520
 
461
- stepUp: modifier(function( steps ) {
521
+ stepUp: spinnerModifier( function( steps ) {
462
522
  this._stepUp( steps );
463
- }),
523
+ } ),
464
524
  _stepUp: function( steps ) {
465
525
  if ( this._start() ) {
466
- this._spin( (steps || 1) * this.options.step );
526
+ this._spin( ( steps || 1 ) * this.options.step );
467
527
  this._stop();
468
528
  }
469
529
  },
470
530
 
471
- stepDown: modifier(function( steps ) {
531
+ stepDown: spinnerModifier( function( steps ) {
472
532
  this._stepDown( steps );
473
- }),
533
+ } ),
474
534
  _stepDown: function( steps ) {
475
535
  if ( this._start() ) {
476
- this._spin( (steps || 1) * -this.options.step );
536
+ this._spin( ( steps || 1 ) * -this.options.step );
477
537
  this._stop();
478
538
  }
479
539
  },
480
540
 
481
- pageUp: modifier(function( pages ) {
482
- this._stepUp( (pages || 1) * this.options.page );
483
- }),
541
+ pageUp: spinnerModifier( function( pages ) {
542
+ this._stepUp( ( pages || 1 ) * this.options.page );
543
+ } ),
484
544
 
485
- pageDown: modifier(function( pages ) {
486
- this._stepDown( (pages || 1) * this.options.page );
487
- }),
545
+ pageDown: spinnerModifier( function( pages ) {
546
+ this._stepDown( ( pages || 1 ) * this.options.page );
547
+ } ),
488
548
 
489
549
  value: function( newVal ) {
490
550
  if ( !arguments.length ) {
491
551
  return this._parse( this.element.val() );
492
552
  }
493
- modifier( this._value ).call( this, newVal );
553
+ spinnerModifier( this._value ).call( this, newVal );
494
554
  },
495
555
 
496
556
  widget: function() {
497
557
  return this.uiSpinner;
498
558
  }
499
- });
559
+ } );
560
+
561
+ // DEPRECATED
562
+ // TODO: switch return back to widget declaration at top of file when this is removed
563
+ if ( $.uiBackCompat !== false ) {
564
+
565
+ // Backcompat for spinner html extension points
566
+ $.widget( "ui.spinner", $.ui.spinner, {
567
+ _enhance: function() {
568
+ this.uiSpinner = this.element
569
+ .attr( "autocomplete", "off" )
570
+ .wrap( this._uiSpinnerHtml() )
571
+ .parent()
572
+
573
+ // Add buttons
574
+ .append( this._buttonHtml() );
575
+ },
576
+ _uiSpinnerHtml: function() {
577
+ return "<span>";
578
+ },
579
+
580
+ _buttonHtml: function() {
581
+ return "<a></a><a></a>";
582
+ }
583
+ } );
584
+ }
585
+
586
+ return $.ui.spinner;
500
587
 
501
- }( jQuery ) );
588
+ } );