omf_web 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) hide show
  1. data/lib/omf-web/content/content_proxy.rb +18 -18
  2. data/lib/omf-web/content/file_repository.rb +6 -2
  3. data/lib/omf-web/content/git_repository.rb +4 -0
  4. data/lib/omf-web/content/repository.rb +11 -0
  5. data/lib/omf-web/data_source_proxy.rb +0 -13
  6. data/lib/omf-web/session_store.rb +8 -3
  7. data/lib/omf-web/theme/abstract_page.rb +2 -10
  8. data/{example → lib/omf-web/theme}/web_rtc/web_rtc.yaml +0 -0
  9. data/{example → lib/omf-web/theme}/web_rtc/webrtc-exp_1381786573.sq3 +0 -0
  10. data/lib/omf-web/version.rb +1 -1
  11. data/lib/omf-web/widget/data_widget.rb +2 -37
  12. data/lib/omf-web/widget/layout/one_column_layout.rb +4 -4
  13. data/lib/omf-web/widget/layout/stacked_layout.rb +6 -14
  14. data/lib/omf-web/widget/text/maruku/output/to_html.rb +4 -2
  15. data/lib/omf-web/widget/text/maruku.rb +1 -1
  16. data/lib/omf_web.rb +15 -15
  17. data/share/htdocs/graph/js/abstract_nv_chart.js +2 -2
  18. data/share/htdocs/graph/js/histogram2.js +5 -1
  19. data/share/htdocs/js/data_source3.js +2 -1
  20. data/share/htdocs/vendor/jquery-1.8.3/jquery.js +9472 -0
  21. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/animated-overlay.gif +0 -0
  22. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  23. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  24. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  25. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  26. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  27. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  28. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  29. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  30. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
  31. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  32. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
  33. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
  34. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  35. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/jquery-ui-1.10.4.custom.css +558 -0
  36. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/jquery-ui-1.10.4.custom.min.css +7 -0
  37. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/AUTHORS.txt +260 -0
  38. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/Gruntfile.js +240 -0
  39. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/MIT-LICENSE.txt +26 -0
  40. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/README.md +96 -0
  41. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/addClass/default.html +45 -0
  42. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/addClass/index.html +14 -0
  43. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/animate/default.html +55 -0
  44. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/animate/index.html +14 -0
  45. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/demos.css +19 -0
  46. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/constrain-movement.html +58 -0
  47. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/cursor-style.html +42 -0
  48. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/default.html +32 -0
  49. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/delay-start.html +38 -0
  50. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/events.html +70 -0
  51. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/handle.html +41 -0
  52. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/index.html +24 -0
  53. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/revert.html +37 -0
  54. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/scroll.html +44 -0
  55. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/snap-to.html +61 -0
  56. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/sortable.html +50 -0
  57. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/visual-feedback.html +70 -0
  58. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/accepted-elements.html +53 -0
  59. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/default.html +46 -0
  60. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  61. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  62. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  63. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  64. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  65. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  66. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  67. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  68. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/index.html +20 -0
  69. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/photo-manager.html +182 -0
  70. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/propagation.html +73 -0
  71. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/revert.html +54 -0
  72. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/shopping-cart.html +94 -0
  73. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/visual-feedback.html +72 -0
  74. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/default.html +102 -0
  75. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/easing.html +102 -0
  76. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/index.html +15 -0
  77. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/hide/default.html +95 -0
  78. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/hide/index.html +14 -0
  79. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/calendar.gif +0 -0
  80. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  81. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on.gif +0 -0
  82. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  83. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  84. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/icon-docs-info.gif +0 -0
  85. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/pbar-ani.gif +0 -0
  86. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/index.html +29 -0
  87. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/cycler.html +107 -0
  88. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/default.html +137 -0
  89. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/earth.jpg +0 -0
  90. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/flight.jpg +0 -0
  91. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/rocket.jpg +0 -0
  92. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/index.html +15 -0
  93. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/removeClass/default.html +45 -0
  94. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/removeClass/index.html +14 -0
  95. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/animate.html +36 -0
  96. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/aspect-ratio.html +35 -0
  97. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/constrain-area.html +40 -0
  98. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/default.html +33 -0
  99. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/delay-start.html +45 -0
  100. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/helper.html +36 -0
  101. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/index.html +24 -0
  102. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/max-min.html +38 -0
  103. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/snap-to-grid.html +35 -0
  104. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/synchronous-resize.html +42 -0
  105. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/textarea.html +34 -0
  106. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/visual-feedback.html +36 -0
  107. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/default.html +43 -0
  108. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/display-grid.html +48 -0
  109. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/index.html +16 -0
  110. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/serialize.html +54 -0
  111. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/show/default.html +97 -0
  112. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/show/index.html +14 -0
  113. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/connect-lists-through-tabs.html +72 -0
  114. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/connect-lists.html +52 -0
  115. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/default.html +45 -0
  116. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/delay-start.html +61 -0
  117. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/display-grid.html +48 -0
  118. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/empty-lists.html +63 -0
  119. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/index.html +22 -0
  120. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/items.html +64 -0
  121. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/placeholder.html +50 -0
  122. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/portlets.html +115 -0
  123. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/switchClass/default.html +40 -0
  124. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/switchClass/index.html +14 -0
  125. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggle/default.html +103 -0
  126. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggle/index.html +14 -0
  127. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggleClass/default.html +39 -0
  128. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggleClass/index.html +14 -0
  129. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/widget/default.html +178 -0
  130. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/widget/index.html +14 -0
  131. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/blind-effect.html +58 -0
  132. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/bounce-effect.html +61 -0
  133. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/clip-effect.html +55 -0
  134. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/draggable.html +741 -0
  135. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/drop-effect.html +55 -0
  136. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/droppable.html +548 -0
  137. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/explode-effect.html +52 -0
  138. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/fade-effect.html +43 -0
  139. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/fold-effect.html +61 -0
  140. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/highlight-effect.html +52 -0
  141. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/jQuery.widget.html +611 -0
  142. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/mouse.html +216 -0
  143. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/position.html +116 -0
  144. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/puff-effect.html +52 -0
  145. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/pulsate-effect.html +52 -0
  146. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/resizable.html +685 -0
  147. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/scale-effect.html +82 -0
  148. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/selectable.html +498 -0
  149. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/shake-effect.html +66 -0
  150. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/size-effect.html +65 -0
  151. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/slide-effect.html +59 -0
  152. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/sortable.html +1450 -0
  153. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/transfer-effect.html +61 -0
  154. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.culture.de-DE.js +81 -0
  155. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.culture.ja-JP.js +100 -0
  156. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.js +1585 -0
  157. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/jquery.mousewheel.js +101 -0
  158. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/jshint.js +4835 -0
  159. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/qunit.css +244 -0
  160. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/qunit.js +2152 -0
  161. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/jquery-1.10.2.js +9789 -0
  162. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/package.json +73 -0
  163. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/animated-overlay.gif +0 -0
  164. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  165. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  166. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  167. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  168. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  169. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  170. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  171. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  172. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  173. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  174. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  175. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  176. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  177. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery-ui.css +557 -0
  178. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.all.css +12 -0
  179. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.base.css +25 -0
  180. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.core.css +93 -0
  181. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.resizable.css +76 -0
  182. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.selectable.css +13 -0
  183. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.theme.css +410 -0
  184. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/animated-overlay.gif +0 -0
  185. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  186. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  187. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  188. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  189. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  190. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  191. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  192. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  193. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_222222_256x240.png +0 -0
  194. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_2e83ff_256x240.png +0 -0
  195. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_454545_256x240.png +0 -0
  196. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_888888_256x240.png +0 -0
  197. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
  198. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery-ui.min.css +7 -0
  199. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.core.min.css +5 -0
  200. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.resizable.min.css +5 -0
  201. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.selectable.min.css +5 -0
  202. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.theme.min.css +5 -0
  203. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/animated-overlay.gif +0 -0
  204. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  205. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  206. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  207. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  208. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  209. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  210. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  211. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  212. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  213. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  214. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  215. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  216. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  217. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery-ui.css +558 -0
  218. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.all.css +12 -0
  219. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.base.css +25 -0
  220. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.core.css +93 -0
  221. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.resizable.css +76 -0
  222. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.selectable.css +13 -0
  223. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.theme.css +410 -0
  224. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/animated-overlay.gif +0 -0
  225. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  226. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  227. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  228. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  229. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  230. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  231. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  232. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  233. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_222222_256x240.png +0 -0
  234. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_2e83ff_256x240.png +0 -0
  235. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_454545_256x240.png +0 -0
  236. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_888888_256x240.png +0 -0
  237. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
  238. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery-ui.min.css +7 -0
  239. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.core.min.css +5 -0
  240. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.resizable.min.css +5 -0
  241. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.selectable.min.css +5 -0
  242. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.theme.min.css +5 -0
  243. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery-ui.custom.js +7544 -0
  244. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.core.js +320 -0
  245. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.draggable.js +958 -0
  246. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.droppable.js +389 -0
  247. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-blind.js +82 -0
  248. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-bounce.js +113 -0
  249. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-clip.js +67 -0
  250. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-drop.js +65 -0
  251. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-explode.js +97 -0
  252. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-fade.js +30 -0
  253. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-fold.js +76 -0
  254. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-highlight.js +50 -0
  255. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-pulsate.js +63 -0
  256. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-scale.js +318 -0
  257. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-shake.js +74 -0
  258. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-slide.js +64 -0
  259. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-transfer.js +47 -0
  260. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect.js +1289 -0
  261. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.mouse.js +169 -0
  262. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.position.js +501 -0
  263. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.resizable.js +978 -0
  264. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.selectable.js +277 -0
  265. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.sortable.js +1289 -0
  266. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.widget.js +521 -0
  267. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery-ui.custom.min.js +6 -0
  268. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.core.min.js +5 -0
  269. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.draggable.min.js +5 -0
  270. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.droppable.min.js +5 -0
  271. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-blind.min.js +5 -0
  272. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-bounce.min.js +5 -0
  273. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-clip.min.js +5 -0
  274. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-drop.min.js +5 -0
  275. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-explode.min.js +5 -0
  276. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-fade.min.js +5 -0
  277. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-fold.min.js +5 -0
  278. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-highlight.min.js +5 -0
  279. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-pulsate.min.js +5 -0
  280. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-scale.min.js +5 -0
  281. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-shake.min.js +5 -0
  282. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-slide.min.js +5 -0
  283. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-transfer.min.js +5 -0
  284. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect.min.js +5 -0
  285. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.mouse.min.js +5 -0
  286. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.position.min.js +5 -0
  287. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.resizable.min.js +5 -0
  288. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.selectable.min.js +5 -0
  289. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.sortable.min.js +5 -0
  290. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.widget.min.js +5 -0
  291. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.core.jquery.json +61 -0
  292. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.draggable.jquery.json +66 -0
  293. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.droppable.jquery.json +67 -0
  294. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-blind.jquery.json +65 -0
  295. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-bounce.jquery.json +65 -0
  296. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-clip.jquery.json +65 -0
  297. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-drop.jquery.json +65 -0
  298. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-explode.jquery.json +65 -0
  299. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-fade.jquery.json +65 -0
  300. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-fold.jquery.json +65 -0
  301. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-highlight.jquery.json +65 -0
  302. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-pulsate.jquery.json +65 -0
  303. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-scale.jquery.json +65 -0
  304. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-shake.jquery.json +65 -0
  305. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-slide.jquery.json +65 -0
  306. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-transfer.jquery.json +63 -0
  307. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect.jquery.json +68 -0
  308. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.mouse.jquery.json +64 -0
  309. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.position.jquery.json +66 -0
  310. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.resizable.jquery.json +65 -0
  311. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.selectable.jquery.json +65 -0
  312. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.sortable.jquery.json +66 -0
  313. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.widget.jquery.json +64 -0
  314. data/share/htdocs/vendor/jquery-ui-1.10.4/index.html +301 -0
  315. data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-1.10.2.js +9789 -0
  316. data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-ui-1.10.4.custom.js +7544 -0
  317. data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-ui-1.10.4.custom.min.js +6 -0
  318. metadata +302 -4
