old_sql 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +8 -0
- data/Gemfile.lock +92 -0
- data/Rakefile +8 -6
- data/TODO.mkd +8 -3
- data/VERSION +1 -1
- data/app/controllers/old_sql/report_controller.rb +37 -44
- data/app/views/layouts/old_sql/report.html.erb +14 -0
- data/app/views/old_sql/report/datagrid.html.erb +24 -15
- data/app/views/old_sql/report/index.html.erb +26 -30
- data/config/locales/old_sql.en.yml +5 -0
- data/config/routes.rb +8 -6
- data/lib/old_sql/engine.rb +4 -0
- data/lib/old_sql/report_processor/base.rb +92 -0
- data/old_sql.gemspec +149 -322
- 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
- data/pkg/old_sql-0.5.0.gem +0 -0
- data/pkg/old_sql-0.6.0.gem +0 -0
- data/public/javascripts/old_sql/date_format.js +126 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-bg.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-bg1251.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-cat.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-cn.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-cs.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-da.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-de.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-el.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-en.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-es.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-fa.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-fi.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-fr.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-gl.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-he.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-hu.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-is.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-it.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-ja.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-nl.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-no.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-pl.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-pt-br.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-pt.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-ro.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-ru.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-sk.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-sv.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-tr.js +1 -0
- data/public/javascripts/old_sql/jqgrid/i18n/grid.locale-ua.js +1 -0
- data/public/javascripts/old_sql/jqgrid/jquery-ui-1.8.custom.min.js +778 -0
- data/public/javascripts/old_sql/jqgrid/jquery.jqGrid.min.js +457 -0
- data/public/javascripts/old_sql/jqgrid/ui.multiselect.js +314 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom.min.js +252 -0
- data/public/javascripts/old_sql/jquery-ui-timepicker-addon.js +985 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-icons_2694e8_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base → stylesheets/old_sql/jqgrid/themes/default}/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-icons_3d80b3_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/default/images/ui-icons_72a7cf_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness → stylesheets/old_sql/jqgrid/themes/default}/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 → stylesheets/old_sql/jqgrid/themes/default/jquery-ui-1.8.custom.css} +108 -54
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-anim_basic_16x16.gif +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base → stylesheets/old_sql/jqgrid/themes/redroad}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base → stylesheets/old_sql/jqgrid/themes/redroad}/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_217bc0_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_469bdd_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_6da8d5_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base → stylesheets/old_sql/jqgrid/themes/redroad}/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/images/ui-icons_f9bd01_256x240.png +0 -0
- data/public/stylesheets/old_sql/jqgrid/themes/redroad/jquery-ui-1.8.custom.css +489 -0
- data/public/stylesheets/old_sql/jqgrid/ui.jqgrid.css +138 -0
- data/public/stylesheets/old_sql/jqgrid/ui.multiselect.css +30 -0
- data/public/stylesheets/old_sql/old_sql.css +85 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/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 → stylesheets/old_sql}/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 → stylesheets/old_sql}/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 → stylesheets/old_sql}/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 → stylesheets/old_sql}/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 → stylesheets/old_sql}/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 → stylesheets/old_sql}/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 → stylesheets/old_sql}/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 → stylesheets/old_sql}/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 → stylesheets/old_sql}/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/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 → stylesheets/old_sql}/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/{javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css → stylesheets/old_sql}/ui-lightness/jquery-ui-1.8.13.custom.css +0 -0
- data/test/dummy/config/application.rb +8 -5
- data/test/dummy/config/boot.rb +7 -3
- data/test/dummy/config/initializers/secret_token.rb +1 -1
- data/test/dummy/config/report_sql/users.erb +2 -4
- data/test/dummy/config/reports.yml +3 -4
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/lib/old_sql/report_processor/users.rb +19 -0
- data/test/dummy/log/development.log +4742 -0
- data/test/dummy/{lib/tasks/.gitkeep → log/production.log} +0 -0
- data/test/dummy/{vendor/plugins/.gitkeep → log/server.log} +0 -0
- data/test/dummy/log/test.log +27 -0
- data/test/dummy/tmp/pids/server.pid +1 -0
- data/test/fixtures/users.yml +3 -0
- data/test/integration/navigation_test.rb +7 -0
- data/test/old_sql_test.rb +7 -0
- data/test/support/integration_case.rb +5 -0
- data/test/test_helper.rb +22 -0
- data/vendor/cache/abstract-1.0.0.gem +0 -0
- data/vendor/cache/actionmailer-3.0.6.gem +0 -0
- data/vendor/cache/actionpack-3.0.6.gem +0 -0
- data/vendor/cache/activemodel-3.0.6.gem +0 -0
- data/vendor/cache/activerecord-3.0.6.gem +0 -0
- data/vendor/cache/activeresource-3.0.6.gem +0 -0
- data/vendor/cache/activesupport-3.0.6.gem +0 -0
- data/vendor/cache/arel-2.0.10.gem +0 -0
- data/vendor/cache/builder-2.1.2.gem +0 -0
- data/vendor/cache/capybara-0.4.1.2.gem +0 -0
- data/vendor/cache/celerity-0.8.9.gem +0 -0
- data/vendor/cache/childprocess-0.1.9.gem +0 -0
- data/vendor/cache/culerity-0.2.15.gem +0 -0
- data/vendor/cache/erubis-2.6.6.gem +0 -0
- data/vendor/cache/ffi-1.0.9.gem +0 -0
- data/vendor/cache/git-1.2.5.gem +0 -0
- data/vendor/cache/i18n-0.5.0.gem +0 -0
- data/vendor/cache/jeweler-1.6.2.gem +0 -0
- data/vendor/cache/json_pure-1.5.1.gem +0 -0
- data/vendor/cache/mail-2.2.19.gem +0 -0
- data/vendor/cache/mime-types-1.16.gem +0 -0
- data/vendor/cache/nokogiri-1.4.4.gem +0 -0
- data/vendor/cache/polyglot-0.3.1.gem +0 -0
- data/vendor/cache/rack-1.2.3.gem +0 -0
- data/vendor/cache/rack-mount-0.6.14.gem +0 -0
- data/vendor/cache/rack-test-0.5.7.gem +0 -0
- data/vendor/cache/rails-3.0.6.gem +0 -0
- data/vendor/cache/railties-3.0.6.gem +0 -0
- data/vendor/cache/rake-0.9.1.gem +0 -0
- data/vendor/cache/rubyzip-0.9.4.gem +0 -0
- data/vendor/cache/sanitize-2.0.2.gem +0 -0
- data/vendor/cache/selenium-webdriver-0.2.1.gem +0 -0
- data/vendor/cache/sqlite3-1.3.3.gem +0 -0
- data/vendor/cache/thor-0.14.6.gem +0 -0
- data/vendor/cache/treetop-1.4.9.gem +0 -0
- data/vendor/cache/tzinfo-0.3.27.gem +0 -0
- data/vendor/cache/xpath-0.1.4.gem +0 -0
- metadata +160 -325
- data/lib/report_processor/base.rb +0 -86
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/AUTHORS.txt +0 -30
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/GPL-LICENSE.txt +0 -278
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/MIT-LICENSE.txt +0 -25
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/categories.html +0 -71
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/combobox.html +0 -174
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/custom-data.html +0 -95
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/default.html +0 -64
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/folding.html +0 -62
- 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 +0 -27
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/london.xml +0 -114
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/maxheight.html +0 -79
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/multiple-remote.html +0 -84
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/multiple.html +0 -99
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote-jsonp.html +0 -86
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote-with-cache.html +0 -59
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote.html +0 -59
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/search.php +0 -640
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/xml.html +0 -72
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/checkbox.html +0 -44
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/default.html +0 -38
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/icons.html +0 -56
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/index.html +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/radio.html +0 -39
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/splitbutton.html +0 -55
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/toolbar.html +0 -120
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/alt-field.html +0 -36
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/animation.html +0 -58
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/buttonbar.html +0 -35
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/date-formats.html +0 -47
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/date-range.html +0 -49
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/default.html +0 -33
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/dropdown-month-year.html +0 -36
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/icon-trigger.html +0 -37
- 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 +0 -31
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/inline.html +0 -33
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/localization.html +0 -162
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/min-max.html +0 -33
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/multiple-calendars.html +0 -36
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/other-months.html +0 -37
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/show-week.html +0 -39
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/demos.css +0 -334
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/animated.html +0 -56
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/default.html +0 -54
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/index.html +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-confirmation.html +0 -69
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-form.html +0 -167
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-message.html +0 -71
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal.html +0 -60
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/constrain-movement.html +0 -69
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/cursor-style.html +0 -49
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/default.html +0 -39
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/delay-start.html +0 -45
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/events.html +0 -77
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/handle.html +0 -50
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/index.html +0 -28
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/revert.html +0 -44
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/scroll.html +0 -51
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/snap-to.html +0 -68
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/sortable.html +0 -57
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/visual-feedback.html +0 -77
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/accepted-elements.html +0 -60
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/default.html +0 -53
- 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 +0 -24
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/photo-manager.html +0 -184
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/propagation.html +0 -80
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/revert.html +0 -61
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/shopping-cart.html +0 -101
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/visual-feedback.html +0 -78
- 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 +0 -321
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/cycler.html +0 -122
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/default.html +0 -153
- 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 +0 -19
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/animated.html +0 -44
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/default.html +0 -35
- 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 +0 -20
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/resize.html +0 -40
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/animate.html +0 -43
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/aspect-ratio.html +0 -42
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/constrain-area.html +0 -47
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/default.html +0 -40
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/delay-start.html +0 -52
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/helper.html +0 -43
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/index.html +0 -28
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/max-min.html +0 -45
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/snap-to-grid.html +0 -42
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/synchronous-resize.html +0 -49
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/textarea.html +0 -41
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/visual-feedback.html +0 -43
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/default.html +0 -50
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/display-grid.html +0 -55
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/index.html +0 -20
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/serialize.html +0 -61
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/connect-lists-through-tabs.html +0 -78
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/connect-lists.html +0 -58
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/default.html +0 -51
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/delay-start.html +0 -67
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/display-grid.html +0 -54
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/empty-lists.html +0 -69
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/index.html +0 -26
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/items.html +0 -70
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/placeholder.html +0 -56
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/portlets.html +0 -96
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/autocomplete.html +0 -875
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/button.html +0 -500
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/datepicker.html +0 -2570
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/dialog.html +0 -1698
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/draggable.html +0 -1577
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/droppable.html +0 -829
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/position.html +0 -227
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/progressbar.html +0 -460
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/resizable.html +0 -1201
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/selectable.html +0 -848
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/sortable.html +0 -1953
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.bgiframe-2.1.2.js +0 -39
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.cookie.js +0 -89
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.metadata.js +0 -122
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/qunit.css +0 -153
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/qunit.js +0 -1261
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/jquery-1.5.1.js +0 -8316
- 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_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_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/jquery.ui.all.css +0 -11
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.autocomplete.css +0 -53
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.base.css +0 -8
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.button.css +0 -38
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.core.css +0 -41
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.datepicker.css +0 -68
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.dialog.css +0 -21
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.progressbar.css +0 -11
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.resizable.css +0 -25
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.selectable.css +0 -10
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.theme.css +0 -252
- 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/jquery.ui.all.css +0 -11
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.autocomplete.css +0 -53
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.base.css +0 -8
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.button.css +0 -38
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.core.css +0 -41
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.datepicker.css +0 -68
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.dialog.css +0 -21
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.progressbar.css +0 -11
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.resizable.css +0 -25
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.selectable.css +0 -10
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.theme.css +0 -254
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery-ui-i18n.js +0 -1379
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +0 -24
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +0 -25
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +0 -22
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +0 -21
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +0 -26
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +0 -24
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +0 -23
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery-ui-1.8.13.custom.js +0 -8021
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.autocomplete.js +0 -612
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.button.js +0 -388
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.core.js +0 -312
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.datepicker.js +0 -1791
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.dialog.js +0 -878
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.draggable.js +0 -815
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.droppable.js +0 -285
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.mouse.js +0 -160
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.position.js +0 -252
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.progressbar.js +0 -109
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.resizable.js +0 -814
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.selectable.js +0 -266
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.sortable.js +0 -1077
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.widget.js +0 -262
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +0 -32
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.button.min.js +0 -25
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.core.min.js +0 -17
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.datepicker.min.js +0 -82
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.dialog.min.js +0 -40
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.draggable.min.js +0 -50
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.droppable.min.js +0 -26
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.mouse.min.js +0 -17
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.position.min.js +0 -16
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.progressbar.min.js +0 -16
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.resizable.min.js +0 -48
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.selectable.min.js +0 -22
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.sortable.min.js +0 -60
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.widget.min.js +0 -15
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/version.txt +0 -1
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/index.html +0 -321
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/js/jquery-1.5.1.min.js +0 -16
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/js/jquery-ui-1.8.13.custom.min.js +0 -467
- data/test/dummy/.gitignore +0 -4
- data/test/dummy/Gemfile +0 -14
- data/test/dummy/Gemfile.lock +0 -78
- data/test/dummy/README +0 -256
- data/test/dummy/db/schema.rb +0 -15
- data/test/dummy/db/seeds.rb +0 -7
- data/test/dummy/doc/README_FOR_APP +0 -2
- data/test/dummy/public/images/rails.png +0 -0
- data/test/dummy/public/index.html +0 -239
- data/test/dummy/public/robots.txt +0 -5
- data/test/dummy/test/performance/browsing_test.rb +0 -9
- data/test/dummy/test/test_helper.rb +0 -14
- data/test/dummy/test/unit/hello_world_test.rb +0 -9
@@ -0,0 +1,314 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery UI Multiselect
|
3
|
+
*
|
4
|
+
* Authors:
|
5
|
+
* Michael Aufreiter (quasipartikel.at)
|
6
|
+
* Yanick Rochon (yanick.rochon[at]gmail[dot]com)
|
7
|
+
*
|
8
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
9
|
+
* and GPL (GPL-LICENSE.txt) licenses.
|
10
|
+
*
|
11
|
+
* http://www.quasipartikel.at/multiselect/
|
12
|
+
*
|
13
|
+
*
|
14
|
+
* Depends:
|
15
|
+
* ui.core.js
|
16
|
+
* ui.sortable.js
|
17
|
+
*
|
18
|
+
* Optional:
|
19
|
+
* localization (http://plugins.jquery.com/project/localisation)
|
20
|
+
* scrollTo (http://plugins.jquery.com/project/ScrollTo)
|
21
|
+
*
|
22
|
+
* Todo:
|
23
|
+
* Make batch actions faster
|
24
|
+
* Implement dynamic insertion through remote calls
|
25
|
+
*/
|
26
|
+
|
27
|
+
|
28
|
+
(function($) {
|
29
|
+
|
30
|
+
$.widget("ui.multiselect", {
|
31
|
+
_init: function() {
|
32
|
+
this.element.hide();
|
33
|
+
this.id = this.element.attr("id");
|
34
|
+
this.container = $('<div class="ui-multiselect ui-helper-clearfix ui-widget"></div>').insertAfter(this.element);
|
35
|
+
this.count = 0; // number of currently selected options
|
36
|
+
this.selectedContainer = $('<div class="selected"></div>').appendTo(this.container);
|
37
|
+
this.availableContainer = $('<div class="available"></div>').appendTo(this.container);
|
38
|
+
this.selectedActions = $('<div class="actions ui-widget-header ui-helper-clearfix"><span class="count">0 '+$.ui.multiselect.locale.itemsCount+'</span><a href="#" class="remove-all">'+$.ui.multiselect.locale.removeAll+'</a></div>').appendTo(this.selectedContainer);
|
39
|
+
this.availableActions = $('<div class="actions ui-widget-header ui-helper-clearfix"><input type="text" class="search empty ui-widget-content ui-corner-all"/><a href="#" class="add-all">'+$.ui.multiselect.locale.addAll+'</a></div>').appendTo(this.availableContainer);
|
40
|
+
this.selectedList = $('<ul class="selected connected-list"><li class="ui-helper-hidden-accessible"></li></ul>').bind('selectstart', function(){return false;}).appendTo(this.selectedContainer);
|
41
|
+
this.availableList = $('<ul class="available connected-list"><li class="ui-helper-hidden-accessible"></li></ul>').bind('selectstart', function(){return false;}).appendTo(this.availableContainer);
|
42
|
+
|
43
|
+
var that = this;
|
44
|
+
|
45
|
+
// set dimensions
|
46
|
+
this.container.width(this.element.width()+1);
|
47
|
+
this.selectedContainer.width(Math.floor(this.element.width()*this.options.dividerLocation));
|
48
|
+
this.availableContainer.width(Math.floor(this.element.width()*(1-this.options.dividerLocation)));
|
49
|
+
|
50
|
+
// fix list height to match <option> depending on their individual header's heights
|
51
|
+
this.selectedList.height(Math.max(this.element.height()-this.selectedActions.height(),1));
|
52
|
+
this.availableList.height(Math.max(this.element.height()-this.availableActions.height(),1));
|
53
|
+
|
54
|
+
if ( !this.options.animated ) {
|
55
|
+
this.options.show = 'show';
|
56
|
+
this.options.hide = 'hide';
|
57
|
+
}
|
58
|
+
|
59
|
+
// init lists
|
60
|
+
this._populateLists(this.element.find('option'));
|
61
|
+
|
62
|
+
// make selection sortable
|
63
|
+
if (this.options.sortable) {
|
64
|
+
$("ul.selected").sortable({
|
65
|
+
placeholder: 'ui-state-highlight',
|
66
|
+
axis: 'y',
|
67
|
+
update: function(event, ui) {
|
68
|
+
// apply the new sort order to the original selectbox
|
69
|
+
that.selectedList.find('li').each(function() {
|
70
|
+
if ($(this).data('optionLink'))
|
71
|
+
$(this).data('optionLink').remove().appendTo(that.element);
|
72
|
+
});
|
73
|
+
},
|
74
|
+
receive: function(event, ui) {
|
75
|
+
ui.item.data('optionLink').attr('selected', true);
|
76
|
+
// increment count
|
77
|
+
that.count += 1;
|
78
|
+
that._updateCount();
|
79
|
+
// workaround, because there's no way to reference
|
80
|
+
// the new element, see http://dev.jqueryui.com/ticket/4303
|
81
|
+
that.selectedList.children('.ui-draggable').each(function() {
|
82
|
+
$(this).removeClass('ui-draggable');
|
83
|
+
$(this).data('optionLink', ui.item.data('optionLink'));
|
84
|
+
$(this).data('idx', ui.item.data('idx'));
|
85
|
+
that._applyItemState($(this), true);
|
86
|
+
});
|
87
|
+
|
88
|
+
// workaround according to http://dev.jqueryui.com/ticket/4088
|
89
|
+
setTimeout(function() { ui.item.remove(); }, 1);
|
90
|
+
}
|
91
|
+
});
|
92
|
+
}
|
93
|
+
|
94
|
+
// set up livesearch
|
95
|
+
if (this.options.searchable) {
|
96
|
+
this._registerSearchEvents(this.availableContainer.find('input.search'));
|
97
|
+
} else {
|
98
|
+
$('.search').hide();
|
99
|
+
}
|
100
|
+
|
101
|
+
// batch actions
|
102
|
+
$(".remove-all").click(function() {
|
103
|
+
that._populateLists(that.element.find('option').removeAttr('selected'));
|
104
|
+
return false;
|
105
|
+
});
|
106
|
+
$(".add-all").click(function() {
|
107
|
+
that._populateLists(that.element.find('option').attr('selected', 'selected'));
|
108
|
+
return false;
|
109
|
+
});
|
110
|
+
},
|
111
|
+
destroy: function() {
|
112
|
+
this.element.show();
|
113
|
+
this.container.remove();
|
114
|
+
|
115
|
+
$.widget.prototype.destroy.apply(this, arguments);
|
116
|
+
},
|
117
|
+
_populateLists: function(options) {
|
118
|
+
this.selectedList.children('.ui-element').remove();
|
119
|
+
this.availableList.children('.ui-element').remove();
|
120
|
+
this.count = 0;
|
121
|
+
|
122
|
+
var that = this;
|
123
|
+
var items = $(options.map(function(i) {
|
124
|
+
var item = that._getOptionNode(this).appendTo(this.selected ? that.selectedList : that.availableList).show();
|
125
|
+
|
126
|
+
if (this.selected) that.count += 1;
|
127
|
+
that._applyItemState(item, this.selected);
|
128
|
+
item.data('idx', i);
|
129
|
+
return item[0];
|
130
|
+
}));
|
131
|
+
|
132
|
+
// update count
|
133
|
+
this._updateCount();
|
134
|
+
},
|
135
|
+
_updateCount: function() {
|
136
|
+
this.selectedContainer.find('span.count').text(this.count+" "+$.ui.multiselect.locale.itemsCount);
|
137
|
+
},
|
138
|
+
_getOptionNode: function(option) {
|
139
|
+
option = $(option);
|
140
|
+
var node = $('<li class="ui-state-default ui-element" title="'+option.text()+'"><span class="ui-icon"/>'+option.text()+'<a href="#" class="action"><span class="ui-corner-all ui-icon"/></a></li>').hide();
|
141
|
+
node.data('optionLink', option);
|
142
|
+
return node;
|
143
|
+
},
|
144
|
+
// clones an item with associated data
|
145
|
+
// didn't find a smarter away around this
|
146
|
+
_cloneWithData: function(clonee) {
|
147
|
+
var clone = clonee.clone();
|
148
|
+
clone.data('optionLink', clonee.data('optionLink'));
|
149
|
+
clone.data('idx', clonee.data('idx'));
|
150
|
+
return clone;
|
151
|
+
},
|
152
|
+
_setSelected: function(item, selected) {
|
153
|
+
item.data('optionLink').attr('selected', selected);
|
154
|
+
|
155
|
+
if (selected) {
|
156
|
+
var selectedItem = this._cloneWithData(item);
|
157
|
+
item[this.options.hide](this.options.animated, function() { $(this).remove(); });
|
158
|
+
selectedItem.appendTo(this.selectedList).hide()[this.options.show](this.options.animated);
|
159
|
+
|
160
|
+
this._applyItemState(selectedItem, true);
|
161
|
+
return selectedItem;
|
162
|
+
} else {
|
163
|
+
|
164
|
+
// look for successor based on initial option index
|
165
|
+
var items = this.availableList.find('li'), comparator = this.options.nodeComparator;
|
166
|
+
var succ = null, i = item.data('idx'), direction = comparator(item, $(items[i]));
|
167
|
+
|
168
|
+
// TODO: test needed for dynamic list populating
|
169
|
+
if ( direction ) {
|
170
|
+
while (i>=0 && i<items.length) {
|
171
|
+
direction > 0 ? i++ : i--;
|
172
|
+
if ( direction != comparator(item, $(items[i])) ) {
|
173
|
+
// going up, go back one item down, otherwise leave as is
|
174
|
+
succ = items[direction > 0 ? i : i+1];
|
175
|
+
break;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
} else {
|
179
|
+
succ = items[i];
|
180
|
+
}
|
181
|
+
|
182
|
+
var availableItem = this._cloneWithData(item);
|
183
|
+
succ ? availableItem.insertBefore($(succ)) : availableItem.appendTo(this.availableList);
|
184
|
+
item[this.options.hide](this.options.animated, function() { $(this).remove(); });
|
185
|
+
availableItem.hide()[this.options.show](this.options.animated);
|
186
|
+
|
187
|
+
this._applyItemState(availableItem, false);
|
188
|
+
return availableItem;
|
189
|
+
}
|
190
|
+
},
|
191
|
+
_applyItemState: function(item, selected) {
|
192
|
+
if (selected) {
|
193
|
+
if (this.options.sortable)
|
194
|
+
item.children('span').addClass('ui-icon-arrowthick-2-n-s').removeClass('ui-helper-hidden').addClass('ui-icon');
|
195
|
+
else
|
196
|
+
item.children('span').removeClass('ui-icon-arrowthick-2-n-s').addClass('ui-helper-hidden').removeClass('ui-icon');
|
197
|
+
item.find('a.action span').addClass('ui-icon-minus').removeClass('ui-icon-plus');
|
198
|
+
this._registerRemoveEvents(item.find('a.action'));
|
199
|
+
|
200
|
+
} else {
|
201
|
+
item.children('span').removeClass('ui-icon-arrowthick-2-n-s').addClass('ui-helper-hidden').removeClass('ui-icon');
|
202
|
+
item.find('a.action span').addClass('ui-icon-plus').removeClass('ui-icon-minus');
|
203
|
+
this._registerAddEvents(item.find('a.action'));
|
204
|
+
}
|
205
|
+
|
206
|
+
this._registerHoverEvents(item);
|
207
|
+
},
|
208
|
+
// taken from John Resig's liveUpdate script
|
209
|
+
_filter: function(list) {
|
210
|
+
var input = $(this);
|
211
|
+
var rows = list.children('li'),
|
212
|
+
cache = rows.map(function(){
|
213
|
+
|
214
|
+
return $(this).text().toLowerCase();
|
215
|
+
});
|
216
|
+
|
217
|
+
var term = $.trim(input.val().toLowerCase()), scores = [];
|
218
|
+
|
219
|
+
if (!term) {
|
220
|
+
rows.show();
|
221
|
+
} else {
|
222
|
+
rows.hide();
|
223
|
+
|
224
|
+
cache.each(function(i) {
|
225
|
+
if (this.indexOf(term)>-1) { scores.push(i); }
|
226
|
+
});
|
227
|
+
|
228
|
+
$.each(scores, function() {
|
229
|
+
$(rows[this]).show();
|
230
|
+
});
|
231
|
+
}
|
232
|
+
},
|
233
|
+
_registerHoverEvents: function(elements) {
|
234
|
+
elements.removeClass('ui-state-hover');
|
235
|
+
elements.mouseover(function() {
|
236
|
+
$(this).addClass('ui-state-hover');
|
237
|
+
});
|
238
|
+
elements.mouseout(function() {
|
239
|
+
$(this).removeClass('ui-state-hover');
|
240
|
+
});
|
241
|
+
},
|
242
|
+
_registerAddEvents: function(elements) {
|
243
|
+
var that = this;
|
244
|
+
elements.click(function() {
|
245
|
+
var item = that._setSelected($(this).parent(), true);
|
246
|
+
that.count += 1;
|
247
|
+
that._updateCount();
|
248
|
+
return false;
|
249
|
+
})
|
250
|
+
// make draggable
|
251
|
+
.each(function() {
|
252
|
+
$(this).parent().draggable({
|
253
|
+
connectToSortable: 'ul.selected',
|
254
|
+
helper: function() {
|
255
|
+
var selectedItem = that._cloneWithData($(this)).width($(this).width() - 50);
|
256
|
+
selectedItem.width($(this).width());
|
257
|
+
return selectedItem;
|
258
|
+
},
|
259
|
+
appendTo: '.ui-multiselect',
|
260
|
+
containment: '.ui-multiselect',
|
261
|
+
revert: 'invalid'
|
262
|
+
});
|
263
|
+
});
|
264
|
+
},
|
265
|
+
_registerRemoveEvents: function(elements) {
|
266
|
+
var that = this;
|
267
|
+
elements.click(function() {
|
268
|
+
that._setSelected($(this).parent(), false);
|
269
|
+
that.count -= 1;
|
270
|
+
that._updateCount();
|
271
|
+
return false;
|
272
|
+
});
|
273
|
+
},
|
274
|
+
_registerSearchEvents: function(input) {
|
275
|
+
var that = this;
|
276
|
+
|
277
|
+
input.focus(function() {
|
278
|
+
$(this).addClass('ui-state-active');
|
279
|
+
})
|
280
|
+
.blur(function() {
|
281
|
+
$(this).removeClass('ui-state-active');
|
282
|
+
})
|
283
|
+
.keypress(function(e) {
|
284
|
+
if (e.keyCode == 13)
|
285
|
+
return false;
|
286
|
+
})
|
287
|
+
.keyup(function() {
|
288
|
+
that._filter.apply(this, [that.availableList]);
|
289
|
+
});
|
290
|
+
}
|
291
|
+
});
|
292
|
+
|
293
|
+
$.extend($.ui.multiselect, {
|
294
|
+
defaults: {
|
295
|
+
sortable: true,
|
296
|
+
searchable: true,
|
297
|
+
animated: 'fast',
|
298
|
+
show: 'slideDown',
|
299
|
+
hide: 'slideUp',
|
300
|
+
dividerLocation: 0.6,
|
301
|
+
nodeComparator: function(node1,node2) {
|
302
|
+
var text1 = node1.text(),
|
303
|
+
text2 = node2.text();
|
304
|
+
return text1 == text2 ? 0 : (text1 < text2 ? -1 : 1);
|
305
|
+
}
|
306
|
+
},
|
307
|
+
locale: {
|
308
|
+
addAll:'Add all',
|
309
|
+
removeAll:'Remove all',
|
310
|
+
itemsCount:'items selected'
|
311
|
+
}
|
312
|
+
});
|
313
|
+
|
314
|
+
})(jQuery);
|
@@ -366,6 +366,39 @@ create:function(a){if(this.instances.length===0){setTimeout(function(){c.ui.dial
|
|
366
366
|
height:this.height()});c.fn.bgiframe&&b.bgiframe();this.instances.push(b);return b},destroy:function(a){var b=c.inArray(a,this.instances);b!=-1&&this.oldInstances.push(this.instances.splice(b,1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");a.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);
|
367
367
|
b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return a<b?c(window).height()+"px":a+"px"}else return c(document).height()+"px"},width:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);b=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return a<b?c(window).width()+"px":a+"px"}else return c(document).width()+"px"},resize:function(){var a=c([]);c.each(c.ui.dialog.overlay.instances,
|
368
368
|
function(){a=a.add(this)});a.css({width:0,height:0}).css({width:c.ui.dialog.overlay.width(),height:c.ui.dialog.overlay.height()})}});c.extend(c.ui.dialog.overlay.prototype,{destroy:function(){c.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
|
369
|
+
;/*
|
370
|
+
* jQuery UI Slider 1.8.13
|
371
|
+
*
|
372
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
373
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
374
|
+
* http://jquery.org/license
|
375
|
+
*
|
376
|
+
* http://docs.jquery.com/UI/Slider
|
377
|
+
*
|
378
|
+
* Depends:
|
379
|
+
* jquery.ui.core.js
|
380
|
+
* jquery.ui.mouse.js
|
381
|
+
* jquery.ui.widget.js
|
382
|
+
*/
|
383
|
+
(function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var b=this,a=this.options,c=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),f=a.values&&a.values.length||1,e=[];this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+
|
384
|
+
this.orientation+" ui-widget ui-widget-content ui-corner-all"+(a.disabled?" ui-slider-disabled ui-disabled":""));this.range=d([]);if(a.range){if(a.range===true){if(!a.values)a.values=[this._valueMin(),this._valueMin()];if(a.values.length&&a.values.length!==2)a.values=[a.values[0],a.values[0]]}this.range=d("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(a.range==="min"||a.range==="max"?" ui-slider-range-"+a.range:""))}for(var j=c.length;j<f;j+=1)e.push("<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>");
|
385
|
+
this.handles=c.add(d(e.join("")).appendTo(b.element));this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(g){g.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur();else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(g){d(this).data("index.ui-slider-handle",
|
386
|
+
g)});this.handles.keydown(function(g){var k=true,l=d(this).data("index.ui-slider-handle"),i,h,m;if(!b.options.disabled){switch(g.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:k=false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");i=b._start(g,l);if(i===false)return}break}m=b.options.step;i=b.options.values&&b.options.values.length?
|
387
|
+
(h=b.values(l)):(h=b.value());switch(g.keyCode){case d.ui.keyCode.HOME:h=b._valueMin();break;case d.ui.keyCode.END:h=b._valueMax();break;case d.ui.keyCode.PAGE_UP:h=b._trimAlignValue(i+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:h=b._trimAlignValue(i-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(i===b._valueMax())return;h=b._trimAlignValue(i+m);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(i===b._valueMin())return;h=b._trimAlignValue(i-
|
388
|
+
m);break}b._slide(g,l,h);return k}}).keyup(function(g){var k=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(g,k);b._change(g,k);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();
|
389
|
+
return this},_mouseCapture:function(b){var a=this.options,c,f,e,j,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});f=this._valueMax()-this._valueMin()+1;j=this;this.handles.each(function(k){var l=Math.abs(c-j.values(k));if(f>l){f=l;e=d(this);g=k}});if(a.range===true&&this.values(1)===a.min){g+=1;e=d(this.handles[g])}if(this._start(b,g)===false)return false;
|
390
|
+
this._mouseSliding=true;j._handleIndex=g;e.addClass("ui-state-active").focus();a=e.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-e.width()/2,top:b.pageY-a.top-e.height()/2-(parseInt(e.css("borderTopWidth"),10)||0)-(parseInt(e.css("borderBottomWidth"),10)||0)+(parseInt(e.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true},_mouseDrag:function(b){var a=
|
391
|
+
this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a;if(this.orientation==="horizontal"){a=
|
392
|
+
this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);
|
393
|
+
c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var f;if(this.options.values&&this.options.values.length){f=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>f||a===1&&c<f))c=f;if(c!==this.values(a)){f=this.values();f[a]=c;b=this._trigger("slide",b,{handle:this.handles[a],value:c,values:f});this.values(a?0:1);b!==false&&this.values(a,c,true)}}else if(c!==this.value()){b=this._trigger("slide",b,{handle:this.handles[a],value:c});
|
394
|
+
b!==false&&this.value(c)}},_stop:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("stop",b,c)},_change:function(b,a){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("change",b,c)}},value:function(b){if(arguments.length){this.options.value=
|
395
|
+
this._trimAlignValue(b);this._refreshValue();this._change(null,0)}else return this._value()},values:function(b,a){var c,f,e;if(arguments.length>1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}else if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;f=arguments[0];for(e=0;e<c.length;e+=1){c[e]=this._trimAlignValue(f[e]);this._change(null,e)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(b):
|
396
|
+
this.value();else return this._values()},_setOption:function(b,a){var c,f=0;if(d.isArray(this.options.values))f=this.options.values.length;d.Widget.prototype._setOption.apply(this,arguments);switch(b){case "disabled":if(a){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case "orientation":this._detectOrientation();
|
397
|
+
this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case "values":this._animateOff=true;this._refreshValue();for(c=0;c<f;c+=1)this._change(null,c);this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var a,c;if(arguments.length){a=this.options.values[b];
|
398
|
+
return a=this._trimAlignValue(a)}else{a=this.options.values.slice();for(c=0;c<a.length;c+=1)a[c]=this._trimAlignValue(a[c]);return a}},_trimAlignValue:function(b){if(b<=this._valueMin())return this._valueMin();if(b>=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},
|
399
|
+
_refreshValue:function(){var b=this.options.range,a=this.options,c=this,f=!this._animateOff?a.animate:false,e,j={},g,k,l,i;if(this.options.values&&this.options.values.length)this.handles.each(function(h){e=(c.values(h)-c._valueMin())/(c._valueMax()-c._valueMin())*100;j[c.orientation==="horizontal"?"left":"bottom"]=e+"%";d(this).stop(1,1)[f?"animate":"css"](j,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(h===0)c.range.stop(1,1)[f?"animate":"css"]({left:e+"%"},a.animate);
|
400
|
+
if(h===1)c.range[f?"animate":"css"]({width:e-g+"%"},{queue:false,duration:a.animate})}else{if(h===0)c.range.stop(1,1)[f?"animate":"css"]({bottom:e+"%"},a.animate);if(h===1)c.range[f?"animate":"css"]({height:e-g+"%"},{queue:false,duration:a.animate})}g=e});else{k=this.value();l=this._valueMin();i=this._valueMax();e=i!==l?(k-l)/(i-l)*100:0;j[c.orientation==="horizontal"?"left":"bottom"]=e+"%";this.handle.stop(1,1)[f?"animate":"css"](j,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,
|
401
|
+
1)[f?"animate":"css"]({width:e+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[f?"animate":"css"]({width:100-e+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[f?"animate":"css"]({height:e+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[f?"animate":"css"]({height:100-e+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.13"})})(jQuery);
|
369
402
|
;/*
|
370
403
|
* jQuery UI Datepicker 1.8.13
|
371
404
|
*
|
@@ -464,4 +497,223 @@ arguments.length==2&&typeof arguments[1]=="string")return d.datepicker["_"+a+"Da
|
|
464
497
|
(function(b,d){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");
|
465
498
|
this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===d)return this._value();this._setOption("value",a);return this},_setOption:function(a,c){if(a==="value"){this.options.value=c;this._refreshValue();this._value()===this.options.max&&this._trigger("complete")}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;if(typeof a!=="number")a=0;return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*
|
466
499
|
this._value()/this.options.max},_refreshValue:function(){var a=this.value(),c=this._percentage();if(this.oldValue!==a){this.oldValue=a;this._trigger("change")}this.valueDiv.toggle(a>this.min).toggleClass("ui-corner-right",a===this.options.max).width(c.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.13"})})(jQuery);
|
500
|
+
;/*
|
501
|
+
* jQuery UI Effects 1.8.13
|
502
|
+
*
|
503
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
504
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
505
|
+
* http://jquery.org/license
|
506
|
+
*
|
507
|
+
* http://docs.jquery.com/UI/Effects/
|
508
|
+
*/
|
509
|
+
jQuery.effects||function(f,j){function m(c){var a;if(c&&c.constructor==Array&&c.length==3)return c;if(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)];if(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return[parseFloat(a[1])*2.55,parseFloat(a[2])*2.55,parseFloat(a[3])*2.55];if(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return[parseInt(a[1],
|
510
|
+
16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return n.transparent;return n[f.trim(c).toLowerCase()]}function s(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="transparent"||f.nodeName(c,"body"))break;a="backgroundColor"}while(c=c.parentNode);return m(b)}function o(){var c=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,
|
511
|
+
a={},b,d;if(c&&c.length&&c[0]&&c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]=="string"){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]==="string")a[b]=c[b];return a}function p(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in t||/scrollbar/.test(a)||!/color/i.test(a)&&isNaN(parseFloat(b)))delete c[a]}return c}function u(c,a){var b={_:0},d;for(d in a)if(c[d]!=a[d])b[d]=a[d];return b}function k(c,a,b,d){if(typeof c=="object"){d=
|
512
|
+
a;b=null;a=c;c=a.effect}if(f.isFunction(a)){d=a;b=null;a={}}if(typeof a=="number"||f.fx.speeds[a]){d=b;b=a;a={}}if(f.isFunction(b)){d=b;b=null}a=a||{};b=b||a.duration;b=f.fx.off?0:typeof b=="number"?b:b in f.fx.speeds?f.fx.speeds[b]:f.fx.speeds._default;d=d||a.complete;return[c,a,b,d]}function l(c){if(!c||typeof c==="number"||f.fx.speeds[c])return true;if(typeof c==="string"&&!f.effects[c])return true;return false}f.effects={};f.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor",
|
513
|
+
"borderTopColor","borderColor","color","outlineColor"],function(c,a){f.fx.step[a]=function(b){if(!b.colorInit){b.start=s(b.elem,a);b.end=m(b.end);b.colorInit=true}b.elem.style[a]="rgb("+Math.max(Math.min(parseInt(b.pos*(b.end[0]-b.start[0])+b.start[0],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[1]-b.start[1])+b.start[1],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[2]-b.start[2])+b.start[2],10),255),0)+")"}});var n={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,
|
514
|
+
0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,
|
515
|
+
211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},q=["add","remove","toggle"],t={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};f.effects.animateClass=function(c,a,b,
|
516
|
+
d){if(f.isFunction(b)){d=b;b=null}return this.queue(function(){var e=f(this),g=e.attr("style")||" ",h=p(o.call(this)),r,v=e.attr("class");f.each(q,function(w,i){c[i]&&e[i+"Class"](c[i])});r=p(o.call(this));e.attr("class",v);e.animate(u(h,r),{queue:false,duration:a,easding:b,complete:function(){f.each(q,function(w,i){c[i]&&e[i+"Class"](c[i])});if(typeof e.attr("style")=="object"){e.attr("style").cssText="";e.attr("style").cssText=g}else e.attr("style",g);d&&d.apply(this,arguments);f.dequeue(this)}})})};
|
517
|
+
f.fn.extend({_addClass:f.fn.addClass,addClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c,a):f.effects.animateClass.apply(this,
|
518
|
+
[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.13",save:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.data("ec.storage."+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.css(a[b],c.data("ec.storage."+a[b]))},setMode:function(c,a){if(a=="toggle")a=c.is(":hidden")?"show":"hide";return a},getBaseline:function(c,a){var b;switch(c[0]){case "top":b=
|
519
|
+
0;break;case "middle":b=0.5;break;case "bottom":b=1;break;default:b=c[0]/a.height}switch(c[1]){case "left":c=0;break;case "center":c=0.5;break;case "right":c=1;break;default:c=c[1]/a.width}return{x:c,y:b}},createWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent();var a={width:c.outerWidth(true),height:c.outerHeight(true),"float":c.css("float")},b=f("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});
|
520
|
+
c.wrap(b);b=c.parent();if(c.css("position")=="static"){b.css({position:"relative"});c.css({position:"relative"})}else{f.extend(a,{position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(d,e){a[e]=c.css(e);if(isNaN(parseInt(a[e],10)))a[e]="auto"});c.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c);return c},setTransition:function(c,
|
521
|
+
a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)});return d.call(this,b)},_show:f.fn.show,show:function(c){if(l(c))return this._show.apply(this,arguments);else{var a=k.apply(this,arguments);
|
522
|
+
a[1].mode="show";return this.effect.apply(this,a)}},_hide:f.fn.hide,hide:function(c){if(l(c))return this._hide.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(l(c)||typeof c==="boolean"||f.isFunction(c))return this.__toggle.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c),b=[];f.each(["em","px","%",
|
523
|
+
"pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(c,a,b,d,e){return f.easing[f.easing.def](c,a,b,d,e)},easeInQuad:function(c,a,b,d,e){return d*(a/=e)*a+b},easeOutQuad:function(c,a,b,d,e){return-d*(a/=e)*(a-2)+b},easeInOutQuad:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c,a,b,d,e){return d*
|
524
|
+
((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){return d*(a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c,a,b,d,e){if((a/=
|
525
|
+
e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:function(c,a,b,d,e){return d*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(c,a,b,d,e){return-d/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(c,a,b,d,e){return a==0?b:d*Math.pow(2,10*(a/e-1))+b},easeOutExpo:function(c,a,b,d,e){return a==e?b+d:d*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(c,a,b,d,e){if(a==0)return b;if(a==e)return b+d;if((a/=
|
526
|
+
e/2)<1)return d/2*Math.pow(2,10*(a-1))+b;return d/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(c,a,b,d,e){return-d*(Math.sqrt(1-(a/=e)*a)-1)+b},easeOutCirc:function(c,a,b,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(c,a,b,d,e){if((a/=e/2)<1)return-d/2*(Math.sqrt(1-a*a)-1)+b;return d/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/
|
527
|
+
h);return-(h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g))+b},easeOutElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*a)*Math.sin((a*e-c)*2*Math.PI/g)+d+b},easeInOutElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e/2)==2)return b+d;g||(g=e*0.3*1.5);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);if(a<1)return-0.5*
|
528
|
+
h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)+b;return h*Math.pow(2,-10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)*0.5+d+b},easeInBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*(a/=e)*a*((g+1)*a-g)+b},easeOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*((a=a/e-1)*a*((g+1)*a+g)+1)+b},easeInOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;if((a/=e/2)<1)return d/2*a*a*(((g*=1.525)+1)*a-g)+b;return d/2*((a-=2)*a*(((g*=1.525)+1)*a+g)+2)+b},easeInBounce:function(c,a,b,d,e){return d-f.easing.easeOutBounce(c,
|
529
|
+
e-a,0,d,e)+b},easeOutBounce:function(c,a,b,d,e){return(a/=e)<1/2.75?d*7.5625*a*a+b:a<2/2.75?d*(7.5625*(a-=1.5/2.75)*a+0.75)+b:a<2.5/2.75?d*(7.5625*(a-=2.25/2.75)*a+0.9375)+b:d*(7.5625*(a-=2.625/2.75)*a+0.984375)+b},easeInOutBounce:function(c,a,b,d,e){if(a<e/2)return f.easing.easeInBounce(c,a*2,0,d,e)*0.5+b;return f.easing.easeOutBounce(c,a*2-e,0,d,e)*0.5+d*0.5+b}})}(jQuery);
|
530
|
+
;/*
|
531
|
+
* jQuery UI Effects Blind 1.8.13
|
532
|
+
*
|
533
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
534
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
535
|
+
* http://jquery.org/license
|
536
|
+
*
|
537
|
+
* http://docs.jquery.com/UI/Effects/Blind
|
538
|
+
*
|
539
|
+
* Depends:
|
540
|
+
* jquery.effects.core.js
|
541
|
+
*/
|
542
|
+
(function(b){b.effects.blind=function(c){return this.queue(function(){var a=b(this),g=["position","top","bottom","left","right"],f=b.effects.setMode(a,c.options.mode||"hide"),d=c.options.direction||"vertical";b.effects.save(a,g);a.show();var e=b.effects.createWrapper(a).css({overflow:"hidden"}),h=d=="vertical"?"height":"width";d=d=="vertical"?e.height():e.width();f=="show"&&e.css(h,0);var i={};i[h]=f=="show"?d:0;e.animate(i,c.duration,c.options.easing,function(){f=="hide"&&a.hide();b.effects.restore(a,
|
543
|
+
g);b.effects.removeWrapper(a);c.callback&&c.callback.apply(a[0],arguments);a.dequeue()})})}})(jQuery);
|
544
|
+
;/*
|
545
|
+
* jQuery UI Effects Bounce 1.8.13
|
546
|
+
*
|
547
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
548
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
549
|
+
* http://jquery.org/license
|
550
|
+
*
|
551
|
+
* http://docs.jquery.com/UI/Effects/Bounce
|
552
|
+
*
|
553
|
+
* Depends:
|
554
|
+
* jquery.effects.core.js
|
555
|
+
*/
|
556
|
+
(function(e){e.effects.bounce=function(b){return this.queue(function(){var a=e(this),l=["position","top","bottom","left","right"],h=e.effects.setMode(a,b.options.mode||"effect"),d=b.options.direction||"up",c=b.options.distance||20,m=b.options.times||5,i=b.duration||250;/show|hide/.test(h)&&l.push("opacity");e.effects.save(a,l);a.show();e.effects.createWrapper(a);var f=d=="up"||d=="down"?"top":"left";d=d=="up"||d=="left"?"pos":"neg";c=b.options.distance||(f=="top"?a.outerHeight({margin:true})/3:a.outerWidth({margin:true})/
|
557
|
+
3);if(h=="show")a.css("opacity",0).css(f,d=="pos"?-c:c);if(h=="hide")c/=m*2;h!="hide"&&m--;if(h=="show"){var g={opacity:1};g[f]=(d=="pos"?"+=":"-=")+c;a.animate(g,i/2,b.options.easing);c/=2;m--}for(g=0;g<m;g++){var j={},k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing);c=h=="hide"?c*2:c/2}if(h=="hide"){g={opacity:0};g[f]=(d=="pos"?"-=":"+=")+c;a.animate(g,i/2,b.options.easing,function(){a.hide();e.effects.restore(a,l);e.effects.removeWrapper(a);
|
558
|
+
b.callback&&b.callback.apply(this,arguments)})}else{j={};k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing,function(){e.effects.restore(a,l);e.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments)})}a.queue("fx",function(){a.dequeue()});a.dequeue()})}})(jQuery);
|
559
|
+
;/*
|
560
|
+
* jQuery UI Effects Clip 1.8.13
|
561
|
+
*
|
562
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
563
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
564
|
+
* http://jquery.org/license
|
565
|
+
*
|
566
|
+
* http://docs.jquery.com/UI/Effects/Clip
|
567
|
+
*
|
568
|
+
* Depends:
|
569
|
+
* jquery.effects.core.js
|
570
|
+
*/
|
571
|
+
(function(b){b.effects.clip=function(e){return this.queue(function(){var a=b(this),i=["position","top","bottom","left","right","height","width"],f=b.effects.setMode(a,e.options.mode||"hide"),c=e.options.direction||"vertical";b.effects.save(a,i);a.show();var d=b.effects.createWrapper(a).css({overflow:"hidden"});d=a[0].tagName=="IMG"?d:a;var g={size:c=="vertical"?"height":"width",position:c=="vertical"?"top":"left"};c=c=="vertical"?d.height():d.width();if(f=="show"){d.css(g.size,0);d.css(g.position,
|
572
|
+
c/2)}var h={};h[g.size]=f=="show"?c:0;h[g.position]=f=="show"?0:c/2;d.animate(h,{queue:false,duration:e.duration,easing:e.options.easing,complete:function(){f=="hide"&&a.hide();b.effects.restore(a,i);b.effects.removeWrapper(a);e.callback&&e.callback.apply(a[0],arguments);a.dequeue()}})})}})(jQuery);
|
573
|
+
;/*
|
574
|
+
* jQuery UI Effects Drop 1.8.13
|
575
|
+
*
|
576
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
577
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
578
|
+
* http://jquery.org/license
|
579
|
+
*
|
580
|
+
* http://docs.jquery.com/UI/Effects/Drop
|
581
|
+
*
|
582
|
+
* Depends:
|
583
|
+
* jquery.effects.core.js
|
584
|
+
*/
|
585
|
+
(function(c){c.effects.drop=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right","opacity"],e=c.effects.setMode(a,d.options.mode||"hide"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a);var f=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var g=d.options.distance||(f=="top"?a.outerHeight({margin:true})/2:a.outerWidth({margin:true})/2);if(e=="show")a.css("opacity",0).css(f,b=="pos"?-g:g);var i={opacity:e==
|
586
|
+
"show"?1:0};i[f]=(e=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+g;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
587
|
+
;/*
|
588
|
+
* jQuery UI Effects Explode 1.8.13
|
589
|
+
*
|
590
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
591
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
592
|
+
* http://jquery.org/license
|
593
|
+
*
|
594
|
+
* http://docs.jquery.com/UI/Effects/Explode
|
595
|
+
*
|
596
|
+
* Depends:
|
597
|
+
* jquery.effects.core.js
|
598
|
+
*/
|
599
|
+
(function(j){j.effects.explode=function(a){return this.queue(function(){var c=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3,d=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3;a.options.mode=a.options.mode=="toggle"?j(this).is(":visible")?"hide":"show":a.options.mode;var b=j(this).show().css("visibility","hidden"),g=b.offset();g.top-=parseInt(b.css("marginTop"),10)||0;g.left-=parseInt(b.css("marginLeft"),10)||0;for(var h=b.outerWidth(true),i=b.outerHeight(true),e=0;e<c;e++)for(var f=
|
600
|
+
0;f<d;f++)b.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-f*(h/d),top:-e*(i/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h/d,height:i/c,left:g.left+f*(h/d)+(a.options.mode=="show"?(f-Math.floor(d/2))*(h/d):0),top:g.top+e*(i/c)+(a.options.mode=="show"?(e-Math.floor(c/2))*(i/c):0),opacity:a.options.mode=="show"?0:1}).animate({left:g.left+f*(h/d)+(a.options.mode=="show"?0:(f-Math.floor(d/2))*(h/d)),top:g.top+
|
601
|
+
e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.mode=="show"?1:0},a.duration||500);setTimeout(function(){a.options.mode=="show"?b.css({visibility:"visible"}):b.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(b[0]);b.dequeue();j("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery);
|
602
|
+
;/*
|
603
|
+
* jQuery UI Effects Fade 1.8.13
|
604
|
+
*
|
605
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
606
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
607
|
+
* http://jquery.org/license
|
608
|
+
*
|
609
|
+
* http://docs.jquery.com/UI/Effects/Fade
|
610
|
+
*
|
611
|
+
* Depends:
|
612
|
+
* jquery.effects.core.js
|
613
|
+
*/
|
614
|
+
(function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
|
615
|
+
;/*
|
616
|
+
* jQuery UI Effects Fold 1.8.13
|
617
|
+
*
|
618
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
619
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
620
|
+
* http://jquery.org/license
|
621
|
+
*
|
622
|
+
* http://docs.jquery.com/UI/Effects/Fold
|
623
|
+
*
|
624
|
+
* Depends:
|
625
|
+
* jquery.effects.core.js
|
626
|
+
*/
|
627
|
+
(function(c){c.effects.fold=function(a){return this.queue(function(){var b=c(this),j=["position","top","bottom","left","right"],d=c.effects.setMode(b,a.options.mode||"hide"),g=a.options.size||15,h=!!a.options.horizFirst,k=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(b,j);b.show();var e=c.effects.createWrapper(b).css({overflow:"hidden"}),f=d=="show"!=h,l=f?["width","height"]:["height","width"];f=f?[e.width(),e.height()]:[e.height(),e.width()];var i=/([0-9]+)%/.exec(g);if(i)g=parseInt(i[1],
|
628
|
+
10)/100*f[d=="hide"?0:1];if(d=="show")e.css(h?{height:0,width:g}:{height:g,width:0});h={};i={};h[l[0]]=d=="show"?f[0]:g;i[l[1]]=d=="show"?f[1]:0;e.animate(h,k,a.options.easing).animate(i,k,a.options.easing,function(){d=="hide"&&b.hide();c.effects.restore(b,j);c.effects.removeWrapper(b);a.callback&&a.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery);
|
629
|
+
;/*
|
630
|
+
* jQuery UI Effects Highlight 1.8.13
|
631
|
+
*
|
632
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
633
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
634
|
+
* http://jquery.org/license
|
635
|
+
*
|
636
|
+
* http://docs.jquery.com/UI/Effects/Highlight
|
637
|
+
*
|
638
|
+
* Depends:
|
639
|
+
* jquery.effects.core.js
|
640
|
+
*/
|
641
|
+
(function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=["backgroundImage","backgroundColor","opacity"],d=b.effects.setMode(a,c.options.mode||"show"),f={backgroundColor:a.css("backgroundColor")};if(d=="hide")f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d=="hide"&&a.hide();b.effects.restore(a,e);d=="show"&&!b.support.opacity&&
|
642
|
+
this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
643
|
+
;/*
|
644
|
+
* jQuery UI Effects Pulsate 1.8.13
|
645
|
+
*
|
646
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
647
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
648
|
+
* http://jquery.org/license
|
649
|
+
*
|
650
|
+
* http://docs.jquery.com/UI/Effects/Pulsate
|
651
|
+
*
|
652
|
+
* Depends:
|
653
|
+
* jquery.effects.core.js
|
654
|
+
*/
|
655
|
+
(function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(":visible");animateTo=0;if(!isVisible){b.css("opacity",0).show();animateTo=1}if(c=="hide"&&isVisible||c=="show"&&!isVisible)times--;for(c=0;c<times;c++){b.animate({opacity:animateTo},duration,a.options.easing);animateTo=(animateTo+1)%2}b.animate({opacity:animateTo},duration,
|
656
|
+
a.options.easing,function(){animateTo==0&&b.hide();a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()}).dequeue()})}})(jQuery);
|
657
|
+
;/*
|
658
|
+
* jQuery UI Effects Scale 1.8.13
|
659
|
+
*
|
660
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
661
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
662
|
+
* http://jquery.org/license
|
663
|
+
*
|
664
|
+
* http://docs.jquery.com/UI/Effects/Scale
|
665
|
+
*
|
666
|
+
* Depends:
|
667
|
+
* jquery.effects.core.js
|
668
|
+
*/
|
669
|
+
(function(c){c.effects.puff=function(b){return this.queue(function(){var a=c(this),e=c.effects.setMode(a,b.options.mode||"hide"),g=parseInt(b.options.percent,10)||150,h=g/100,i={height:a.height(),width:a.width()};c.extend(b.options,{fade:true,mode:e,percent:e=="hide"?g:100,from:e=="hide"?i:{height:i.height*h,width:i.width*h}});a.effect("scale",b.options,b.duration,b.callback);a.dequeue()})};c.effects.scale=function(b){return this.queue(function(){var a=c(this),e=c.extend(true,{},b.options),g=c.effects.setMode(a,
|
670
|
+
b.options.mode||"effect"),h=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:g=="hide"?0:100),i=b.options.direction||"both",f=b.options.origin;if(g!="effect"){e.origin=f||["middle","center"];e.restore=true}f={height:a.height(),width:a.width()};a.from=b.options.from||(g=="show"?{height:0,width:0}:f);h={y:i!="horizontal"?h/100:1,x:i!="vertical"?h/100:1};a.to={height:f.height*h.y,width:f.width*h.x};if(b.options.fade){if(g=="show"){a.from.opacity=0;a.to.opacity=1}if(g=="hide"){a.from.opacity=
|
671
|
+
1;a.to.opacity=0}}e.from=a.from;e.to=a.to;e.mode=g;a.effect("size",e,b.duration,b.callback);a.dequeue()})};c.effects.size=function(b){return this.queue(function(){var a=c(this),e=["position","top","bottom","left","right","width","height","overflow","opacity"],g=["position","top","bottom","left","right","overflow","opacity"],h=["width","height","overflow"],i=["fontSize"],f=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],k=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],
|
672
|
+
p=c.effects.setMode(a,b.options.mode||"effect"),n=b.options.restore||false,m=b.options.scale||"both",l=b.options.origin,j={height:a.height(),width:a.width()};a.from=b.options.from||j;a.to=b.options.to||j;if(l){l=c.effects.getBaseline(l,j);a.from.top=(j.height-a.from.height)*l.y;a.from.left=(j.width-a.from.width)*l.x;a.to.top=(j.height-a.to.height)*l.y;a.to.left=(j.width-a.to.width)*l.x}var d={from:{y:a.from.height/j.height,x:a.from.width/j.width},to:{y:a.to.height/j.height,x:a.to.width/j.width}};
|
673
|
+
if(m=="box"||m=="both"){if(d.from.y!=d.to.y){e=e.concat(f);a.from=c.effects.setTransition(a,f,d.from.y,a.from);a.to=c.effects.setTransition(a,f,d.to.y,a.to)}if(d.from.x!=d.to.x){e=e.concat(k);a.from=c.effects.setTransition(a,k,d.from.x,a.from);a.to=c.effects.setTransition(a,k,d.to.x,a.to)}}if(m=="content"||m=="both")if(d.from.y!=d.to.y){e=e.concat(i);a.from=c.effects.setTransition(a,i,d.from.y,a.from);a.to=c.effects.setTransition(a,i,d.to.y,a.to)}c.effects.save(a,n?e:g);a.show();c.effects.createWrapper(a);
|
674
|
+
a.css("overflow","hidden").css(a.from);if(m=="content"||m=="both"){f=f.concat(["marginTop","marginBottom"]).concat(i);k=k.concat(["marginLeft","marginRight"]);h=e.concat(f).concat(k);a.find("*[width]").each(function(){child=c(this);n&&c.effects.save(child,h);var o={height:child.height(),width:child.width()};child.from={height:o.height*d.from.y,width:o.width*d.from.x};child.to={height:o.height*d.to.y,width:o.width*d.to.x};if(d.from.y!=d.to.y){child.from=c.effects.setTransition(child,f,d.from.y,child.from);
|
675
|
+
child.to=c.effects.setTransition(child,f,d.to.y,child.to)}if(d.from.x!=d.to.x){child.from=c.effects.setTransition(child,k,d.from.x,child.from);child.to=c.effects.setTransition(child,k,d.to.x,child.to)}child.css(child.from);child.animate(child.to,b.duration,b.options.easing,function(){n&&c.effects.restore(child,h)})})}a.animate(a.to,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a.to.opacity===0&&a.css("opacity",a.from.opacity);p=="hide"&&a.hide();c.effects.restore(a,
|
676
|
+
n?e:g);c.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
677
|
+
;/*
|
678
|
+
* jQuery UI Effects Shake 1.8.13
|
679
|
+
*
|
680
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
681
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
682
|
+
* http://jquery.org/license
|
683
|
+
*
|
684
|
+
* http://docs.jquery.com/UI/Effects/Shake
|
685
|
+
*
|
686
|
+
* Depends:
|
687
|
+
* jquery.effects.core.js
|
688
|
+
*/
|
689
|
+
(function(d){d.effects.shake=function(a){return this.queue(function(){var b=d(this),j=["position","top","bottom","left","right"];d.effects.setMode(b,a.options.mode||"effect");var c=a.options.direction||"left",e=a.options.distance||20,l=a.options.times||3,f=a.duration||a.options.duration||140;d.effects.save(b,j);b.show();d.effects.createWrapper(b);var g=c=="up"||c=="down"?"top":"left",h=c=="up"||c=="left"?"pos":"neg";c={};var i={},k={};c[g]=(h=="pos"?"-=":"+=")+e;i[g]=(h=="pos"?"+=":"-=")+e*2;k[g]=
|
690
|
+
(h=="pos"?"-=":"+=")+e*2;b.animate(c,f,a.options.easing);for(e=1;e<l;e++)b.animate(i,f,a.options.easing).animate(k,f,a.options.easing);b.animate(i,f,a.options.easing).animate(c,f/2,a.options.easing,function(){d.effects.restore(b,j);d.effects.removeWrapper(b);a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()});b.dequeue()})}})(jQuery);
|
691
|
+
;/*
|
692
|
+
* jQuery UI Effects Slide 1.8.13
|
693
|
+
*
|
694
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
695
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
696
|
+
* http://jquery.org/license
|
697
|
+
*
|
698
|
+
* http://docs.jquery.com/UI/Effects/Slide
|
699
|
+
*
|
700
|
+
* Depends:
|
701
|
+
* jquery.effects.core.js
|
702
|
+
*/
|
703
|
+
(function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right"],f=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var g=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var e=d.options.distance||(g=="top"?a.outerHeight({margin:true}):a.outerWidth({margin:true}));if(f=="show")a.css(g,b=="pos"?isNaN(e)?"-"+e:-e:e);
|
704
|
+
var i={};i[g]=(f=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+e;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){f=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
705
|
+
;/*
|
706
|
+
* jQuery UI Effects Transfer 1.8.13
|
707
|
+
*
|
708
|
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
709
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
710
|
+
* http://jquery.org/license
|
711
|
+
*
|
712
|
+
* http://docs.jquery.com/UI/Effects/Transfer
|
713
|
+
*
|
714
|
+
* Depends:
|
715
|
+
* jquery.effects.core.js
|
716
|
+
*/
|
717
|
+
(function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top,left:d.left,height:b.innerHeight(),width:b.innerWidth(),position:"absolute"}).animate(c,a.duration,a.options.easing,function(){f.remove();a.callback&&a.callback.apply(b[0],arguments);
|
718
|
+
b.dequeue()})})}})(jQuery);
|
467
719
|
;
|