jquery-ui-rails 4.2.1 → 8.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 (291) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +1 -1
  3. data/History.md +45 -2
  4. data/README.md +100 -83
  5. data/Rakefile +82 -49
  6. data/VERSIONS.md +10 -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/data.js +39 -0
  15. data/app/assets/javascripts/jquery-ui/disable-selection.js +51 -0
  16. data/app/assets/javascripts/jquery-ui/effect.all.js +15 -0
  17. data/app/assets/javascripts/jquery-ui/effect.js +954 -0
  18. data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +76 -0
  19. data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +116 -0
  20. data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +71 -0
  21. data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +75 -0
  22. data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +117 -0
  23. data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +53 -0
  24. data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +95 -0
  25. data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +63 -0
  26. data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +49 -0
  27. data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +70 -0
  28. data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +63 -0
  29. data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +80 -0
  30. data/app/assets/javascripts/jquery-ui/effects/effect-size.js +199 -0
  31. data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +82 -0
  32. data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +46 -0
  33. data/app/assets/javascripts/jquery-ui/focusable.js +79 -0
  34. data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +81 -0
  35. data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +40 -0
  36. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +42 -0
  37. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +42 -0
  38. data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +40 -0
  39. data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +40 -0
  40. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +41 -0
  41. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +40 -0
  42. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +40 -0
  43. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +40 -0
  44. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +48 -0
  45. data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +40 -0
  46. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +41 -0
  47. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +40 -0
  48. data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +40 -0
  49. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +40 -0
  50. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +40 -0
  51. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +40 -0
  52. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +40 -0
  53. data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +40 -0
  54. data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +48 -0
  55. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +39 -0
  56. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +76 -0
  57. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +40 -0
  58. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +48 -0
  59. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +40 -0
  60. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +40 -0
  61. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +42 -0
  62. data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +40 -0
  63. data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +40 -0
  64. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +40 -0
  65. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +40 -0
  66. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +39 -0
  67. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +40 -0
  68. data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +41 -0
  69. data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +48 -0
  70. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +40 -0
  71. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +40 -0
  72. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +40 -0
  73. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +51 -0
  74. data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +40 -0
  75. data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +40 -0
  76. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +40 -0
  77. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +41 -0
  78. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +48 -0
  79. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +48 -0
  80. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +48 -0
  81. data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +40 -0
  82. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +40 -0
  83. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +40 -0
  84. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +52 -0
  85. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +40 -0
  86. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +40 -0
  87. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +52 -0
  88. data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +53 -0
  89. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +40 -0
  90. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +48 -0
  91. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +47 -0
  92. data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +64 -0
  93. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +43 -0
  94. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +40 -0
  95. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +40 -0
  96. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +41 -0
  97. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +40 -0
  98. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +40 -0
  99. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +40 -0
  100. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +40 -0
  101. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +56 -0
  102. data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +40 -0
  103. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +40 -0
  104. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +40 -0
  105. data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +41 -0
  106. data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +40 -0
  107. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +40 -0
  108. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +40 -0
  109. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +40 -0
  110. data/app/assets/javascripts/jquery-ui/jquery-patch.js +58 -0
  111. data/app/assets/javascripts/jquery-ui/jquery-var-for-color.js +24 -0
  112. data/app/assets/javascripts/jquery-ui/keycode.js +51 -0
  113. data/app/assets/javascripts/jquery-ui/labels.js +70 -0
  114. data/app/assets/javascripts/jquery-ui/plugin.js +49 -0
  115. data/app/assets/javascripts/{jquery.ui.position.js → jquery-ui/position.js} +123 -111
  116. data/app/assets/javascripts/jquery-ui/scroll-parent.js +50 -0
  117. data/app/assets/javascripts/jquery-ui/tabbable.js +41 -0
  118. data/app/assets/javascripts/jquery-ui/unique-id.js +54 -0
  119. data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +691 -0
  120. data/app/assets/javascripts/jquery-ui/version.js +20 -0
  121. data/app/assets/javascripts/jquery-ui/widget.js +761 -0
  122. data/app/assets/javascripts/{jquery.ui.accordion.js → jquery-ui/widgets/accordion.js} +263 -209
  123. data/app/assets/javascripts/{jquery.ui.autocomplete.js → jquery-ui/widgets/autocomplete.js} +177 -142
  124. data/app/assets/javascripts/jquery-ui/widgets/button.js +454 -0
  125. data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +294 -0
  126. data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +304 -0
  127. data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2240 -0
  128. data/app/assets/javascripts/jquery-ui/widgets/dialog.js +957 -0
  129. data/app/assets/javascripts/jquery-ui/widgets/draggable.js +1264 -0
  130. data/app/assets/javascripts/jquery-ui/widgets/droppable.js +508 -0
  131. data/app/assets/javascripts/{jquery.ui.menu.js → jquery-ui/widgets/menu.js} +276 -189
  132. data/app/assets/javascripts/jquery-ui/widgets/mouse.js +226 -0
  133. data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +184 -0
  134. data/app/assets/javascripts/jquery-ui/widgets/resizable.js +1281 -0
  135. data/app/assets/javascripts/jquery-ui/widgets/selectable.js +321 -0
  136. data/app/assets/javascripts/jquery-ui/widgets/selectmenu.js +675 -0
  137. data/app/assets/javascripts/{jquery.ui.slider.js → jquery-ui/widgets/slider.js} +256 -176
  138. data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1614 -0
  139. data/app/assets/javascripts/{jquery.ui.spinner.js → jquery-ui/widgets/spinner.js} +200 -137
  140. data/app/assets/javascripts/{jquery.ui.tabs.js → jquery-ui/widgets/tabs.js} +322 -277
  141. data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +528 -0
  142. data/app/assets/javascripts/jquery-ui.js +52 -0
  143. data/app/assets/stylesheets/jquery-ui/accordion.css +26 -0
  144. data/app/assets/stylesheets/jquery-ui/all.css +14 -0
  145. data/app/assets/stylesheets/jquery-ui/autocomplete.css +19 -0
  146. data/app/assets/stylesheets/jquery-ui/base.css +32 -0
  147. data/app/assets/stylesheets/jquery-ui/button.css +80 -0
  148. data/app/assets/stylesheets/jquery-ui/checkboxradio.css +37 -0
  149. data/app/assets/stylesheets/jquery-ui/controlgroup.css +65 -0
  150. data/app/assets/stylesheets/{jquery.ui.core.css.erb → jquery-ui/core.css} +15 -12
  151. data/app/assets/stylesheets/{jquery.ui.datepicker.css.erb → jquery-ui/datepicker.css} +17 -8
  152. data/app/assets/stylesheets/{jquery.ui.dialog.css.erb → jquery-ui/dialog.css} +43 -15
  153. data/app/assets/stylesheets/jquery-ui/draggable.css +14 -0
  154. data/app/assets/stylesheets/jquery-ui/menu.css +65 -0
  155. data/app/assets/stylesheets/jquery-ui/progressbar.css +30 -0
  156. data/app/assets/stylesheets/{jquery.ui.resizable.css.erb → jquery-ui/resizable.css} +6 -6
  157. data/app/assets/stylesheets/jquery-ui/selectable.css +19 -0
  158. data/app/assets/stylesheets/jquery-ui/selectmenu.css +53 -0
  159. data/app/assets/stylesheets/{jquery.ui.slider.css.erb → jquery-ui/slider.css} +8 -14
  160. data/app/assets/stylesheets/jquery-ui/sortable.css +14 -0
  161. data/app/assets/stylesheets/{jquery.ui.spinner.css.erb → jquery-ui/spinner.css} +12 -27
  162. data/app/assets/stylesheets/{jquery.ui.tabs.css.erb → jquery-ui/tabs.css} +6 -7
  163. data/app/assets/stylesheets/{jquery.ui.theme.css.erb → jquery-ui/theme.css.erb} +121 -102
  164. data/app/assets/stylesheets/jquery-ui/tooltip.css +22 -0
  165. data/app/assets/stylesheets/jquery-ui.css +1 -0
  166. data/lib/jquery/ui/rails/version.rb +2 -2
  167. metadata +178 -169
  168. data/app/assets/images/jquery-ui/animated-overlay.gif +0 -0
  169. data/app/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  170. data/app/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  171. data/app/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  172. data/app/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
  173. data/app/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  174. data/app/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  175. data/app/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  176. data/app/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
  177. data/app/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
  178. data/app/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
  179. data/app/assets/images/jquery-ui/ui-icons_888888_256x240.png +0 -0
  180. data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
  181. data/app/assets/javascripts/jquery.ui.all.js +0 -34
  182. data/app/assets/javascripts/jquery.ui.button.js +0 -398
  183. data/app/assets/javascripts/jquery.ui.core.js +0 -320
  184. data/app/assets/javascripts/jquery.ui.datepicker-af.js +0 -23
  185. data/app/assets/javascripts/jquery.ui.datepicker-ar-DZ.js +0 -23
  186. data/app/assets/javascripts/jquery.ui.datepicker-ar.js +0 -23
  187. data/app/assets/javascripts/jquery.ui.datepicker-az.js +0 -23
  188. data/app/assets/javascripts/jquery.ui.datepicker-be.js +0 -23
  189. data/app/assets/javascripts/jquery.ui.datepicker-bg.js +0 -24
  190. data/app/assets/javascripts/jquery.ui.datepicker-bs.js +0 -23
  191. data/app/assets/javascripts/jquery.ui.datepicker-ca.js +0 -23
  192. data/app/assets/javascripts/jquery.ui.datepicker-cs.js +0 -23
  193. data/app/assets/javascripts/jquery.ui.datepicker-cy-GB.js +0 -23
  194. data/app/assets/javascripts/jquery.ui.datepicker-da.js +0 -23
  195. data/app/assets/javascripts/jquery.ui.datepicker-de.js +0 -23
  196. data/app/assets/javascripts/jquery.ui.datepicker-el.js +0 -23
  197. data/app/assets/javascripts/jquery.ui.datepicker-en-AU.js +0 -23
  198. data/app/assets/javascripts/jquery.ui.datepicker-en-GB.js +0 -23
  199. data/app/assets/javascripts/jquery.ui.datepicker-en-NZ.js +0 -23
  200. data/app/assets/javascripts/jquery.ui.datepicker-eo.js +0 -23
  201. data/app/assets/javascripts/jquery.ui.datepicker-es.js +0 -23
  202. data/app/assets/javascripts/jquery.ui.datepicker-et.js +0 -23
  203. data/app/assets/javascripts/jquery.ui.datepicker-eu.js +0 -23
  204. data/app/assets/javascripts/jquery.ui.datepicker-fa.js +0 -59
  205. data/app/assets/javascripts/jquery.ui.datepicker-fi.js +0 -23
  206. data/app/assets/javascripts/jquery.ui.datepicker-fo.js +0 -23
  207. data/app/assets/javascripts/jquery.ui.datepicker-fr-CA.js +0 -23
  208. data/app/assets/javascripts/jquery.ui.datepicker-fr-CH.js +0 -23
  209. data/app/assets/javascripts/jquery.ui.datepicker-fr.js +0 -25
  210. data/app/assets/javascripts/jquery.ui.datepicker-gl.js +0 -23
  211. data/app/assets/javascripts/jquery.ui.datepicker-he.js +0 -23
  212. data/app/assets/javascripts/jquery.ui.datepicker-hi.js +0 -23
  213. data/app/assets/javascripts/jquery.ui.datepicker-hr.js +0 -23
  214. data/app/assets/javascripts/jquery.ui.datepicker-hu.js +0 -23
  215. data/app/assets/javascripts/jquery.ui.datepicker-hy.js +0 -23
  216. data/app/assets/javascripts/jquery.ui.datepicker-id.js +0 -23
  217. data/app/assets/javascripts/jquery.ui.datepicker-is.js +0 -23
  218. data/app/assets/javascripts/jquery.ui.datepicker-it.js +0 -23
  219. data/app/assets/javascripts/jquery.ui.datepicker-ja.js +0 -23
  220. data/app/assets/javascripts/jquery.ui.datepicker-ka.js +0 -21
  221. data/app/assets/javascripts/jquery.ui.datepicker-kk.js +0 -23
  222. data/app/assets/javascripts/jquery.ui.datepicker-km.js +0 -23
  223. data/app/assets/javascripts/jquery.ui.datepicker-ko.js +0 -23
  224. data/app/assets/javascripts/jquery.ui.datepicker-ky.js +0 -24
  225. data/app/assets/javascripts/jquery.ui.datepicker-lb.js +0 -23
  226. data/app/assets/javascripts/jquery.ui.datepicker-lt.js +0 -23
  227. data/app/assets/javascripts/jquery.ui.datepicker-lv.js +0 -23
  228. data/app/assets/javascripts/jquery.ui.datepicker-mk.js +0 -23
  229. data/app/assets/javascripts/jquery.ui.datepicker-ml.js +0 -23
  230. data/app/assets/javascripts/jquery.ui.datepicker-ms.js +0 -23
  231. data/app/assets/javascripts/jquery.ui.datepicker-nb.js +0 -22
  232. data/app/assets/javascripts/jquery.ui.datepicker-nl-BE.js +0 -23
  233. data/app/assets/javascripts/jquery.ui.datepicker-nl.js +0 -23
  234. data/app/assets/javascripts/jquery.ui.datepicker-nn.js +0 -22
  235. data/app/assets/javascripts/jquery.ui.datepicker-no.js +0 -23
  236. data/app/assets/javascripts/jquery.ui.datepicker-pl.js +0 -23
  237. data/app/assets/javascripts/jquery.ui.datepicker-pt-BR.js +0 -23
  238. data/app/assets/javascripts/jquery.ui.datepicker-pt.js +0 -22
  239. data/app/assets/javascripts/jquery.ui.datepicker-rm.js +0 -21
  240. data/app/assets/javascripts/jquery.ui.datepicker-ro.js +0 -26
  241. data/app/assets/javascripts/jquery.ui.datepicker-ru.js +0 -23
  242. data/app/assets/javascripts/jquery.ui.datepicker-sk.js +0 -23
  243. data/app/assets/javascripts/jquery.ui.datepicker-sl.js +0 -24
  244. data/app/assets/javascripts/jquery.ui.datepicker-sq.js +0 -23
  245. data/app/assets/javascripts/jquery.ui.datepicker-sr-SR.js +0 -23
  246. data/app/assets/javascripts/jquery.ui.datepicker-sr.js +0 -23
  247. data/app/assets/javascripts/jquery.ui.datepicker-sv.js +0 -23
  248. data/app/assets/javascripts/jquery.ui.datepicker-ta.js +0 -23
  249. data/app/assets/javascripts/jquery.ui.datepicker-th.js +0 -23
  250. data/app/assets/javascripts/jquery.ui.datepicker-tj.js +0 -23
  251. data/app/assets/javascripts/jquery.ui.datepicker-tr.js +0 -23
  252. data/app/assets/javascripts/jquery.ui.datepicker-uk.js +0 -24
  253. data/app/assets/javascripts/jquery.ui.datepicker-vi.js +0 -23
  254. data/app/assets/javascripts/jquery.ui.datepicker-zh-CN.js +0 -23
  255. data/app/assets/javascripts/jquery.ui.datepicker-zh-HK.js +0 -23
  256. data/app/assets/javascripts/jquery.ui.datepicker-zh-TW.js +0 -23
  257. data/app/assets/javascripts/jquery.ui.datepicker.js +0 -2040
  258. data/app/assets/javascripts/jquery.ui.dialog.js +0 -830
  259. data/app/assets/javascripts/jquery.ui.draggable.js +0 -962
  260. data/app/assets/javascripts/jquery.ui.droppable.js +0 -394
  261. data/app/assets/javascripts/jquery.ui.effect-blind.js +0 -84
  262. data/app/assets/javascripts/jquery.ui.effect-bounce.js +0 -115
  263. data/app/assets/javascripts/jquery.ui.effect-clip.js +0 -69
  264. data/app/assets/javascripts/jquery.ui.effect-drop.js +0 -67
  265. data/app/assets/javascripts/jquery.ui.effect-explode.js +0 -99
  266. data/app/assets/javascripts/jquery.ui.effect-fade.js +0 -32
  267. data/app/assets/javascripts/jquery.ui.effect-fold.js +0 -78
  268. data/app/assets/javascripts/jquery.ui.effect-highlight.js +0 -52
  269. data/app/assets/javascripts/jquery.ui.effect-pulsate.js +0 -65
  270. data/app/assets/javascripts/jquery.ui.effect-scale.js +0 -320
  271. data/app/assets/javascripts/jquery.ui.effect-shake.js +0 -76
  272. data/app/assets/javascripts/jquery.ui.effect-slide.js +0 -66
  273. data/app/assets/javascripts/jquery.ui.effect-transfer.js +0 -49
  274. data/app/assets/javascripts/jquery.ui.effect.all.js +0 -14
  275. data/app/assets/javascripts/jquery.ui.effect.js +0 -1289
  276. data/app/assets/javascripts/jquery.ui.mouse.js +0 -172
  277. data/app/assets/javascripts/jquery.ui.progressbar.js +0 -148
  278. data/app/assets/javascripts/jquery.ui.resizable.js +0 -982
  279. data/app/assets/javascripts/jquery.ui.selectable.js +0 -281
  280. data/app/assets/javascripts/jquery.ui.sortable.js +0 -1293
  281. data/app/assets/javascripts/jquery.ui.tooltip.js +0 -406
  282. data/app/assets/javascripts/jquery.ui.widget.js +0 -521
  283. data/app/assets/stylesheets/jquery.ui.accordion.css.erb +0 -42
  284. data/app/assets/stylesheets/jquery.ui.all.css.erb +0 -14
  285. data/app/assets/stylesheets/jquery.ui.autocomplete.css.erb +0 -21
  286. data/app/assets/stylesheets/jquery.ui.base.css.erb +0 -27
  287. data/app/assets/stylesheets/jquery.ui.button.css.erb +0 -118
  288. data/app/assets/stylesheets/jquery.ui.menu.css.erb +0 -83
  289. data/app/assets/stylesheets/jquery.ui.progressbar.css.erb +0 -37
  290. data/app/assets/stylesheets/jquery.ui.selectable.css.erb +0 -17
  291. data/app/assets/stylesheets/jquery.ui.tooltip.css.erb +0 -25
