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,73 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Blind 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: Blind Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Blinds the element.
|
16
|
+
//>>docs: http://api.jqueryui.com/blind-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [
|
24
|
+
"jquery",
|
25
|
+
"../version",
|
26
|
+
"../effect"
|
27
|
+
], factory );
|
28
|
+
} else {
|
29
|
+
|
30
|
+
// Browser globals
|
31
|
+
factory( jQuery );
|
32
|
+
}
|
33
|
+
}( function( $ ) {
|
34
|
+
|
35
|
+
return $.effects.define( "blind", "hide", function( options, done ) {
|
36
|
+
var map = {
|
37
|
+
up: [ "bottom", "top" ],
|
38
|
+
vertical: [ "bottom", "top" ],
|
39
|
+
down: [ "top", "bottom" ],
|
40
|
+
left: [ "right", "left" ],
|
41
|
+
horizontal: [ "right", "left" ],
|
42
|
+
right: [ "left", "right" ]
|
43
|
+
},
|
44
|
+
element = $( this ),
|
45
|
+
direction = options.direction || "up",
|
46
|
+
start = element.cssClip(),
|
47
|
+
animate = { clip: $.extend( {}, start ) },
|
48
|
+
placeholder = $.effects.createPlaceholder( element );
|
49
|
+
|
50
|
+
animate.clip[ map[ direction ][ 0 ] ] = animate.clip[ map[ direction ][ 1 ] ];
|
51
|
+
|
52
|
+
if ( options.mode === "show" ) {
|
53
|
+
element.cssClip( animate.clip );
|
54
|
+
if ( placeholder ) {
|
55
|
+
placeholder.css( $.effects.clipToBox( animate ) );
|
56
|
+
}
|
57
|
+
|
58
|
+
animate.clip = start;
|
59
|
+
}
|
60
|
+
|
61
|
+
if ( placeholder ) {
|
62
|
+
placeholder.animate( $.effects.clipToBox( animate ), options.duration, options.easing );
|
63
|
+
}
|
64
|
+
|
65
|
+
element.animate( animate, {
|
66
|
+
queue: false,
|
67
|
+
duration: options.duration,
|
68
|
+
easing: options.easing,
|
69
|
+
complete: done
|
70
|
+
} );
|
71
|
+
} );
|
72
|
+
|
73
|
+
} ) );
|
@@ -0,0 +1,113 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Bounce 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: Bounce Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Bounces an element horizontally or vertically n times.
|
16
|
+
//>>docs: http://api.jqueryui.com/bounce-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [
|
24
|
+
"jquery",
|
25
|
+
"../version",
|
26
|
+
"../effect"
|
27
|
+
], factory );
|
28
|
+
} else {
|
29
|
+
|
30
|
+
// Browser globals
|
31
|
+
factory( jQuery );
|
32
|
+
}
|
33
|
+
}( function( $ ) {
|
34
|
+
|
35
|
+
return $.effects.define( "bounce", function( options, done ) {
|
36
|
+
var upAnim, downAnim, refValue,
|
37
|
+
element = $( this ),
|
38
|
+
|
39
|
+
// Defaults:
|
40
|
+
mode = options.mode,
|
41
|
+
hide = mode === "hide",
|
42
|
+
show = mode === "show",
|
43
|
+
direction = options.direction || "up",
|
44
|
+
distance = options.distance,
|
45
|
+
times = options.times || 5,
|
46
|
+
|
47
|
+
// Number of internal animations
|
48
|
+
anims = times * 2 + ( show || hide ? 1 : 0 ),
|
49
|
+
speed = options.duration / anims,
|
50
|
+
easing = options.easing,
|
51
|
+
|
52
|
+
// Utility:
|
53
|
+
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
|
54
|
+
motion = ( direction === "up" || direction === "left" ),
|
55
|
+
i = 0,
|
56
|
+
|
57
|
+
queuelen = element.queue().length;
|
58
|
+
|
59
|
+
$.effects.createPlaceholder( element );
|
60
|
+
|
61
|
+
refValue = element.css( ref );
|
62
|
+
|
63
|
+
// Default distance for the BIGGEST bounce is the outer Distance / 3
|
64
|
+
if ( !distance ) {
|
65
|
+
distance = element[ ref === "top" ? "outerHeight" : "outerWidth" ]() / 3;
|
66
|
+
}
|
67
|
+
|
68
|
+
if ( show ) {
|
69
|
+
downAnim = { opacity: 1 };
|
70
|
+
downAnim[ ref ] = refValue;
|
71
|
+
|
72
|
+
// If we are showing, force opacity 0 and set the initial position
|
73
|
+
// then do the "first" animation
|
74
|
+
element
|
75
|
+
.css( "opacity", 0 )
|
76
|
+
.css( ref, motion ? -distance * 2 : distance * 2 )
|
77
|
+
.animate( downAnim, speed, easing );
|
78
|
+
}
|
79
|
+
|
80
|
+
// Start at the smallest distance if we are hiding
|
81
|
+
if ( hide ) {
|
82
|
+
distance = distance / Math.pow( 2, times - 1 );
|
83
|
+
}
|
84
|
+
|
85
|
+
downAnim = {};
|
86
|
+
downAnim[ ref ] = refValue;
|
87
|
+
|
88
|
+
// Bounces up/down/left/right then back to 0 -- times * 2 animations happen here
|
89
|
+
for ( ; i < times; i++ ) {
|
90
|
+
upAnim = {};
|
91
|
+
upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
|
92
|
+
|
93
|
+
element
|
94
|
+
.animate( upAnim, speed, easing )
|
95
|
+
.animate( downAnim, speed, easing );
|
96
|
+
|
97
|
+
distance = hide ? distance * 2 : distance / 2;
|
98
|
+
}
|
99
|
+
|
100
|
+
// Last Bounce when Hiding
|
101
|
+
if ( hide ) {
|
102
|
+
upAnim = { opacity: 0 };
|
103
|
+
upAnim[ ref ] = ( motion ? "-=" : "+=" ) + distance;
|
104
|
+
|
105
|
+
element.animate( upAnim, speed, easing );
|
106
|
+
}
|
107
|
+
|
108
|
+
element.queue( done );
|
109
|
+
|
110
|
+
$.effects.unshift( element, queuelen, anims + 1 );
|
111
|
+
} );
|
112
|
+
|
113
|
+
} ) );
|
@@ -0,0 +1,68 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Clip 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: Clip Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Clips the element on and off like an old TV.
|
16
|
+
//>>docs: http://api.jqueryui.com/clip-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [
|
24
|
+
"jquery",
|
25
|
+
"../version",
|
26
|
+
"../effect"
|
27
|
+
], factory );
|
28
|
+
} else {
|
29
|
+
|
30
|
+
// Browser globals
|
31
|
+
factory( jQuery );
|
32
|
+
}
|
33
|
+
}( function( $ ) {
|
34
|
+
|
35
|
+
return $.effects.define( "clip", "hide", function( options, done ) {
|
36
|
+
var start,
|
37
|
+
animate = {},
|
38
|
+
element = $( this ),
|
39
|
+
direction = options.direction || "vertical",
|
40
|
+
both = direction === "both",
|
41
|
+
horizontal = both || direction === "horizontal",
|
42
|
+
vertical = both || direction === "vertical";
|
43
|
+
|
44
|
+
start = element.cssClip();
|
45
|
+
animate.clip = {
|
46
|
+
top: vertical ? ( start.bottom - start.top ) / 2 : start.top,
|
47
|
+
right: horizontal ? ( start.right - start.left ) / 2 : start.right,
|
48
|
+
bottom: vertical ? ( start.bottom - start.top ) / 2 : start.bottom,
|
49
|
+
left: horizontal ? ( start.right - start.left ) / 2 : start.left
|
50
|
+
};
|
51
|
+
|
52
|
+
$.effects.createPlaceholder( element );
|
53
|
+
|
54
|
+
if ( options.mode === "show" ) {
|
55
|
+
element.cssClip( animate.clip );
|
56
|
+
animate.clip = start;
|
57
|
+
}
|
58
|
+
|
59
|
+
element.animate( animate, {
|
60
|
+
queue: false,
|
61
|
+
duration: options.duration,
|
62
|
+
easing: options.easing,
|
63
|
+
complete: done
|
64
|
+
} );
|
65
|
+
|
66
|
+
} );
|
67
|
+
|
68
|
+
} ) );
|
@@ -0,0 +1,72 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Drop 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: Drop Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Moves an element in one direction and hides it at the same time.
|
16
|
+
//>>docs: http://api.jqueryui.com/drop-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [
|
24
|
+
"jquery",
|
25
|
+
"../version",
|
26
|
+
"../effect"
|
27
|
+
], factory );
|
28
|
+
} else {
|
29
|
+
|
30
|
+
// Browser globals
|
31
|
+
factory( jQuery );
|
32
|
+
}
|
33
|
+
}( function( $ ) {
|
34
|
+
|
35
|
+
return $.effects.define( "drop", "hide", function( options, done ) {
|
36
|
+
|
37
|
+
var distance,
|
38
|
+
element = $( this ),
|
39
|
+
mode = options.mode,
|
40
|
+
show = mode === "show",
|
41
|
+
direction = options.direction || "left",
|
42
|
+
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
|
43
|
+
motion = ( direction === "up" || direction === "left" ) ? "-=" : "+=",
|
44
|
+
oppositeMotion = ( motion === "+=" ) ? "-=" : "+=",
|
45
|
+
animation = {
|
46
|
+
opacity: 0
|
47
|
+
};
|
48
|
+
|
49
|
+
$.effects.createPlaceholder( element );
|
50
|
+
|
51
|
+
distance = options.distance ||
|
52
|
+
element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ) / 2;
|
53
|
+
|
54
|
+
animation[ ref ] = motion + distance;
|
55
|
+
|
56
|
+
if ( show ) {
|
57
|
+
element.css( animation );
|
58
|
+
|
59
|
+
animation[ ref ] = oppositeMotion + distance;
|
60
|
+
animation.opacity = 1;
|
61
|
+
}
|
62
|
+
|
63
|
+
// Animate
|
64
|
+
element.animate( animation, {
|
65
|
+
queue: false,
|
66
|
+
duration: options.duration,
|
67
|
+
easing: options.easing,
|
68
|
+
complete: done
|
69
|
+
} );
|
70
|
+
} );
|
71
|
+
|
72
|
+
} ) );
|
@@ -0,0 +1,114 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Explode 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: Explode Effect
|
14
|
+
//>>group: Effects
|
15
|
+
// jscs:disable maximumLineLength
|
16
|
+
//>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness.
|
17
|
+
// jscs:enable maximumLineLength
|
18
|
+
//>>docs: http://api.jqueryui.com/explode-effect/
|
19
|
+
//>>demos: http://jqueryui.com/effect/
|
20
|
+
|
21
|
+
( function( factory ) {
|
22
|
+
if ( typeof define === "function" && define.amd ) {
|
23
|
+
|
24
|
+
// AMD. Register as an anonymous module.
|
25
|
+
define( [
|
26
|
+
"jquery",
|
27
|
+
"../version",
|
28
|
+
"../effect"
|
29
|
+
], factory );
|
30
|
+
} else {
|
31
|
+
|
32
|
+
// Browser globals
|
33
|
+
factory( jQuery );
|
34
|
+
}
|
35
|
+
}( function( $ ) {
|
36
|
+
|
37
|
+
return $.effects.define( "explode", "hide", function( options, done ) {
|
38
|
+
|
39
|
+
var i, j, left, top, mx, my,
|
40
|
+
rows = options.pieces ? Math.round( Math.sqrt( options.pieces ) ) : 3,
|
41
|
+
cells = rows,
|
42
|
+
element = $( this ),
|
43
|
+
mode = options.mode,
|
44
|
+
show = mode === "show",
|
45
|
+
|
46
|
+
// Show and then visibility:hidden the element before calculating offset
|
47
|
+
offset = element.show().css( "visibility", "hidden" ).offset(),
|
48
|
+
|
49
|
+
// Width and height of a piece
|
50
|
+
width = Math.ceil( element.outerWidth() / cells ),
|
51
|
+
height = Math.ceil( element.outerHeight() / rows ),
|
52
|
+
pieces = [];
|
53
|
+
|
54
|
+
// Children animate complete:
|
55
|
+
function childComplete() {
|
56
|
+
pieces.push( this );
|
57
|
+
if ( pieces.length === rows * cells ) {
|
58
|
+
animComplete();
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
// Clone the element for each row and cell.
|
63
|
+
for ( i = 0; i < rows; i++ ) { // ===>
|
64
|
+
top = offset.top + i * height;
|
65
|
+
my = i - ( rows - 1 ) / 2;
|
66
|
+
|
67
|
+
for ( j = 0; j < cells; j++ ) { // |||
|
68
|
+
left = offset.left + j * width;
|
69
|
+
mx = j - ( cells - 1 ) / 2;
|
70
|
+
|
71
|
+
// Create a clone of the now hidden main element that will be absolute positioned
|
72
|
+
// within a wrapper div off the -left and -top equal to size of our pieces
|
73
|
+
element
|
74
|
+
.clone()
|
75
|
+
.appendTo( "body" )
|
76
|
+
.wrap( "<div></div>" )
|
77
|
+
.css( {
|
78
|
+
position: "absolute",
|
79
|
+
visibility: "visible",
|
80
|
+
left: -j * width,
|
81
|
+
top: -i * height
|
82
|
+
} )
|
83
|
+
|
84
|
+
// Select the wrapper - make it overflow: hidden and absolute positioned based on
|
85
|
+
// where the original was located +left and +top equal to the size of pieces
|
86
|
+
.parent()
|
87
|
+
.addClass( "ui-effects-explode" )
|
88
|
+
.css( {
|
89
|
+
position: "absolute",
|
90
|
+
overflow: "hidden",
|
91
|
+
width: width,
|
92
|
+
height: height,
|
93
|
+
left: left + ( show ? mx * width : 0 ),
|
94
|
+
top: top + ( show ? my * height : 0 ),
|
95
|
+
opacity: show ? 0 : 1
|
96
|
+
} )
|
97
|
+
.animate( {
|
98
|
+
left: left + ( show ? 0 : mx * width ),
|
99
|
+
top: top + ( show ? 0 : my * height ),
|
100
|
+
opacity: show ? 1 : 0
|
101
|
+
}, options.duration || 500, options.easing, childComplete );
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
function animComplete() {
|
106
|
+
element.css( {
|
107
|
+
visibility: "visible"
|
108
|
+
} );
|
109
|
+
$( pieces ).remove();
|
110
|
+
done();
|
111
|
+
}
|
112
|
+
} );
|
113
|
+
|
114
|
+
} ) );
|
@@ -0,0 +1,50 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Fade 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: Fade Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Fades the element.
|
16
|
+
//>>docs: http://api.jqueryui.com/fade-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [
|
24
|
+
"jquery",
|
25
|
+
"../version",
|
26
|
+
"../effect"
|
27
|
+
], factory );
|
28
|
+
} else {
|
29
|
+
|
30
|
+
// Browser globals
|
31
|
+
factory( jQuery );
|
32
|
+
}
|
33
|
+
}( function( $ ) {
|
34
|
+
|
35
|
+
return $.effects.define( "fade", "toggle", function( options, done ) {
|
36
|
+
var show = options.mode === "show";
|
37
|
+
|
38
|
+
$( this )
|
39
|
+
.css( "opacity", show ? 0 : 1 )
|
40
|
+
.animate( {
|
41
|
+
opacity: show ? 1 : 0
|
42
|
+
}, {
|
43
|
+
queue: false,
|
44
|
+
duration: options.duration,
|
45
|
+
easing: options.easing,
|
46
|
+
complete: done
|
47
|
+
} );
|
48
|
+
} );
|
49
|
+
|
50
|
+
} ) );
|
@@ -0,0 +1,92 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Fold 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: Fold Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Folds an element first horizontally and then vertically.
|
16
|
+
//>>docs: http://api.jqueryui.com/fold-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [
|
24
|
+
"jquery",
|
25
|
+
"../version",
|
26
|
+
"../effect"
|
27
|
+
], factory );
|
28
|
+
} else {
|
29
|
+
|
30
|
+
// Browser globals
|
31
|
+
factory( jQuery );
|
32
|
+
}
|
33
|
+
}( function( $ ) {
|
34
|
+
|
35
|
+
return $.effects.define( "fold", "hide", function( options, done ) {
|
36
|
+
|
37
|
+
// Create element
|
38
|
+
var element = $( this ),
|
39
|
+
mode = options.mode,
|
40
|
+
show = mode === "show",
|
41
|
+
hide = mode === "hide",
|
42
|
+
size = options.size || 15,
|
43
|
+
percent = /([0-9]+)%/.exec( size ),
|
44
|
+
horizFirst = !!options.horizFirst,
|
45
|
+
ref = horizFirst ? [ "right", "bottom" ] : [ "bottom", "right" ],
|
46
|
+
duration = options.duration / 2,
|
47
|
+
|
48
|
+
placeholder = $.effects.createPlaceholder( element ),
|
49
|
+
|
50
|
+
start = element.cssClip(),
|
51
|
+
animation1 = { clip: $.extend( {}, start ) },
|
52
|
+
animation2 = { clip: $.extend( {}, start ) },
|
53
|
+
|
54
|
+
distance = [ start[ ref[ 0 ] ], start[ ref[ 1 ] ] ],
|
55
|
+
|
56
|
+
queuelen = element.queue().length;
|
57
|
+
|
58
|
+
if ( percent ) {
|
59
|
+
size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];
|
60
|
+
}
|
61
|
+
animation1.clip[ ref[ 0 ] ] = size;
|
62
|
+
animation2.clip[ ref[ 0 ] ] = size;
|
63
|
+
animation2.clip[ ref[ 1 ] ] = 0;
|
64
|
+
|
65
|
+
if ( show ) {
|
66
|
+
element.cssClip( animation2.clip );
|
67
|
+
if ( placeholder ) {
|
68
|
+
placeholder.css( $.effects.clipToBox( animation2 ) );
|
69
|
+
}
|
70
|
+
|
71
|
+
animation2.clip = start;
|
72
|
+
}
|
73
|
+
|
74
|
+
// Animate
|
75
|
+
element
|
76
|
+
.queue( function( next ) {
|
77
|
+
if ( placeholder ) {
|
78
|
+
placeholder
|
79
|
+
.animate( $.effects.clipToBox( animation1 ), duration, options.easing )
|
80
|
+
.animate( $.effects.clipToBox( animation2 ), duration, options.easing );
|
81
|
+
}
|
82
|
+
|
83
|
+
next();
|
84
|
+
} )
|
85
|
+
.animate( animation1, duration, options.easing )
|
86
|
+
.animate( animation2, duration, options.easing )
|
87
|
+
.queue( done );
|
88
|
+
|
89
|
+
$.effects.unshift( element, queuelen, 4 );
|
90
|
+
} );
|
91
|
+
|
92
|
+
} ) );
|
@@ -0,0 +1,60 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/effect
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* jQuery UI Effects Highlight 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: Highlight Effect
|
14
|
+
//>>group: Effects
|
15
|
+
//>>description: Highlights the background of an element in a defined color for a custom duration.
|
16
|
+
//>>docs: http://api.jqueryui.com/highlight-effect/
|
17
|
+
//>>demos: http://jqueryui.com/effect/
|
18
|
+
|
19
|
+
( function( factory ) {
|
20
|
+
if ( typeof define === "function" && define.amd ) {
|
21
|
+
|
22
|
+
// AMD. Register as an anonymous module.
|
23
|
+
define( [
|
24
|
+
"jquery",
|
25
|
+
"../version",
|
26
|
+
"../effect"
|
27
|
+
], factory );
|
28
|
+
} else {
|
29
|
+
|
30
|
+
// Browser globals
|
31
|
+
factory( jQuery );
|
32
|
+
}
|
33
|
+
}( function( $ ) {
|
34
|
+
|
35
|
+
return $.effects.define( "highlight", "show", function( options, done ) {
|
36
|
+
var element = $( this ),
|
37
|
+
animation = {
|
38
|
+
backgroundColor: element.css( "backgroundColor" )
|
39
|
+
};
|
40
|
+
|
41
|
+
if ( options.mode === "hide" ) {
|
42
|
+
animation.opacity = 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
$.effects.saveStyle( element );
|
46
|
+
|
47
|
+
element
|
48
|
+
.css( {
|
49
|
+
backgroundImage: "none",
|
50
|
+
backgroundColor: options.color || "#ffff99"
|
51
|
+
} )
|
52
|
+
.animate( animation, {
|
53
|
+
queue: false,
|
54
|
+
duration: options.duration,
|
55
|
+
easing: options.easing,
|
56
|
+
complete: done
|
57
|
+
} );
|
58
|
+
} );
|
59
|
+
|
60
|
+
} ) );
|
@@ -0,0 +1,46 @@
|
|
1
|
+
//= require jquery-ui/version
|
2
|
+
//= require jquery-ui/effect
|
3
|
+
//= require jquery-ui/effects/effect-scale
|
4
|
+
|
5
|
+
/*!
|
6
|
+
* jQuery UI Effects Puff 1.12.1
|
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: Puff Effect
|
15
|
+
//>>group: Effects
|
16
|
+
//>>description: Creates a puff effect by scaling the element up and hiding it at the same time.
|
17
|
+
//>>docs: http://api.jqueryui.com/puff-effect/
|
18
|
+
//>>demos: http://jqueryui.com/effect/
|
19
|
+
|
20
|
+
( function( factory ) {
|
21
|
+
if ( typeof define === "function" && define.amd ) {
|
22
|
+
|
23
|
+
// AMD. Register as an anonymous module.
|
24
|
+
define( [
|
25
|
+
"jquery",
|
26
|
+
"../version",
|
27
|
+
"../effect",
|
28
|
+
"./effect-scale"
|
29
|
+
], factory );
|
30
|
+
} else {
|
31
|
+
|
32
|
+
// Browser globals
|
33
|
+
factory( jQuery );
|
34
|
+
}
|
35
|
+
}( function( $ ) {
|
36
|
+
|
37
|
+
return $.effects.define( "puff", "hide", function( options, done ) {
|
38
|
+
var newOptions = $.extend( true, {}, options, {
|
39
|
+
fade: true,
|
40
|
+
percent: parseInt( options.percent, 10 ) || 150
|
41
|
+
} );
|
42
|
+
|
43
|
+
$.effects.effect.scale.call( this, newOptions, done );
|
44
|
+
} );
|
45
|
+
|
46
|
+
} ) );
|