rbbt-views 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (551) hide show
  1. data/LICENSE +20 -0
  2. data/lib/rbbt/workflow/rest/auth.rb +69 -0
  3. data/lib/rbbt/workflow/rest/client.rb +162 -0
  4. data/lib/rbbt/workflow/rest/entity.rb +77 -0
  5. data/lib/rbbt/workflow/rest/render.rb +209 -0
  6. data/lib/rbbt/workflow/rest/util.rb +329 -0
  7. data/lib/rbbt/workflow/rest.rb +437 -0
  8. data/share/views/compass/_base.sass +19 -0
  9. data/share/views/compass/app.sass +103 -0
  10. data/share/views/compass/compass.config +33 -0
  11. data/share/views/compass/form.sass +23 -0
  12. data/share/views/compass/layout.sass +0 -0
  13. data/share/views/compass/main.sass +161 -0
  14. data/share/views/compass/screen.sass +8 -0
  15. data/share/views/dependencies.haml +7 -0
  16. data/share/views/entity/Gene.haml +6 -0
  17. data/share/views/error.haml +2 -0
  18. data/share/views/files.haml +5 -0
  19. data/share/views/form.haml +66 -0
  20. data/share/views/info.haml +19 -0
  21. data/share/views/job_list.haml +5 -0
  22. data/share/views/js/app.js +221 -0
  23. data/share/views/layout.haml +89 -0
  24. data/share/views/partials/_context_control.haml +14 -0
  25. data/share/views/partials/_job_control.haml +17 -0
  26. data/share/views/partials/_result_table.haml +43 -0
  27. data/share/views/partials/_result_table_controls.haml +47 -0
  28. data/share/views/public/plugins/jqgrid/css/ellipsis-xbl.xml +13 -0
  29. data/share/views/public/plugins/jqgrid/css/ui.jqgrid.css +140 -0
  30. data/share/views/public/plugins/jqgrid/js/Changes.txt +1160 -0
  31. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-ar.js +126 -0
  32. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-bg.js +132 -0
  33. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-bg1251.js +132 -0
  34. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-cat.js +128 -0
  35. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-cn.js +132 -0
  36. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-cs.js +128 -0
  37. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-da.js +128 -0
  38. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-de.js +133 -0
  39. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-el.js +126 -0
  40. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-en.js +128 -0
  41. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-es.js +128 -0
  42. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-fa.js +145 -0
  43. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-fi.js +128 -0
  44. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-fr.js +126 -0
  45. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-gl.js +126 -0
  46. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-he.js +127 -0
  47. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-hu.js +129 -0
  48. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-is.js +126 -0
  49. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-it.js +1 -0
  50. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-ja.js +155 -0
  51. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-lt.js +128 -0
  52. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-mne.js +128 -0
  53. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-nl.js +149 -0
  54. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-no.js +1 -0
  55. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-pl.js +127 -0
  56. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-pt-br.js +127 -0
  57. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-pt.js +125 -0
  58. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-ro.js +139 -0
  59. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-ru.js +127 -0
  60. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-sk.js +127 -0
  61. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-sr.js +128 -0
  62. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-sv.js +127 -0
  63. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-th.js +128 -0
  64. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-tr.js +126 -0
  65. data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-ua.js +127 -0
  66. data/share/views/public/plugins/jqgrid/js/install.txt +43 -0
  67. data/share/views/public/plugins/jqgrid/js/jquery-1.5.2.min.js +16 -0
  68. data/share/views/public/plugins/jqgrid/js/jquery.jqGrid.min.js +464 -0
  69. data/share/views/public/plugins/jqgrid/js/jquery.jqGrid.src.js +10977 -0
  70. data/share/views/public/plugins/jqgrid/plugins/grid.addons.js +704 -0
  71. data/share/views/public/plugins/jqgrid/plugins/grid.postext.js +64 -0
  72. data/share/views/public/plugins/jqgrid/plugins/grid.setcolumns.js +126 -0
  73. data/share/views/public/plugins/jqgrid/plugins/jquery.contextmenu.js +144 -0
  74. data/share/views/public/plugins/jqgrid/plugins/jquery.searchFilter.js +716 -0
  75. data/share/views/public/plugins/jqgrid/plugins/jquery.tablednd.js +383 -0
  76. data/share/views/public/plugins/jqgrid/plugins/ui.multiselect.css +30 -0
  77. data/share/views/public/plugins/jqgrid/plugins/ui.multiselect.js +314 -0
  78. data/share/views/public/plugins/jqgrid/src/JsonXml.js +338 -0
  79. data/share/views/public/plugins/jqgrid/src/css/ellipsis-xbl.xml +13 -0
  80. data/share/views/public/plugins/jqgrid/src/css/ui.jqgrid.css +140 -0
  81. data/share/views/public/plugins/jqgrid/src/css/ui.multiselect.css +30 -0
  82. data/share/views/public/plugins/jqgrid/src/grid.base.js +3279 -0
  83. data/share/views/public/plugins/jqgrid/src/grid.celledit.js +488 -0
  84. data/share/views/public/plugins/jqgrid/src/grid.common.js +668 -0
  85. data/share/views/public/plugins/jqgrid/src/grid.custom.js +440 -0
  86. data/share/views/public/plugins/jqgrid/src/grid.filter.js +713 -0
  87. data/share/views/public/plugins/jqgrid/src/grid.formedit.js +1964 -0
  88. data/share/views/public/plugins/jqgrid/src/grid.grouping.js +292 -0
  89. data/share/views/public/plugins/jqgrid/src/grid.import.js +201 -0
  90. data/share/views/public/plugins/jqgrid/src/grid.inlinedit.js +311 -0
  91. data/share/views/public/plugins/jqgrid/src/grid.jqueryui.js +504 -0
  92. data/share/views/public/plugins/jqgrid/src/grid.loader.js +50 -0
  93. data/share/views/public/plugins/jqgrid/src/grid.subgrid.js +292 -0
  94. data/share/views/public/plugins/jqgrid/src/grid.tbltogrid.js +106 -0
  95. data/share/views/public/plugins/jqgrid/src/grid.treegrid.js +666 -0
  96. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-ar.js +126 -0
  97. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-bg.js +132 -0
  98. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-bg1251.js +132 -0
  99. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-cat.js +128 -0
  100. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-cn.js +132 -0
  101. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-cs.js +128 -0
  102. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-da.js +128 -0
  103. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-de.js +133 -0
  104. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-dk.js +128 -0
  105. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-el.js +126 -0
  106. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-en.js +128 -0
  107. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-es.js +128 -0
  108. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-fa.js +145 -0
  109. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-fi.js +128 -0
  110. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-fr.js +126 -0
  111. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-gl.js +126 -0
  112. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-he.js +127 -0
  113. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-hu.js +129 -0
  114. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-is.js +126 -0
  115. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-it.js +1 -0
  116. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-ja.js +155 -0
  117. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-lt.js +128 -0
  118. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-mne.js +128 -0
  119. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-nl.js +149 -0
  120. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-no.js +1 -0
  121. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-pl.js +127 -0
  122. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-pt-br.js +127 -0
  123. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-pt.js +125 -0
  124. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-ro.js +139 -0
  125. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-ru.js +127 -0
  126. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-sk.js +127 -0
  127. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-sr.js +128 -0
  128. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-sv.js +127 -0
  129. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-th.js +128 -0
  130. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-tr.js +126 -0
  131. data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-ua.js +127 -0
  132. data/share/views/public/plugins/jqgrid/src/jqDnR.js +71 -0
  133. data/share/views/public/plugins/jqgrid/src/jqModal.js +69 -0
  134. data/share/views/public/plugins/jqgrid/src/jquery.fmatter.js +583 -0
  135. data/share/views/public/plugins/jquery/js/jquery-1.6.2.min.js +18 -0
  136. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  137. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  138. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  139. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  140. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  141. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_75_ffffff_1x400.png +0 -0
  142. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  143. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  144. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_222222_256x240.png +0 -0
  145. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_2e83ff_256x240.png +0 -0
  146. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_454545_256x240.png +0 -0
  147. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_888888_256x240.png +0 -0
  148. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
  149. data/share/views/public/plugins/jquery-ui/css/custom-theme/jquery-ui-1.8.14.custom.css +568 -0
  150. data/share/views/public/plugins/jquery-ui/development-bundle/AUTHORS.txt +30 -0
  151. data/share/views/public/plugins/jquery-ui/development-bundle/GPL-LICENSE.txt +278 -0
  152. data/share/views/public/plugins/jquery-ui/development-bundle/MIT-LICENSE.txt +25 -0
  153. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/collapsible.html +57 -0
  154. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/custom-icons.html +69 -0
  155. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/default.html +85 -0
  156. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/fillspace.html +76 -0
  157. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/hoverintent.html +134 -0
  158. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/index.html +25 -0
  159. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/mouseover.html +57 -0
  160. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/no-auto-height.html +60 -0
  161. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/sortable.html +83 -0
  162. data/share/views/public/plugins/jquery-ui/development-bundle/demos/addClass/default.html +52 -0
  163. data/share/views/public/plugins/jquery-ui/development-bundle/demos/addClass/index.html +18 -0
  164. data/share/views/public/plugins/jquery-ui/development-bundle/demos/animate/default.html +61 -0
  165. data/share/views/public/plugins/jquery-ui/development-bundle/demos/animate/index.html +18 -0
  166. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/categories.html +71 -0
  167. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/combobox.html +174 -0
  168. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/custom-data.html +95 -0
  169. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/default.html +64 -0
  170. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/folding.html +62 -0
  171. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/jquery_32x32.png +0 -0
  172. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +0 -0
  173. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
  174. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/transparent_1x1.png +0 -0
  175. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
  176. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/index.html +27 -0
  177. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/london.xml +114 -0
  178. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/maxheight.html +79 -0
  179. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/multiple-remote.html +84 -0
  180. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/multiple.html +99 -0
  181. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/remote-jsonp.html +86 -0
  182. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/remote-with-cache.html +59 -0
  183. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/remote.html +59 -0
  184. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/search.php +640 -0
  185. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/xml.html +72 -0
  186. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/checkbox.html +44 -0
  187. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/default.html +38 -0
  188. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/icons.html +56 -0
  189. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/index.html +23 -0
  190. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/radio.html +39 -0
  191. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/splitbutton.html +55 -0
  192. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/toolbar.html +120 -0
  193. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/alt-field.html +36 -0
  194. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/animation.html +58 -0
  195. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/buttonbar.html +35 -0
  196. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/date-formats.html +47 -0
  197. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/date-range.html +49 -0
  198. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/default.html +33 -0
  199. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/dropdown-month-year.html +36 -0
  200. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/icon-trigger.html +37 -0
  201. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/images/calendar.gif +0 -0
  202. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/index.html +31 -0
  203. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/inline.html +33 -0
  204. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/localization.html +162 -0
  205. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/min-max.html +33 -0
  206. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/multiple-calendars.html +36 -0
  207. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/other-months.html +37 -0
  208. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/show-week.html +39 -0
  209. data/share/views/public/plugins/jquery-ui/development-bundle/demos/demos.css +334 -0
  210. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/animated.html +56 -0
  211. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/default.html +54 -0
  212. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/index.html +23 -0
  213. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal-confirmation.html +69 -0
  214. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal-form.html +167 -0
  215. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal-message.html +71 -0
  216. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal.html +60 -0
  217. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/constrain-movement.html +69 -0
  218. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/cursor-style.html +49 -0
  219. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/default.html +39 -0
  220. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/delay-start.html +45 -0
  221. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/events.html +77 -0
  222. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/handle.html +50 -0
  223. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/index.html +28 -0
  224. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/revert.html +44 -0
  225. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/scroll.html +51 -0
  226. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/snap-to.html +68 -0
  227. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/sortable.html +57 -0
  228. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/visual-feedback.html +77 -0
  229. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/accepted-elements.html +60 -0
  230. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/default.html +53 -0
  231. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  232. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  233. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  234. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  235. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  236. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  237. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  238. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  239. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/index.html +24 -0
  240. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/photo-manager.html +184 -0
  241. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/propagation.html +80 -0
  242. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/revert.html +61 -0
  243. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/shopping-cart.html +101 -0
  244. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/visual-feedback.html +78 -0
  245. data/share/views/public/plugins/jquery-ui/development-bundle/demos/effect/default.html +109 -0
  246. data/share/views/public/plugins/jquery-ui/development-bundle/demos/effect/easing.html +108 -0
  247. data/share/views/public/plugins/jquery-ui/development-bundle/demos/effect/index.html +19 -0
  248. data/share/views/public/plugins/jquery-ui/development-bundle/demos/hide/default.html +102 -0
  249. data/share/views/public/plugins/jquery-ui/development-bundle/demos/hide/index.html +18 -0
  250. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/calendar.gif +0 -0
  251. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  252. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-config-on.gif +0 -0
  253. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  254. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  255. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/icon-docs-info.gif +0 -0
  256. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/pbar-ani.gif +0 -0
  257. data/share/views/public/plugins/jquery-ui/development-bundle/demos/index.html +321 -0
  258. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/cycler.html +122 -0
  259. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/default.html +153 -0
  260. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/images/earth.jpg +0 -0
  261. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/images/flight.jpg +0 -0
  262. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/images/rocket.jpg +0 -0
  263. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/index.html +19 -0
  264. data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/animated.html +44 -0
  265. data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/default.html +35 -0
  266. data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/images/pbar-ani.gif +0 -0
  267. data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/index.html +20 -0
  268. data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/resize.html +40 -0
  269. data/share/views/public/plugins/jquery-ui/development-bundle/demos/removeClass/default.html +52 -0
  270. data/share/views/public/plugins/jquery-ui/development-bundle/demos/removeClass/index.html +18 -0
  271. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/animate.html +43 -0
  272. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/aspect-ratio.html +42 -0
  273. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/constrain-area.html +47 -0
  274. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/default.html +40 -0
  275. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/delay-start.html +52 -0
  276. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/helper.html +43 -0
  277. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/index.html +28 -0
  278. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/max-min.html +45 -0
  279. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/snap-to-grid.html +42 -0
  280. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/synchronous-resize.html +49 -0
  281. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/textarea.html +41 -0
  282. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/visual-feedback.html +43 -0
  283. data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/default.html +50 -0
  284. data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/display-grid.html +55 -0
  285. data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/index.html +20 -0
  286. data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/serialize.html +61 -0
  287. data/share/views/public/plugins/jquery-ui/development-bundle/demos/show/default.html +104 -0
  288. data/share/views/public/plugins/jquery-ui/development-bundle/demos/show/index.html +18 -0
  289. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/colorpicker.html +95 -0
  290. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/default.html +37 -0
  291. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/hotelrooms.html +59 -0
  292. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/index.html +29 -0
  293. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/multiple-vertical.html +77 -0
  294. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/range-vertical.html +51 -0
  295. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/range.html +52 -0
  296. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/rangemax.html +50 -0
  297. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/rangemin.html +51 -0
  298. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/side-scroll.html +140 -0
  299. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/slider-vertical.html +52 -0
  300. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/steps.html +51 -0
  301. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/tabs.html +67 -0
  302. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/connect-lists-through-tabs.html +78 -0
  303. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/connect-lists.html +58 -0
  304. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/default.html +51 -0
  305. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/delay-start.html +67 -0
  306. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/display-grid.html +54 -0
  307. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/empty-lists.html +69 -0
  308. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/index.html +26 -0
  309. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/items.html +70 -0
  310. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/placeholder.html +56 -0
  311. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/portlets.html +96 -0
  312. data/share/views/public/plugins/jquery-ui/development-bundle/demos/switchClass/default.html +47 -0
  313. data/share/views/public/plugins/jquery-ui/development-bundle/demos/switchClass/index.html +18 -0
  314. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content1.html +4 -0
  315. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content2.html +4 -0
  316. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content3-slow.php +7 -0
  317. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content4-broken.php +3 -0
  318. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax.html +53 -0
  319. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/bottom.html +60 -0
  320. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/collapsible.html +55 -0
  321. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/cookie.html +57 -0
  322. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/default.html +49 -0
  323. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/index.html +25 -0
  324. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/manipulation.html +124 -0
  325. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/mouseover.html +53 -0
  326. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/sortable.html +58 -0
  327. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/vertical.html +61 -0
  328. data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggle/default.html +94 -0
  329. data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggle/index.html +18 -0
  330. data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggleClass/default.html +46 -0
  331. data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggleClass/index.html +18 -0
  332. data/share/views/public/plugins/jquery-ui/development-bundle/docs/accordion.html +1017 -0
  333. data/share/views/public/plugins/jquery-ui/development-bundle/docs/addClass.html +109 -0
  334. data/share/views/public/plugins/jquery-ui/development-bundle/docs/animate.html +78 -0
  335. data/share/views/public/plugins/jquery-ui/development-bundle/docs/autocomplete.html +875 -0
  336. data/share/views/public/plugins/jquery-ui/development-bundle/docs/button.html +500 -0
  337. data/share/views/public/plugins/jquery-ui/development-bundle/docs/datepicker.html +2570 -0
  338. data/share/views/public/plugins/jquery-ui/development-bundle/docs/dialog.html +1698 -0
  339. data/share/views/public/plugins/jquery-ui/development-bundle/docs/draggable.html +1577 -0
  340. data/share/views/public/plugins/jquery-ui/development-bundle/docs/droppable.html +829 -0
  341. data/share/views/public/plugins/jquery-ui/development-bundle/docs/effect.html +143 -0
  342. data/share/views/public/plugins/jquery-ui/development-bundle/docs/hide.html +144 -0
  343. data/share/views/public/plugins/jquery-ui/development-bundle/docs/position.html +227 -0
  344. data/share/views/public/plugins/jquery-ui/development-bundle/docs/progressbar.html +460 -0
  345. data/share/views/public/plugins/jquery-ui/development-bundle/docs/removeClass.html +113 -0
  346. data/share/views/public/plugins/jquery-ui/development-bundle/docs/resizable.html +1201 -0
  347. data/share/views/public/plugins/jquery-ui/development-bundle/docs/selectable.html +848 -0
  348. data/share/views/public/plugins/jquery-ui/development-bundle/docs/show.html +144 -0
  349. data/share/views/public/plugins/jquery-ui/development-bundle/docs/slider.html +860 -0
  350. data/share/views/public/plugins/jquery-ui/development-bundle/docs/sortable.html +1953 -0
  351. data/share/views/public/plugins/jquery-ui/development-bundle/docs/switchClass.html +129 -0
  352. data/share/views/public/plugins/jquery-ui/development-bundle/docs/tabs.html +1549 -0
  353. data/share/views/public/plugins/jquery-ui/development-bundle/docs/toggle.html +144 -0
  354. data/share/views/public/plugins/jquery-ui/development-bundle/docs/toggleClass.html +111 -0
  355. data/share/views/public/plugins/jquery-ui/development-bundle/external/jquery.bgiframe-2.1.2.js +39 -0
  356. data/share/views/public/plugins/jquery-ui/development-bundle/external/jquery.cookie.js +89 -0
  357. data/share/views/public/plugins/jquery-ui/development-bundle/external/jquery.metadata.js +122 -0
  358. data/share/views/public/plugins/jquery-ui/development-bundle/external/qunit.css +153 -0
  359. data/share/views/public/plugins/jquery-ui/development-bundle/external/qunit.js +1261 -0
  360. data/share/views/public/plugins/jquery-ui/development-bundle/jquery-1.5.1.js +8316 -0
  361. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  362. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  363. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  364. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  365. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  366. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  367. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  368. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  369. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  370. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  371. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  372. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  373. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  374. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.accordion.css +19 -0
  375. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.all.css +11 -0
  376. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.autocomplete.css +53 -0
  377. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.base.css +11 -0
  378. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.button.css +38 -0
  379. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.core.css +41 -0
  380. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.datepicker.css +68 -0
  381. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
  382. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.progressbar.css +11 -0
  383. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.resizable.css +20 -0
  384. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
  385. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.slider.css +24 -0
  386. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.tabs.css +18 -0
  387. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.theme.css +247 -0
  388. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  389. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  390. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  391. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  392. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  393. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_75_ffffff_1x400.png +0 -0
  394. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  395. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  396. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_222222_256x240.png +0 -0
  397. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_2e83ff_256x240.png +0 -0
  398. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_454545_256x240.png +0 -0
  399. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_888888_256x240.png +0 -0
  400. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
  401. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery-ui-1.8.14.custom.css +568 -0
  402. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.accordion.css +19 -0
  403. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.all.css +11 -0
  404. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.autocomplete.css +53 -0
  405. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.base.css +11 -0
  406. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.button.css +38 -0
  407. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.core.css +41 -0
  408. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.datepicker.css +68 -0
  409. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.dialog.css +21 -0
  410. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.progressbar.css +11 -0
  411. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.resizable.css +20 -0
  412. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.selectable.css +10 -0
  413. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.slider.css +24 -0
  414. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.tabs.css +18 -0
  415. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.theme.css +249 -0
  416. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery-ui-i18n.js +1379 -0
  417. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +23 -0
  418. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
  419. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
  420. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +23 -0
  421. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
  422. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
  423. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
  424. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
  425. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +23 -0
  426. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +23 -0
  427. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +23 -0
  428. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
  429. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
  430. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
  431. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
  432. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +23 -0
  433. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +23 -0
  434. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
  435. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
  436. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
  437. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
  438. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
  439. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
  440. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
  441. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +23 -0
  442. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
  443. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
  444. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
  445. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +23 -0
  446. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +23 -0
  447. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +23 -0
  448. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
  449. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
  450. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
  451. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
  452. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
  453. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
  454. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
  455. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
  456. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +23 -0
  457. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
  458. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
  459. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
  460. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
  461. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
  462. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
  463. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
  464. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
  465. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
  466. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
  467. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
  468. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
  469. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
  470. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +23 -0
  471. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
  472. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
  473. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
  474. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
  475. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
  476. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
  477. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
  478. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery-ui-1.8.14.custom.js +11729 -0
  479. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.blind.js +49 -0
  480. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.bounce.js +78 -0
  481. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.clip.js +54 -0
  482. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.core.js +746 -0
  483. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.drop.js +50 -0
  484. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.explode.js +79 -0
  485. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.fade.js +32 -0
  486. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.fold.js +56 -0
  487. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.highlight.js +50 -0
  488. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.pulsate.js +51 -0
  489. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.scale.js +178 -0
  490. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.shake.js +57 -0
  491. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.slide.js +50 -0
  492. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.transfer.js +45 -0
  493. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.accordion.js +611 -0
  494. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.autocomplete.js +612 -0
  495. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.button.js +416 -0
  496. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.core.js +312 -0
  497. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.datepicker.js +1814 -0
  498. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.dialog.js +878 -0
  499. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.draggable.js +823 -0
  500. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.droppable.js +296 -0
  501. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.mouse.js +160 -0
  502. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.position.js +252 -0
  503. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.progressbar.js +109 -0
  504. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.resizable.js +842 -0
  505. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.selectable.js +266 -0
  506. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.slider.js +666 -0
  507. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.sortable.js +1077 -0
  508. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.tabs.js +758 -0
  509. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.widget.js +262 -0
  510. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.blind.min.js +14 -0
  511. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.bounce.min.js +15 -0
  512. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.clip.min.js +14 -0
  513. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.core.min.js +30 -0
  514. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.drop.min.js +14 -0
  515. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.explode.min.js +15 -0
  516. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.fade.min.js +13 -0
  517. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.fold.min.js +14 -0
  518. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.highlight.min.js +14 -0
  519. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.pulsate.min.js +14 -0
  520. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.scale.min.js +20 -0
  521. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.shake.min.js +14 -0
  522. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.slide.min.js +14 -0
  523. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.transfer.min.js +14 -0
  524. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.accordion.min.js +30 -0
  525. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +32 -0
  526. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.button.min.js +27 -0
  527. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.core.min.js +17 -0
  528. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.datepicker.min.js +83 -0
  529. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.dialog.min.js +40 -0
  530. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.draggable.min.js +50 -0
  531. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.droppable.min.js +27 -0
  532. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.mouse.min.js +17 -0
  533. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.position.min.js +16 -0
  534. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.progressbar.min.js +16 -0
  535. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.resizable.min.js +49 -0
  536. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.selectable.min.js +22 -0
  537. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.slider.min.js +33 -0
  538. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.sortable.min.js +60 -0
  539. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.tabs.min.js +35 -0
  540. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.widget.min.js +15 -0
  541. data/share/views/public/plugins/jquery-ui/development-bundle/version.txt +1 -0
  542. data/share/views/public/plugins/jquery-ui/index.html +367 -0
  543. data/share/views/public/plugins/jquery-ui/js/jquery-1.5.1.min.js +16 -0
  544. data/share/views/public/plugins/jquery-ui/js/jquery-ui-1.8.14.custom.min.js +789 -0
  545. data/share/views/result.haml +38 -0
  546. data/share/views/task_list.haml +7 -0
  547. data/share/views/wait.haml +2 -0
  548. data/share/views/workflow_list.haml +5 -0
  549. data/test/rbbt/workflow/rest/test_client.rb +29 -0
  550. data/test/test_helper.rb +4 -0
  551. metadata +686 -0