@@ -0,0 +1,389 @@
1
+ /*!
2
+ * jQuery UI Droppable 1.10.4
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2014 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/droppable/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.core.js
13
+ * jquery.ui.widget.js
14
+ * jquery.ui.mouse.js
15
+ * jquery.ui.draggable.js
16
+ */
17
+ (function( $, undefined ) {
18
+
19
+ function isOverAxis( x, reference, size ) {
20
+ return ( x > reference ) && ( x < ( reference + size ) );
21
+ }
22
+
23
+ $.widget("ui.droppable", {
24
+ version: "1.10.4",
25
+ widgetEventPrefix: "drop",
26
+ options: {
27
+ accept: "*",
28
+ activeClass: false,
29
+ addClasses: true,
30
+ greedy: false,
31
+ hoverClass: false,
32
+ scope: "default",
33
+ tolerance: "intersect",
34
+
35
+ // callbacks
36
+ activate: null,
37
+ deactivate: null,
38
+ drop: null,
39
+ out: null,
40
+ over: null
41
+ },
42
+ _create: function() {
43
+
44
+ var proportions,
45
+ o = this.options,
46
+ accept = o.accept;
47
+
48
+ this.isover = false;
49
+ this.isout = true;
50
+
51
+ this.accept = $.isFunction(accept) ? accept : function(d) {
52
+ return d.is(accept);
53
+ };
54
+
55
+ this.proportions = function( /* valueToWrite */ ) {
56
+ if ( arguments.length ) {
57
+ // Store the droppable's proportions
58
+ proportions = arguments[ 0 ];
59
+ } else {
60
+ // Retrieve or derive the droppable's proportions
61
+ return proportions ?
62
+ proportions :
63
+ proportions = {
64
+ width: this.element[ 0 ].offsetWidth,
65
+ height: this.element[ 0 ].offsetHeight
66
+ };
67
+ }
68
+ };
69
+
70
+ // Add the reference and positions to the manager
71
+ $.ui.ddmanager.droppables[o.scope] = $.ui.ddmanager.droppables[o.scope] || [];
72
+ $.ui.ddmanager.droppables[o.scope].push(this);
73
+
74
+ (o.addClasses && this.element.addClass("ui-droppable"));
75
+
76
+ },
77
+
78
+ _destroy: function() {
79
+ var i = 0,
80
+ drop = $.ui.ddmanager.droppables[this.options.scope];
81
+
82
+ for ( ; i < drop.length; i++ ) {
83
+ if ( drop[i] === this ) {
84
+ drop.splice(i, 1);
85
+ }
86
+ }
87
+
88
+ this.element.removeClass("ui-droppable ui-droppable-disabled");
89
+ },
90
+
91
+ _setOption: function(key, value) {
92
+
93
+ if(key === "accept") {
94
+ this.accept = $.isFunction(value) ? value : function(d) {
95
+ return d.is(value);
96
+ };
97
+ }
98
+ $.Widget.prototype._setOption.apply(this, arguments);
99
+ },
100
+
101
+ _activate: function(event) {
102
+ var draggable = $.ui.ddmanager.current;
103
+ if(this.options.activeClass) {
104
+ this.element.addClass(this.options.activeClass);
105
+ }
106
+ if(draggable){
107
+ this._trigger("activate", event, this.ui(draggable));
108
+ }
109
+ },
110
+
111
+ _deactivate: function(event) {
112
+ var draggable = $.ui.ddmanager.current;
113
+ if(this.options.activeClass) {
114
+ this.element.removeClass(this.options.activeClass);
115
+ }
116
+ if(draggable){
117
+ this._trigger("deactivate", event, this.ui(draggable));
118
+ }
119
+ },
120
+
121
+ _over: function(event) {
122
+
123
+ var draggable = $.ui.ddmanager.current;
124
+
125
+ // Bail if draggable and droppable are same element
126
+ if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) {
127
+ return;
128
+ }
129
+
130
+ if (this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
131
+ if(this.options.hoverClass) {
132
+ this.element.addClass(this.options.hoverClass);
133
+ }
134
+ this._trigger("over", event, this.ui(draggable));
135
+ }
136
+
137
+ },
138
+
139
+ _out: function(event) {
140
+
141
+ var draggable = $.ui.ddmanager.current;
142
+
143
+ // Bail if draggable and droppable are same element
144
+ if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) {
145
+ return;
146
+ }
147
+
148
+ if (this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
149
+ if(this.options.hoverClass) {
150
+ this.element.removeClass(this.options.hoverClass);
151
+ }
152
+ this._trigger("out", event, this.ui(draggable));
153
+ }
154
+
155
+ },
156
+
157
+ _drop: function(event,custom) {
158
+
159
+ var draggable = custom || $.ui.ddmanager.current,
160
+ childrenIntersection = false;
161
+
162
+ // Bail if draggable and droppable are same element
163
+ if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) {
164
+ return false;
165
+ }
166
+
167
+ this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function() {
168
+ var inst = $.data(this, "ui-droppable");
169
+ if(
170
+ inst.options.greedy &&
171
+ !inst.options.disabled &&
172
+ inst.options.scope === draggable.options.scope &&
173
+ inst.accept.call(inst.element[0], (draggable.currentItem || draggable.element)) &&
174
+ $.ui.intersect(draggable, $.extend(inst, { offset: inst.element.offset() }), inst.options.tolerance)
175
+ ) { childrenIntersection = true; return false; }
176
+ });
177
+ if(childrenIntersection) {
178
+ return false;
179
+ }
180
+
181
+ if(this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
182
+ if(this.options.activeClass) {
183
+ this.element.removeClass(this.options.activeClass);
184
+ }
185
+ if(this.options.hoverClass) {
186
+ this.element.removeClass(this.options.hoverClass);
187
+ }
188
+ this._trigger("drop", event, this.ui(draggable));
189
+ return this.element;
190
+ }
191
+
192
+ return false;
193
+
194
+ },
195
+
196
+ ui: function(c) {
197
+ return {
198
+ draggable: (c.currentItem || c.element),
199
+ helper: c.helper,
200
+ position: c.position,
201
+ offset: c.positionAbs
202
+ };
203
+ }
204
+
205
+ });
206
+
207
+ $.ui.intersect = function(draggable, droppable, toleranceMode) {
208
+
209
+ if (!droppable.offset) {
210
+ return false;
211
+ }
212
+
213
+ var draggableLeft, draggableTop,
214
+ x1 = (draggable.positionAbs || draggable.position.absolute).left,
215
+ y1 = (draggable.positionAbs || draggable.position.absolute).top,
216
+ x2 = x1 + draggable.helperProportions.width,
217
+ y2 = y1 + draggable.helperProportions.height,
218
+ l = droppable.offset.left,
219
+ t = droppable.offset.top,
220
+ r = l + droppable.proportions().width,
221
+ b = t + droppable.proportions().height;
222
+
223
+ switch (toleranceMode) {
224
+ case "fit":
225
+ return (l <= x1 && x2 <= r && t <= y1 && y2 <= b);
226
+ case "intersect":
227
+ return (l < x1 + (draggable.helperProportions.width / 2) && // Right Half
228
+ x2 - (draggable.helperProportions.width / 2) < r && // Left Half
229
+ t < y1 + (draggable.helperProportions.height / 2) && // Bottom Half
230
+ y2 - (draggable.helperProportions.height / 2) < b ); // Top Half
231
+ case "pointer":
232
+ draggableLeft = ((draggable.positionAbs || draggable.position.absolute).left + (draggable.clickOffset || draggable.offset.click).left);
233
+ draggableTop = ((draggable.positionAbs || draggable.position.absolute).top + (draggable.clickOffset || draggable.offset.click).top);
234
+ return isOverAxis( draggableTop, t, droppable.proportions().height ) && isOverAxis( draggableLeft, l, droppable.proportions().width );
235
+ case "touch":
236
+ return (
237
+ (y1 >= t && y1 <= b) || // Top edge touching
238
+ (y2 >= t && y2 <= b) || // Bottom edge touching
239
+ (y1 < t && y2 > b) // Surrounded vertically
240
+ ) && (
241
+ (x1 >= l && x1 <= r) || // Left edge touching
242
+ (x2 >= l && x2 <= r) || // Right edge touching
243
+ (x1 < l && x2 > r) // Surrounded horizontally
244
+ );
245
+ default:
246
+ return false;
247
+ }
248
+
249
+ };
250
+
251
+ /*
252
+ This manager tracks offsets of draggables and droppables
253
+ */
254
+ $.ui.ddmanager = {
255
+ current: null,
256
+ droppables: { "default": [] },
257
+ prepareOffsets: function(t, event) {
258
+
259
+ var i, j,
260
+ m = $.ui.ddmanager.droppables[t.options.scope] || [],
261
+ type = event ? event.type : null, // workaround for #2317
262
+ list = (t.currentItem || t.element).find(":data(ui-droppable)").addBack();
263
+
264
+ droppablesLoop: for (i = 0; i < m.length; i++) {
265
+
266
+ //No disabled and non-accepted
267
+ if(m[i].options.disabled || (t && !m[i].accept.call(m[i].element[0],(t.currentItem || t.element)))) {
268
+ continue;
269
+ }
270
+
271
+ // Filter out elements in the current dragged item
272
+ for (j=0; j < list.length; j++) {
273
+ if(list[j] === m[i].element[0]) {
274
+ m[i].proportions().height = 0;
275
+ continue droppablesLoop;
276
+ }
277
+ }
278
+
279
+ m[i].visible = m[i].element.css("display") !== "none";
280
+ if(!m[i].visible) {
281
+ continue;
282
+ }
283
+
284
+ //Activate the droppable if used directly from draggables
285
+ if(type === "mousedown") {
286
+ m[i]._activate.call(m[i], event);
287
+ }
288
+
289
+ m[ i ].offset = m[ i ].element.offset();
290
+ m[ i ].proportions({ width: m[ i ].element[ 0 ].offsetWidth, height: m[ i ].element[ 0 ].offsetHeight });
291
+
292
+ }
293
+
294
+ },
295
+ drop: function(draggable, event) {
296
+
297
+ var dropped = false;
298
+ // Create a copy of the droppables in case the list changes during the drop (#9116)
299
+ $.each(($.ui.ddmanager.droppables[draggable.options.scope] || []).slice(), function() {
300
+
301
+ if(!this.options) {
302
+ return;
303
+ }
304
+ if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance)) {
305
+ dropped = this._drop.call(this, event) || dropped;
306
+ }
307
+
308
+ if (!this.options.disabled && this.visible && this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
309
+ this.isout = true;
310
+ this.isover = false;
311
+ this._deactivate.call(this, event);
312
+ }
313
+
314
+ });
315
+ return dropped;
316
+
317
+ },
318
+ dragStart: function( draggable, event ) {
319
+ //Listen for scrolling so that if the dragging causes scrolling the position of the droppables can be recalculated (see #5003)
320
+ draggable.element.parentsUntil( "body" ).bind( "scroll.droppable", function() {
321
+ if( !draggable.options.refreshPositions ) {
322
+ $.ui.ddmanager.prepareOffsets( draggable, event );
323
+ }
324
+ });
325
+ },
326
+ drag: function(draggable, event) {
327
+
328
+ //If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
329
+ if(draggable.options.refreshPositions) {
330
+ $.ui.ddmanager.prepareOffsets(draggable, event);
331
+ }
332
+
333
+ //Run through all droppables and check their positions based on specific tolerance options
334
+ $.each($.ui.ddmanager.droppables[draggable.options.scope] || [], function() {
335
+
336
+ if(this.options.disabled || this.greedyChild || !this.visible) {
337
+ return;
338
+ }
339
+
340
+ var parentInstance, scope, parent,
341
+ intersects = $.ui.intersect(draggable, this, this.options.tolerance),
342
+ c = !intersects && this.isover ? "isout" : (intersects && !this.isover ? "isover" : null);
343
+ if(!c) {
344
+ return;
345
+ }
346
+
347
+ if (this.options.greedy) {
348
+ // find droppable parents with same scope
349
+ scope = this.options.scope;
350
+ parent = this.element.parents(":data(ui-droppable)").filter(function () {
351
+ return $.data(this, "ui-droppable").options.scope === scope;
352
+ });
353
+
354
+ if (parent.length) {
355
+ parentInstance = $.data(parent[0], "ui-droppable");
356
+ parentInstance.greedyChild = (c === "isover");
357
+ }
358
+ }
359
+
360
+ // we just moved into a greedy child
361
+ if (parentInstance && c === "isover") {
362
+ parentInstance.isover = false;
363
+ parentInstance.isout = true;
364
+ parentInstance._out.call(parentInstance, event);
365
+ }
366
+
367
+ this[c] = true;
368
+ this[c === "isout" ? "isover" : "isout"] = false;
369
+ this[c === "isover" ? "_over" : "_out"].call(this, event);
370
+
371
+ // we just moved out of a greedy child
372
+ if (parentInstance && c === "isout") {
373
+ parentInstance.isout = false;
374
+ parentInstance.isover = true;
375
+ parentInstance._over.call(parentInstance, event);
376
+ }
377
+ });
378
+
379
+ },
380
+ dragStop: function( draggable, event ) {
381
+ draggable.element.parentsUntil( "body" ).unbind( "scroll.droppable" );
382
+ //Call prepareOffsets one final time since IE does not fire return scroll events when overflow was caused by drag (see #5003)
383
+ if( !draggable.options.refreshPositions ) {
384
+ $.ui.ddmanager.prepareOffsets( draggable, event );
385
+ }
386
+ }
387
+ };
388
+
389
+ })(jQuery);
@@ -0,0 +1,82 @@
1
+ /*!
2
+ * jQuery UI Effects Blind 1.10.4
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2014 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/blind-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ var rvertical = /up|down|vertical/,
17
+ rpositivemotion = /up|left|vertical|horizontal/;
18
+
19
+ $.effects.effect.blind = function( o, done ) {
20
+ // Create element
21
+ var el = $( this ),
22
+ props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
23
+ mode = $.effects.setMode( el, o.mode || "hide" ),
24
+ direction = o.direction || "up",
25
+ vertical = rvertical.test( direction ),
26
+ ref = vertical ? "height" : "width",
27
+ ref2 = vertical ? "top" : "left",
28
+ motion = rpositivemotion.test( direction ),
29
+ animation = {},
30
+ show = mode === "show",
31
+ wrapper, distance, margin;
32
+
33
+ // if already wrapped, the wrapper's properties are my property. #6245
34
+ if ( el.parent().is( ".ui-effects-wrapper" ) ) {
35
+ $.effects.save( el.parent(), props );
36
+ } else {
37
+ $.effects.save( el, props );
38
+ }
39
+ el.show();
40
+ wrapper = $.effects.createWrapper( el ).css({
41
+ overflow: "hidden"
42
+ });
43
+
44
+ distance = wrapper[ ref ]();
45
+ margin = parseFloat( wrapper.css( ref2 ) ) || 0;
46
+
47
+ animation[ ref ] = show ? distance : 0;
48
+ if ( !motion ) {
49
+ el
50
+ .css( vertical ? "bottom" : "right", 0 )
51
+ .css( vertical ? "top" : "left", "auto" )
52
+ .css({ position: "absolute" });
53
+
54
+ animation[ ref2 ] = show ? margin : distance + margin;
55
+ }
56
+
57
+ // start at 0 if we are showing
58
+ if ( show ) {
59
+ wrapper.css( ref, 0 );
60
+ if ( ! motion ) {
61
+ wrapper.css( ref2, margin + distance );
62
+ }
63
+ }
64
+
65
+ // Animate
66
+ wrapper.animate( animation, {
67
+ duration: o.duration,
68
+ easing: o.easing,
69
+ queue: false,
70
+ complete: function() {
71
+ if ( mode === "hide" ) {
72
+ el.hide();
73
+ }
74
+ $.effects.restore( el, props );
75
+ $.effects.removeWrapper( el );
76
+ done();
77
+ }
78
+ });
79
+
80
+ };
81
+
82
+ })(jQuery);
@@ -0,0 +1,113 @@
1
+ /*!
2
+ * jQuery UI Effects Bounce 1.10.4
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2014 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/bounce-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ $.effects.effect.bounce = function( o, done ) {
17
+ var el = $( this ),
18
+ props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
19
+
20
+ // defaults:
21
+ mode = $.effects.setMode( el, o.mode || "effect" ),
22
+ hide = mode === "hide",
23
+ show = mode === "show",
24
+ direction = o.direction || "up",
25
+ distance = o.distance,
26
+ times = o.times || 5,
27
+
28
+ // number of internal animations
29
+ anims = times * 2 + ( show || hide ? 1 : 0 ),
30
+ speed = o.duration / anims,
31
+ easing = o.easing,
32
+
33
+ // utility:
34
+ ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
35
+ motion = ( direction === "up" || direction === "left" ),
36
+ i,
37
+ upAnim,
38
+ downAnim,
39
+
40
+ // we will need to re-assemble the queue to stack our animations in place
41
+ queue = el.queue(),
42
+ queuelen = queue.length;
43
+
44
+ // Avoid touching opacity to prevent clearType and PNG issues in IE
45
+ if ( show || hide ) {
46
+ props.push( "opacity" );
47
+ }
48
+
49
+ $.effects.save( el, props );
50
+ el.show();
51
+ $.effects.createWrapper( el ); // Create Wrapper
52
+
53
+ // default distance for the BIGGEST bounce is the outer Distance / 3
54
+ if ( !distance ) {
55
+ distance = el[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3;
56
+ }
57
+
58
+ if ( show ) {
59
+ downAnim = { opacity: 1 };
60
+ downAnim[ ref ] = 0;
61
+
62
+ // if we are showing, force opacity 0 and set the initial position
63
+ // then do the "first" animation
64
+ el.css( "opacity", 0 )
65
+ .css( ref, motion ? -distance * 2 : distance * 2 )
66
+ .animate( downAnim, speed, easing );
67
+ }
68
+
69
+ // start at the smallest distance if we are hiding
70
+ if ( hide ) {
71
+ distance = distance / Math.pow( 2, times - 1 );
72
+ }
73
+
74
+ downAnim = {};
75
+ downAnim[ ref ] = 0;
76
+ // Bounces up/down/left/right then back to 0 -- times * 2 animations happen here
77
+ for ( i = 0; i < times; i++ ) {
78
+ upAnim = {};
79
+ upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
80
+
81
+ el.animate( upAnim, speed, easing )
82
+ .animate( downAnim, speed, easing );
83
+
84
+ distance = hide ? distance * 2 : distance / 2;
85
+ }
86
+
87
+ // Last Bounce when Hiding
88
+ if ( hide ) {
89
+ upAnim = { opacity: 0 };
90
+ upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
91
+
92
+ el.animate( upAnim, speed, easing );
93
+ }
94
+
95
+ el.queue(function() {
96
+ if ( hide ) {
97
+ el.hide();
98
+ }
99
+ $.effects.restore( el, props );
100
+ $.effects.removeWrapper( el );
101
+ done();
102
+ });
103
+
104
+ // inject all the animations we just queued to be first in line (after "inprogress")
105
+ if ( queuelen > 1) {
106
+ queue.splice.apply( queue,
107
+ [ 1, 0 ].concat( queue.splice( queuelen, anims + 1 ) ) );
108
+ }
109
+ el.dequeue();
110
+
111
+ };
112
+
113
+ })(jQuery);
@@ -0,0 +1,67 @@
1
+ /*!
2
+ * jQuery UI Effects Clip 1.10.4
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2014 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/clip-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ $.effects.effect.clip = function( o, done ) {
17
+ // Create element
18
+ var el = $( this ),
19
+ props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
20
+ mode = $.effects.setMode( el, o.mode || "hide" ),
21
+ show = mode === "show",
22
+ direction = o.direction || "vertical",
23
+ vert = direction === "vertical",
24
+ size = vert ? "height" : "width",
25
+ position = vert ? "top" : "left",
26
+ animation = {},
27
+ wrapper, animate, distance;
28
+
29
+ // Save & Show
30
+ $.effects.save( el, props );
31
+ el.show();
32
+
33
+ // Create Wrapper
34
+ wrapper = $.effects.createWrapper( el ).css({
35
+ overflow: "hidden"
36
+ });
37
+ animate = ( el[0].tagName === "IMG" ) ? wrapper : el;
38
+ distance = animate[ size ]();
39
+
40
+ // Shift
41
+ if ( show ) {
42
+ animate.css( size, 0 );
43
+ animate.css( position, distance / 2 );
44
+ }
45
+
46
+ // Create Animation Object:
47
+ animation[ size ] = show ? distance : 0;
48
+ animation[ position ] = show ? 0 : distance / 2;
49
+
50
+ // Animate
51
+ animate.animate( animation, {
52
+ queue: false,
53
+ duration: o.duration,
54
+ easing: o.easing,
55
+ complete: function() {
56
+ if ( !show ) {
57
+ el.hide();
58
+ }
59
+ $.effects.restore( el, props );
60
+ $.effects.removeWrapper( el );
61
+ done();
62
+ }
63
+ });
64
+
65
+ };
66
+
67
+ })(jQuery);
@@ -0,0 +1,65 @@
1
+ /*!
2
+ * jQuery UI Effects Drop 1.10.4
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2014 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/drop-effect/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.effect.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ $.effects.effect.drop = function( o, done ) {
17
+
18
+ var el = $( this ),
19
+ props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
20
+ mode = $.effects.setMode( el, o.mode || "hide" ),
21
+ show = mode === "show",
22
+ direction = o.direction || "left",
23
+ ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
24
+ motion = ( direction === "up" || direction === "left" ) ? "pos" : "neg",
25
+ animation = {
26
+ opacity: show ? 1 : 0
27
+ },
28
+ distance;
29
+
30
+ // Adjust
31
+ $.effects.save( el, props );
32
+ el.show();
33
+ $.effects.createWrapper( el );
34
+
35
+ distance = o.distance || el[ ref === "top" ? "outerHeight": "outerWidth" ]( true ) / 2;
36
+
37
+ if ( show ) {
38
+ el
39
+ .css( "opacity", 0 )
40
+ .css( ref, motion === "pos" ? -distance : distance );
41
+ }
42
+
43
+ // Animation
44
+ animation[ ref ] = ( show ?
45
+ ( motion === "pos" ? "+=" : "-=" ) :
46
+ ( motion === "pos" ? "-=" : "+=" ) ) +
47
+ distance;
48
+
49
+ // Animate
50
+ el.animate( animation, {
51
+ queue: false,
52
+ duration: o.duration,
53
+ easing: o.easing,
54
+ complete: function() {
55
+ if ( mode === "hide" ) {
56
+ el.hide();
57
+ }
58
+ $.effects.restore( el, props );
59
+ $.effects.removeWrapper( el );
60
+ done();
61
+ }
62
+ });
63
+ };
64
+
65
+ })(jQuery);