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,169 @@
1
+ /*!
2
+ * jQuery UI Mouse 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/mouse/
10
+ *
11
+ * Depends:
12
+ * jquery.ui.widget.js
13
+ */
14
+ (function( $, undefined ) {
15
+
16
+ var mouseHandled = false;
17
+ $( document ).mouseup( function() {
18
+ mouseHandled = false;
19
+ });
20
+
21
+ $.widget("ui.mouse", {
22
+ version: "1.10.4",
23
+ options: {
24
+ cancel: "input,textarea,button,select,option",
25
+ distance: 1,
26
+ delay: 0
27
+ },
28
+ _mouseInit: function() {
29
+ var that = this;
30
+
31
+ this.element
32
+ .bind("mousedown."+this.widgetName, function(event) {
33
+ return that._mouseDown(event);
34
+ })
35
+ .bind("click."+this.widgetName, function(event) {
36
+ if (true === $.data(event.target, that.widgetName + ".preventClickEvent")) {
37
+ $.removeData(event.target, that.widgetName + ".preventClickEvent");
38
+ event.stopImmediatePropagation();
39
+ return false;
40
+ }
41
+ });
42
+
43
+ this.started = false;
44
+ },
45
+
46
+ // TODO: make sure destroying one instance of mouse doesn't mess with
47
+ // other instances of mouse
48
+ _mouseDestroy: function() {
49
+ this.element.unbind("."+this.widgetName);
50
+ if ( this._mouseMoveDelegate ) {
51
+ $(document)
52
+ .unbind("mousemove."+this.widgetName, this._mouseMoveDelegate)
53
+ .unbind("mouseup."+this.widgetName, this._mouseUpDelegate);
54
+ }
55
+ },
56
+
57
+ _mouseDown: function(event) {
58
+ // don't let more than one widget handle mouseStart
59
+ if( mouseHandled ) { return; }
60
+
61
+ // we may have missed mouseup (out of window)
62
+ (this._mouseStarted && this._mouseUp(event));
63
+
64
+ this._mouseDownEvent = event;
65
+
66
+ var that = this,
67
+ btnIsLeft = (event.which === 1),
68
+ // event.target.nodeName works around a bug in IE 8 with
69
+ // disabled inputs (#7620)
70
+ elIsCancel = (typeof this.options.cancel === "string" && event.target.nodeName ? $(event.target).closest(this.options.cancel).length : false);
71
+ if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) {
72
+ return true;
73
+ }
74
+
75
+ this.mouseDelayMet = !this.options.delay;
76
+ if (!this.mouseDelayMet) {
77
+ this._mouseDelayTimer = setTimeout(function() {
78
+ that.mouseDelayMet = true;
79
+ }, this.options.delay);
80
+ }
81
+
82
+ if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
83
+ this._mouseStarted = (this._mouseStart(event) !== false);
84
+ if (!this._mouseStarted) {
85
+ event.preventDefault();
86
+ return true;
87
+ }
88
+ }
89
+
90
+ // Click event may never have fired (Gecko & Opera)
91
+ if (true === $.data(event.target, this.widgetName + ".preventClickEvent")) {
92
+ $.removeData(event.target, this.widgetName + ".preventClickEvent");
93
+ }
94
+
95
+ // these delegates are required to keep context
96
+ this._mouseMoveDelegate = function(event) {
97
+ return that._mouseMove(event);
98
+ };
99
+ this._mouseUpDelegate = function(event) {
100
+ return that._mouseUp(event);
101
+ };
102
+ $(document)
103
+ .bind("mousemove."+this.widgetName, this._mouseMoveDelegate)
104
+ .bind("mouseup."+this.widgetName, this._mouseUpDelegate);
105
+
106
+ event.preventDefault();
107
+
108
+ mouseHandled = true;
109
+ return true;
110
+ },
111
+
112
+ _mouseMove: function(event) {
113
+ // IE mouseup check - mouseup happened when mouse was out of window
114
+ if ($.ui.ie && ( !document.documentMode || document.documentMode < 9 ) && !event.button) {
115
+ return this._mouseUp(event);
116
+ }
117
+
118
+ if (this._mouseStarted) {
119
+ this._mouseDrag(event);
120
+ return event.preventDefault();
121
+ }
122
+
123
+ if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {
124
+ this._mouseStarted =
125
+ (this._mouseStart(this._mouseDownEvent, event) !== false);
126
+ (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event));
127
+ }
128
+
129
+ return !this._mouseStarted;
130
+ },
131
+
132
+ _mouseUp: function(event) {
133
+ $(document)
134
+ .unbind("mousemove."+this.widgetName, this._mouseMoveDelegate)
135
+ .unbind("mouseup."+this.widgetName, this._mouseUpDelegate);
136
+
137
+ if (this._mouseStarted) {
138
+ this._mouseStarted = false;
139
+
140
+ if (event.target === this._mouseDownEvent.target) {
141
+ $.data(event.target, this.widgetName + ".preventClickEvent", true);
142
+ }
143
+
144
+ this._mouseStop(event);
145
+ }
146
+
147
+ return false;
148
+ },
149
+
150
+ _mouseDistanceMet: function(event) {
151
+ return (Math.max(
152
+ Math.abs(this._mouseDownEvent.pageX - event.pageX),
153
+ Math.abs(this._mouseDownEvent.pageY - event.pageY)
154
+ ) >= this.options.distance
155
+ );
156
+ },
157
+
158
+ _mouseDelayMet: function(/* event */) {
159
+ return this.mouseDelayMet;
160
+ },
161
+
162
+ // These are placeholder methods, to be overriden by extending plugin
163
+ _mouseStart: function(/* event */) {},
164
+ _mouseDrag: function(/* event */) {},
165
+ _mouseStop: function(/* event */) {},
166
+ _mouseCapture: function(/* event */) { return true; }
167
+ });
168
+
169
+ })(jQuery);
@@ -0,0 +1,501 @@
1
+ /*!
2
+ * jQuery UI Position 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/position/
10
+ */
11
+ (function( $, undefined ) {
12
+
13
+ $.ui = $.ui || {};
14
+
15
+ var cachedScrollbarWidth,
16
+ max = Math.max,
17
+ abs = Math.abs,
18
+ round = Math.round,
19
+ rhorizontal = /left|center|right/,
20
+ rvertical = /top|center|bottom/,
21
+ roffset = /[\+\-]\d+(\.[\d]+)?%?/,
22
+ rposition = /^\w+/,
23
+ rpercent = /%$/,
24
+ _position = $.fn.position;
25
+
26
+ function getOffsets( offsets, width, height ) {
27
+ return [
28
+ parseFloat( offsets[ 0 ] ) * ( rpercent.test( offsets[ 0 ] ) ? width / 100 : 1 ),
29
+ parseFloat( offsets[ 1 ] ) * ( rpercent.test( offsets[ 1 ] ) ? height / 100 : 1 )
30
+ ];
31
+ }
32
+
33
+ function parseCss( element, property ) {
34
+ return parseInt( $.css( element, property ), 10 ) || 0;
35
+ }
36
+
37
+ function getDimensions( elem ) {
38
+ var raw = elem[0];
39
+ if ( raw.nodeType === 9 ) {
40
+ return {
41
+ width: elem.width(),
42
+ height: elem.height(),
43
+ offset: { top: 0, left: 0 }
44
+ };
45
+ }
46
+ if ( $.isWindow( raw ) ) {
47
+ return {
48
+ width: elem.width(),
49
+ height: elem.height(),
50
+ offset: { top: elem.scrollTop(), left: elem.scrollLeft() }
51
+ };
52
+ }
53
+ if ( raw.preventDefault ) {
54
+ return {
55
+ width: 0,
56
+ height: 0,
57
+ offset: { top: raw.pageY, left: raw.pageX }
58
+ };
59
+ }
60
+ return {
61
+ width: elem.outerWidth(),
62
+ height: elem.outerHeight(),
63
+ offset: elem.offset()
64
+ };
65
+ }
66
+
67
+ $.position = {
68
+ scrollbarWidth: function() {
69
+ if ( cachedScrollbarWidth !== undefined ) {
70
+ return cachedScrollbarWidth;
71
+ }
72
+ var w1, w2,
73
+ div = $( "<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>" ),
74
+ innerDiv = div.children()[0];
75
+
76
+ $( "body" ).append( div );
77
+ w1 = innerDiv.offsetWidth;
78
+ div.css( "overflow", "scroll" );
79
+
80
+ w2 = innerDiv.offsetWidth;
81
+
82
+ if ( w1 === w2 ) {
83
+ w2 = div[0].clientWidth;
84
+ }
85
+
86
+ div.remove();
87
+
88
+ return (cachedScrollbarWidth = w1 - w2);
89
+ },
90
+ getScrollInfo: function( within ) {
91
+ var overflowX = within.isWindow || within.isDocument ? "" :
92
+ within.element.css( "overflow-x" ),
93
+ overflowY = within.isWindow || within.isDocument ? "" :
94
+ within.element.css( "overflow-y" ),
95
+ hasOverflowX = overflowX === "scroll" ||
96
+ ( overflowX === "auto" && within.width < within.element[0].scrollWidth ),
97
+ hasOverflowY = overflowY === "scroll" ||
98
+ ( overflowY === "auto" && within.height < within.element[0].scrollHeight );
99
+ return {
100
+ width: hasOverflowY ? $.position.scrollbarWidth() : 0,
101
+ height: hasOverflowX ? $.position.scrollbarWidth() : 0
102
+ };
103
+ },
104
+ getWithinInfo: function( element ) {
105
+ var withinElement = $( element || window ),
106
+ isWindow = $.isWindow( withinElement[0] ),
107
+ isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9;
108
+ return {
109
+ element: withinElement,
110
+ isWindow: isWindow,
111
+ isDocument: isDocument,
112
+ offset: withinElement.offset() || { left: 0, top: 0 },
113
+ scrollLeft: withinElement.scrollLeft(),
114
+ scrollTop: withinElement.scrollTop(),
115
+ width: isWindow ? withinElement.width() : withinElement.outerWidth(),
116
+ height: isWindow ? withinElement.height() : withinElement.outerHeight()
117
+ };
118
+ }
119
+ };
120
+
121
+ $.fn.position = function( options ) {
122
+ if ( !options || !options.of ) {
123
+ return _position.apply( this, arguments );
124
+ }
125
+
126
+ // make a copy, we don't want to modify arguments
127
+ options = $.extend( {}, options );
128
+
129
+ var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
130
+ target = $( options.of ),
131
+ within = $.position.getWithinInfo( options.within ),
132
+ scrollInfo = $.position.getScrollInfo( within ),
133
+ collision = ( options.collision || "flip" ).split( " " ),
134
+ offsets = {};
135
+
136
+ dimensions = getDimensions( target );
137
+ if ( target[0].preventDefault ) {
138
+ // force left top to allow flipping
139
+ options.at = "left top";
140
+ }
141
+ targetWidth = dimensions.width;
142
+ targetHeight = dimensions.height;
143
+ targetOffset = dimensions.offset;
144
+ // clone to reuse original targetOffset later
145
+ basePosition = $.extend( {}, targetOffset );
146
+
147
+ // force my and at to have valid horizontal and vertical positions
148
+ // if a value is missing or invalid, it will be converted to center
149
+ $.each( [ "my", "at" ], function() {
150
+ var pos = ( options[ this ] || "" ).split( " " ),
151
+ horizontalOffset,
152
+ verticalOffset;
153
+
154
+ if ( pos.length === 1) {
155
+ pos = rhorizontal.test( pos[ 0 ] ) ?
156
+ pos.concat( [ "center" ] ) :
157
+ rvertical.test( pos[ 0 ] ) ?
158
+ [ "center" ].concat( pos ) :
159
+ [ "center", "center" ];
160
+ }
161
+ pos[ 0 ] = rhorizontal.test( pos[ 0 ] ) ? pos[ 0 ] : "center";
162
+ pos[ 1 ] = rvertical.test( pos[ 1 ] ) ? pos[ 1 ] : "center";
163
+
164
+ // calculate offsets
165
+ horizontalOffset = roffset.exec( pos[ 0 ] );
166
+ verticalOffset = roffset.exec( pos[ 1 ] );
167
+ offsets[ this ] = [
168
+ horizontalOffset ? horizontalOffset[ 0 ] : 0,
169
+ verticalOffset ? verticalOffset[ 0 ] : 0
170
+ ];
171
+
172
+ // reduce to just the positions without the offsets
173
+ options[ this ] = [
174
+ rposition.exec( pos[ 0 ] )[ 0 ],
175
+ rposition.exec( pos[ 1 ] )[ 0 ]
176
+ ];
177
+ });
178
+
179
+ // normalize collision option
180
+ if ( collision.length === 1 ) {
181
+ collision[ 1 ] = collision[ 0 ];
182
+ }
183
+
184
+ if ( options.at[ 0 ] === "right" ) {
185
+ basePosition.left += targetWidth;
186
+ } else if ( options.at[ 0 ] === "center" ) {
187
+ basePosition.left += targetWidth / 2;
188
+ }
189
+
190
+ if ( options.at[ 1 ] === "bottom" ) {
191
+ basePosition.top += targetHeight;
192
+ } else if ( options.at[ 1 ] === "center" ) {
193
+ basePosition.top += targetHeight / 2;
194
+ }
195
+
196
+ atOffset = getOffsets( offsets.at, targetWidth, targetHeight );
197
+ basePosition.left += atOffset[ 0 ];
198
+ basePosition.top += atOffset[ 1 ];
199
+
200
+ return this.each(function() {
201
+ var collisionPosition, using,
202
+ elem = $( this ),
203
+ elemWidth = elem.outerWidth(),
204
+ elemHeight = elem.outerHeight(),
205
+ marginLeft = parseCss( this, "marginLeft" ),
206
+ marginTop = parseCss( this, "marginTop" ),
207
+ collisionWidth = elemWidth + marginLeft + parseCss( this, "marginRight" ) + scrollInfo.width,
208
+ collisionHeight = elemHeight + marginTop + parseCss( this, "marginBottom" ) + scrollInfo.height,
209
+ position = $.extend( {}, basePosition ),
210
+ myOffset = getOffsets( offsets.my, elem.outerWidth(), elem.outerHeight() );
211
+
212
+ if ( options.my[ 0 ] === "right" ) {
213
+ position.left -= elemWidth;
214
+ } else if ( options.my[ 0 ] === "center" ) {
215
+ position.left -= elemWidth / 2;
216
+ }
217
+
218
+ if ( options.my[ 1 ] === "bottom" ) {
219
+ position.top -= elemHeight;
220
+ } else if ( options.my[ 1 ] === "center" ) {
221
+ position.top -= elemHeight / 2;
222
+ }
223
+
224
+ position.left += myOffset[ 0 ];
225
+ position.top += myOffset[ 1 ];
226
+
227
+ // if the browser doesn't support fractions, then round for consistent results
228
+ if ( !$.support.offsetFractions ) {
229
+ position.left = round( position.left );
230
+ position.top = round( position.top );
231
+ }
232
+
233
+ collisionPosition = {
234
+ marginLeft: marginLeft,
235
+ marginTop: marginTop
236
+ };
237
+
238
+ $.each( [ "left", "top" ], function( i, dir ) {
239
+ if ( $.ui.position[ collision[ i ] ] ) {
240
+ $.ui.position[ collision[ i ] ][ dir ]( position, {
241
+ targetWidth: targetWidth,
242
+ targetHeight: targetHeight,
243
+ elemWidth: elemWidth,
244
+ elemHeight: elemHeight,
245
+ collisionPosition: collisionPosition,
246
+ collisionWidth: collisionWidth,
247
+ collisionHeight: collisionHeight,
248
+ offset: [ atOffset[ 0 ] + myOffset[ 0 ], atOffset [ 1 ] + myOffset[ 1 ] ],
249
+ my: options.my,
250
+ at: options.at,
251
+ within: within,
252
+ elem : elem
253
+ });
254
+ }
255
+ });
256
+
257
+ if ( options.using ) {
258
+ // adds feedback as second argument to using callback, if present
259
+ using = function( props ) {
260
+ var left = targetOffset.left - position.left,
261
+ right = left + targetWidth - elemWidth,
262
+ top = targetOffset.top - position.top,
263
+ bottom = top + targetHeight - elemHeight,
264
+ feedback = {
265
+ target: {
266
+ element: target,
267
+ left: targetOffset.left,
268
+ top: targetOffset.top,
269
+ width: targetWidth,
270
+ height: targetHeight
271
+ },
272
+ element: {
273
+ element: elem,
274
+ left: position.left,
275
+ top: position.top,
276
+ width: elemWidth,
277
+ height: elemHeight
278
+ },
279
+ horizontal: right < 0 ? "left" : left > 0 ? "right" : "center",
280
+ vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle"
281
+ };
282
+ if ( targetWidth < elemWidth && abs( left + right ) < targetWidth ) {
283
+ feedback.horizontal = "center";
284
+ }
285
+ if ( targetHeight < elemHeight && abs( top + bottom ) < targetHeight ) {
286
+ feedback.vertical = "middle";
287
+ }
288
+ if ( max( abs( left ), abs( right ) ) > max( abs( top ), abs( bottom ) ) ) {
289
+ feedback.important = "horizontal";
290
+ } else {
291
+ feedback.important = "vertical";
292
+ }
293
+ options.using.call( this, props, feedback );
294
+ };
295
+ }
296
+
297
+ elem.offset( $.extend( position, { using: using } ) );
298
+ });
299
+ };
300
+
301
+ $.ui.position = {
302
+ fit: {
303
+ left: function( position, data ) {
304
+ var within = data.within,
305
+ withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
306
+ outerWidth = within.width,
307
+ collisionPosLeft = position.left - data.collisionPosition.marginLeft,
308
+ overLeft = withinOffset - collisionPosLeft,
309
+ overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset,
310
+ newOverRight;
311
+
312
+ // element is wider than within
313
+ if ( data.collisionWidth > outerWidth ) {
314
+ // element is initially over the left side of within
315
+ if ( overLeft > 0 && overRight <= 0 ) {
316
+ newOverRight = position.left + overLeft + data.collisionWidth - outerWidth - withinOffset;
317
+ position.left += overLeft - newOverRight;
318
+ // element is initially over right side of within
319
+ } else if ( overRight > 0 && overLeft <= 0 ) {
320
+ position.left = withinOffset;
321
+ // element is initially over both left and right sides of within
322
+ } else {
323
+ if ( overLeft > overRight ) {
324
+ position.left = withinOffset + outerWidth - data.collisionWidth;
325
+ } else {
326
+ position.left = withinOffset;
327
+ }
328
+ }
329
+ // too far left -> align with left edge
330
+ } else if ( overLeft > 0 ) {
331
+ position.left += overLeft;
332
+ // too far right -> align with right edge
333
+ } else if ( overRight > 0 ) {
334
+ position.left -= overRight;
335
+ // adjust based on position and margin
336
+ } else {
337
+ position.left = max( position.left - collisionPosLeft, position.left );
338
+ }
339
+ },
340
+ top: function( position, data ) {
341
+ var within = data.within,
342
+ withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
343
+ outerHeight = data.within.height,
344
+ collisionPosTop = position.top - data.collisionPosition.marginTop,
345
+ overTop = withinOffset - collisionPosTop,
346
+ overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset,
347
+ newOverBottom;
348
+
349
+ // element is taller than within
350
+ if ( data.collisionHeight > outerHeight ) {
351
+ // element is initially over the top of within
352
+ if ( overTop > 0 && overBottom <= 0 ) {
353
+ newOverBottom = position.top + overTop + data.collisionHeight - outerHeight - withinOffset;
354
+ position.top += overTop - newOverBottom;
355
+ // element is initially over bottom of within
356
+ } else if ( overBottom > 0 && overTop <= 0 ) {
357
+ position.top = withinOffset;
358
+ // element is initially over both top and bottom of within
359
+ } else {
360
+ if ( overTop > overBottom ) {
361
+ position.top = withinOffset + outerHeight - data.collisionHeight;
362
+ } else {
363
+ position.top = withinOffset;
364
+ }
365
+ }
366
+ // too far up -> align with top
367
+ } else if ( overTop > 0 ) {
368
+ position.top += overTop;
369
+ // too far down -> align with bottom edge
370
+ } else if ( overBottom > 0 ) {
371
+ position.top -= overBottom;
372
+ // adjust based on position and margin
373
+ } else {
374
+ position.top = max( position.top - collisionPosTop, position.top );
375
+ }
376
+ }
377
+ },
378
+ flip: {
379
+ left: function( position, data ) {
380
+ var within = data.within,
381
+ withinOffset = within.offset.left + within.scrollLeft,
382
+ outerWidth = within.width,
383
+ offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left,
384
+ collisionPosLeft = position.left - data.collisionPosition.marginLeft,
385
+ overLeft = collisionPosLeft - offsetLeft,
386
+ overRight = collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft,
387
+ myOffset = data.my[ 0 ] === "left" ?
388
+ -data.elemWidth :
389
+ data.my[ 0 ] === "right" ?
390
+ data.elemWidth :
391
+ 0,
392
+ atOffset = data.at[ 0 ] === "left" ?
393
+ data.targetWidth :
394
+ data.at[ 0 ] === "right" ?
395
+ -data.targetWidth :
396
+ 0,
397
+ offset = -2 * data.offset[ 0 ],
398
+ newOverRight,
399
+ newOverLeft;
400
+
401
+ if ( overLeft < 0 ) {
402
+ newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth - outerWidth - withinOffset;
403
+ if ( newOverRight < 0 || newOverRight < abs( overLeft ) ) {
404
+ position.left += myOffset + atOffset + offset;
405
+ }
406
+ }
407
+ else if ( overRight > 0 ) {
408
+ newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset + atOffset + offset - offsetLeft;
409
+ if ( newOverLeft > 0 || abs( newOverLeft ) < overRight ) {
410
+ position.left += myOffset + atOffset + offset;
411
+ }
412
+ }
413
+ },
414
+ top: function( position, data ) {
415
+ var within = data.within,
416
+ withinOffset = within.offset.top + within.scrollTop,
417
+ outerHeight = within.height,
418
+ offsetTop = within.isWindow ? within.scrollTop : within.offset.top,
419
+ collisionPosTop = position.top - data.collisionPosition.marginTop,
420
+ overTop = collisionPosTop - offsetTop,
421
+ overBottom = collisionPosTop + data.collisionHeight - outerHeight - offsetTop,
422
+ top = data.my[ 1 ] === "top",
423
+ myOffset = top ?
424
+ -data.elemHeight :
425
+ data.my[ 1 ] === "bottom" ?
426
+ data.elemHeight :
427
+ 0,
428
+ atOffset = data.at[ 1 ] === "top" ?
429
+ data.targetHeight :
430
+ data.at[ 1 ] === "bottom" ?
431
+ -data.targetHeight :
432
+ 0,
433
+ offset = -2 * data.offset[ 1 ],
434
+ newOverTop,
435
+ newOverBottom;
436
+ if ( overTop < 0 ) {
437
+ newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight - outerHeight - withinOffset;
438
+ if ( ( position.top + myOffset + atOffset + offset) > overTop && ( newOverBottom < 0 || newOverBottom < abs( overTop ) ) ) {
439
+ position.top += myOffset + atOffset + offset;
440
+ }
441
+ }
442
+ else if ( overBottom > 0 ) {
443
+ newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop;
444
+ if ( ( position.top + myOffset + atOffset + offset) > overBottom && ( newOverTop > 0 || abs( newOverTop ) < overBottom ) ) {
445
+ position.top += myOffset + atOffset + offset;
446
+ }
447
+ }
448
+ }
449
+ },
450
+ flipfit: {
451
+ left: function() {
452
+ $.ui.position.flip.left.apply( this, arguments );
453
+ $.ui.position.fit.left.apply( this, arguments );
454
+ },
455
+ top: function() {
456
+ $.ui.position.flip.top.apply( this, arguments );
457
+ $.ui.position.fit.top.apply( this, arguments );
458
+ }
459
+ }
460
+ };
461
+
462
+ // fraction support test
463
+ (function () {
464
+ var testElement, testElementParent, testElementStyle, offsetLeft, i,
465
+ body = document.getElementsByTagName( "body" )[ 0 ],
466
+ div = document.createElement( "div" );
467
+
468
+ //Create a "fake body" for testing based on method used in jQuery.support
469
+ testElement = document.createElement( body ? "div" : "body" );
470
+ testElementStyle = {
471
+ visibility: "hidden",
472
+ width: 0,
473
+ height: 0,
474
+ border: 0,
475
+ margin: 0,
476
+ background: "none"
477
+ };
478
+ if ( body ) {
479
+ $.extend( testElementStyle, {
480
+ position: "absolute",
481
+ left: "-1000px",
482
+ top: "-1000px"
483
+ });
484
+ }
485
+ for ( i in testElementStyle ) {
486
+ testElement.style[ i ] = testElementStyle[ i ];
487
+ }
488
+ testElement.appendChild( div );
489
+ testElementParent = body || document.documentElement;
490
+ testElementParent.insertBefore( testElement, testElementParent.firstChild );
491
+
492
+ div.style.cssText = "position: absolute; left: 10.7432222px;";
493
+
494
+ offsetLeft = $( div ).offset().left;
495
+ $.support.offsetFractions = offsetLeft > 10 && offsetLeft < 11;
496
+
497
+ testElement.innerHTML = "";
498
+ testElementParent.removeChild( testElement );
499
+ })();
500
+
501
+ }( jQuery ) );