old_sql 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -4
- data/Gemfile.lock +3 -8
- data/VERSION +1 -1
- data/app/views/old_sql/report/index.html.erb +5 -4
- data/old_sql.gemspec +310 -17
- data/public/javascripts/old_sql/jquery-1.5.1.min.js +16 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/jquery-ui-1.8.13.custom.css +518 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/AUTHORS.txt +30 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/GPL-LICENSE.txt +278 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/MIT-LICENSE.txt +25 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/categories.html +71 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/combobox.html +174 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/custom-data.html +95 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/default.html +64 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/folding.html +62 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/jquery_32x32.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/transparent_1x1.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/index.html +27 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/london.xml +114 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/maxheight.html +79 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/multiple-remote.html +84 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/multiple.html +99 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote-jsonp.html +86 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote-with-cache.html +59 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote.html +59 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/search.php +640 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/xml.html +72 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/checkbox.html +44 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/default.html +38 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/icons.html +56 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/index.html +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/radio.html +39 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/splitbutton.html +55 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/toolbar.html +120 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/alt-field.html +36 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/animation.html +58 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/buttonbar.html +35 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/date-formats.html +47 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/date-range.html +49 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/default.html +33 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/dropdown-month-year.html +36 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/icon-trigger.html +37 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/images/calendar.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/index.html +31 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/inline.html +33 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/localization.html +162 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/min-max.html +33 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/multiple-calendars.html +36 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/other-months.html +37 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/show-week.html +39 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/demos.css +334 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/animated.html +56 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/default.html +54 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/index.html +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-confirmation.html +69 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-form.html +167 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-message.html +71 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal.html +60 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/constrain-movement.html +69 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/cursor-style.html +49 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/default.html +39 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/delay-start.html +45 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/events.html +77 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/handle.html +50 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/index.html +28 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/revert.html +44 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/scroll.html +51 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/snap-to.html +68 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/sortable.html +57 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/visual-feedback.html +77 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/accepted-elements.html +60 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/default.html +53 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/index.html +24 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/photo-manager.html +184 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/propagation.html +80 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/revert.html +61 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/shopping-cart.html +101 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/visual-feedback.html +78 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/calendar.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-config-on.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-spindown-open.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/icon-docs-info.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/pbar-ani.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/index.html +321 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/cycler.html +122 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/default.html +153 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/images/earth.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/images/flight.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/images/rocket.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/index.html +19 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/animated.html +44 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/default.html +35 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/images/pbar-ani.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/index.html +20 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/resize.html +40 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/animate.html +43 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/aspect-ratio.html +42 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/constrain-area.html +47 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/default.html +40 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/delay-start.html +52 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/helper.html +43 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/index.html +28 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/max-min.html +45 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/snap-to-grid.html +42 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/synchronous-resize.html +49 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/textarea.html +41 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/visual-feedback.html +43 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/default.html +50 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/display-grid.html +55 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/index.html +20 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/serialize.html +61 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/connect-lists-through-tabs.html +78 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/connect-lists.html +58 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/default.html +51 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/delay-start.html +67 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/display-grid.html +54 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/empty-lists.html +69 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/index.html +26 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/items.html +70 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/placeholder.html +56 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/portlets.html +96 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/autocomplete.html +875 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/button.html +500 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/datepicker.html +2570 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/dialog.html +1698 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/draggable.html +1577 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/droppable.html +829 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/position.html +227 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/progressbar.html +460 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/resizable.html +1201 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/selectable.html +848 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/sortable.html +1953 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.bgiframe-2.1.2.js +39 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.cookie.js +89 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.metadata.js +122 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/qunit.css +153 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/qunit.js +1261 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/jquery-1.5.1.js +8316 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.all.css +11 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.autocomplete.css +53 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.base.css +8 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.button.css +38 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.core.css +41 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.datepicker.css +68 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.progressbar.css +11 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.resizable.css +25 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.theme.css +252 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery-ui-1.8.13.custom.css +518 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.all.css +11 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.autocomplete.css +53 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.base.css +8 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.button.css +38 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.core.css +41 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.datepicker.css +68 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.dialog.css +21 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.progressbar.css +11 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.resizable.css +25 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.selectable.css +10 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.theme.css +254 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery-ui-i18n.js +1379 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery-ui-1.8.13.custom.js +8021 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.autocomplete.js +612 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.button.js +388 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.core.js +312 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.datepicker.js +1791 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.dialog.js +878 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.draggable.js +815 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.droppable.js +285 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.mouse.js +160 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.position.js +252 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.progressbar.js +109 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.resizable.js +814 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.selectable.js +266 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.sortable.js +1077 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.widget.js +262 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +32 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.button.min.js +25 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.core.min.js +17 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.datepicker.min.js +82 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.dialog.min.js +40 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.draggable.min.js +50 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.droppable.min.js +26 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.mouse.min.js +17 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.position.min.js +16 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.progressbar.min.js +16 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.resizable.min.js +48 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.selectable.min.js +22 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.sortable.min.js +60 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.widget.min.js +15 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/version.txt +1 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/index.html +321 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/js/jquery-1.5.1.min.js +16 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/js/jquery-ui-1.8.13.custom.min.js +467 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom.min.js +467 -0
- data/test/dummy/Gemfile +1 -1
- data/test/dummy/Gemfile.lock +3 -3
- metadata +309 -40
- data/pkg/old_sql-0.1.0.gem +0 -0
- data/pkg/old_sql-0.2.0.gem +0 -0
- data/pkg/old_sql-0.3.0.gem +0 -0
- data/pkg/old_sql-0.4.0.gem +0 -0
@@ -0,0 +1,266 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Selectable 1.8.13
|
3
|
+
*
|
4
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Selectables
|
9
|
+
*
|
10
|
+
* Depends:
|
11
|
+
* jquery.ui.core.js
|
12
|
+
* jquery.ui.mouse.js
|
13
|
+
* jquery.ui.widget.js
|
14
|
+
*/
|
15
|
+
(function( $, undefined ) {
|
16
|
+
|
17
|
+
$.widget("ui.selectable", $.ui.mouse, {
|
18
|
+
options: {
|
19
|
+
appendTo: 'body',
|
20
|
+
autoRefresh: true,
|
21
|
+
distance: 0,
|
22
|
+
filter: '*',
|
23
|
+
tolerance: 'touch'
|
24
|
+
},
|
25
|
+
_create: function() {
|
26
|
+
var self = this;
|
27
|
+
|
28
|
+
this.element.addClass("ui-selectable");
|
29
|
+
|
30
|
+
this.dragged = false;
|
31
|
+
|
32
|
+
// cache selectee children based on filter
|
33
|
+
var selectees;
|
34
|
+
this.refresh = function() {
|
35
|
+
selectees = $(self.options.filter, self.element[0]);
|
36
|
+
selectees.each(function() {
|
37
|
+
var $this = $(this);
|
38
|
+
var pos = $this.offset();
|
39
|
+
$.data(this, "selectable-item", {
|
40
|
+
element: this,
|
41
|
+
$element: $this,
|
42
|
+
left: pos.left,
|
43
|
+
top: pos.top,
|
44
|
+
right: pos.left + $this.outerWidth(),
|
45
|
+
bottom: pos.top + $this.outerHeight(),
|
46
|
+
startselected: false,
|
47
|
+
selected: $this.hasClass('ui-selected'),
|
48
|
+
selecting: $this.hasClass('ui-selecting'),
|
49
|
+
unselecting: $this.hasClass('ui-unselecting')
|
50
|
+
});
|
51
|
+
});
|
52
|
+
};
|
53
|
+
this.refresh();
|
54
|
+
|
55
|
+
this.selectees = selectees.addClass("ui-selectee");
|
56
|
+
|
57
|
+
this._mouseInit();
|
58
|
+
|
59
|
+
this.helper = $("<div class='ui-selectable-helper'></div>");
|
60
|
+
},
|
61
|
+
|
62
|
+
destroy: function() {
|
63
|
+
this.selectees
|
64
|
+
.removeClass("ui-selectee")
|
65
|
+
.removeData("selectable-item");
|
66
|
+
this.element
|
67
|
+
.removeClass("ui-selectable ui-selectable-disabled")
|
68
|
+
.removeData("selectable")
|
69
|
+
.unbind(".selectable");
|
70
|
+
this._mouseDestroy();
|
71
|
+
|
72
|
+
return this;
|
73
|
+
},
|
74
|
+
|
75
|
+
_mouseStart: function(event) {
|
76
|
+
var self = this;
|
77
|
+
|
78
|
+
this.opos = [event.pageX, event.pageY];
|
79
|
+
|
80
|
+
if (this.options.disabled)
|
81
|
+
return;
|
82
|
+
|
83
|
+
var options = this.options;
|
84
|
+
|
85
|
+
this.selectees = $(options.filter, this.element[0]);
|
86
|
+
|
87
|
+
this._trigger("start", event);
|
88
|
+
|
89
|
+
$(options.appendTo).append(this.helper);
|
90
|
+
// position helper (lasso)
|
91
|
+
this.helper.css({
|
92
|
+
"left": event.clientX,
|
93
|
+
"top": event.clientY,
|
94
|
+
"width": 0,
|
95
|
+
"height": 0
|
96
|
+
});
|
97
|
+
|
98
|
+
if (options.autoRefresh) {
|
99
|
+
this.refresh();
|
100
|
+
}
|
101
|
+
|
102
|
+
this.selectees.filter('.ui-selected').each(function() {
|
103
|
+
var selectee = $.data(this, "selectable-item");
|
104
|
+
selectee.startselected = true;
|
105
|
+
if (!event.metaKey) {
|
106
|
+
selectee.$element.removeClass('ui-selected');
|
107
|
+
selectee.selected = false;
|
108
|
+
selectee.$element.addClass('ui-unselecting');
|
109
|
+
selectee.unselecting = true;
|
110
|
+
// selectable UNSELECTING callback
|
111
|
+
self._trigger("unselecting", event, {
|
112
|
+
unselecting: selectee.element
|
113
|
+
});
|
114
|
+
}
|
115
|
+
});
|
116
|
+
|
117
|
+
$(event.target).parents().andSelf().each(function() {
|
118
|
+
var selectee = $.data(this, "selectable-item");
|
119
|
+
if (selectee) {
|
120
|
+
var doSelect = !event.metaKey || !selectee.$element.hasClass('ui-selected');
|
121
|
+
selectee.$element
|
122
|
+
.removeClass(doSelect ? "ui-unselecting" : "ui-selected")
|
123
|
+
.addClass(doSelect ? "ui-selecting" : "ui-unselecting");
|
124
|
+
selectee.unselecting = !doSelect;
|
125
|
+
selectee.selecting = doSelect;
|
126
|
+
selectee.selected = doSelect;
|
127
|
+
// selectable (UN)SELECTING callback
|
128
|
+
if (doSelect) {
|
129
|
+
self._trigger("selecting", event, {
|
130
|
+
selecting: selectee.element
|
131
|
+
});
|
132
|
+
} else {
|
133
|
+
self._trigger("unselecting", event, {
|
134
|
+
unselecting: selectee.element
|
135
|
+
});
|
136
|
+
}
|
137
|
+
return false;
|
138
|
+
}
|
139
|
+
});
|
140
|
+
|
141
|
+
},
|
142
|
+
|
143
|
+
_mouseDrag: function(event) {
|
144
|
+
var self = this;
|
145
|
+
this.dragged = true;
|
146
|
+
|
147
|
+
if (this.options.disabled)
|
148
|
+
return;
|
149
|
+
|
150
|
+
var options = this.options;
|
151
|
+
|
152
|
+
var x1 = this.opos[0], y1 = this.opos[1], x2 = event.pageX, y2 = event.pageY;
|
153
|
+
if (x1 > x2) { var tmp = x2; x2 = x1; x1 = tmp; }
|
154
|
+
if (y1 > y2) { var tmp = y2; y2 = y1; y1 = tmp; }
|
155
|
+
this.helper.css({left: x1, top: y1, width: x2-x1, height: y2-y1});
|
156
|
+
|
157
|
+
this.selectees.each(function() {
|
158
|
+
var selectee = $.data(this, "selectable-item");
|
159
|
+
//prevent helper from being selected if appendTo: selectable
|
160
|
+
if (!selectee || selectee.element == self.element[0])
|
161
|
+
return;
|
162
|
+
var hit = false;
|
163
|
+
if (options.tolerance == 'touch') {
|
164
|
+
hit = ( !(selectee.left > x2 || selectee.right < x1 || selectee.top > y2 || selectee.bottom < y1) );
|
165
|
+
} else if (options.tolerance == 'fit') {
|
166
|
+
hit = (selectee.left > x1 && selectee.right < x2 && selectee.top > y1 && selectee.bottom < y2);
|
167
|
+
}
|
168
|
+
|
169
|
+
if (hit) {
|
170
|
+
// SELECT
|
171
|
+
if (selectee.selected) {
|
172
|
+
selectee.$element.removeClass('ui-selected');
|
173
|
+
selectee.selected = false;
|
174
|
+
}
|
175
|
+
if (selectee.unselecting) {
|
176
|
+
selectee.$element.removeClass('ui-unselecting');
|
177
|
+
selectee.unselecting = false;
|
178
|
+
}
|
179
|
+
if (!selectee.selecting) {
|
180
|
+
selectee.$element.addClass('ui-selecting');
|
181
|
+
selectee.selecting = true;
|
182
|
+
// selectable SELECTING callback
|
183
|
+
self._trigger("selecting", event, {
|
184
|
+
selecting: selectee.element
|
185
|
+
});
|
186
|
+
}
|
187
|
+
} else {
|
188
|
+
// UNSELECT
|
189
|
+
if (selectee.selecting) {
|
190
|
+
if (event.metaKey && selectee.startselected) {
|
191
|
+
selectee.$element.removeClass('ui-selecting');
|
192
|
+
selectee.selecting = false;
|
193
|
+
selectee.$element.addClass('ui-selected');
|
194
|
+
selectee.selected = true;
|
195
|
+
} else {
|
196
|
+
selectee.$element.removeClass('ui-selecting');
|
197
|
+
selectee.selecting = false;
|
198
|
+
if (selectee.startselected) {
|
199
|
+
selectee.$element.addClass('ui-unselecting');
|
200
|
+
selectee.unselecting = true;
|
201
|
+
}
|
202
|
+
// selectable UNSELECTING callback
|
203
|
+
self._trigger("unselecting", event, {
|
204
|
+
unselecting: selectee.element
|
205
|
+
});
|
206
|
+
}
|
207
|
+
}
|
208
|
+
if (selectee.selected) {
|
209
|
+
if (!event.metaKey && !selectee.startselected) {
|
210
|
+
selectee.$element.removeClass('ui-selected');
|
211
|
+
selectee.selected = false;
|
212
|
+
|
213
|
+
selectee.$element.addClass('ui-unselecting');
|
214
|
+
selectee.unselecting = true;
|
215
|
+
// selectable UNSELECTING callback
|
216
|
+
self._trigger("unselecting", event, {
|
217
|
+
unselecting: selectee.element
|
218
|
+
});
|
219
|
+
}
|
220
|
+
}
|
221
|
+
}
|
222
|
+
});
|
223
|
+
|
224
|
+
return false;
|
225
|
+
},
|
226
|
+
|
227
|
+
_mouseStop: function(event) {
|
228
|
+
var self = this;
|
229
|
+
|
230
|
+
this.dragged = false;
|
231
|
+
|
232
|
+
var options = this.options;
|
233
|
+
|
234
|
+
$('.ui-unselecting', this.element[0]).each(function() {
|
235
|
+
var selectee = $.data(this, "selectable-item");
|
236
|
+
selectee.$element.removeClass('ui-unselecting');
|
237
|
+
selectee.unselecting = false;
|
238
|
+
selectee.startselected = false;
|
239
|
+
self._trigger("unselected", event, {
|
240
|
+
unselected: selectee.element
|
241
|
+
});
|
242
|
+
});
|
243
|
+
$('.ui-selecting', this.element[0]).each(function() {
|
244
|
+
var selectee = $.data(this, "selectable-item");
|
245
|
+
selectee.$element.removeClass('ui-selecting').addClass('ui-selected');
|
246
|
+
selectee.selecting = false;
|
247
|
+
selectee.selected = true;
|
248
|
+
selectee.startselected = true;
|
249
|
+
self._trigger("selected", event, {
|
250
|
+
selected: selectee.element
|
251
|
+
});
|
252
|
+
});
|
253
|
+
this._trigger("stop", event);
|
254
|
+
|
255
|
+
this.helper.remove();
|
256
|
+
|
257
|
+
return false;
|
258
|
+
}
|
259
|
+
|
260
|
+
});
|
261
|
+
|
262
|
+
$.extend($.ui.selectable, {
|
263
|
+
version: "1.8.13"
|
264
|
+
});
|
265
|
+
|
266
|
+
})(jQuery);
|