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
@@ -1,21 +1,41 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
|
1
3
|
/*!
|
2
|
-
* jQuery UI Position 1.
|
4
|
+
* jQuery UI Position 1.13.0
|
3
5
|
* http://jqueryui.com
|
4
6
|
*
|
5
|
-
* Copyright
|
7
|
+
* Copyright jQuery Foundation and other contributors
|
6
8
|
* Released under the MIT license.
|
7
9
|
* http://jquery.org/license
|
8
10
|
*
|
9
11
|
* http://api.jqueryui.com/position/
|
10
12
|
*/
|
11
|
-
(function( $, undefined ) {
|
12
13
|
|
13
|
-
|
14
|
+
//>>label: Position
|
15
|
+
//>>group: Core
|
16
|
+
//>>description: Positions elements relative to other elements.
|
17
|
+
//>>docs: http://api.jqueryui.com/position/
|
18
|
+
//>>demos: http://jqueryui.com/position/
|
19
|
+
|
20
|
+
( function( factory ) {
|
21
|
+
"use strict";
|
22
|
+
|
23
|
+
if ( typeof define === "function" && define.amd ) {
|
14
24
|
|
25
|
+
// AMD. Register as an anonymous module.
|
26
|
+
define( [ "jquery", "./version" ], factory );
|
27
|
+
} else {
|
28
|
+
|
29
|
+
// Browser globals
|
30
|
+
factory( jQuery );
|
31
|
+
}
|
32
|
+
} )( function( $ ) {
|
33
|
+
"use strict";
|
34
|
+
|
35
|
+
( function() {
|
15
36
|
var cachedScrollbarWidth,
|
16
37
|
max = Math.max,
|
17
38
|
abs = Math.abs,
|
18
|
-
round = Math.round,
|
19
39
|
rhorizontal = /left|center|right/,
|
20
40
|
rvertical = /top|center|bottom/,
|
21
41
|
roffset = /[\+\-]\d+(\.[\d]+)?%?/,
|
@@ -34,8 +54,12 @@ function parseCss( element, property ) {
|
|
34
54
|
return parseInt( $.css( element, property ), 10 ) || 0;
|
35
55
|
}
|
36
56
|
|
57
|
+
function isWindow( obj ) {
|
58
|
+
return obj != null && obj === obj.window;
|
59
|
+
}
|
60
|
+
|
37
61
|
function getDimensions( elem ) {
|
38
|
-
var raw = elem[0];
|
62
|
+
var raw = elem[ 0 ];
|
39
63
|
if ( raw.nodeType === 9 ) {
|
40
64
|
return {
|
41
65
|
width: elem.width(),
|
@@ -43,7 +67,7 @@ function getDimensions( elem ) {
|
|
43
67
|
offset: { top: 0, left: 0 }
|
44
68
|
};
|
45
69
|
}
|
46
|
-
if (
|
70
|
+
if ( isWindow( raw ) ) {
|
47
71
|
return {
|
48
72
|
width: elem.width(),
|
49
73
|
height: elem.height(),
|
@@ -70,8 +94,10 @@ $.position = {
|
|
70
94
|
return cachedScrollbarWidth;
|
71
95
|
}
|
72
96
|
var w1, w2,
|
73
|
-
div = $( "<div style=
|
74
|
-
|
97
|
+
div = $( "<div style=" +
|
98
|
+
"'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>" +
|
99
|
+
"<div style='height:300px;width:auto;'></div></div>" ),
|
100
|
+
innerDiv = div.children()[ 0 ];
|
75
101
|
|
76
102
|
$( "body" ).append( div );
|
77
103
|
w1 = innerDiv.offsetWidth;
|
@@ -80,12 +106,12 @@ $.position = {
|
|
80
106
|
w2 = innerDiv.offsetWidth;
|
81
107
|
|
82
108
|
if ( w1 === w2 ) {
|
83
|
-
w2 = div[0].clientWidth;
|
109
|
+
w2 = div[ 0 ].clientWidth;
|
84
110
|
}
|
85
111
|
|
86
112
|
div.remove();
|
87
113
|
|
88
|
-
return (cachedScrollbarWidth = w1 - w2);
|
114
|
+
return ( cachedScrollbarWidth = w1 - w2 );
|
89
115
|
},
|
90
116
|
getScrollInfo: function( within ) {
|
91
117
|
var overflowX = within.isWindow || within.isDocument ? "" :
|
@@ -93,9 +119,9 @@ $.position = {
|
|
93
119
|
overflowY = within.isWindow || within.isDocument ? "" :
|
94
120
|
within.element.css( "overflow-y" ),
|
95
121
|
hasOverflowX = overflowX === "scroll" ||
|
96
|
-
( overflowX === "auto" && within.width < within.element[0].scrollWidth ),
|
122
|
+
( overflowX === "auto" && within.width < within.element[ 0 ].scrollWidth ),
|
97
123
|
hasOverflowY = overflowY === "scroll" ||
|
98
|
-
( overflowY === "auto" && within.height < within.element[0].scrollHeight );
|
124
|
+
( overflowY === "auto" && within.height < within.element[ 0 ].scrollHeight );
|
99
125
|
return {
|
100
126
|
width: hasOverflowY ? $.position.scrollbarWidth() : 0,
|
101
127
|
height: hasOverflowX ? $.position.scrollbarWidth() : 0
|
@@ -103,17 +129,18 @@ $.position = {
|
|
103
129
|
},
|
104
130
|
getWithinInfo: function( element ) {
|
105
131
|
var withinElement = $( element || window ),
|
106
|
-
|
107
|
-
isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9
|
132
|
+
isElemWindow = isWindow( withinElement[ 0 ] ),
|
133
|
+
isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9,
|
134
|
+
hasOffset = !isElemWindow && !isDocument;
|
108
135
|
return {
|
109
136
|
element: withinElement,
|
110
|
-
isWindow:
|
137
|
+
isWindow: isElemWindow,
|
111
138
|
isDocument: isDocument,
|
112
|
-
offset:
|
139
|
+
offset: hasOffset ? $( element ).offset() : { left: 0, top: 0 },
|
113
140
|
scrollLeft: withinElement.scrollLeft(),
|
114
141
|
scrollTop: withinElement.scrollTop(),
|
115
|
-
width:
|
116
|
-
height:
|
142
|
+
width: withinElement.outerWidth(),
|
143
|
+
height: withinElement.outerHeight()
|
117
144
|
};
|
118
145
|
}
|
119
146
|
};
|
@@ -123,35 +150,42 @@ $.fn.position = function( options ) {
|
|
123
150
|
return _position.apply( this, arguments );
|
124
151
|
}
|
125
152
|
|
126
|
-
//
|
153
|
+
// Make a copy, we don't want to modify arguments
|
127
154
|
options = $.extend( {}, options );
|
128
155
|
|
129
156
|
var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
|
130
|
-
|
157
|
+
|
158
|
+
// Make sure string options are treated as CSS selectors
|
159
|
+
target = typeof options.of === "string" ?
|
160
|
+
$( document ).find( options.of ) :
|
161
|
+
$( options.of ),
|
162
|
+
|
131
163
|
within = $.position.getWithinInfo( options.within ),
|
132
164
|
scrollInfo = $.position.getScrollInfo( within ),
|
133
165
|
collision = ( options.collision || "flip" ).split( " " ),
|
134
166
|
offsets = {};
|
135
167
|
|
136
168
|
dimensions = getDimensions( target );
|
137
|
-
if ( target[0].preventDefault ) {
|
138
|
-
|
169
|
+
if ( target[ 0 ].preventDefault ) {
|
170
|
+
|
171
|
+
// Force left top to allow flipping
|
139
172
|
options.at = "left top";
|
140
173
|
}
|
141
174
|
targetWidth = dimensions.width;
|
142
175
|
targetHeight = dimensions.height;
|
143
176
|
targetOffset = dimensions.offset;
|
144
|
-
|
177
|
+
|
178
|
+
// Clone to reuse original targetOffset later
|
145
179
|
basePosition = $.extend( {}, targetOffset );
|
146
180
|
|
147
|
-
//
|
181
|
+
// Force my and at to have valid horizontal and vertical positions
|
148
182
|
// if a value is missing or invalid, it will be converted to center
|
149
183
|
$.each( [ "my", "at" ], function() {
|
150
184
|
var pos = ( options[ this ] || "" ).split( " " ),
|
151
185
|
horizontalOffset,
|
152
186
|
verticalOffset;
|
153
187
|
|
154
|
-
if ( pos.length === 1) {
|
188
|
+
if ( pos.length === 1 ) {
|
155
189
|
pos = rhorizontal.test( pos[ 0 ] ) ?
|
156
190
|
pos.concat( [ "center" ] ) :
|
157
191
|
rvertical.test( pos[ 0 ] ) ?
|
@@ -161,7 +195,7 @@ $.fn.position = function( options ) {
|
|
161
195
|
pos[ 0 ] = rhorizontal.test( pos[ 0 ] ) ? pos[ 0 ] : "center";
|
162
196
|
pos[ 1 ] = rvertical.test( pos[ 1 ] ) ? pos[ 1 ] : "center";
|
163
197
|
|
164
|
-
//
|
198
|
+
// Calculate offsets
|
165
199
|
horizontalOffset = roffset.exec( pos[ 0 ] );
|
166
200
|
verticalOffset = roffset.exec( pos[ 1 ] );
|
167
201
|
offsets[ this ] = [
|
@@ -169,14 +203,14 @@ $.fn.position = function( options ) {
|
|
169
203
|
verticalOffset ? verticalOffset[ 0 ] : 0
|
170
204
|
];
|
171
205
|
|
172
|
-
//
|
206
|
+
// Reduce to just the positions without the offsets
|
173
207
|
options[ this ] = [
|
174
208
|
rposition.exec( pos[ 0 ] )[ 0 ],
|
175
209
|
rposition.exec( pos[ 1 ] )[ 0 ]
|
176
210
|
];
|
177
|
-
});
|
211
|
+
} );
|
178
212
|
|
179
|
-
//
|
213
|
+
// Normalize collision option
|
180
214
|
if ( collision.length === 1 ) {
|
181
215
|
collision[ 1 ] = collision[ 0 ];
|
182
216
|
}
|
@@ -197,15 +231,17 @@ $.fn.position = function( options ) {
|
|
197
231
|
basePosition.left += atOffset[ 0 ];
|
198
232
|
basePosition.top += atOffset[ 1 ];
|
199
233
|
|
200
|
-
return this.each(function() {
|
234
|
+
return this.each( function() {
|
201
235
|
var collisionPosition, using,
|
202
236
|
elem = $( this ),
|
203
237
|
elemWidth = elem.outerWidth(),
|
204
238
|
elemHeight = elem.outerHeight(),
|
205
239
|
marginLeft = parseCss( this, "marginLeft" ),
|
206
240
|
marginTop = parseCss( this, "marginTop" ),
|
207
|
-
collisionWidth = elemWidth + marginLeft + parseCss( this, "marginRight" ) +
|
208
|
-
|
241
|
+
collisionWidth = elemWidth + marginLeft + parseCss( this, "marginRight" ) +
|
242
|
+
scrollInfo.width,
|
243
|
+
collisionHeight = elemHeight + marginTop + parseCss( this, "marginBottom" ) +
|
244
|
+
scrollInfo.height,
|
209
245
|
position = $.extend( {}, basePosition ),
|
210
246
|
myOffset = getOffsets( offsets.my, elem.outerWidth(), elem.outerHeight() );
|
211
247
|
|
@@ -224,12 +260,6 @@ $.fn.position = function( options ) {
|
|
224
260
|
position.left += myOffset[ 0 ];
|
225
261
|
position.top += myOffset[ 1 ];
|
226
262
|
|
227
|
-
// if the browser doesn't support fractions, then round for consistent results
|
228
|
-
if ( !$.support.offsetFractions ) {
|
229
|
-
position.left = round( position.left );
|
230
|
-
position.top = round( position.top );
|
231
|
-
}
|
232
|
-
|
233
263
|
collisionPosition = {
|
234
264
|
marginLeft: marginLeft,
|
235
265
|
marginTop: marginTop
|
@@ -249,13 +279,14 @@ $.fn.position = function( options ) {
|
|
249
279
|
my: options.my,
|
250
280
|
at: options.at,
|
251
281
|
within: within,
|
252
|
-
elem
|
253
|
-
});
|
282
|
+
elem: elem
|
283
|
+
} );
|
254
284
|
}
|
255
|
-
});
|
285
|
+
} );
|
256
286
|
|
257
287
|
if ( options.using ) {
|
258
|
-
|
288
|
+
|
289
|
+
// Adds feedback as second argument to using callback, if present
|
259
290
|
using = function( props ) {
|
260
291
|
var left = targetOffset.left - position.left,
|
261
292
|
right = left + targetWidth - elemWidth,
|
@@ -295,7 +326,7 @@ $.fn.position = function( options ) {
|
|
295
326
|
}
|
296
327
|
|
297
328
|
elem.offset( $.extend( position, { using: using } ) );
|
298
|
-
});
|
329
|
+
} );
|
299
330
|
};
|
300
331
|
|
301
332
|
$.ui.position = {
|
@@ -309,16 +340,20 @@ $.ui.position = {
|
|
309
340
|
overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset,
|
310
341
|
newOverRight;
|
311
342
|
|
312
|
-
//
|
343
|
+
// Element is wider than within
|
313
344
|
if ( data.collisionWidth > outerWidth ) {
|
314
|
-
|
345
|
+
|
346
|
+
// Element is initially over the left side of within
|
315
347
|
if ( overLeft > 0 && overRight <= 0 ) {
|
316
|
-
newOverRight = position.left + overLeft + data.collisionWidth - outerWidth -
|
348
|
+
newOverRight = position.left + overLeft + data.collisionWidth - outerWidth -
|
349
|
+
withinOffset;
|
317
350
|
position.left += overLeft - newOverRight;
|
318
|
-
|
351
|
+
|
352
|
+
// Element is initially over right side of within
|
319
353
|
} else if ( overRight > 0 && overLeft <= 0 ) {
|
320
354
|
position.left = withinOffset;
|
321
|
-
|
355
|
+
|
356
|
+
// Element is initially over both left and right sides of within
|
322
357
|
} else {
|
323
358
|
if ( overLeft > overRight ) {
|
324
359
|
position.left = withinOffset + outerWidth - data.collisionWidth;
|
@@ -326,13 +361,16 @@ $.ui.position = {
|
|
326
361
|
position.left = withinOffset;
|
327
362
|
}
|
328
363
|
}
|
329
|
-
|
364
|
+
|
365
|
+
// Too far left -> align with left edge
|
330
366
|
} else if ( overLeft > 0 ) {
|
331
367
|
position.left += overLeft;
|
332
|
-
|
368
|
+
|
369
|
+
// Too far right -> align with right edge
|
333
370
|
} else if ( overRight > 0 ) {
|
334
371
|
position.left -= overRight;
|
335
|
-
|
372
|
+
|
373
|
+
// Adjust based on position and margin
|
336
374
|
} else {
|
337
375
|
position.left = max( position.left - collisionPosLeft, position.left );
|
338
376
|
}
|
@@ -346,16 +384,20 @@ $.ui.position = {
|
|
346
384
|
overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset,
|
347
385
|
newOverBottom;
|
348
386
|
|
349
|
-
//
|
387
|
+
// Element is taller than within
|
350
388
|
if ( data.collisionHeight > outerHeight ) {
|
351
|
-
|
389
|
+
|
390
|
+
// Element is initially over the top of within
|
352
391
|
if ( overTop > 0 && overBottom <= 0 ) {
|
353
|
-
newOverBottom = position.top + overTop + data.collisionHeight - outerHeight -
|
392
|
+
newOverBottom = position.top + overTop + data.collisionHeight - outerHeight -
|
393
|
+
withinOffset;
|
354
394
|
position.top += overTop - newOverBottom;
|
355
|
-
|
395
|
+
|
396
|
+
// Element is initially over bottom of within
|
356
397
|
} else if ( overBottom > 0 && overTop <= 0 ) {
|
357
398
|
position.top = withinOffset;
|
358
|
-
|
399
|
+
|
400
|
+
// Element is initially over both top and bottom of within
|
359
401
|
} else {
|
360
402
|
if ( overTop > overBottom ) {
|
361
403
|
position.top = withinOffset + outerHeight - data.collisionHeight;
|
@@ -363,13 +405,16 @@ $.ui.position = {
|
|
363
405
|
position.top = withinOffset;
|
364
406
|
}
|
365
407
|
}
|
366
|
-
|
408
|
+
|
409
|
+
// Too far up -> align with top
|
367
410
|
} else if ( overTop > 0 ) {
|
368
411
|
position.top += overTop;
|
369
|
-
|
412
|
+
|
413
|
+
// Too far down -> align with bottom edge
|
370
414
|
} else if ( overBottom > 0 ) {
|
371
415
|
position.top -= overBottom;
|
372
|
-
|
416
|
+
|
417
|
+
// Adjust based on position and margin
|
373
418
|
} else {
|
374
419
|
position.top = max( position.top - collisionPosTop, position.top );
|
375
420
|
}
|
@@ -399,13 +444,14 @@ $.ui.position = {
|
|
399
444
|
newOverLeft;
|
400
445
|
|
401
446
|
if ( overLeft < 0 ) {
|
402
|
-
newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth -
|
447
|
+
newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth -
|
448
|
+
outerWidth - withinOffset;
|
403
449
|
if ( newOverRight < 0 || newOverRight < abs( overLeft ) ) {
|
404
450
|
position.left += myOffset + atOffset + offset;
|
405
451
|
}
|
406
|
-
}
|
407
|
-
|
408
|
-
|
452
|
+
} else if ( overRight > 0 ) {
|
453
|
+
newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset +
|
454
|
+
atOffset + offset - offsetLeft;
|
409
455
|
if ( newOverLeft > 0 || abs( newOverLeft ) < overRight ) {
|
410
456
|
position.left += myOffset + atOffset + offset;
|
411
457
|
}
|
@@ -434,14 +480,15 @@ $.ui.position = {
|
|
434
480
|
newOverTop,
|
435
481
|
newOverBottom;
|
436
482
|
if ( overTop < 0 ) {
|
437
|
-
newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight -
|
438
|
-
|
483
|
+
newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight -
|
484
|
+
outerHeight - withinOffset;
|
485
|
+
if ( newOverBottom < 0 || newOverBottom < abs( overTop ) ) {
|
439
486
|
position.top += myOffset + atOffset + offset;
|
440
487
|
}
|
441
|
-
}
|
442
|
-
|
443
|
-
|
444
|
-
if (
|
488
|
+
} else if ( overBottom > 0 ) {
|
489
|
+
newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset +
|
490
|
+
offset - offsetTop;
|
491
|
+
if ( newOverTop > 0 || abs( newOverTop ) < overBottom ) {
|
445
492
|
position.top += myOffset + atOffset + offset;
|
446
493
|
}
|
447
494
|
}
|
@@ -459,43 +506,8 @@ $.ui.position = {
|
|
459
506
|
}
|
460
507
|
};
|
461
508
|
|
462
|
-
|
463
|
-
(function () {
|
464
|
-
var testElement, testElementParent, testElementStyle, offsetLeft, i,
|
465
|
-
body = document.getElementsByTagName( "body" )[ 0 ],
|
466
|
-
div = document.createElement( "div" );
|
467
|
-
|
468
|
-
//Create a "fake body" for testing based on method used in jQuery.support
|
469
|
-
testElement = document.createElement( body ? "div" : "body" );
|
470
|
-
testElementStyle = {
|
471
|
-
visibility: "hidden",
|
472
|
-
width: 0,
|
473
|
-
height: 0,
|
474
|
-
border: 0,
|
475
|
-
margin: 0,
|
476
|
-
background: "none"
|
477
|
-
};
|
478
|
-
if ( body ) {
|
479
|
-
$.extend( testElementStyle, {
|
480
|
-
position: "absolute",
|
481
|
-
left: "-1000px",
|
482
|
-
top: "-1000px"
|
483
|
-
});
|
484
|
-
}
|
485
|
-
for ( i in testElementStyle ) {
|
486
|
-
testElement.style[ i ] = testElementStyle[ i ];
|
487
|
-
}
|
488
|
-
testElement.appendChild( div );
|
489
|
-
testElementParent = body || document.documentElement;
|
490
|
-
testElementParent.insertBefore( testElement, testElementParent.firstChild );
|
491
|
-
|
492
|
-
div.style.cssText = "position: absolute; left: 10.7432222px;";
|
493
|
-
|
494
|
-
offsetLeft = $( div ).offset().left;
|
495
|
-
$.support.offsetFractions = offsetLeft > 10 && offsetLeft < 11;
|
509
|
+
} )();
|
496
510
|
|
497
|
-
|
498
|
-
testElementParent.removeChild( testElement );
|
499
|
-
})();
|
511
|
+
return $.ui.position;
|
500
512
|
|
501
|
-
}
|
513
|
+
} );
|
@@ -0,0 +1,46 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
|
3
|
+
( function( factory ) {
|
4
|
+
"use strict";
|
5
|
+
|
6
|
+
if ( typeof define === "function" && define.amd ) {
|
7
|
+
|
8
|
+
// AMD. Register as an anonymous module.
|
9
|
+
define( [ "jquery", "./version" ], factory );
|
10
|
+
} else {
|
11
|
+
|
12
|
+
// Browser globals
|
13
|
+
factory( jQuery );
|
14
|
+
}
|
15
|
+
} )( function( $ ) {
|
16
|
+
"use strict";
|
17
|
+
|
18
|
+
return $.ui.safeActiveElement = function( document ) {
|
19
|
+
var activeElement;
|
20
|
+
|
21
|
+
// Support: IE 9 only
|
22
|
+
// IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>
|
23
|
+
try {
|
24
|
+
activeElement = document.activeElement;
|
25
|
+
} catch ( error ) {
|
26
|
+
activeElement = document.body;
|
27
|
+
}
|
28
|
+
|
29
|
+
// Support: IE 9 - 11 only
|
30
|
+
// IE may return null instead of an element
|
31
|
+
// Interestingly, this only seems to occur when NOT in an iframe
|
32
|
+
if ( !activeElement ) {
|
33
|
+
activeElement = document.body;
|
34
|
+
}
|
35
|
+
|
36
|
+
// Support: IE 11 only
|
37
|
+
// IE11 returns a seemingly empty object in some cases when accessing
|
38
|
+
// document.activeElement from an <iframe>
|
39
|
+
if ( !activeElement.nodeName ) {
|
40
|
+
activeElement = document.body;
|
41
|
+
}
|
42
|
+
|
43
|
+
return activeElement;
|
44
|
+
};
|
45
|
+
|
46
|
+
} );
|
@@ -0,0 +1,27 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
|
3
|
+
( function( factory ) {
|
4
|
+
"use strict";
|
5
|
+
|
6
|
+
if ( typeof define === "function" && define.amd ) {
|
7
|
+
|
8
|
+
// AMD. Register as an anonymous module.
|
9
|
+
define( [ "jquery", "./version" ], factory );
|
10
|
+
} else {
|
11
|
+
|
12
|
+
// Browser globals
|
13
|
+
factory( jQuery );
|
14
|
+
}
|
15
|
+
} )( function( $ ) {
|
16
|
+
"use strict";
|
17
|
+
|
18
|
+
return $.ui.safeBlur = function( element ) {
|
19
|
+
|
20
|
+
// Support: IE9 - 10 only
|
21
|
+
// If the <body> is blurred, IE will switch windows, see #9420
|
22
|
+
if ( element && element.nodeName.toLowerCase() !== "body" ) {
|
23
|
+
$( element ).trigger( "blur" );
|
24
|
+
}
|
25
|
+
};
|
26
|
+
|
27
|
+
} );
|
@@ -0,0 +1,50 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
|
3
|
+
/*!
|
4
|
+
* jQuery UI Scroll Parent 1.13.0
|
5
|
+
* http://jqueryui.com
|
6
|
+
*
|
7
|
+
* Copyright jQuery Foundation and other contributors
|
8
|
+
* Released under the MIT license.
|
9
|
+
* http://jquery.org/license
|
10
|
+
*/
|
11
|
+
|
12
|
+
//>>label: scrollParent
|
13
|
+
//>>group: Core
|
14
|
+
//>>description: Get the closest ancestor element that is scrollable.
|
15
|
+
//>>docs: http://api.jqueryui.com/scrollParent/
|
16
|
+
|
17
|
+
( function( factory ) {
|
18
|
+
"use strict";
|
19
|
+
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [ "jquery", "./version" ], factory );
|
24
|
+
} else {
|
25
|
+
|
26
|
+
// Browser globals
|
27
|
+
factory( jQuery );
|
28
|
+
}
|
29
|
+
} )( function( $ ) {
|
30
|
+
"use strict";
|
31
|
+
|
32
|
+
return $.fn.scrollParent = function( includeHidden ) {
|
33
|
+
var position = this.css( "position" ),
|
34
|
+
excludeStaticParent = position === "absolute",
|
35
|
+
overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/,
|
36
|
+
scrollParent = this.parents().filter( function() {
|
37
|
+
var parent = $( this );
|
38
|
+
if ( excludeStaticParent && parent.css( "position" ) === "static" ) {
|
39
|
+
return false;
|
40
|
+
}
|
41
|
+
return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) +
|
42
|
+
parent.css( "overflow-x" ) );
|
43
|
+
} ).eq( 0 );
|
44
|
+
|
45
|
+
return position === "fixed" || !scrollParent.length ?
|
46
|
+
$( this[ 0 ].ownerDocument || document ) :
|
47
|
+
scrollParent;
|
48
|
+
};
|
49
|
+
|
50
|
+
} );
|
@@ -0,0 +1,41 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/focusable
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Tabbable 1.13.0
|
6
|
+
* http://jqueryui.com
|
7
|
+
*
|
8
|
+
* Copyright jQuery Foundation and other contributors
|
9
|
+
* Released under the MIT license.
|
10
|
+
* http://jquery.org/license
|
11
|
+
*/
|
12
|
+
|
13
|
+
//>>label: :tabbable Selector
|
14
|
+
//>>group: Core
|
15
|
+
//>>description: Selects elements which can be tabbed to.
|
16
|
+
//>>docs: http://api.jqueryui.com/tabbable-selector/
|
17
|
+
|
18
|
+
( function( factory ) {
|
19
|
+
"use strict";
|
20
|
+
|
21
|
+
if ( typeof define === "function" && define.amd ) {
|
22
|
+
|
23
|
+
// AMD. Register as an anonymous module.
|
24
|
+
define( [ "jquery", "./version", "./focusable" ], factory );
|
25
|
+
} else {
|
26
|
+
|
27
|
+
// Browser globals
|
28
|
+
factory( jQuery );
|
29
|
+
}
|
30
|
+
} )( function( $ ) {
|
31
|
+
"use strict";
|
32
|
+
|
33
|
+
return $.extend( $.expr.pseudos, {
|
34
|
+
tabbable: function( element ) {
|
35
|
+
var tabIndex = $.attr( element, "tabindex" ),
|
36
|
+
hasTabindex = tabIndex != null;
|
37
|
+
return ( !hasTabindex || tabIndex >= 0 ) && $.ui.focusable( element, hasTabindex );
|
38
|
+
}
|
39
|
+
} );
|
40
|
+
|
41
|
+
} );
|
@@ -0,0 +1,54 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
|
3
|
+
/*!
|
4
|
+
* jQuery UI Unique ID 1.13.0
|
5
|
+
* http://jqueryui.com
|
6
|
+
*
|
7
|
+
* Copyright jQuery Foundation and other contributors
|
8
|
+
* Released under the MIT license.
|
9
|
+
* http://jquery.org/license
|
10
|
+
*/
|
11
|
+
|
12
|
+
//>>label: uniqueId
|
13
|
+
//>>group: Core
|
14
|
+
//>>description: Functions to generate and remove uniqueId's
|
15
|
+
//>>docs: http://api.jqueryui.com/uniqueId/
|
16
|
+
|
17
|
+
( function( factory ) {
|
18
|
+
"use strict";
|
19
|
+
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [ "jquery", "./version" ], factory );
|
24
|
+
} else {
|
25
|
+
|
26
|
+
// Browser globals
|
27
|
+
factory( jQuery );
|
28
|
+
}
|
29
|
+
} )( function( $ ) {
|
30
|
+
"use strict";
|
31
|
+
|
32
|
+
return $.fn.extend( {
|
33
|
+
uniqueId: ( function() {
|
34
|
+
var uuid = 0;
|
35
|
+
|
36
|
+
return function() {
|
37
|
+
return this.each( function() {
|
38
|
+
if ( !this.id ) {
|
39
|
+
this.id = "ui-id-" + ( ++uuid );
|
40
|
+
}
|
41
|
+
} );
|
42
|
+
};
|
43
|
+
} )(),
|
44
|
+
|
45
|
+
removeUniqueId: function() {
|
46
|
+
return this.each( function() {
|
47
|
+
if ( /^ui-id-\d+$/.test( this.id ) ) {
|
48
|
+
$( this ).removeAttr( "id" );
|
49
|
+
}
|
50
|
+
} );
|
51
|
+
}
|
52
|
+
} );
|
53
|
+
|
54
|
+
} );
|