jquery-ui-rails 4.2.1 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitmodules +1 -1
- data/.travis.yml +1 -1
- data/History.md +41 -2
- data/README.md +100 -83
- data/Rakefile +82 -49
- data/VERSIONS.md +9 -0
- data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/javascripts/jquery-ui/core.js +15 -0
- data/app/assets/javascripts/jquery-ui/data.js +45 -0
- data/app/assets/javascripts/jquery-ui/disable-selection.js +51 -0
- data/app/assets/javascripts/jquery-ui/effect.all.js +15 -0
- data/app/assets/javascripts/jquery-ui/effect.js +975 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +76 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +116 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +71 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +75 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +117 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +53 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +95 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +63 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +49 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +70 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +63 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +80 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-size.js +199 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +82 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +46 -0
- data/app/assets/javascripts/jquery-ui/focusable.js +89 -0
- data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +83 -0
- data/app/assets/javascripts/jquery-ui/form.js +25 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +42 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +42 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +76 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +42 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +51 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +52 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +52 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +53 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +47 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +64 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +43 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +56 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +40 -0
- data/app/assets/javascripts/jquery-ui/ie.js +20 -0
- data/app/assets/javascripts/jquery-ui/jquery-patch.js +91 -0
- data/app/assets/javascripts/jquery-ui/jquery-var-for-color.js +24 -0
- data/app/assets/javascripts/jquery-ui/keycode.js +51 -0
- data/app/assets/javascripts/jquery-ui/labels.js +71 -0
- data/app/assets/javascripts/jquery-ui/plugin.js +49 -0
- data/app/assets/javascripts/{jquery.ui.position.js → jquery-ui/position.js} +120 -108
- data/app/assets/javascripts/jquery-ui/safe-active-element.js +46 -0
- data/app/assets/javascripts/jquery-ui/safe-blur.js +27 -0
- data/app/assets/javascripts/jquery-ui/scroll-parent.js +50 -0
- data/app/assets/javascripts/jquery-ui/tabbable.js +41 -0
- data/app/assets/javascripts/jquery-ui/unique-id.js +54 -0
- data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +722 -0
- data/app/assets/javascripts/jquery-ui/version.js +20 -0
- data/app/assets/javascripts/jquery-ui/widget.js +754 -0
- data/app/assets/javascripts/{jquery.ui.accordion.js → jquery-ui/widgets/accordion.js} +257 -203
- data/app/assets/javascripts/{jquery.ui.autocomplete.js → jquery-ui/widgets/autocomplete.js} +202 -133
- data/app/assets/javascripts/jquery-ui/widgets/button.js +454 -0
- data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +289 -0
- data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +304 -0
- data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2243 -0
- data/app/assets/javascripts/jquery-ui/widgets/dialog.js +968 -0
- data/app/assets/javascripts/jquery-ui/widgets/draggable.js +1268 -0
- data/app/assets/javascripts/jquery-ui/widgets/droppable.js +508 -0
- data/app/assets/javascripts/{jquery.ui.menu.js → jquery-ui/widgets/menu.js} +276 -187
- data/app/assets/javascripts/jquery-ui/widgets/mouse.js +241 -0
- data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +184 -0
- data/app/assets/javascripts/jquery-ui/widgets/resizable.js +1225 -0
- data/app/assets/javascripts/jquery-ui/widgets/selectable.js +321 -0
- data/app/assets/javascripts/jquery-ui/widgets/selectmenu.js +702 -0
- data/app/assets/javascripts/{jquery.ui.slider.js → jquery-ui/widgets/slider.js} +254 -174
- data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1623 -0
- data/app/assets/javascripts/{jquery.ui.spinner.js → jquery-ui/widgets/spinner.js} +206 -119
- data/app/assets/javascripts/{jquery.ui.tabs.js → jquery-ui/widgets/tabs.js} +334 -255
- data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +530 -0
- data/app/assets/javascripts/jquery-ui.js +57 -0
- data/app/assets/stylesheets/jquery-ui/accordion.css +26 -0
- data/app/assets/stylesheets/{jquery.ui.all.css.erb → jquery-ui/all.css} +4 -4
- data/app/assets/stylesheets/{jquery.ui.autocomplete.css.erb → jquery-ui/autocomplete.css} +3 -5
- data/app/assets/stylesheets/jquery-ui/base.css +32 -0
- data/app/assets/stylesheets/jquery-ui/button.css +85 -0
- data/app/assets/stylesheets/jquery-ui/checkboxradio.css +37 -0
- data/app/assets/stylesheets/jquery-ui/controlgroup.css +68 -0
- data/app/assets/stylesheets/{jquery.ui.core.css.erb → jquery-ui/core.css} +16 -9
- data/app/assets/stylesheets/{jquery.ui.datepicker.css.erb → jquery-ui/datepicker.css} +14 -5
- data/app/assets/stylesheets/{jquery.ui.dialog.css.erb → jquery-ui/dialog.css} +40 -12
- data/app/assets/stylesheets/jquery-ui/draggable.css +15 -0
- data/app/assets/stylesheets/jquery-ui/menu.css +67 -0
- data/app/assets/stylesheets/jquery-ui/progressbar.css +31 -0
- data/app/assets/stylesheets/{jquery.ui.resizable.css.erb → jquery-ui/resizable.css} +5 -4
- data/app/assets/stylesheets/{jquery.ui.selectable.css.erb → jquery-ui/selectable.css} +7 -4
- data/app/assets/stylesheets/jquery-ui/selectmenu.css +53 -0
- data/app/assets/stylesheets/{jquery.ui.slider.css.erb → jquery-ui/slider.css} +7 -6
- data/app/assets/stylesheets/jquery-ui/sortable.css +15 -0
- data/app/assets/stylesheets/{jquery.ui.spinner.css.erb → jquery-ui/spinner.css} +9 -24
- data/app/assets/stylesheets/{jquery.ui.tabs.css.erb → jquery-ui/tabs.css} +3 -4
- data/app/assets/stylesheets/{jquery.ui.theme.css.erb → jquery-ui/theme.css.erb} +122 -96
- data/app/assets/stylesheets/{jquery.ui.tooltip.css.erb → jquery-ui/tooltip.css} +3 -6
- data/app/assets/stylesheets/jquery-ui.css +1 -0
- data/lib/jquery/ui/rails/version.rb +2 -2
- metadata +180 -166
- data/app/assets/images/jquery-ui/animated-overlay.gif +0 -0
- data/app/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_888888_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/javascripts/jquery.ui.all.js +0 -34
- data/app/assets/javascripts/jquery.ui.button.js +0 -398
- data/app/assets/javascripts/jquery.ui.core.js +0 -320
- data/app/assets/javascripts/jquery.ui.datepicker-af.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-ar-DZ.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-ar.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-az.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-be.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-bg.js +0 -24
- data/app/assets/javascripts/jquery.ui.datepicker-bs.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-ca.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-cs.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-cy-GB.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-da.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-de.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-el.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-en-AU.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-en-GB.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-en-NZ.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-eo.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-es.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-et.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-eu.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-fa.js +0 -59
- data/app/assets/javascripts/jquery.ui.datepicker-fi.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-fo.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-fr-CA.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-fr-CH.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-fr.js +0 -25
- data/app/assets/javascripts/jquery.ui.datepicker-gl.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-he.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-hi.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-hr.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-hu.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-hy.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-id.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-is.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-it.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-ja.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-ka.js +0 -21
- data/app/assets/javascripts/jquery.ui.datepicker-kk.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-km.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-ko.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-ky.js +0 -24
- data/app/assets/javascripts/jquery.ui.datepicker-lb.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-lt.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-lv.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-mk.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-ml.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-ms.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-nb.js +0 -22
- data/app/assets/javascripts/jquery.ui.datepicker-nl-BE.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-nl.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-nn.js +0 -22
- data/app/assets/javascripts/jquery.ui.datepicker-no.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-pl.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-pt-BR.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-pt.js +0 -22
- data/app/assets/javascripts/jquery.ui.datepicker-rm.js +0 -21
- data/app/assets/javascripts/jquery.ui.datepicker-ro.js +0 -26
- data/app/assets/javascripts/jquery.ui.datepicker-ru.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-sk.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-sl.js +0 -24
- data/app/assets/javascripts/jquery.ui.datepicker-sq.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-sr-SR.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-sr.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-sv.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-ta.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-th.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-tj.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-tr.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-uk.js +0 -24
- data/app/assets/javascripts/jquery.ui.datepicker-vi.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-zh-CN.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-zh-HK.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker-zh-TW.js +0 -23
- data/app/assets/javascripts/jquery.ui.datepicker.js +0 -2040
- data/app/assets/javascripts/jquery.ui.dialog.js +0 -830
- data/app/assets/javascripts/jquery.ui.draggable.js +0 -962
- data/app/assets/javascripts/jquery.ui.droppable.js +0 -394
- data/app/assets/javascripts/jquery.ui.effect-blind.js +0 -84
- data/app/assets/javascripts/jquery.ui.effect-bounce.js +0 -115
- data/app/assets/javascripts/jquery.ui.effect-clip.js +0 -69
- data/app/assets/javascripts/jquery.ui.effect-drop.js +0 -67
- data/app/assets/javascripts/jquery.ui.effect-explode.js +0 -99
- data/app/assets/javascripts/jquery.ui.effect-fade.js +0 -32
- data/app/assets/javascripts/jquery.ui.effect-fold.js +0 -78
- data/app/assets/javascripts/jquery.ui.effect-highlight.js +0 -52
- data/app/assets/javascripts/jquery.ui.effect-pulsate.js +0 -65
- data/app/assets/javascripts/jquery.ui.effect-scale.js +0 -320
- data/app/assets/javascripts/jquery.ui.effect-shake.js +0 -76
- data/app/assets/javascripts/jquery.ui.effect-slide.js +0 -66
- data/app/assets/javascripts/jquery.ui.effect-transfer.js +0 -49
- data/app/assets/javascripts/jquery.ui.effect.all.js +0 -14
- data/app/assets/javascripts/jquery.ui.effect.js +0 -1289
- data/app/assets/javascripts/jquery.ui.mouse.js +0 -172
- data/app/assets/javascripts/jquery.ui.progressbar.js +0 -148
- data/app/assets/javascripts/jquery.ui.resizable.js +0 -982
- data/app/assets/javascripts/jquery.ui.selectable.js +0 -281
- data/app/assets/javascripts/jquery.ui.sortable.js +0 -1293
- data/app/assets/javascripts/jquery.ui.tooltip.js +0 -406
- data/app/assets/javascripts/jquery.ui.widget.js +0 -521
- data/app/assets/stylesheets/jquery.ui.accordion.css.erb +0 -42
- data/app/assets/stylesheets/jquery.ui.base.css.erb +0 -27
- data/app/assets/stylesheets/jquery.ui.button.css.erb +0 -118
- data/app/assets/stylesheets/jquery.ui.menu.css.erb +0 -83
- data/app/assets/stylesheets/jquery.ui.progressbar.css.erb +0 -37
@@ -0,0 +1,321 @@
|
|
1
|
+
//= require jquery-ui/widgets/mouse
|
2
|
+
//= require jquery-ui/version
|
3
|
+
//= require jquery-ui/widget
|
4
|
+
|
5
|
+
/*!
|
6
|
+
* jQuery UI Selectable 1.13.0
|
7
|
+
* http://jqueryui.com
|
8
|
+
*
|
9
|
+
* Copyright jQuery Foundation and other contributors
|
10
|
+
* Released under the MIT license.
|
11
|
+
* http://jquery.org/license
|
12
|
+
*/
|
13
|
+
|
14
|
+
//>>label: Selectable
|
15
|
+
//>>group: Interactions
|
16
|
+
//>>description: Allows groups of elements to be selected with the mouse.
|
17
|
+
//>>docs: http://api.jqueryui.com/selectable/
|
18
|
+
//>>demos: http://jqueryui.com/selectable/
|
19
|
+
//>>css.structure: ../../themes/base/selectable.css
|
20
|
+
|
21
|
+
( function( factory ) {
|
22
|
+
"use strict";
|
23
|
+
|
24
|
+
if ( typeof define === "function" && define.amd ) {
|
25
|
+
|
26
|
+
// AMD. Register as an anonymous module.
|
27
|
+
define( [
|
28
|
+
"jquery",
|
29
|
+
"./mouse",
|
30
|
+
"../version",
|
31
|
+
"../widget"
|
32
|
+
], factory );
|
33
|
+
} else {
|
34
|
+
|
35
|
+
// Browser globals
|
36
|
+
factory( jQuery );
|
37
|
+
}
|
38
|
+
} )( function( $ ) {
|
39
|
+
"use strict";
|
40
|
+
|
41
|
+
return $.widget( "ui.selectable", $.ui.mouse, {
|
42
|
+
version: "1.13.0",
|
43
|
+
options: {
|
44
|
+
appendTo: "body",
|
45
|
+
autoRefresh: true,
|
46
|
+
distance: 0,
|
47
|
+
filter: "*",
|
48
|
+
tolerance: "touch",
|
49
|
+
|
50
|
+
// Callbacks
|
51
|
+
selected: null,
|
52
|
+
selecting: null,
|
53
|
+
start: null,
|
54
|
+
stop: null,
|
55
|
+
unselected: null,
|
56
|
+
unselecting: null
|
57
|
+
},
|
58
|
+
_create: function() {
|
59
|
+
var that = this;
|
60
|
+
|
61
|
+
this._addClass( "ui-selectable" );
|
62
|
+
|
63
|
+
this.dragged = false;
|
64
|
+
|
65
|
+
// Cache selectee children based on filter
|
66
|
+
this.refresh = function() {
|
67
|
+
that.elementPos = $( that.element[ 0 ] ).offset();
|
68
|
+
that.selectees = $( that.options.filter, that.element[ 0 ] );
|
69
|
+
that._addClass( that.selectees, "ui-selectee" );
|
70
|
+
that.selectees.each( function() {
|
71
|
+
var $this = $( this ),
|
72
|
+
selecteeOffset = $this.offset(),
|
73
|
+
pos = {
|
74
|
+
left: selecteeOffset.left - that.elementPos.left,
|
75
|
+
top: selecteeOffset.top - that.elementPos.top
|
76
|
+
};
|
77
|
+
$.data( this, "selectable-item", {
|
78
|
+
element: this,
|
79
|
+
$element: $this,
|
80
|
+
left: pos.left,
|
81
|
+
top: pos.top,
|
82
|
+
right: pos.left + $this.outerWidth(),
|
83
|
+
bottom: pos.top + $this.outerHeight(),
|
84
|
+
startselected: false,
|
85
|
+
selected: $this.hasClass( "ui-selected" ),
|
86
|
+
selecting: $this.hasClass( "ui-selecting" ),
|
87
|
+
unselecting: $this.hasClass( "ui-unselecting" )
|
88
|
+
} );
|
89
|
+
} );
|
90
|
+
};
|
91
|
+
this.refresh();
|
92
|
+
|
93
|
+
this._mouseInit();
|
94
|
+
|
95
|
+
this.helper = $( "<div>" );
|
96
|
+
this._addClass( this.helper, "ui-selectable-helper" );
|
97
|
+
},
|
98
|
+
|
99
|
+
_destroy: function() {
|
100
|
+
this.selectees.removeData( "selectable-item" );
|
101
|
+
this._mouseDestroy();
|
102
|
+
},
|
103
|
+
|
104
|
+
_mouseStart: function( event ) {
|
105
|
+
var that = this,
|
106
|
+
options = this.options;
|
107
|
+
|
108
|
+
this.opos = [ event.pageX, event.pageY ];
|
109
|
+
this.elementPos = $( this.element[ 0 ] ).offset();
|
110
|
+
|
111
|
+
if ( this.options.disabled ) {
|
112
|
+
return;
|
113
|
+
}
|
114
|
+
|
115
|
+
this.selectees = $( options.filter, this.element[ 0 ] );
|
116
|
+
|
117
|
+
this._trigger( "start", event );
|
118
|
+
|
119
|
+
$( options.appendTo ).append( this.helper );
|
120
|
+
|
121
|
+
// position helper (lasso)
|
122
|
+
this.helper.css( {
|
123
|
+
"left": event.pageX,
|
124
|
+
"top": event.pageY,
|
125
|
+
"width": 0,
|
126
|
+
"height": 0
|
127
|
+
} );
|
128
|
+
|
129
|
+
if ( options.autoRefresh ) {
|
130
|
+
this.refresh();
|
131
|
+
}
|
132
|
+
|
133
|
+
this.selectees.filter( ".ui-selected" ).each( function() {
|
134
|
+
var selectee = $.data( this, "selectable-item" );
|
135
|
+
selectee.startselected = true;
|
136
|
+
if ( !event.metaKey && !event.ctrlKey ) {
|
137
|
+
that._removeClass( selectee.$element, "ui-selected" );
|
138
|
+
selectee.selected = false;
|
139
|
+
that._addClass( selectee.$element, "ui-unselecting" );
|
140
|
+
selectee.unselecting = true;
|
141
|
+
|
142
|
+
// selectable UNSELECTING callback
|
143
|
+
that._trigger( "unselecting", event, {
|
144
|
+
unselecting: selectee.element
|
145
|
+
} );
|
146
|
+
}
|
147
|
+
} );
|
148
|
+
|
149
|
+
$( event.target ).parents().addBack().each( function() {
|
150
|
+
var doSelect,
|
151
|
+
selectee = $.data( this, "selectable-item" );
|
152
|
+
if ( selectee ) {
|
153
|
+
doSelect = ( !event.metaKey && !event.ctrlKey ) ||
|
154
|
+
!selectee.$element.hasClass( "ui-selected" );
|
155
|
+
that._removeClass( selectee.$element, doSelect ? "ui-unselecting" : "ui-selected" )
|
156
|
+
._addClass( selectee.$element, doSelect ? "ui-selecting" : "ui-unselecting" );
|
157
|
+
selectee.unselecting = !doSelect;
|
158
|
+
selectee.selecting = doSelect;
|
159
|
+
selectee.selected = doSelect;
|
160
|
+
|
161
|
+
// selectable (UN)SELECTING callback
|
162
|
+
if ( doSelect ) {
|
163
|
+
that._trigger( "selecting", event, {
|
164
|
+
selecting: selectee.element
|
165
|
+
} );
|
166
|
+
} else {
|
167
|
+
that._trigger( "unselecting", event, {
|
168
|
+
unselecting: selectee.element
|
169
|
+
} );
|
170
|
+
}
|
171
|
+
return false;
|
172
|
+
}
|
173
|
+
} );
|
174
|
+
|
175
|
+
},
|
176
|
+
|
177
|
+
_mouseDrag: function( event ) {
|
178
|
+
|
179
|
+
this.dragged = true;
|
180
|
+
|
181
|
+
if ( this.options.disabled ) {
|
182
|
+
return;
|
183
|
+
}
|
184
|
+
|
185
|
+
var tmp,
|
186
|
+
that = this,
|
187
|
+
options = this.options,
|
188
|
+
x1 = this.opos[ 0 ],
|
189
|
+
y1 = this.opos[ 1 ],
|
190
|
+
x2 = event.pageX,
|
191
|
+
y2 = event.pageY;
|
192
|
+
|
193
|
+
if ( x1 > x2 ) {
|
194
|
+
tmp = x2; x2 = x1; x1 = tmp;
|
195
|
+
}
|
196
|
+
if ( y1 > y2 ) {
|
197
|
+
tmp = y2; y2 = y1; y1 = tmp;
|
198
|
+
}
|
199
|
+
this.helper.css( { left: x1, top: y1, width: x2 - x1, height: y2 - y1 } );
|
200
|
+
|
201
|
+
this.selectees.each( function() {
|
202
|
+
var selectee = $.data( this, "selectable-item" ),
|
203
|
+
hit = false,
|
204
|
+
offset = {};
|
205
|
+
|
206
|
+
//prevent helper from being selected if appendTo: selectable
|
207
|
+
if ( !selectee || selectee.element === that.element[ 0 ] ) {
|
208
|
+
return;
|
209
|
+
}
|
210
|
+
|
211
|
+
offset.left = selectee.left + that.elementPos.left;
|
212
|
+
offset.right = selectee.right + that.elementPos.left;
|
213
|
+
offset.top = selectee.top + that.elementPos.top;
|
214
|
+
offset.bottom = selectee.bottom + that.elementPos.top;
|
215
|
+
|
216
|
+
if ( options.tolerance === "touch" ) {
|
217
|
+
hit = ( !( offset.left > x2 || offset.right < x1 || offset.top > y2 ||
|
218
|
+
offset.bottom < y1 ) );
|
219
|
+
} else if ( options.tolerance === "fit" ) {
|
220
|
+
hit = ( offset.left > x1 && offset.right < x2 && offset.top > y1 &&
|
221
|
+
offset.bottom < y2 );
|
222
|
+
}
|
223
|
+
|
224
|
+
if ( hit ) {
|
225
|
+
|
226
|
+
// SELECT
|
227
|
+
if ( selectee.selected ) {
|
228
|
+
that._removeClass( selectee.$element, "ui-selected" );
|
229
|
+
selectee.selected = false;
|
230
|
+
}
|
231
|
+
if ( selectee.unselecting ) {
|
232
|
+
that._removeClass( selectee.$element, "ui-unselecting" );
|
233
|
+
selectee.unselecting = false;
|
234
|
+
}
|
235
|
+
if ( !selectee.selecting ) {
|
236
|
+
that._addClass( selectee.$element, "ui-selecting" );
|
237
|
+
selectee.selecting = true;
|
238
|
+
|
239
|
+
// selectable SELECTING callback
|
240
|
+
that._trigger( "selecting", event, {
|
241
|
+
selecting: selectee.element
|
242
|
+
} );
|
243
|
+
}
|
244
|
+
} else {
|
245
|
+
|
246
|
+
// UNSELECT
|
247
|
+
if ( selectee.selecting ) {
|
248
|
+
if ( ( event.metaKey || event.ctrlKey ) && selectee.startselected ) {
|
249
|
+
that._removeClass( selectee.$element, "ui-selecting" );
|
250
|
+
selectee.selecting = false;
|
251
|
+
that._addClass( selectee.$element, "ui-selected" );
|
252
|
+
selectee.selected = true;
|
253
|
+
} else {
|
254
|
+
that._removeClass( selectee.$element, "ui-selecting" );
|
255
|
+
selectee.selecting = false;
|
256
|
+
if ( selectee.startselected ) {
|
257
|
+
that._addClass( selectee.$element, "ui-unselecting" );
|
258
|
+
selectee.unselecting = true;
|
259
|
+
}
|
260
|
+
|
261
|
+
// selectable UNSELECTING callback
|
262
|
+
that._trigger( "unselecting", event, {
|
263
|
+
unselecting: selectee.element
|
264
|
+
} );
|
265
|
+
}
|
266
|
+
}
|
267
|
+
if ( selectee.selected ) {
|
268
|
+
if ( !event.metaKey && !event.ctrlKey && !selectee.startselected ) {
|
269
|
+
that._removeClass( selectee.$element, "ui-selected" );
|
270
|
+
selectee.selected = false;
|
271
|
+
|
272
|
+
that._addClass( selectee.$element, "ui-unselecting" );
|
273
|
+
selectee.unselecting = true;
|
274
|
+
|
275
|
+
// selectable UNSELECTING callback
|
276
|
+
that._trigger( "unselecting", event, {
|
277
|
+
unselecting: selectee.element
|
278
|
+
} );
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
} );
|
283
|
+
|
284
|
+
return false;
|
285
|
+
},
|
286
|
+
|
287
|
+
_mouseStop: function( event ) {
|
288
|
+
var that = this;
|
289
|
+
|
290
|
+
this.dragged = false;
|
291
|
+
|
292
|
+
$( ".ui-unselecting", this.element[ 0 ] ).each( function() {
|
293
|
+
var selectee = $.data( this, "selectable-item" );
|
294
|
+
that._removeClass( selectee.$element, "ui-unselecting" );
|
295
|
+
selectee.unselecting = false;
|
296
|
+
selectee.startselected = false;
|
297
|
+
that._trigger( "unselected", event, {
|
298
|
+
unselected: selectee.element
|
299
|
+
} );
|
300
|
+
} );
|
301
|
+
$( ".ui-selecting", this.element[ 0 ] ).each( function() {
|
302
|
+
var selectee = $.data( this, "selectable-item" );
|
303
|
+
that._removeClass( selectee.$element, "ui-selecting" )
|
304
|
+
._addClass( selectee.$element, "ui-selected" );
|
305
|
+
selectee.selecting = false;
|
306
|
+
selectee.selected = true;
|
307
|
+
selectee.startselected = true;
|
308
|
+
that._trigger( "selected", event, {
|
309
|
+
selected: selectee.element
|
310
|
+
} );
|
311
|
+
} );
|
312
|
+
this._trigger( "stop", event );
|
313
|
+
|
314
|
+
this.helper.remove();
|
315
|
+
|
316
|
+
return false;
|
317
|
+
}
|
318
|
+
|
319
|
+
} );
|
320
|
+
|
321
|
+
} );
|