jquery-ui-rails 5.0.5 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jquery-ui-rails might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/.travis.yml +1 -1
- data/History.md +16 -0
- data/README.md +67 -50
- data/Rakefile +51 -27
- data/VERSIONS.md +2 -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 -304
- data/app/assets/javascripts/jquery-ui/data.js +41 -0
- data/app/assets/javascripts/jquery-ui/disable-selection.js +48 -0
- data/app/assets/javascripts/jquery-ui/effect.all.js +15 -16
- data/app/assets/javascripts/jquery-ui/effect.js +620 -284
- data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +73 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +113 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +68 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +72 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +114 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +50 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +92 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +60 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +46 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +67 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +60 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +77 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-size.js +194 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +79 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +43 -0
- data/app/assets/javascripts/jquery-ui/escape-selector.js +23 -0
- data/app/assets/javascripts/jquery-ui/focusable.js +86 -0
- data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +80 -0
- data/app/assets/javascripts/jquery-ui/form.js +22 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +38 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +36 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +73 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +36 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +38 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +49 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +49 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +50 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +45 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +44 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +61 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +38 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +53 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +38 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +37 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +37 -0
- data/app/assets/javascripts/jquery-ui/ie.js +17 -0
- data/app/assets/javascripts/jquery-ui/jquery-1-7.js +91 -0
- data/app/assets/javascripts/jquery-ui/keycode.js +47 -0
- data/app/assets/javascripts/jquery-ui/labels.js +65 -0
- data/app/assets/javascripts/jquery-ui/plugin.js +46 -0
- data/app/assets/javascripts/jquery-ui/position.js +92 -109
- data/app/assets/javascripts/jquery-ui/safe-active-element.js +42 -0
- data/app/assets/javascripts/jquery-ui/safe-blur.js +23 -0
- data/app/assets/javascripts/jquery-ui/scroll-parent.js +47 -0
- data/app/assets/javascripts/jquery-ui/tabbable.js +38 -0
- data/app/assets/javascripts/jquery-ui/unique-id.js +51 -0
- data/app/assets/javascripts/jquery-ui/version.js +17 -0
- data/app/assets/javascripts/jquery-ui/widget.js +328 -151
- data/app/assets/javascripts/jquery-ui/{accordion.js → widgets/accordion.js} +187 -162
- data/app/assets/javascripts/jquery-ui/{autocomplete.js → widgets/autocomplete.js} +148 -92
- data/app/assets/javascripts/jquery-ui/widgets/button.js +391 -0
- data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +291 -0
- data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +300 -0
- data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2123 -0
- data/app/assets/javascripts/jquery-ui/{dialog.js → widgets/dialog.js} +229 -158
- data/app/assets/javascripts/jquery-ui/{draggable.js → widgets/draggable.js} +416 -293
- data/app/assets/javascripts/jquery-ui/{droppable.js → widgets/droppable.js} +167 -83
- data/app/assets/javascripts/jquery-ui/{menu.js → widgets/menu.js} +164 -134
- data/app/assets/javascripts/jquery-ui/widgets/mouse.js +230 -0
- data/app/assets/javascripts/jquery-ui/{progressbar.js → widgets/progressbar.js} +60 -41
- data/app/assets/javascripts/jquery-ui/{resizable.js → widgets/resizable.js} +413 -362
- data/app/assets/javascripts/jquery-ui/widgets/selectable.js +314 -0
- data/app/assets/javascripts/jquery-ui/{selectmenu.js → widgets/selectmenu.js} +253 -176
- data/app/assets/javascripts/jquery-ui/{slider.js → widgets/slider.js} +193 -157
- data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1561 -0
- data/app/assets/javascripts/jquery-ui/{spinner.js → widgets/spinner.js} +175 -112
- data/app/assets/javascripts/jquery-ui/{tabs.js → widgets/tabs.js} +237 -195
- data/app/assets/javascripts/jquery-ui/{tooltip.js → widgets/tooltip.js} +136 -87
- data/app/assets/javascripts/jquery-ui.js +52 -33
- data/app/assets/stylesheets/jquery-ui/accordion.css +1 -15
- data/app/assets/stylesheets/jquery-ui/all.css +1 -1
- data/app/assets/stylesheets/jquery-ui/autocomplete.css +1 -3
- data/app/assets/stylesheets/jquery-ui/base.css +3 -1
- data/app/assets/stylesheets/jquery-ui/button.css +35 -68
- 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 +11 -7
- data/app/assets/stylesheets/jquery-ui/datepicker.css +11 -2
- data/app/assets/stylesheets/jquery-ui/dialog.css +38 -11
- data/app/assets/stylesheets/jquery-ui/draggable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/menu.css +7 -7
- data/app/assets/stylesheets/jquery-ui/progressbar.css +1 -2
- data/app/assets/stylesheets/jquery-ui/resizable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/selectable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/selectmenu.css +11 -22
- data/app/assets/stylesheets/jquery-ui/slider.css +1 -2
- data/app/assets/stylesheets/jquery-ui/sortable.css +1 -2
- data/app/assets/stylesheets/jquery-ui/spinner.css +7 -22
- data/app/assets/stylesheets/jquery-ui/tabs.css +1 -2
- data/app/assets/stylesheets/jquery-ui/theme.css.erb +113 -87
- data/app/assets/stylesheets/jquery-ui/tooltip.css +1 -4
- data/lib/jquery/ui/rails/version.rb +2 -2
- metadata +150 -144
- 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/button.js +0 -414
- data/app/assets/javascripts/jquery-ui/datepicker-af.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ar-DZ.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ar.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-az.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-be.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-bg.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-bs.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ca.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-cs.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-cy-GB.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-da.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-de.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-el.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-en-AU.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-en-GB.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-en-NZ.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-eo.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-es.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-et.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-eu.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-fa.js +0 -73
- data/app/assets/javascripts/jquery-ui/datepicker-fi.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fo.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fr-CA.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fr-CH.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-fr.js +0 -39
- data/app/assets/javascripts/jquery-ui/datepicker-gl.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-he.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-hi.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-hr.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-hu.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-hy.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-id.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-is.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-it-CH.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-it.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ja.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ka.js +0 -35
- data/app/assets/javascripts/jquery-ui/datepicker-kk.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-km.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ko.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ky.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-lb.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-lt.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-lv.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-mk.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ml.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ms.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-nb.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-nl-BE.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-nl.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-nn.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-no.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-pl.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-pt-BR.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-pt.js +0 -36
- data/app/assets/javascripts/jquery-ui/datepicker-rm.js +0 -35
- data/app/assets/javascripts/jquery-ui/datepicker-ro.js +0 -40
- data/app/assets/javascripts/jquery-ui/datepicker-ru.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sk.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sl.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-sq.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sr-SR.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sr.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-sv.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-ta.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-th.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-tj.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-tr.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-uk.js +0 -38
- data/app/assets/javascripts/jquery-ui/datepicker-vi.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-zh-CN.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-zh-HK.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker-zh-TW.js +0 -37
- data/app/assets/javascripts/jquery-ui/datepicker.js +0 -2086
- data/app/assets/javascripts/jquery-ui/effect-blind.js +0 -92
- data/app/assets/javascripts/jquery-ui/effect-bounce.js +0 -125
- data/app/assets/javascripts/jquery-ui/effect-clip.js +0 -79
- data/app/assets/javascripts/jquery-ui/effect-drop.js +0 -77
- data/app/assets/javascripts/jquery-ui/effect-explode.js +0 -109
- data/app/assets/javascripts/jquery-ui/effect-fade.js +0 -42
- data/app/assets/javascripts/jquery-ui/effect-fold.js +0 -88
- data/app/assets/javascripts/jquery-ui/effect-highlight.js +0 -62
- data/app/assets/javascripts/jquery-ui/effect-puff.js +0 -63
- data/app/assets/javascripts/jquery-ui/effect-pulsate.js +0 -75
- data/app/assets/javascripts/jquery-ui/effect-scale.js +0 -92
- data/app/assets/javascripts/jquery-ui/effect-shake.js +0 -86
- data/app/assets/javascripts/jquery-ui/effect-size.js +0 -235
- data/app/assets/javascripts/jquery-ui/effect-slide.js +0 -76
- data/app/assets/javascripts/jquery-ui/effect-transfer.js +0 -59
- data/app/assets/javascripts/jquery-ui/mouse.js +0 -202
- data/app/assets/javascripts/jquery-ui/selectable.js +0 -291
- data/app/assets/javascripts/jquery-ui/sortable.js +0 -1319
@@ -0,0 +1,65 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/escape-selector
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Labels 1.12.1
|
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: labels
|
14
|
+
//>>group: Core
|
15
|
+
//>>description: Find all the labels associated with a given input
|
16
|
+
//>>docs: http://api.jqueryui.com/labels/
|
17
|
+
|
18
|
+
( function( factory ) {
|
19
|
+
if ( typeof define === "function" && define.amd ) {
|
20
|
+
|
21
|
+
// AMD. Register as an anonymous module.
|
22
|
+
define( [ "jquery", "./version", "./escape-selector" ], factory );
|
23
|
+
} else {
|
24
|
+
|
25
|
+
// Browser globals
|
26
|
+
factory( jQuery );
|
27
|
+
}
|
28
|
+
} ( function( $ ) {
|
29
|
+
|
30
|
+
return $.fn.labels = function() {
|
31
|
+
var ancestor, selector, id, labels, ancestors;
|
32
|
+
|
33
|
+
// Check control.labels first
|
34
|
+
if ( this[ 0 ].labels && this[ 0 ].labels.length ) {
|
35
|
+
return this.pushStack( this[ 0 ].labels );
|
36
|
+
}
|
37
|
+
|
38
|
+
// Support: IE <= 11, FF <= 37, Android <= 2.3 only
|
39
|
+
// Above browsers do not support control.labels. Everything below is to support them
|
40
|
+
// as well as document fragments. control.labels does not work on document fragments
|
41
|
+
labels = this.eq( 0 ).parents( "label" );
|
42
|
+
|
43
|
+
// Look for the label based on the id
|
44
|
+
id = this.attr( "id" );
|
45
|
+
if ( id ) {
|
46
|
+
|
47
|
+
// We don't search against the document in case the element
|
48
|
+
// is disconnected from the DOM
|
49
|
+
ancestor = this.eq( 0 ).parents().last();
|
50
|
+
|
51
|
+
// Get a full set of top level ancestors
|
52
|
+
ancestors = ancestor.add( ancestor.length ? ancestor.siblings() : this.siblings() );
|
53
|
+
|
54
|
+
// Create a selector for the label based on the id
|
55
|
+
selector = "label[for='" + $.ui.escapeSelector( id ) + "']";
|
56
|
+
|
57
|
+
labels = labels.add( ancestors.find( selector ).addBack( selector ) );
|
58
|
+
|
59
|
+
}
|
60
|
+
|
61
|
+
// Return whatever we have found for labels
|
62
|
+
return this.pushStack( labels );
|
63
|
+
};
|
64
|
+
|
65
|
+
} ) );
|
@@ -0,0 +1,46 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
|
3
|
+
( function( factory ) {
|
4
|
+
if ( typeof define === "function" && define.amd ) {
|
5
|
+
|
6
|
+
// AMD. Register as an anonymous module.
|
7
|
+
define( [ "jquery", "./version" ], factory );
|
8
|
+
} else {
|
9
|
+
|
10
|
+
// Browser globals
|
11
|
+
factory( jQuery );
|
12
|
+
}
|
13
|
+
} ( function( $ ) {
|
14
|
+
|
15
|
+
// $.ui.plugin is deprecated. Use $.widget() extensions instead.
|
16
|
+
return $.ui.plugin = {
|
17
|
+
add: function( module, option, set ) {
|
18
|
+
var i,
|
19
|
+
proto = $.ui[ module ].prototype;
|
20
|
+
for ( i in set ) {
|
21
|
+
proto.plugins[ i ] = proto.plugins[ i ] || [];
|
22
|
+
proto.plugins[ i ].push( [ option, set[ i ] ] );
|
23
|
+
}
|
24
|
+
},
|
25
|
+
call: function( instance, name, args, allowDisconnected ) {
|
26
|
+
var i,
|
27
|
+
set = instance.plugins[ name ];
|
28
|
+
|
29
|
+
if ( !set ) {
|
30
|
+
return;
|
31
|
+
}
|
32
|
+
|
33
|
+
if ( !allowDisconnected && ( !instance.element[ 0 ].parentNode ||
|
34
|
+
instance.element[ 0 ].parentNode.nodeType === 11 ) ) {
|
35
|
+
return;
|
36
|
+
}
|
37
|
+
|
38
|
+
for ( i = 0; i < set.length; i++ ) {
|
39
|
+
if ( instance.options[ set[ i ][ 0 ] ] ) {
|
40
|
+
set[ i ][ 1 ].apply( instance.element, args );
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
};
|
45
|
+
|
46
|
+
} ) );
|
@@ -1,5 +1,7 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
|
1
3
|
/*!
|
2
|
-
* jQuery UI Position 1.
|
4
|
+
* jQuery UI Position 1.12.1
|
3
5
|
* http://jqueryui.com
|
4
6
|
*
|
5
7
|
* Copyright jQuery Foundation and other contributors
|
@@ -8,25 +10,28 @@
|
|
8
10
|
*
|
9
11
|
* http://api.jqueryui.com/position/
|
10
12
|
*/
|
11
|
-
|
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 ) {
|
12
21
|
if ( typeof define === "function" && define.amd ) {
|
13
22
|
|
14
23
|
// AMD. Register as an anonymous module.
|
15
|
-
define( [ "jquery" ], factory );
|
24
|
+
define( [ "jquery", "./version" ], factory );
|
16
25
|
} else {
|
17
26
|
|
18
27
|
// Browser globals
|
19
28
|
factory( jQuery );
|
20
29
|
}
|
21
|
-
}(function( $ ) {
|
22
|
-
(function() {
|
23
|
-
|
24
|
-
$.ui = $.ui || {};
|
25
|
-
|
26
|
-
var cachedScrollbarWidth, supportsOffsetFractions,
|
30
|
+
}( function( $ ) {
|
31
|
+
( function() {
|
32
|
+
var cachedScrollbarWidth,
|
27
33
|
max = Math.max,
|
28
34
|
abs = Math.abs,
|
29
|
-
round = Math.round,
|
30
35
|
rhorizontal = /left|center|right/,
|
31
36
|
rvertical = /top|center|bottom/,
|
32
37
|
roffset = /[\+\-]\d+(\.[\d]+)?%?/,
|
@@ -46,7 +51,7 @@ function parseCss( element, property ) {
|
|
46
51
|
}
|
47
52
|
|
48
53
|
function getDimensions( elem ) {
|
49
|
-
var raw = elem[0];
|
54
|
+
var raw = elem[ 0 ];
|
50
55
|
if ( raw.nodeType === 9 ) {
|
51
56
|
return {
|
52
57
|
width: elem.width(),
|
@@ -81,8 +86,10 @@ $.position = {
|
|
81
86
|
return cachedScrollbarWidth;
|
82
87
|
}
|
83
88
|
var w1, w2,
|
84
|
-
div = $( "<div
|
85
|
-
|
89
|
+
div = $( "<div " +
|
90
|
+
"style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>" +
|
91
|
+
"<div style='height:100px;width:auto;'></div></div>" ),
|
92
|
+
innerDiv = div.children()[ 0 ];
|
86
93
|
|
87
94
|
$( "body" ).append( div );
|
88
95
|
w1 = innerDiv.offsetWidth;
|
@@ -91,12 +98,12 @@ $.position = {
|
|
91
98
|
w2 = innerDiv.offsetWidth;
|
92
99
|
|
93
100
|
if ( w1 === w2 ) {
|
94
|
-
w2 = div[0].clientWidth;
|
101
|
+
w2 = div[ 0 ].clientWidth;
|
95
102
|
}
|
96
103
|
|
97
104
|
div.remove();
|
98
105
|
|
99
|
-
return (cachedScrollbarWidth = w1 - w2);
|
106
|
+
return ( cachedScrollbarWidth = w1 - w2 );
|
100
107
|
},
|
101
108
|
getScrollInfo: function( within ) {
|
102
109
|
var overflowX = within.isWindow || within.isDocument ? "" :
|
@@ -104,9 +111,9 @@ $.position = {
|
|
104
111
|
overflowY = within.isWindow || within.isDocument ? "" :
|
105
112
|
within.element.css( "overflow-y" ),
|
106
113
|
hasOverflowX = overflowX === "scroll" ||
|
107
|
-
( overflowX === "auto" && within.width < within.element[0].scrollWidth ),
|
114
|
+
( overflowX === "auto" && within.width < within.element[ 0 ].scrollWidth ),
|
108
115
|
hasOverflowY = overflowY === "scroll" ||
|
109
|
-
( overflowY === "auto" && within.height < within.element[0].scrollHeight );
|
116
|
+
( overflowY === "auto" && within.height < within.element[ 0 ].scrollHeight );
|
110
117
|
return {
|
111
118
|
width: hasOverflowY ? $.position.scrollbarWidth() : 0,
|
112
119
|
height: hasOverflowX ? $.position.scrollbarWidth() : 0
|
@@ -114,20 +121,18 @@ $.position = {
|
|
114
121
|
},
|
115
122
|
getWithinInfo: function( element ) {
|
116
123
|
var withinElement = $( element || window ),
|
117
|
-
isWindow = $.isWindow( withinElement[0] ),
|
118
|
-
isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9
|
124
|
+
isWindow = $.isWindow( withinElement[ 0 ] ),
|
125
|
+
isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9,
|
126
|
+
hasOffset = !isWindow && !isDocument;
|
119
127
|
return {
|
120
128
|
element: withinElement,
|
121
129
|
isWindow: isWindow,
|
122
130
|
isDocument: isDocument,
|
123
|
-
offset:
|
131
|
+
offset: hasOffset ? $( element ).offset() : { left: 0, top: 0 },
|
124
132
|
scrollLeft: withinElement.scrollLeft(),
|
125
133
|
scrollTop: withinElement.scrollTop(),
|
126
|
-
|
127
|
-
|
128
|
-
// jQuery 1.6 doesn't support .outerWidth/Height() on documents or windows
|
129
|
-
width: isWindow || isDocument ? withinElement.width() : withinElement.outerWidth(),
|
130
|
-
height: isWindow || isDocument ? withinElement.height() : withinElement.outerHeight()
|
134
|
+
width: withinElement.outerWidth(),
|
135
|
+
height: withinElement.outerHeight()
|
131
136
|
};
|
132
137
|
}
|
133
138
|
};
|
@@ -137,7 +142,7 @@ $.fn.position = function( options ) {
|
|
137
142
|
return _position.apply( this, arguments );
|
138
143
|
}
|
139
144
|
|
140
|
-
//
|
145
|
+
// Make a copy, we don't want to modify arguments
|
141
146
|
options = $.extend( {}, options );
|
142
147
|
|
143
148
|
var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
|
@@ -148,24 +153,26 @@ $.fn.position = function( options ) {
|
|
148
153
|
offsets = {};
|
149
154
|
|
150
155
|
dimensions = getDimensions( target );
|
151
|
-
if ( target[0].preventDefault ) {
|
152
|
-
|
156
|
+
if ( target[ 0 ].preventDefault ) {
|
157
|
+
|
158
|
+
// Force left top to allow flipping
|
153
159
|
options.at = "left top";
|
154
160
|
}
|
155
161
|
targetWidth = dimensions.width;
|
156
162
|
targetHeight = dimensions.height;
|
157
163
|
targetOffset = dimensions.offset;
|
158
|
-
|
164
|
+
|
165
|
+
// Clone to reuse original targetOffset later
|
159
166
|
basePosition = $.extend( {}, targetOffset );
|
160
167
|
|
161
|
-
//
|
168
|
+
// Force my and at to have valid horizontal and vertical positions
|
162
169
|
// if a value is missing or invalid, it will be converted to center
|
163
170
|
$.each( [ "my", "at" ], function() {
|
164
171
|
var pos = ( options[ this ] || "" ).split( " " ),
|
165
172
|
horizontalOffset,
|
166
173
|
verticalOffset;
|
167
174
|
|
168
|
-
if ( pos.length === 1) {
|
175
|
+
if ( pos.length === 1 ) {
|
169
176
|
pos = rhorizontal.test( pos[ 0 ] ) ?
|
170
177
|
pos.concat( [ "center" ] ) :
|
171
178
|
rvertical.test( pos[ 0 ] ) ?
|
@@ -175,7 +182,7 @@ $.fn.position = function( options ) {
|
|
175
182
|
pos[ 0 ] = rhorizontal.test( pos[ 0 ] ) ? pos[ 0 ] : "center";
|
176
183
|
pos[ 1 ] = rvertical.test( pos[ 1 ] ) ? pos[ 1 ] : "center";
|
177
184
|
|
178
|
-
//
|
185
|
+
// Calculate offsets
|
179
186
|
horizontalOffset = roffset.exec( pos[ 0 ] );
|
180
187
|
verticalOffset = roffset.exec( pos[ 1 ] );
|
181
188
|
offsets[ this ] = [
|
@@ -183,14 +190,14 @@ $.fn.position = function( options ) {
|
|
183
190
|
verticalOffset ? verticalOffset[ 0 ] : 0
|
184
191
|
];
|
185
192
|
|
186
|
-
//
|
193
|
+
// Reduce to just the positions without the offsets
|
187
194
|
options[ this ] = [
|
188
195
|
rposition.exec( pos[ 0 ] )[ 0 ],
|
189
196
|
rposition.exec( pos[ 1 ] )[ 0 ]
|
190
197
|
];
|
191
|
-
});
|
198
|
+
} );
|
192
199
|
|
193
|
-
//
|
200
|
+
// Normalize collision option
|
194
201
|
if ( collision.length === 1 ) {
|
195
202
|
collision[ 1 ] = collision[ 0 ];
|
196
203
|
}
|
@@ -211,15 +218,17 @@ $.fn.position = function( options ) {
|
|
211
218
|
basePosition.left += atOffset[ 0 ];
|
212
219
|
basePosition.top += atOffset[ 1 ];
|
213
220
|
|
214
|
-
return this.each(function() {
|
221
|
+
return this.each( function() {
|
215
222
|
var collisionPosition, using,
|
216
223
|
elem = $( this ),
|
217
224
|
elemWidth = elem.outerWidth(),
|
218
225
|
elemHeight = elem.outerHeight(),
|
219
226
|
marginLeft = parseCss( this, "marginLeft" ),
|
220
227
|
marginTop = parseCss( this, "marginTop" ),
|
221
|
-
collisionWidth = elemWidth + marginLeft + parseCss( this, "marginRight" ) +
|
222
|
-
|
228
|
+
collisionWidth = elemWidth + marginLeft + parseCss( this, "marginRight" ) +
|
229
|
+
scrollInfo.width,
|
230
|
+
collisionHeight = elemHeight + marginTop + parseCss( this, "marginBottom" ) +
|
231
|
+
scrollInfo.height,
|
223
232
|
position = $.extend( {}, basePosition ),
|
224
233
|
myOffset = getOffsets( offsets.my, elem.outerWidth(), elem.outerHeight() );
|
225
234
|
|
@@ -238,12 +247,6 @@ $.fn.position = function( options ) {
|
|
238
247
|
position.left += myOffset[ 0 ];
|
239
248
|
position.top += myOffset[ 1 ];
|
240
249
|
|
241
|
-
// if the browser doesn't support fractions, then round for consistent results
|
242
|
-
if ( !supportsOffsetFractions ) {
|
243
|
-
position.left = round( position.left );
|
244
|
-
position.top = round( position.top );
|
245
|
-
}
|
246
|
-
|
247
250
|
collisionPosition = {
|
248
251
|
marginLeft: marginLeft,
|
249
252
|
marginTop: marginTop
|
@@ -264,12 +267,13 @@ $.fn.position = function( options ) {
|
|
264
267
|
at: options.at,
|
265
268
|
within: within,
|
266
269
|
elem: elem
|
267
|
-
});
|
270
|
+
} );
|
268
271
|
}
|
269
|
-
});
|
272
|
+
} );
|
270
273
|
|
271
274
|
if ( options.using ) {
|
272
|
-
|
275
|
+
|
276
|
+
// Adds feedback as second argument to using callback, if present
|
273
277
|
using = function( props ) {
|
274
278
|
var left = targetOffset.left - position.left,
|
275
279
|
right = left + targetWidth - elemWidth,
|
@@ -309,7 +313,7 @@ $.fn.position = function( options ) {
|
|
309
313
|
}
|
310
314
|
|
311
315
|
elem.offset( $.extend( position, { using: using } ) );
|
312
|
-
});
|
316
|
+
} );
|
313
317
|
};
|
314
318
|
|
315
319
|
$.ui.position = {
|
@@ -323,16 +327,20 @@ $.ui.position = {
|
|
323
327
|
overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset,
|
324
328
|
newOverRight;
|
325
329
|
|
326
|
-
//
|
330
|
+
// Element is wider than within
|
327
331
|
if ( data.collisionWidth > outerWidth ) {
|
328
|
-
|
332
|
+
|
333
|
+
// Element is initially over the left side of within
|
329
334
|
if ( overLeft > 0 && overRight <= 0 ) {
|
330
|
-
newOverRight = position.left + overLeft + data.collisionWidth - outerWidth -
|
335
|
+
newOverRight = position.left + overLeft + data.collisionWidth - outerWidth -
|
336
|
+
withinOffset;
|
331
337
|
position.left += overLeft - newOverRight;
|
332
|
-
|
338
|
+
|
339
|
+
// Element is initially over right side of within
|
333
340
|
} else if ( overRight > 0 && overLeft <= 0 ) {
|
334
341
|
position.left = withinOffset;
|
335
|
-
|
342
|
+
|
343
|
+
// Element is initially over both left and right sides of within
|
336
344
|
} else {
|
337
345
|
if ( overLeft > overRight ) {
|
338
346
|
position.left = withinOffset + outerWidth - data.collisionWidth;
|
@@ -340,13 +348,16 @@ $.ui.position = {
|
|
340
348
|
position.left = withinOffset;
|
341
349
|
}
|
342
350
|
}
|
343
|
-
|
351
|
+
|
352
|
+
// Too far left -> align with left edge
|
344
353
|
} else if ( overLeft > 0 ) {
|
345
354
|
position.left += overLeft;
|
346
|
-
|
355
|
+
|
356
|
+
// Too far right -> align with right edge
|
347
357
|
} else if ( overRight > 0 ) {
|
348
358
|
position.left -= overRight;
|
349
|
-
|
359
|
+
|
360
|
+
// Adjust based on position and margin
|
350
361
|
} else {
|
351
362
|
position.left = max( position.left - collisionPosLeft, position.left );
|
352
363
|
}
|
@@ -360,16 +371,20 @@ $.ui.position = {
|
|
360
371
|
overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset,
|
361
372
|
newOverBottom;
|
362
373
|
|
363
|
-
//
|
374
|
+
// Element is taller than within
|
364
375
|
if ( data.collisionHeight > outerHeight ) {
|
365
|
-
|
376
|
+
|
377
|
+
// Element is initially over the top of within
|
366
378
|
if ( overTop > 0 && overBottom <= 0 ) {
|
367
|
-
newOverBottom = position.top + overTop + data.collisionHeight - outerHeight -
|
379
|
+
newOverBottom = position.top + overTop + data.collisionHeight - outerHeight -
|
380
|
+
withinOffset;
|
368
381
|
position.top += overTop - newOverBottom;
|
369
|
-
|
382
|
+
|
383
|
+
// Element is initially over bottom of within
|
370
384
|
} else if ( overBottom > 0 && overTop <= 0 ) {
|
371
385
|
position.top = withinOffset;
|
372
|
-
|
386
|
+
|
387
|
+
// Element is initially over both top and bottom of within
|
373
388
|
} else {
|
374
389
|
if ( overTop > overBottom ) {
|
375
390
|
position.top = withinOffset + outerHeight - data.collisionHeight;
|
@@ -377,13 +392,16 @@ $.ui.position = {
|
|
377
392
|
position.top = withinOffset;
|
378
393
|
}
|
379
394
|
}
|
380
|
-
|
395
|
+
|
396
|
+
// Too far up -> align with top
|
381
397
|
} else if ( overTop > 0 ) {
|
382
398
|
position.top += overTop;
|
383
|
-
|
399
|
+
|
400
|
+
// Too far down -> align with bottom edge
|
384
401
|
} else if ( overBottom > 0 ) {
|
385
402
|
position.top -= overBottom;
|
386
|
-
|
403
|
+
|
404
|
+
// Adjust based on position and margin
|
387
405
|
} else {
|
388
406
|
position.top = max( position.top - collisionPosTop, position.top );
|
389
407
|
}
|
@@ -413,12 +431,14 @@ $.ui.position = {
|
|
413
431
|
newOverLeft;
|
414
432
|
|
415
433
|
if ( overLeft < 0 ) {
|
416
|
-
newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth -
|
434
|
+
newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth -
|
435
|
+
outerWidth - withinOffset;
|
417
436
|
if ( newOverRight < 0 || newOverRight < abs( overLeft ) ) {
|
418
437
|
position.left += myOffset + atOffset + offset;
|
419
438
|
}
|
420
439
|
} else if ( overRight > 0 ) {
|
421
|
-
newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset +
|
440
|
+
newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset +
|
441
|
+
atOffset + offset - offsetLeft;
|
422
442
|
if ( newOverLeft > 0 || abs( newOverLeft ) < overRight ) {
|
423
443
|
position.left += myOffset + atOffset + offset;
|
424
444
|
}
|
@@ -447,12 +467,14 @@ $.ui.position = {
|
|
447
467
|
newOverTop,
|
448
468
|
newOverBottom;
|
449
469
|
if ( overTop < 0 ) {
|
450
|
-
newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight -
|
470
|
+
newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight -
|
471
|
+
outerHeight - withinOffset;
|
451
472
|
if ( newOverBottom < 0 || newOverBottom < abs( overTop ) ) {
|
452
473
|
position.top += myOffset + atOffset + offset;
|
453
474
|
}
|
454
475
|
} else if ( overBottom > 0 ) {
|
455
|
-
newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset +
|
476
|
+
newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset +
|
477
|
+
offset - offsetTop;
|
456
478
|
if ( newOverTop > 0 || abs( newOverTop ) < overBottom ) {
|
457
479
|
position.top += myOffset + atOffset + offset;
|
458
480
|
}
|
@@ -471,47 +493,8 @@ $.ui.position = {
|
|
471
493
|
}
|
472
494
|
};
|
473
495
|
|
474
|
-
|
475
|
-
(function() {
|
476
|
-
var testElement, testElementParent, testElementStyle, offsetLeft, i,
|
477
|
-
body = document.getElementsByTagName( "body" )[ 0 ],
|
478
|
-
div = document.createElement( "div" );
|
479
|
-
|
480
|
-
//Create a "fake body" for testing based on method used in jQuery.support
|
481
|
-
testElement = document.createElement( body ? "div" : "body" );
|
482
|
-
testElementStyle = {
|
483
|
-
visibility: "hidden",
|
484
|
-
width: 0,
|
485
|
-
height: 0,
|
486
|
-
border: 0,
|
487
|
-
margin: 0,
|
488
|
-
background: "none"
|
489
|
-
};
|
490
|
-
if ( body ) {
|
491
|
-
$.extend( testElementStyle, {
|
492
|
-
position: "absolute",
|
493
|
-
left: "-1000px",
|
494
|
-
top: "-1000px"
|
495
|
-
});
|
496
|
-
}
|
497
|
-
for ( i in testElementStyle ) {
|
498
|
-
testElement.style[ i ] = testElementStyle[ i ];
|
499
|
-
}
|
500
|
-
testElement.appendChild( div );
|
501
|
-
testElementParent = body || document.documentElement;
|
502
|
-
testElementParent.insertBefore( testElement, testElementParent.firstChild );
|
503
|
-
|
504
|
-
div.style.cssText = "position: absolute; left: 10.7432222px;";
|
505
|
-
|
506
|
-
offsetLeft = $( div ).offset().left;
|
507
|
-
supportsOffsetFractions = offsetLeft > 10 && offsetLeft < 11;
|
508
|
-
|
509
|
-
testElement.innerHTML = "";
|
510
|
-
testElementParent.removeChild( testElement );
|
511
|
-
})();
|
512
|
-
|
513
|
-
})();
|
496
|
+
} )();
|
514
497
|
|
515
498
|
return $.ui.position;
|
516
499
|
|
517
|
-
}));
|
500
|
+
} ) );
|
@@ -0,0 +1,42 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
|
3
|
+
( function( factory ) {
|
4
|
+
if ( typeof define === "function" && define.amd ) {
|
5
|
+
|
6
|
+
// AMD. Register as an anonymous module.
|
7
|
+
define( [ "jquery", "./version" ], factory );
|
8
|
+
} else {
|
9
|
+
|
10
|
+
// Browser globals
|
11
|
+
factory( jQuery );
|
12
|
+
}
|
13
|
+
} ( function( $ ) {
|
14
|
+
return $.ui.safeActiveElement = function( document ) {
|
15
|
+
var activeElement;
|
16
|
+
|
17
|
+
// Support: IE 9 only
|
18
|
+
// IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>
|
19
|
+
try {
|
20
|
+
activeElement = document.activeElement;
|
21
|
+
} catch ( error ) {
|
22
|
+
activeElement = document.body;
|
23
|
+
}
|
24
|
+
|
25
|
+
// Support: IE 9 - 11 only
|
26
|
+
// IE may return null instead of an element
|
27
|
+
// Interestingly, this only seems to occur when NOT in an iframe
|
28
|
+
if ( !activeElement ) {
|
29
|
+
activeElement = document.body;
|
30
|
+
}
|
31
|
+
|
32
|
+
// Support: IE 11 only
|
33
|
+
// IE11 returns a seemingly empty object in some cases when accessing
|
34
|
+
// document.activeElement from an <iframe>
|
35
|
+
if ( !activeElement.nodeName ) {
|
36
|
+
activeElement = document.body;
|
37
|
+
}
|
38
|
+
|
39
|
+
return activeElement;
|
40
|
+
};
|
41
|
+
|
42
|
+
} ) );
|
@@ -0,0 +1,23 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
|
3
|
+
( function( factory ) {
|
4
|
+
if ( typeof define === "function" && define.amd ) {
|
5
|
+
|
6
|
+
// AMD. Register as an anonymous module.
|
7
|
+
define( [ "jquery", "./version" ], factory );
|
8
|
+
} else {
|
9
|
+
|
10
|
+
// Browser globals
|
11
|
+
factory( jQuery );
|
12
|
+
}
|
13
|
+
} ( function( $ ) {
|
14
|
+
return $.ui.safeBlur = function( element ) {
|
15
|
+
|
16
|
+
// Support: IE9 - 10 only
|
17
|
+
// If the <body> is blurred, IE will switch windows, see #9420
|
18
|
+
if ( element && element.nodeName.toLowerCase() !== "body" ) {
|
19
|
+
$( element ).trigger( "blur" );
|
20
|
+
}
|
21
|
+
};
|
22
|
+
|
23
|
+
} ) );
|
@@ -0,0 +1,47 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
|
3
|
+
/*!
|
4
|
+
* jQuery UI Scroll Parent 1.12.1
|
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
|
+
if ( typeof define === "function" && define.amd ) {
|
19
|
+
|
20
|
+
// AMD. Register as an anonymous module.
|
21
|
+
define( [ "jquery", "./version" ], factory );
|
22
|
+
} else {
|
23
|
+
|
24
|
+
// Browser globals
|
25
|
+
factory( jQuery );
|
26
|
+
}
|
27
|
+
} ( function( $ ) {
|
28
|
+
|
29
|
+
return $.fn.scrollParent = function( includeHidden ) {
|
30
|
+
var position = this.css( "position" ),
|
31
|
+
excludeStaticParent = position === "absolute",
|
32
|
+
overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/,
|
33
|
+
scrollParent = this.parents().filter( function() {
|
34
|
+
var parent = $( this );
|
35
|
+
if ( excludeStaticParent && parent.css( "position" ) === "static" ) {
|
36
|
+
return false;
|
37
|
+
}
|
38
|
+
return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) +
|
39
|
+
parent.css( "overflow-x" ) );
|
40
|
+
} ).eq( 0 );
|
41
|
+
|
42
|
+
return position === "fixed" || !scrollParent.length ?
|
43
|
+
$( this[ 0 ].ownerDocument || document ) :
|
44
|
+
scrollParent;
|
45
|
+
};
|
46
|
+
|
47
|
+
} ) );
|
@@ -0,0 +1,38 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/focusable
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Tabbable 1.12.1
|
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
|
+
if ( typeof define === "function" && define.amd ) {
|
20
|
+
|
21
|
+
// AMD. Register as an anonymous module.
|
22
|
+
define( [ "jquery", "./version", "./focusable" ], factory );
|
23
|
+
} else {
|
24
|
+
|
25
|
+
// Browser globals
|
26
|
+
factory( jQuery );
|
27
|
+
}
|
28
|
+
} ( function( $ ) {
|
29
|
+
|
30
|
+
return $.extend( $.expr[ ":" ], {
|
31
|
+
tabbable: function( element ) {
|
32
|
+
var tabIndex = $.attr( element, "tabindex" ),
|
33
|
+
hasTabindex = tabIndex != null;
|
34
|
+
return ( !hasTabindex || tabIndex >= 0 ) && $.ui.focusable( element, hasTabindex );
|
35
|
+
}
|
36
|
+
} );
|
37
|
+
|
38
|
+
} ) );
|