@@ -0,0 +1,675 @@
1
+ //= require jquery-ui/widgets/menu
2
+ //= require jquery-ui/form-reset-mixin
3
+ //= require jquery-ui/keycode
4
+ //= require jquery-ui/labels
5
+ //= require jquery-ui/position
6
+ //= require jquery-ui/unique-id
7
+ //= require jquery-ui/version
8
+ //= require jquery-ui/widget
9
+
10
+ /*!
11
+ * jQuery UI Selectmenu 1.14.1
12
+ * https://jqueryui.com
13
+ *
14
+ * Copyright OpenJS Foundation and other contributors
15
+ * Released under the MIT license.
16
+ * https://jquery.org/license
17
+ */
18
+
19
+ //>>label: Selectmenu
20
+ //>>group: Widgets
21
+ /* eslint-disable max-len */
22
+ //>>description: Duplicates and extends the functionality of a native HTML select element, allowing it to be customizable in behavior and appearance far beyond the limitations of a native select.
23
+ /* eslint-enable max-len */
24
+ //>>docs: https://api.jqueryui.com/selectmenu/
25
+ //>>demos: https://jqueryui.com/selectmenu/
26
+ //>>css.structure: ../../themes/base/core.css
27
+ //>>css.structure: ../../themes/base/selectmenu.css, ../../themes/base/button.css
28
+ //>>css.theme: ../../themes/base/theme.css
29
+
30
+ ( function( factory ) {
31
+ "use strict";
32
+
33
+ if ( typeof define === "function" && define.amd ) {
34
+
35
+ // AMD. Register as an anonymous module.
36
+ define( [
37
+ "jquery",
38
+ "./menu",
39
+ "../form-reset-mixin",
40
+ "../keycode",
41
+ "../labels",
42
+ "../position",
43
+ "../unique-id",
44
+ "../version",
45
+ "../widget"
46
+ ], factory );
47
+ } else {
48
+
49
+ // Browser globals
50
+ factory( jQuery );
51
+ }
52
+ } )( function( $ ) {
53
+ "use strict";
54
+
55
+ return $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
56
+ version: "1.14.1",
57
+ defaultElement: "<select>",
58
+ options: {
59
+ appendTo: null,
60
+ classes: {
61
+ "ui-selectmenu-button-open": "ui-corner-top",
62
+ "ui-selectmenu-button-closed": "ui-corner-all"
63
+ },
64
+ disabled: null,
65
+ icons: {
66
+ button: "ui-icon-triangle-1-s"
67
+ },
68
+ position: {
69
+ my: "left top",
70
+ at: "left bottom",
71
+ collision: "none"
72
+ },
73
+ width: false,
74
+
75
+ // Callbacks
76
+ change: null,
77
+ close: null,
78
+ focus: null,
79
+ open: null,
80
+ select: null
81
+ },
82
+
83
+ _create: function() {
84
+ var selectmenuId = this.element.uniqueId().attr( "id" );
85
+ this.ids = {
86
+ element: selectmenuId,
87
+ button: selectmenuId + "-button",
88
+ menu: selectmenuId + "-menu"
89
+ };
90
+
91
+ this._drawButton();
92
+ this._drawMenu();
93
+ this._bindFormResetHandler();
94
+
95
+ this._rendered = false;
96
+ this.menuItems = $();
97
+ },
98
+
99
+ _drawButton: function() {
100
+ var icon,
101
+ that = this,
102
+ item = this._parseOption(
103
+ this.element.find( "option:selected" ),
104
+ this.element[ 0 ].selectedIndex
105
+ );
106
+
107
+ // Associate existing label with the new button
108
+ this.labels = this.element.labels().attr( "for", this.ids.button );
109
+ this._on( this.labels, {
110
+ click: function( event ) {
111
+ this.button.trigger( "focus" );
112
+ event.preventDefault();
113
+ }
114
+ } );
115
+
116
+ // Hide original select element
117
+ this.element.hide();
118
+
119
+ // Create button
120
+ this.button = $( "<span>", {
121
+ tabindex: this.options.disabled ? -1 : 0,
122
+ id: this.ids.button,
123
+ role: "combobox",
124
+ "aria-expanded": "false",
125
+ "aria-autocomplete": "list",
126
+ "aria-owns": this.ids.menu,
127
+ "aria-haspopup": "true",
128
+ title: this.element.attr( "title" )
129
+ } )
130
+ .insertAfter( this.element );
131
+
132
+ this._addClass( this.button, "ui-selectmenu-button ui-selectmenu-button-closed",
133
+ "ui-button ui-widget" );
134
+
135
+ icon = $( "<span>" ).appendTo( this.button );
136
+ this._addClass( icon, "ui-selectmenu-icon", "ui-icon " + this.options.icons.button );
137
+ this.buttonItem = this._renderButtonItem( item )
138
+ .appendTo( this.button );
139
+
140
+ if ( this.options.width !== false ) {
141
+ this._resizeButton();
142
+ }
143
+
144
+ this._on( this.button, this._buttonEvents );
145
+ this.button.one( "focusin", function() {
146
+
147
+ // Delay rendering the menu items until the button receives focus.
148
+ // The menu may have already been rendered via a programmatic open.
149
+ if ( !that._rendered ) {
150
+ that._refreshMenu();
151
+ }
152
+ } );
153
+ },
154
+
155
+ _drawMenu: function() {
156
+ var that = this;
157
+
158
+ // Create menu
159
+ this.menu = $( "<ul>", {
160
+ "aria-hidden": "true",
161
+ "aria-labelledby": this.ids.button,
162
+ id: this.ids.menu
163
+ } );
164
+
165
+ // Wrap menu
166
+ this.menuWrap = $( "<div>" ).append( this.menu );
167
+ this._addClass( this.menuWrap, "ui-selectmenu-menu", "ui-front" );
168
+ this.menuWrap.appendTo( this._appendTo() );
169
+
170
+ // Initialize menu widget
171
+ this.menuInstance = this.menu
172
+ .menu( {
173
+ classes: {
174
+ "ui-menu": "ui-corner-bottom"
175
+ },
176
+ role: "listbox",
177
+ select: function( event, ui ) {
178
+ event.preventDefault();
179
+ that._select( ui.item.data( "ui-selectmenu-item" ), event );
180
+ },
181
+ focus: function( event, ui ) {
182
+ var item = ui.item.data( "ui-selectmenu-item" );
183
+
184
+ // Prevent inital focus from firing and check if its a newly focused item
185
+ if ( that.focusIndex != null && item.index !== that.focusIndex ) {
186
+ that._trigger( "focus", event, { item: item } );
187
+ if ( !that.isOpen ) {
188
+ that._select( item, event );
189
+ }
190
+ }
191
+ that.focusIndex = item.index;
192
+
193
+ that.button.attr( "aria-activedescendant",
194
+ that.menuItems.eq( item.index ).attr( "id" ) );
195
+ }
196
+ } )
197
+ .menu( "instance" );
198
+
199
+ // Don't close the menu on mouseleave
200
+ this.menuInstance._off( this.menu, "mouseleave" );
201
+
202
+ // Cancel the menu's collapseAll on document click
203
+ this.menuInstance._closeOnDocumentClick = function() {
204
+ return false;
205
+ };
206
+
207
+ // Selects often contain empty items, but never contain dividers
208
+ this.menuInstance._isDivider = function() {
209
+ return false;
210
+ };
211
+ },
212
+
213
+ refresh: function() {
214
+ this._refreshMenu();
215
+ this.buttonItem.replaceWith(
216
+ this.buttonItem = this._renderButtonItem(
217
+
218
+ // Fall back to an empty object in case there are no options
219
+ this._getSelectedItem().data( "ui-selectmenu-item" ) || {}
220
+ )
221
+ );
222
+ if ( this.options.width === null ) {
223
+ this._resizeButton();
224
+ }
225
+ },
226
+
227
+ _refreshMenu: function() {
228
+ var item,
229
+ options = this.element.find( "option" );
230
+
231
+ this.menu.empty();
232
+
233
+ this._parseOptions( options );
234
+ this._renderMenu( this.menu, this.items );
235
+
236
+ this.menuInstance.refresh();
237
+ this.menuItems = this.menu.find( "li" )
238
+ .not( ".ui-selectmenu-optgroup" )
239
+ .find( ".ui-menu-item-wrapper" );
240
+
241
+ this._rendered = true;
242
+
243
+ if ( !options.length ) {
244
+ return;
245
+ }
246
+
247
+ item = this._getSelectedItem();
248
+
249
+ // Update the menu to have the correct item focused
250
+ this.menuInstance.focus( null, item );
251
+ this._setAria( item.data( "ui-selectmenu-item" ) );
252
+
253
+ // Set disabled state
254
+ this._setOption( "disabled", this.element.prop( "disabled" ) );
255
+ },
256
+
257
+ open: function( event ) {
258
+ if ( this.options.disabled ) {
259
+ return;
260
+ }
261
+
262
+ // If this is the first time the menu is being opened, render the items
263
+ if ( !this._rendered ) {
264
+ this._refreshMenu();
265
+ } else {
266
+
267
+ // Menu clears focus on close, reset focus to selected item
268
+ this._removeClass( this.menu.find( ".ui-state-active" ), null, "ui-state-active" );
269
+ this.menuInstance.focus( null, this._getSelectedItem() );
270
+ }
271
+
272
+ // If there are no options, don't open the menu
273
+ if ( !this.menuItems.length ) {
274
+ return;
275
+ }
276
+
277
+ this.isOpen = true;
278
+ this._toggleAttr();
279
+ this._resizeMenu();
280
+ this._position();
281
+
282
+ this._on( this.document, this._documentClick );
283
+
284
+ this._trigger( "open", event );
285
+ },
286
+
287
+ _position: function() {
288
+ this.menuWrap.position( $.extend( { of: this.button }, this.options.position ) );
289
+ },
290
+
291
+ close: function( event ) {
292
+ if ( !this.isOpen ) {
293
+ return;
294
+ }
295
+
296
+ this.isOpen = false;
297
+ this._toggleAttr();
298
+
299
+ this.range = null;
300
+ this._off( this.document );
301
+
302
+ this._trigger( "close", event );
303
+ },
304
+
305
+ widget: function() {
306
+ return this.button;
307
+ },
308
+
309
+ menuWidget: function() {
310
+ return this.menu;
311
+ },
312
+
313
+ _renderButtonItem: function( item ) {
314
+ var buttonItem = $( "<span>" );
315
+
316
+ this._setText( buttonItem, item.label );
317
+ this._addClass( buttonItem, "ui-selectmenu-text" );
318
+
319
+ return buttonItem;
320
+ },
321
+
322
+ _renderMenu: function( ul, items ) {
323
+ var that = this,
324
+ currentOptgroup = "";
325
+
326
+ $.each( items, function( index, item ) {
327
+ var li;
328
+
329
+ if ( item.optgroup !== currentOptgroup ) {
330
+ li = $( "<li>", {
331
+ text: item.optgroup
332
+ } );
333
+ that._addClass( li, "ui-selectmenu-optgroup", "ui-menu-divider" +
334
+ ( item.element.parent( "optgroup" ).prop( "disabled" ) ?
335
+ " ui-state-disabled" :
336
+ "" ) );
337
+
338
+ li.appendTo( ul );
339
+
340
+ currentOptgroup = item.optgroup;
341
+ }
342
+
343
+ that._renderItemData( ul, item );
344
+ } );
345
+ },
346
+
347
+ _renderItemData: function( ul, item ) {
348
+ return this._renderItem( ul, item ).data( "ui-selectmenu-item", item );
349
+ },
350
+
351
+ _renderItem: function( ul, item ) {
352
+ var li = $( "<li>" ),
353
+ wrapper = $( "<div>", {
354
+ title: item.element.attr( "title" )
355
+ } );
356
+
357
+ if ( item.disabled ) {
358
+ this._addClass( li, null, "ui-state-disabled" );
359
+ }
360
+
361
+ if ( item.hidden ) {
362
+ li.prop( "hidden", true );
363
+ } else {
364
+ this._setText( wrapper, item.label );
365
+ }
366
+
367
+ return li.append( wrapper ).appendTo( ul );
368
+ },
369
+
370
+ _setText: function( element, value ) {
371
+ if ( value ) {
372
+ element.text( value );
373
+ } else {
374
+ element.html( "&#160;" );
375
+ }
376
+ },
377
+
378
+ _move: function( direction, event ) {
379
+ var item, next,
380
+ filter = ".ui-menu-item";
381
+
382
+ if ( this.isOpen ) {
383
+ item = this.menuItems.eq( this.focusIndex ).parent( "li" );
384
+ } else {
385
+ item = this.menuItems.eq( this.element[ 0 ].selectedIndex ).parent( "li" );
386
+ filter += ":not(.ui-state-disabled)";
387
+ }
388
+
389
+ if ( direction === "first" || direction === "last" ) {
390
+ next = item[ direction === "first" ? "prevAll" : "nextAll" ]( filter ).eq( -1 );
391
+ } else {
392
+ next = item[ direction + "All" ]( filter ).eq( 0 );
393
+ }
394
+
395
+ if ( next.length ) {
396
+ this.menuInstance.focus( event, next );
397
+ }
398
+ },
399
+
400
+ _getSelectedItem: function() {
401
+ return this.menuItems.eq( this.element[ 0 ].selectedIndex ).parent( "li" );
402
+ },
403
+
404
+ _toggle: function( event ) {
405
+ this[ this.isOpen ? "close" : "open" ]( event );
406
+ },
407
+
408
+ _setSelection: function() {
409
+ var selection;
410
+
411
+ if ( !this.range ) {
412
+ return;
413
+ }
414
+
415
+ selection = window.getSelection();
416
+ selection.removeAllRanges();
417
+ selection.addRange( this.range );
418
+ },
419
+
420
+ _documentClick: {
421
+ mousedown: function( event ) {
422
+ if ( !this.isOpen ) {
423
+ return;
424
+ }
425
+
426
+ if ( !$( event.target ).closest( ".ui-selectmenu-menu, #" +
427
+ CSS.escape( this.ids.button ) ).length ) {
428
+ this.close( event );
429
+ }
430
+ }
431
+ },
432
+
433
+ _buttonEvents: {
434
+
435
+ // Prevent text selection from being reset when interacting with the selectmenu (#10144)
436
+ mousedown: function() {
437
+ var selection = window.getSelection();
438
+ if ( selection.rangeCount ) {
439
+ this.range = selection.getRangeAt( 0 );
440
+ }
441
+ },
442
+
443
+ click: function( event ) {
444
+ this._setSelection();
445
+ this._toggle( event );
446
+ },
447
+
448
+ keydown: function( event ) {
449
+ var preventDefault = true;
450
+ switch ( event.keyCode ) {
451
+ case $.ui.keyCode.TAB:
452
+ case $.ui.keyCode.ESCAPE:
453
+ this.close( event );
454
+ preventDefault = false;
455
+ break;
456
+ case $.ui.keyCode.ENTER:
457
+ if ( this.isOpen ) {
458
+ this._selectFocusedItem( event );
459
+ }
460
+ break;
461
+ case $.ui.keyCode.UP:
462
+ if ( event.altKey ) {
463
+ this._toggle( event );
464
+ } else {
465
+ this._move( "prev", event );
466
+ }
467
+ break;
468
+ case $.ui.keyCode.DOWN:
469
+ if ( event.altKey ) {
470
+ this._toggle( event );
471
+ } else {
472
+ this._move( "next", event );
473
+ }
474
+ break;
475
+ case $.ui.keyCode.SPACE:
476
+ if ( this.isOpen ) {
477
+ this._selectFocusedItem( event );
478
+ } else {
479
+ this._toggle( event );
480
+ }
481
+ break;
482
+ case $.ui.keyCode.LEFT:
483
+ this._move( "prev", event );
484
+ break;
485
+ case $.ui.keyCode.RIGHT:
486
+ this._move( "next", event );
487
+ break;
488
+ case $.ui.keyCode.HOME:
489
+ case $.ui.keyCode.PAGE_UP:
490
+ this._move( "first", event );
491
+ break;
492
+ case $.ui.keyCode.END:
493
+ case $.ui.keyCode.PAGE_DOWN:
494
+ this._move( "last", event );
495
+ break;
496
+ default:
497
+ this.menu.trigger( event );
498
+ preventDefault = false;
499
+ }
500
+
501
+ if ( preventDefault ) {
502
+ event.preventDefault();
503
+ }
504
+ }
505
+ },
506
+
507
+ _selectFocusedItem: function( event ) {
508
+ var item = this.menuItems.eq( this.focusIndex ).parent( "li" );
509
+ if ( !item.hasClass( "ui-state-disabled" ) ) {
510
+ this._select( item.data( "ui-selectmenu-item" ), event );
511
+ }
512
+ },
513
+
514
+ _select: function( item, event ) {
515
+ var oldIndex = this.element[ 0 ].selectedIndex;
516
+
517
+ // Change native select element
518
+ this.element[ 0 ].selectedIndex = item.index;
519
+ this.buttonItem.replaceWith( this.buttonItem = this._renderButtonItem( item ) );
520
+ this._setAria( item );
521
+ this._trigger( "select", event, { item: item } );
522
+
523
+ if ( item.index !== oldIndex ) {
524
+ this._trigger( "change", event, { item: item } );
525
+ }
526
+
527
+ this.close( event );
528
+ },
529
+
530
+ _setAria: function( item ) {
531
+ var id = this.menuItems.eq( item.index ).attr( "id" );
532
+
533
+ this.button.attr( {
534
+ "aria-labelledby": id,
535
+ "aria-activedescendant": id
536
+ } );
537
+ this.menu.attr( "aria-activedescendant", id );
538
+ },
539
+
540
+ _setOption: function( key, value ) {
541
+ if ( key === "icons" ) {
542
+ var icon = this.button.find( "span.ui-icon" );
543
+ this._removeClass( icon, null, this.options.icons.button )
544
+ ._addClass( icon, null, value.button );
545
+ }
546
+
547
+ this._super( key, value );
548
+
549
+ if ( key === "appendTo" ) {
550
+ this.menuWrap.appendTo( this._appendTo() );
551
+ }
552
+
553
+ if ( key === "width" ) {
554
+ this._resizeButton();
555
+ }
556
+ },
557
+
558
+ _setOptionDisabled: function( value ) {
559
+ this._super( value );
560
+
561
+ this.menuInstance.option( "disabled", value );
562
+ this.button.attr( "aria-disabled", value );
563
+ this._toggleClass( this.button, null, "ui-state-disabled", value );
564
+
565
+ this.element.prop( "disabled", value );
566
+ if ( value ) {
567
+ this.button.attr( "tabindex", -1 );
568
+ this.close();
569
+ } else {
570
+ this.button.attr( "tabindex", 0 );
571
+ }
572
+ },
573
+
574
+ _appendTo: function() {
575
+ var element = this.options.appendTo;
576
+
577
+ if ( element ) {
578
+ element = element.jquery || element.nodeType ?
579
+ $( element ) :
580
+ this.document.find( element ).eq( 0 );
581
+ }
582
+
583
+ if ( !element || !element[ 0 ] ) {
584
+ element = this.element.closest( ".ui-front, dialog" );
585
+ }
586
+
587
+ if ( !element.length ) {
588
+ element = this.document[ 0 ].body;
589
+ }
590
+
591
+ return element;
592
+ },
593
+
594
+ _toggleAttr: function() {
595
+ this.button.attr( "aria-expanded", this.isOpen );
596
+
597
+ // We can't use two _toggleClass() calls here, because we need to make sure
598
+ // we always remove classes first and add them second, otherwise if both classes have the
599
+ // same theme class, it will be removed after we add it.
600
+ this._removeClass( this.button, "ui-selectmenu-button-" +
601
+ ( this.isOpen ? "closed" : "open" ) )
602
+ ._addClass( this.button, "ui-selectmenu-button-" +
603
+ ( this.isOpen ? "open" : "closed" ) )
604
+ ._toggleClass( this.menuWrap, "ui-selectmenu-open", null, this.isOpen );
605
+
606
+ this.menu.attr( "aria-hidden", !this.isOpen );
607
+ },
608
+
609
+ _resizeButton: function() {
610
+ var width = this.options.width;
611
+
612
+ // For `width: false`, just remove inline style and stop
613
+ if ( width === false ) {
614
+ this.button.css( "width", "" );
615
+ return;
616
+ }
617
+
618
+ // For `width: null`, match the width of the original element
619
+ if ( width === null ) {
620
+ width = this.element.show().outerWidth();
621
+ this.element.hide();
622
+ }
623
+
624
+ this.button.outerWidth( width );
625
+ },
626
+
627
+ _resizeMenu: function() {
628
+ this.menu.outerWidth( Math.max(
629
+ this.button.outerWidth(),
630
+ this.menu.width( "" ).outerWidth()
631
+ ) );
632
+ },
633
+
634
+ _getCreateOptions: function() {
635
+ var options = this._super();
636
+
637
+ options.disabled = this.element.prop( "disabled" );
638
+
639
+ return options;
640
+ },
641
+
642
+ _parseOptions: function( options ) {
643
+ var that = this,
644
+ data = [];
645
+ options.each( function( index, item ) {
646
+ data.push( that._parseOption( $( item ), index ) );
647
+ } );
648
+ this.items = data;
649
+ },
650
+
651
+ _parseOption: function( option, index ) {
652
+ var optgroup = option.parent( "optgroup" );
653
+
654
+ return {
655
+ element: option,
656
+ index: index,
657
+ value: option.val(),
658
+ label: option.text(),
659
+ hidden: optgroup.prop( "hidden" ) || option.prop( "hidden" ),
660
+ optgroup: optgroup.attr( "label" ) || "",
661
+ disabled: optgroup.prop( "disabled" ) || option.prop( "disabled" )
662
+ };
663
+ },
664
+
665
+ _destroy: function() {
666
+ this._unbindFormResetHandler();
667
+ this.menuWrap.remove();
668
+ this.button.remove();
669
+ this.element.show();
670
+ this.element.removeUniqueId();
671
+ this.labels.attr( "for", this.ids.element );
672
+ }
673
+ } ] );
674
+
675
+ } );