@@ -0,0 +1,716 @@
1
+ /* Plugin: searchFilter v1.2.9
2
+ * Author: Kasey Speakman (kasey@cornerspeed.com)
3
+ * License: Dual Licensed, MIT and GPL v2 (http://www.gnu.org/licenses/gpl-2.0.html)
4
+ *
5
+ * REQUIREMENTS:
6
+ * jQuery 1.3+ (http://jquery.com/)
7
+ * A Themeroller Theme (http://jqueryui.com/themeroller/)
8
+ *
9
+ * SECURITY WARNING
10
+ * You should always implement server-side checking to ensure that
11
+ * the query will fail when forged/invalid data is received.
12
+ * Clever users can send any value they want through JavaScript and HTTP POST/GET.
13
+ *
14
+ * THEMES
15
+ * Simply include the CSS file for your Themeroller theme.
16
+ *
17
+ * DESCRIPTION
18
+ * This plugin creates a new searchFilter object in the specified container
19
+ *
20
+ * INPUT TYPE
21
+ * fields: an array of field objects. each object has the following properties:
22
+ * text: a string containing the display name of the field (e.g. "Field 1")
23
+ * itemval: a string containing the actual field name (e.g. "field1")
24
+ * optional properties:
25
+ * ops: an array of operators in the same format as jQuery.fn.searchFilter.defaults.operators
26
+ * that is: [ { op: 'gt', text: 'greater than'}, { op:'lt', text: 'less than'}, ... ]
27
+ * if not specified, the passed-in options used, and failting that, jQuery.fn.searchFilter.defaults.operators will be used
28
+ * *** NOTE ***
29
+ * Specifying a dataUrl or dataValues property means that a <select ...> (drop-down-list) will be generated
30
+ * instead of a text input <input type='text'.../> where the user would normally type in their search data
31
+ * ************
32
+ * dataUrl: a url that will return the html select for this field, this url will only be called once for this field
33
+ * dataValues: the possible values for this field in the form [ { text: 'Data Display Text', value: 'data_actual_value' }, { ... } ]
34
+ * dataInit: a function that you can use to initialize the data field. this function is passed the jQuery-fied data element
35
+ * dataEvents: list of events to apply to the data element. uses $("#id").bind(type, [data], fn) to bind events to data element
36
+ * *** JSON of this object could look like this: ***
37
+ * var fields = [
38
+ * {
39
+ * text: 'Field Display Name',
40
+ * itemval: 'field_actual_name',
41
+ * // below this are optional values
42
+ * ops: [ // this format is the same as jQuery.fn.searchFilter.defaults.operators
43
+ * { op: 'gt', text: 'greater than' },
44
+ * { op: 'lt', text: 'less than' }
45
+ * ],
46
+ * dataUrl: 'http://server/path/script.php?propName=propValue', // using this creates a select for the data input instead of an input type='text'
47
+ * dataValues: [ // using this creates a select for the data input instead of an input type='text'
48
+ * { text: 'Data Value Display Name', value: 'data_actual_value' },
49
+ * { ... }
50
+ * ],
51
+ * dataInit: function(jElem) { jElem.datepicker(options); },
52
+ * dataEvents: [ // these are the same options that you pass to $("#id").bind(type, [data], fn)
53
+ * { type: 'click', data: { i: 7 }, fn: function(e) { console.log(e.data.i); } },
54
+ * { type: 'keypress', fn: function(e) { console.log('keypress'); } }
55
+ * ]
56
+ * },
57
+ * { ... }
58
+ * ]
59
+ * options: name:value properties containing various creation options
60
+ * see jQuery.fn.searchFilter.defaults for the overridable options
61
+ *
62
+ * RETURN TYPE: This plugin returns a SearchFilter object, which has additional SearchFilter methods:
63
+ * Methods
64
+ * add: Adds a filter. added to the end of the list unless a jQuery event object or valid row number is passed.
65
+ * del: Removes a filter. removed from the end of the list unless a jQuery event object or valid row number is passed.
66
+ * reset: resets filters back to original state (only one blank filter), and calls onReset
67
+ * search: puts the search rules into an object and calls onSearch with it
68
+ * close: calls the onClose event handler
69
+ *
70
+ * USAGE
71
+ * HTML
72
+ * <head>
73
+ * ...
74
+ * <script src="path/to/jquery.min.js" type="text/javascript"></script>
75
+ * <link href="path/to/themeroller.css" rel="Stylesheet" type="text/css" />
76
+ * <script src="path/to/jquery.searchFilter.js" type="text/javascript"></script>
77
+ * <link href="path/to/jquery.searchFilter.css" rel="Stylesheet" type="text/css" />
78
+ * ...
79
+ * </head>
80
+ * <body>
81
+ * ...
82
+ * <div id='mySearch'></div>
83
+ * ...
84
+ * </body>
85
+ * JQUERY
86
+ * Methods
87
+ * initializing: $("#mySearch").searchFilter([{text: "Field 1", value: "field1"},{text: "Field 2", value: "field2"}], {onSearch: myFilterRuleReceiverFn, onReset: myFilterResetFn });
88
+ * Manual Methods (there's no need to call these methods unless you are trying to manipulate searchFilter with script)
89
+ * add: $("#mySearch").searchFilter().add(); // appends a blank filter
90
+ * $("#mySearch").searchFilter().add(0); // copies the first filter as second
91
+ * del: $("#mySearch").searchFilter().del(); // removes the bottom filter
92
+ * $("#mySearch").searchFilter().del(1); // removes the second filter
93
+ * search: $("#mySearch").searchFilter().search(); // invokes onSearch, passing it a ruleGroup object
94
+ * reset: $("#mySearch").searchFilter().reset(); // resets rules and invokes onReset
95
+ * close: $("#mySearch").searchFilter().close(); // without an onClose handler, equivalent to $("#mySearch").hide();
96
+ *
97
+ * NOTE: You can get the jQuery object back from the SearchFilter object by chaining .$
98
+ * Example
99
+ * $("#mySearch").searchFilter().add().add().reset().$.hide();
100
+ * Verbose Example
101
+ * $("#mySearch") // gets jQuery object for the HTML element with id="mySearch"
102
+ * .searchFilter() // gets the SearchFilter object for an existing search filter
103
+ * .add() // adds a new filter to the end of the list
104
+ * .add() // adds another new filter to the end of the list
105
+ * .reset() // resets filters back to original state, triggers onReset
106
+ * .$ // returns jQuery object for $("#mySearch")
107
+ * .hide(); // equivalent to $("#mySearch").hide();
108
+ */
109
+
110
+ jQuery.fn.searchFilter = function(fields, options) {
111
+
112
+ function SearchFilter(jQ, fields, options) {
113
+
114
+
115
+ //---------------------------------------------------------------
116
+ // PUBLIC VARS
117
+ //---------------------------------------------------------------
118
+
119
+ this.$ = jQ; // makes the jQuery object available as .$ from the return value
120
+
121
+
122
+ //---------------------------------------------------------------
123
+ // PUBLIC FUNCTIONS
124
+ //---------------------------------------------------------------
125
+
126
+ this.add = function(i) {
127
+ if (i == null) jQ.find(".ui-add-last").click();
128
+ else jQ.find(".sf:eq(" + i + ") .ui-add").click();
129
+ return this;
130
+ };
131
+
132
+ this.del = function(i) {
133
+ if (i == null) jQ.find(".sf:last .ui-del").click();
134
+ else jQ.find(".sf:eq(" + i + ") .ui-del").click();
135
+ return this;
136
+ };
137
+
138
+ this.search = function(e) {
139
+ jQ.find(".ui-search").click();
140
+ return this;
141
+ };
142
+
143
+ this.reset = function(o) {
144
+ if(o===undefined) o = false;
145
+ jQ.find(".ui-reset").trigger('click',[o]);
146
+ return this;
147
+ };
148
+
149
+ this.close = function() {
150
+ jQ.find(".ui-closer").click();
151
+ return this;
152
+ };
153
+
154
+
155
+
156
+ //---------------------------------------------------------------
157
+ // "CONSTRUCTOR" (in air quotes)
158
+ //---------------------------------------------------------------
159
+
160
+ if (fields != null) { // type coercion matches undefined as well as null
161
+
162
+
163
+ //---------------------------------------------------------------
164
+ // UTILITY FUNCTIONS
165
+ //---------------------------------------------------------------
166
+
167
+ function hover() {
168
+ jQuery(this).toggleClass("ui-state-hover");
169
+ return false;
170
+ }
171
+
172
+ function active(e) {
173
+ jQuery(this).toggleClass("ui-state-active", (e.type == "mousedown"));
174
+ return false;
175
+ }
176
+
177
+ function buildOpt(value, text) {
178
+ return "<option value='" + value + "'>" + text + "</option>";
179
+ }
180
+
181
+ function buildSel(className, options, isHidden) {
182
+ return "<select class='" + className + "'" + (isHidden ? " style='display:none;'" : "") + ">" + options + "</select>";
183
+ }
184
+
185
+ function initData(selector, fn) {
186
+ var jElem = jQ.find("tr.sf td.data " + selector);
187
+ if (jElem[0] != null)
188
+ fn(jElem);
189
+ }
190
+
191
+ function bindDataEvents(selector, events) {
192
+ var jElem = jQ.find("tr.sf td.data " + selector);
193
+ if (jElem[0] != null) {
194
+ jQuery.each(events, function() {
195
+ if (this.data != null)
196
+ jElem.bind(this.type, this.data, this.fn);
197
+ else
198
+ jElem.bind(this.type, this.fn);
199
+ });
200
+ }
201
+ }
202
+
203
+
204
+ //---------------------------------------------------------------
205
+ // SUPER IMPORTANT PRIVATE VARS
206
+ //---------------------------------------------------------------
207
+
208
+ // copies jQuery.fn.searchFilter.defaults.options properties onto an empty object, then options onto that
209
+ var opts = jQuery.extend({}, jQuery.fn.searchFilter.defaults, options);
210
+
211
+ // this is keeps track of the last asynchronous setup
212
+ var highest_late_setup = -1;
213
+
214
+
215
+ //---------------------------------------------------------------
216
+ // CREATION PROCESS STARTS
217
+ //---------------------------------------------------------------
218
+
219
+ // generate the global ops
220
+ var gOps_html = "";
221
+ jQuery.each(opts.groupOps, function() { gOps_html += buildOpt(this.op, this.text); });
222
+ gOps_html = "<select name='groupOp'>" + gOps_html + "</select>";
223
+
224
+ /* original content - doesn't minify very well
225
+ jQ
226
+ .html("") // clear any old content
227
+ .addClass("ui-searchFilter") // add classes
228
+ .append( // add content
229
+ "\
230
+ <div class='ui-widget-overlay' style='z-index: -1'>&nbsp;</div>\
231
+ <table class='ui-widget-content ui-corner-all'>\
232
+ <thead>\
233
+ <tr>\
234
+ <td colspan='5' class='ui-widget-header ui-corner-all' style='line-height: 18px;'>\
235
+ <div class='ui-closer ui-state-default ui-corner-all ui-helper-clearfix' style='float: right;'>\
236
+ <span class='ui-icon ui-icon-close'></span>\
237
+ </div>\
238
+ " + opts.windowTitle + "\
239
+ </td>\
240
+ </tr>\
241
+ </thead>\
242
+ <tbody>\
243
+ <tr class='sf'>\
244
+ <td class='fields'></td>\
245
+ <td class='ops'></td>\
246
+ <td class='data'></td>\
247
+ <td><div class='ui-del ui-state-default ui-corner-all'><span class='ui-icon ui-icon-minus'></span></div></td>\
248
+ <td><div class='ui-add ui-state-default ui-corner-all'><span class='ui-icon ui-icon-plus'></span></div></td>\
249
+ </tr>\
250
+ <tr>\
251
+ <td colspan='5' class='divider'><div>&nbsp;</div></td>\
252
+ </tr>\
253
+ </tbody>\
254
+ <tfoot>\
255
+ <tr>\
256
+ <td colspan='3'>\
257
+ <span class='ui-reset ui-state-default ui-corner-all' style='display: inline-block; float: left;'><span class='ui-icon ui-icon-arrowreturnthick-1-w' style='float: left;'></span><span style='line-height: 18px; padding: 0 7px 0 3px;'>" + opts.resetText + "</span></span>\
258
+ <span class='ui-search ui-state-default ui-corner-all' style='display: inline-block; float: right;'><span class='ui-icon ui-icon-search' style='float: left;'></span><span style='line-height: 18px; padding: 0 7px 0 3px;'>" + opts.searchText + "</span></span>\
259
+ <span class='matchText'>" + opts.matchText + "</span> \
260
+ " + gOps_html + " \
261
+ <span class='rulesText'>" + opts.rulesText + "</span>\
262
+ </td>\
263
+ <td>&nbsp;</td>\
264
+ <td><div class='ui-add-last ui-state-default ui-corner-all'><span class='ui-icon ui-icon-plusthick'></span></div></td>\
265
+ </tr>\
266
+ </tfoot>\
267
+ </table>\
268
+ ");
269
+ /* end hard-to-minify code */
270
+ /* begin easier to minify code */
271
+ jQ.html("").addClass("ui-searchFilter").append("<div class='ui-widget-overlay' style='z-index: -1'>&#160;</div><table class='ui-widget-content ui-corner-all'><thead><tr><td colspan='5' class='ui-widget-header ui-corner-all' style='line-height: 18px;'><div class='ui-closer ui-state-default ui-corner-all ui-helper-clearfix' style='float: right;'><span class='ui-icon ui-icon-close'></span></div>" + opts.windowTitle + "</td></tr></thead><tbody><tr class='sf'><td class='fields'></td><td class='ops'></td><td class='data'></td><td><div class='ui-del ui-state-default ui-corner-all'><span class='ui-icon ui-icon-minus'></span></div></td><td><div class='ui-add ui-state-default ui-corner-all'><span class='ui-icon ui-icon-plus'></span></div></td></tr><tr><td colspan='5' class='divider'><hr class='ui-widget-content' style='margin:1px'/></td></tr></tbody><tfoot><tr><td colspan='3'><span class='ui-reset ui-state-default ui-corner-all' style='display: inline-block; float: left;'><span class='ui-icon ui-icon-arrowreturnthick-1-w' style='float: left;'></span><span style='line-height: 18px; padding: 0 7px 0 3px;'>" + opts.resetText + "</span></span><span class='ui-search ui-state-default ui-corner-all' style='display: inline-block; float: right;'><span class='ui-icon ui-icon-search' style='float: left;'></span><span style='line-height: 18px; padding: 0 7px 0 3px;'>" + opts.searchText + "</span></span><span class='matchText'>" + opts.matchText + "</span> " + gOps_html + " <span class='rulesText'>" + opts.rulesText + "</span></td><td>&#160;</td><td><div class='ui-add-last ui-state-default ui-corner-all'><span class='ui-icon ui-icon-plusthick'></span></div></td></tr></tfoot></table>");
272
+ /* end easier-to-minify code */
273
+
274
+ var jRow = jQ.find("tr.sf");
275
+ var jFields = jRow.find("td.fields");
276
+ var jOps = jRow.find("td.ops");
277
+ var jData = jRow.find("td.data");
278
+
279
+ // generate the defaults
280
+ var default_ops_html = "";
281
+ jQuery.each(opts.operators, function() { default_ops_html += buildOpt(this.op, this.text); });
282
+ default_ops_html = buildSel("default", default_ops_html, true);
283
+ jOps.append(default_ops_html);
284
+ var default_data_html = "<input type='text' class='default' style='display:none;' />";
285
+ jData.append(default_data_html);
286
+
287
+ // generate the field list as a string
288
+ var fields_html = "";
289
+ var has_custom_ops = false;
290
+ var has_custom_data = false;
291
+ jQuery.each(fields, function(i) {
292
+ var field_num = i;
293
+ fields_html += buildOpt(this.itemval, this.text);
294
+ // add custom ops if they exist
295
+ if (this.ops != null) {
296
+ has_custom_ops = true;
297
+ var custom_ops = "";
298
+ jQuery.each(this.ops, function() { custom_ops += buildOpt(this.op, this.text); });
299
+ custom_ops = buildSel("field" + field_num, custom_ops, true);
300
+ jOps.append(custom_ops);
301
+ }
302
+ // add custom data if it is given
303
+ if (this.dataUrl != null) {
304
+ if (i > highest_late_setup) highest_late_setup = i;
305
+ has_custom_data = true;
306
+ var dEvents = this.dataEvents;
307
+ var iEvent = this.dataInit;
308
+ var bs = this.buildSelect;
309
+ jQuery.ajax(jQuery.extend({
310
+ url : this.dataUrl,
311
+ complete: function(data) {
312
+ var $d;
313
+ if(bs != null) $d =jQuery("<div />").append(bs(data));
314
+ else $d = jQuery("<div />").append(data.responseText);
315
+ $d.find("select").addClass("field" + field_num).hide();
316
+ jData.append($d.html());
317
+ if (iEvent) initData(".field" + i, iEvent);
318
+ if (dEvents) bindDataEvents(".field" + i, dEvents);
319
+ if (i == highest_late_setup) { // change should get called no more than twice when this searchFilter is constructed
320
+ jQ.find("tr.sf td.fields select[name='field']").change();
321
+ }
322
+ }
323
+ },opts.ajaxSelectOptions));
324
+ } else if (this.dataValues != null) {
325
+ has_custom_data = true;
326
+ var custom_data = "";
327
+ jQuery.each(this.dataValues, function() { custom_data += buildOpt(this.value, this.text); });
328
+ custom_data = buildSel("field" + field_num, custom_data, true);
329
+ jData.append(custom_data);
330
+ } else if (this.dataEvents != null || this.dataInit != null) {
331
+ has_custom_data = true;
332
+ var custom_data = "<input type='text' class='field" + field_num + "' />";
333
+ jData.append(custom_data);
334
+ }
335
+ // attach events to data if they exist
336
+ if (this.dataInit != null && i != highest_late_setup)
337
+ initData(".field" + i, this.dataInit);
338
+ if (this.dataEvents != null && i != highest_late_setup)
339
+ bindDataEvents(".field" + i, this.dataEvents);
340
+ });
341
+ fields_html = "<select name='field'>" + fields_html + "</select>";
342
+ jFields.append(fields_html);
343
+
344
+ // setup the field select with an on-change event if there are custom ops or data
345
+ var jFSelect = jFields.find("select[name='field']");
346
+ if (has_custom_ops) jFSelect.change(function(e) {
347
+ var index = e.target.selectedIndex;
348
+ var td = jQuery(e.target).parents("tr.sf").find("td.ops");
349
+ td.find("select").removeAttr("name").hide(); // disown and hide all elements
350
+ var jElem = td.find(".field" + index);
351
+ if (jElem[0] == null) jElem = td.find(".default"); // if there's not an element for that field, use the default one
352
+ jElem.attr("name", "op").show();
353
+ return false;
354
+ });
355
+ else jOps.find(".default").attr("name", "op").show();
356
+ if (has_custom_data) jFSelect.change(function(e) {
357
+ var index = e.target.selectedIndex;
358
+ var td = jQuery(e.target).parents("tr.sf").find("td.data");
359
+ td.find("select,input").removeClass("vdata").hide(); // disown and hide all elements
360
+ var jElem = td.find(".field" + index);
361
+ if (jElem[0] == null) jElem = td.find(".default"); // if there's not an element for that field, use the default one
362
+ jElem.show().addClass("vdata");
363
+ return false;
364
+ });
365
+ else jData.find(".default").show().addClass("vdata");
366
+ // go ahead and call the change event and setup the ops and data values
367
+ if (has_custom_ops || has_custom_data) jFSelect.change();
368
+
369
+ // bind events
370
+ jQ.find(".ui-state-default").hover(hover, hover).mousedown(active).mouseup(active); // add hover/active effects to all buttons
371
+ jQ.find(".ui-closer").click(function(e) {
372
+ opts.onClose(jQuery(jQ.selector));
373
+ return false;
374
+ });
375
+ jQ.find(".ui-del").click(function(e) {
376
+ var row = jQuery(e.target).parents(".sf");
377
+ if (row.siblings(".sf").length > 0) { // doesn't remove if there's only one filter left
378
+ if (opts.datepickerFix === true && jQuery.fn.datepicker !== undefined)
379
+ row.find(".hasDatepicker").datepicker("destroy"); // clean up datepicker's $.data mess
380
+ row.remove(); // also unbinds
381
+ } else { // resets the filter if it's the last one
382
+ row.find("select[name='field']")[0].selectedIndex = 0;
383
+ row.find("select[name='op']")[0].selectedIndex = 0;
384
+ row.find(".data input").val(""); // blank all input values
385
+ row.find(".data select").each(function() { this.selectedIndex = 0; }); // select first option on all selects
386
+ row.find("select[name='field']").change(function(event){event.stopPropagation();}); // trigger any change events
387
+ }
388
+ return false;
389
+ });
390
+ jQ.find(".ui-add").click(function(e) {
391
+ var row = jQuery(e.target).parents(".sf");
392
+ var newRow = row.clone(true).insertAfter(row);
393
+ newRow.find(".ui-state-default").removeClass("ui-state-hover ui-state-active");
394
+ if (opts.clone) {
395
+ newRow.find("select[name='field']")[0].selectedIndex = row.find("select[name='field']")[0].selectedIndex;
396
+ var stupid_browser = (newRow.find("select[name='op']")[0] == null); // true for IE6
397
+ if (!stupid_browser)
398
+ newRow.find("select[name='op']").focus()[0].selectedIndex = row.find("select[name='op']")[0].selectedIndex;
399
+ var jElem = newRow.find("select.vdata");
400
+ if (jElem[0] != null) // select doesn't copy it's selected index when cloned
401
+ jElem[0].selectedIndex = row.find("select.vdata")[0].selectedIndex;
402
+ } else {
403
+ newRow.find(".data input").val(""); // blank all input values
404
+ newRow.find("select[name='field']").focus();
405
+ }
406
+ if (opts.datepickerFix === true && jQuery.fn.datepicker !== undefined) { // using $.data to associate data with document elements is Not Good
407
+ row.find(".hasDatepicker").each(function() {
408
+ var settings = jQuery.data(this, "datepicker").settings;
409
+ newRow.find("#" + this.id).unbind().removeAttr("id").removeClass("hasDatepicker").datepicker(settings);
410
+ });
411
+ }
412
+ newRow.find("select[name='field']").change(function(event){event.stopPropagation();} );
413
+ return false;
414
+ });
415
+ jQ.find(".ui-search").click(function(e) {
416
+ var ui = jQuery(jQ.selector); // pointer to search box wrapper element
417
+ var ruleGroup;
418
+ var group_op = ui.find("select[name='groupOp'] :selected").val(); // puls "AND" or "OR"
419
+ if (!opts.stringResult) {
420
+ ruleGroup = {
421
+ groupOp: group_op,
422
+ rules: []
423
+ };
424
+ } else {
425
+ ruleGroup = "{\"groupOp\":\"" + group_op + "\",\"rules\":[";
426
+ }
427
+ ui.find(".sf").each(function(i) {
428
+ var tField = jQuery(this).find("select[name='field'] :selected").val();
429
+ var tOp = jQuery(this).find("select[name='op'] :selected").val();
430
+ var tData = jQuery(this).find("input.vdata,select.vdata :selected").val();
431
+ tData += "";
432
+ if (!opts.stringResult) {
433
+ ruleGroup.rules.push({
434
+ field: tField,
435
+ op: tOp,
436
+ data: tData
437
+ });
438
+ } else {
439
+ tData = tData.replace(/\\/g,'\\\\').replace(/\"/g,'\\"');
440
+ if (i > 0) ruleGroup += ",";
441
+ ruleGroup += "{\"field\":\"" + tField + "\",";
442
+ ruleGroup += "\"op\":\"" + tOp + "\",";
443
+ ruleGroup += "\"data\":\"" + tData + "\"}";
444
+ }
445
+ });
446
+ if (opts.stringResult) ruleGroup += "]}";
447
+ opts.onSearch(ruleGroup);
448
+ return false;
449
+ });
450
+ jQ.find(".ui-reset").click(function(e,op) {
451
+ var ui = jQuery(jQ.selector);
452
+ ui.find(".ui-del").click(); // removes all filters, resets the last one
453
+ ui.find("select[name='groupOp']")[0].selectedIndex = 0; // changes the op back to the default one
454
+ opts.onReset(op);
455
+ return false;
456
+ });
457
+ jQ.find(".ui-add-last").click(function() {
458
+ var row = jQuery(jQ.selector + " .sf:last");
459
+ var newRow = row.clone(true).insertAfter(row);
460
+ newRow.find(".ui-state-default").removeClass("ui-state-hover ui-state-active");
461
+ newRow.find(".data input").val(""); // blank all input values
462
+ newRow.find("select[name='field']").focus();
463
+ if (opts.datepickerFix === true && jQuery.fn.datepicker !== undefined) { // using $.data to associate data with document elements is Not Good
464
+ row.find(".hasDatepicker").each(function() {
465
+ var settings = jQuery.data(this, "datepicker").settings;
466
+ newRow.find("#" + this.id).unbind().removeAttr("id").removeClass("hasDatepicker").datepicker(settings);
467
+ });
468
+ }
469
+ newRow.find("select[name='field']").change(function(event){event.stopPropagation();});
470
+ return false;
471
+ });
472
+
473
+ this.setGroupOp = function(setting) {
474
+ /* a "setter" for groupping argument.
475
+ * ("AND" or "OR")
476
+ *
477
+ * Inputs:
478
+ * setting - a string
479
+ *
480
+ * Returns:
481
+ * Does not return anything. May add success / failure reporting in future versions.
482
+ *
483
+ * author: Daniel Dotsenko (dotsa@hotmail.com)
484
+ */
485
+ selDOMobj = jQ.find("select[name='groupOp']")[0];
486
+ var indexmap = {}, l = selDOMobj.options.length, i;
487
+ for (i=0; i<l; i++) {
488
+ indexmap[selDOMobj.options[i].value] = i;
489
+ }
490
+ selDOMobj.selectedIndex = indexmap[setting];
491
+ jQuery(selDOMobj).change(function(event){event.stopPropagation();});
492
+ };
493
+
494
+ this.setFilter = function(settings) {
495
+ /* a "setter" for an arbitrary SearchFilter's filter line.
496
+ * designed to abstract the DOM manipulations required to infer
497
+ * a particular filter is a fit to the search box.
498
+ *
499
+ * Inputs:
500
+ * settings - an "object" (dictionary)
501
+ * index (optional*) (to be implemented in the future) : signed integer index (from top to bottom per DOM) of the filter line to fill.
502
+ * Negative integers (rooted in -1 and lower) denote position of the line from the bottom.
503
+ * sfref (optional*) : DOM object referencing individual '.sf' (normally a TR element) to be populated. (optional)
504
+ * filter (mandatory) : object (dictionary) of form {'field':'field_value','op':'op_value','data':'data value'}
505
+ *
506
+ * * It is mandatory to have either index or sfref defined.
507
+ *
508
+ * Returns:
509
+ * Does not return anything. May add success / failure reporting in future versions.
510
+ *
511
+ * author: Daniel Dotsenko (dotsa@hotmail.com)
512
+ */
513
+
514
+ var o = settings['sfref'], filter = settings['filter'];
515
+
516
+ // setting up valueindexmap that we will need to manipulate SELECT elements.
517
+ var fields = [], i, j , l, lj, li,
518
+ valueindexmap = {};
519
+ // example of valueindexmap:
520
+ // {'field1':{'index':0,'ops':{'eq':0,'ne':1}},'fieldX':{'index':1,'ops':{'eq':0,'ne':1},'data':{'true':0,'false':1}}},
521
+ // if data is undefined it's a INPUT field. If defined, it's SELECT
522
+ selDOMobj = o.find("select[name='field']")[0];
523
+ for (i=0, l=selDOMobj.options.length; i<l; i++) {
524
+ valueindexmap[selDOMobj.options[i].value] = {'index':i,'ops':{}};
525
+ fields.push(selDOMobj.options[i].value);
526
+ }
527
+ for (i=0, li=fields.length; i < li; i++) {
528
+ selDOMobj = o.find(".ops > select[class='field"+i+"']")[0];
529
+ if (selDOMobj) {
530
+ for (j=0, lj=selDOMobj.options.length; j<lj; j++) {
531
+ valueindexmap[fields[i]]['ops'][selDOMobj.options[j].value] = j;
532
+ }
533
+ }
534
+ selDOMobj = o.find(".data > select[class='field"+i+"']")[0];
535
+ if (selDOMobj) {
536
+ valueindexmap[fields[i]]['data'] = {}; // this setting is the flag that 'data' is contained in a SELECT
537
+ for (j=0, lj=selDOMobj.options.length; j<lj; j++) {
538
+ valueindexmap[fields[i]]['data'][selDOMobj.options[j].value] = j;
539
+ }
540
+ }
541
+ } // done populating valueindexmap
542
+
543
+ // preparsing the index values for SELECT elements.
544
+ var fieldvalue, fieldindex, opindex, datavalue, dataindex;
545
+ fieldvalue = filter['field'];
546
+ if (valueindexmap[fieldvalue]) {
547
+ fieldindex = valueindexmap[fieldvalue]['index'];
548
+ }
549
+ if (fieldindex != null) {
550
+ opindex = valueindexmap[fieldvalue]['ops'][filter['op']];
551
+ if(opindex === undefined) {
552
+ for(i=0,li=options.operators.length; i<li;i++) {
553
+ if(options.operators[i].op == filter.op ){
554
+ opindex = i;
555
+ break;
556
+ }
557
+ }
558
+ }
559
+ datavalue = filter['data'];
560
+ if (valueindexmap[fieldvalue]['data'] == null) {
561
+ dataindex = -1; // 'data' is not SELECT, Making the var 'defined'
562
+ } else {
563
+ dataindex = valueindexmap[fieldvalue]['data'][datavalue]; // 'undefined' may come from here.
564
+ }
565
+ }
566
+ // only if values for 'field' and 'op' and 'data' are 'found' in mapping...
567
+ if (fieldindex != null && opindex != null && dataindex != null) {
568
+ o.find("select[name='field']")[0].selectedIndex = fieldindex;
569
+ o.find("select[name='field']").change();
570
+ o.find("select[name='op']")[0].selectedIndex = opindex;
571
+ o.find("input.vdata").val(datavalue); // if jquery does not find any INPUT, it does not set any. This means we deal with SELECT
572
+ o = o.find("select.vdata")[0];
573
+ if (o) {
574
+ o.selectedIndex = dataindex;
575
+ }
576
+ return true
577
+ } else {
578
+ return false
579
+ }
580
+ }; // end of this.setFilter fn
581
+ } // end of if fields != null
582
+ }
583
+ return new SearchFilter(this, fields, options);
584
+ };
585
+
586
+ jQuery.fn.searchFilter.version = '1.2.9';
587
+
588
+ /* This property contains the default options */
589
+ jQuery.fn.searchFilter.defaults = {
590
+
591
+ /*
592
+ * PROPERTY
593
+ * TYPE: boolean
594
+ * DESCRIPTION: clone a row if it is added from an existing row
595
+ * when false, any new added rows will be blank.
596
+ */
597
+ clone: true,
598
+
599
+ /*
600
+ * PROPERTY
601
+ * TYPE: boolean
602
+ * DESCRIPTION: current version of datepicker uses a data store,
603
+ * which is incompatible with $().clone(true)
604
+ */
605
+ datepickerFix: true,
606
+
607
+ /*
608
+ * FUNCTION
609
+ * DESCRIPTION: the function that will be called when the user clicks Reset
610
+ * INPUT TYPE: JS object if stringResult is false, otherwise is JSON string
611
+ */
612
+ onReset: function(data) { alert("Reset Clicked. Data Returned: " + data) },
613
+
614
+ /*
615
+ * FUNCTION
616
+ * DESCRIPTION: the function that will be called when the user clicks Search
617
+ * INPUT TYPE: JS object if stringResult is false, otherwise is JSON string
618
+ */
619
+ onSearch: function(data) { alert("Search Clicked. Data Returned: " + data) },
620
+
621
+ /*
622
+ * FUNCTION
623
+ * DESCRIPTION: the function that will be called when the user clicks the Closer icon
624
+ * or the close() function is called
625
+ * if left null, it simply does a .hide() on the searchFilter
626
+ * INPUT TYPE: a jQuery object for the searchFilter
627
+ */
628
+ onClose: function(jElem) { jElem.hide(); },
629
+
630
+ /*
631
+ * PROPERTY
632
+ * TYPE: array of objects, each object has the properties op and text
633
+ * DESCRIPTION: the selectable operators that are applied between rules
634
+ * e.g. for {op:"AND", text:"all"}
635
+ * the search filter box will say: match all rules
636
+ * the server should interpret this as putting the AND op between each rule:
637
+ * rule1 AND rule2 AND rule3
638
+ * text will be the option text, and op will be the option value
639
+ */
640
+ groupOps: [
641
+ { op: "AND", text: "all" },
642
+ { op: "OR", text: "any" }
643
+ ],
644
+
645
+
646
+ /*
647
+ * PROPERTY
648
+ * TYPE: array of objects, each object has the properties op and text
649
+ * DESCRIPTION: the operators that will appear as drop-down options
650
+ * text will be the option text, and op will be the option value
651
+ */
652
+ operators: [
653
+ { op: "eq", text: "is equal to" },
654
+ { op: "ne", text: "is not equal to" },
655
+ { op: "lt", text: "is less than" },
656
+ { op: "le", text: "is less or equal to" },
657
+ { op: "gt", text: "is greater than" },
658
+ { op: "ge", text: "is greater or equal to" },
659
+ { op: "in", text: "is in" },
660
+ { op: "ni", text: "is not in" },
661
+ { op: "bw", text: "begins with" },
662
+ { op: "bn", text: "does not begin with" },
663
+ { op: "ew", text: "ends with" },
664
+ { op: "en", text: "does not end with" },
665
+ { op: "cn", text: "contains" },
666
+ { op: "nc", text: "does not contain" }
667
+ ],
668
+
669
+ /*
670
+ * PROPERTY
671
+ * TYPE: string
672
+ * DESCRIPTION: part of the phrase: _match_ ANY/ALL rules
673
+ */
674
+ matchText: "match",
675
+
676
+ /*
677
+ * PROPERTY
678
+ * TYPE: string
679
+ * DESCRIPTION: part of the phrase: match ANY/ALL _rules_
680
+ */
681
+ rulesText: "rules",
682
+
683
+ /*
684
+ * PROPERTY
685
+ * TYPE: string
686
+ * DESCRIPTION: the text that will be displayed in the reset button
687
+ */
688
+ resetText: "Reset",
689
+
690
+ /*
691
+ * PROPERTY
692
+ * TYPE: string
693
+ * DESCRIPTION: the text that will be displayed in the search button
694
+ */
695
+ searchText: "Search",
696
+
697
+ /*
698
+ * PROPERTY
699
+ * TYPE: boolean
700
+ * DESCRIPTION: a flag that, when set, will make the onSearch and onReset return strings instead of objects
701
+ */
702
+ stringResult: true,
703
+
704
+ /*
705
+ * PROPERTY
706
+ * TYPE: string
707
+ * DESCRIPTION: the title of the searchFilter window
708
+ */
709
+ windowTitle: "Search Rules",
710
+ /*
711
+ * PROPERTY
712
+ * TYPE: object
713
+ * DESCRIPTION: options to extend the ajax request
714
+ */
715
+ ajaxSelectOptions : {}
716
+ }; /* end of searchFilter */