jquery-ui-rails 7.0.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitmodules +1 -1
- data/History.md +4 -0
- data/VERSIONS.md +1 -0
- data/app/assets/javascripts/jquery-ui/data.js +10 -16
- data/app/assets/javascripts/jquery-ui/disable-selection.js +5 -5
- data/app/assets/javascripts/jquery-ui/effect.js +17 -38
- data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-size.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +6 -6
- data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +7 -7
- data/app/assets/javascripts/jquery-ui/focusable.js +7 -17
- data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +6 -8
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +3 -3
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +1 -1
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +6 -5
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +3 -3
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +2 -2
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +2 -2
- data/app/assets/javascripts/jquery-ui/jquery-patch.js +8 -41
- data/app/assets/javascripts/jquery-ui/keycode.js +5 -5
- data/app/assets/javascripts/jquery-ui/labels.js +8 -9
- data/app/assets/javascripts/jquery-ui/position.js +7 -7
- data/app/assets/javascripts/jquery-ui/scroll-parent.js +5 -5
- data/app/assets/javascripts/jquery-ui/tabbable.js +5 -5
- data/app/assets/javascripts/jquery-ui/unique-id.js +5 -5
- data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +19 -50
- data/app/assets/javascripts/jquery-ui/version.js +1 -1
- data/app/assets/javascripts/jquery-ui/widget.js +17 -10
- data/app/assets/javascripts/jquery-ui/widgets/accordion.js +18 -18
- data/app/assets/javascripts/jquery-ui/widgets/autocomplete.js +21 -55
- data/app/assets/javascripts/jquery-ui/widgets/button.js +11 -11
- data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +22 -17
- data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +7 -7
- data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +12 -15
- data/app/assets/javascripts/jquery-ui/widgets/dialog.js +25 -36
- data/app/assets/javascripts/jquery-ui/widgets/draggable.js +10 -14
- data/app/assets/javascripts/jquery-ui/widgets/droppable.js +8 -8
- data/app/assets/javascripts/jquery-ui/widgets/menu.js +9 -11
- data/app/assets/javascripts/jquery-ui/widgets/mouse.js +20 -35
- data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +7 -7
- data/app/assets/javascripts/jquery-ui/widgets/resizable.js +82 -26
- data/app/assets/javascripts/jquery-ui/widgets/selectable.js +7 -7
- data/app/assets/javascripts/jquery-ui/widgets/selectmenu.js +22 -49
- data/app/assets/javascripts/jquery-ui/widgets/slider.js +7 -7
- data/app/assets/javascripts/jquery-ui/widgets/sortable.js +76 -85
- data/app/assets/javascripts/jquery-ui/widgets/spinner.js +11 -35
- data/app/assets/javascripts/jquery-ui/widgets/tabs.js +22 -56
- data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +25 -27
- data/app/assets/javascripts/jquery-ui.js +0 -5
- data/app/assets/stylesheets/jquery-ui/accordion.css +5 -5
- data/app/assets/stylesheets/jquery-ui/all.css +5 -5
- data/app/assets/stylesheets/jquery-ui/autocomplete.css +5 -5
- data/app/assets/stylesheets/jquery-ui/base.css +5 -5
- data/app/assets/stylesheets/jquery-ui/button.css +6 -11
- data/app/assets/stylesheets/jquery-ui/checkboxradio.css +5 -5
- data/app/assets/stylesheets/jquery-ui/controlgroup.css +5 -8
- data/app/assets/stylesheets/jquery-ui/core.css +5 -9
- data/app/assets/stylesheets/jquery-ui/datepicker.css +5 -5
- data/app/assets/stylesheets/jquery-ui/dialog.css +5 -5
- data/app/assets/stylesheets/jquery-ui/draggable.css +4 -5
- data/app/assets/stylesheets/jquery-ui/menu.css +5 -7
- data/app/assets/stylesheets/jquery-ui/progressbar.css +5 -6
- data/app/assets/stylesheets/jquery-ui/resizable.css +4 -5
- data/app/assets/stylesheets/jquery-ui/selectable.css +4 -5
- data/app/assets/stylesheets/jquery-ui/selectmenu.css +5 -5
- data/app/assets/stylesheets/jquery-ui/slider.css +5 -12
- data/app/assets/stylesheets/jquery-ui/sortable.css +4 -5
- data/app/assets/stylesheets/jquery-ui/spinner.css +5 -5
- data/app/assets/stylesheets/jquery-ui/tabs.css +5 -5
- data/app/assets/stylesheets/jquery-ui/theme.css.erb +6 -13
- data/app/assets/stylesheets/jquery-ui/tooltip.css +5 -5
- data/lib/jquery/ui/rails/version.rb +2 -2
- metadata +6 -11
- data/app/assets/javascripts/jquery-ui/core.js +0 -15
- data/app/assets/javascripts/jquery-ui/form.js +0 -25
- data/app/assets/javascripts/jquery-ui/ie.js +0 -20
- data/app/assets/javascripts/jquery-ui/safe-active-element.js +0 -46
- data/app/assets/javascripts/jquery-ui/safe-blur.js +0 -27
@@ -1,23 +1,22 @@
|
|
1
1
|
//= require jquery-ui/widgets/button
|
2
2
|
//= require jquery-ui/version
|
3
3
|
//= require jquery-ui/keycode
|
4
|
-
//= require jquery-ui/safe-active-element
|
5
4
|
//= require jquery-ui/widget
|
6
5
|
|
7
6
|
/*!
|
8
|
-
* jQuery UI Spinner 1.
|
9
|
-
*
|
7
|
+
* jQuery UI Spinner 1.14.1
|
8
|
+
* https://jqueryui.com
|
10
9
|
*
|
11
|
-
* Copyright
|
10
|
+
* Copyright OpenJS Foundation and other contributors
|
12
11
|
* Released under the MIT license.
|
13
|
-
*
|
12
|
+
* https://jquery.org/license
|
14
13
|
*/
|
15
14
|
|
16
15
|
//>>label: Spinner
|
17
16
|
//>>group: Widgets
|
18
17
|
//>>description: Displays buttons to easily input numbers via the keyboard or mouse.
|
19
|
-
//>>docs:
|
20
|
-
//>>demos:
|
18
|
+
//>>docs: https://api.jqueryui.com/spinner/
|
19
|
+
//>>demos: https://jqueryui.com/spinner/
|
21
20
|
//>>css.structure: ../../themes/base/core.css
|
22
21
|
//>>css.structure: ../../themes/base/spinner.css
|
23
22
|
//>>css.theme: ../../themes/base/theme.css
|
@@ -33,7 +32,6 @@
|
|
33
32
|
"./button",
|
34
33
|
"../version",
|
35
34
|
"../keycode",
|
36
|
-
"../safe-active-element",
|
37
35
|
"../widget"
|
38
36
|
], factory );
|
39
37
|
} else {
|
@@ -56,7 +54,7 @@ function spinnerModifier( fn ) {
|
|
56
54
|
}
|
57
55
|
|
58
56
|
$.widget( "ui.spinner", {
|
59
|
-
version: "1.
|
57
|
+
version: "1.14.1",
|
60
58
|
defaultElement: "<input>",
|
61
59
|
widgetEventPrefix: "spin",
|
62
60
|
options: {
|
@@ -137,11 +135,6 @@ $.widget( "ui.spinner", {
|
|
137
135
|
this.previous = this.element.val();
|
138
136
|
},
|
139
137
|
blur: function( event ) {
|
140
|
-
if ( this.cancelBlur ) {
|
141
|
-
delete this.cancelBlur;
|
142
|
-
return;
|
143
|
-
}
|
144
|
-
|
145
138
|
this._stop();
|
146
139
|
this._refresh();
|
147
140
|
if ( this.previous !== this.element.val() ) {
|
@@ -149,7 +142,7 @@ $.widget( "ui.spinner", {
|
|
149
142
|
}
|
150
143
|
},
|
151
144
|
mousewheel: function( event, delta ) {
|
152
|
-
var activeElement =
|
145
|
+
var activeElement = this.document[ 0 ].activeElement;
|
153
146
|
var isActive = this.element[ 0 ] === activeElement;
|
154
147
|
|
155
148
|
if ( !isActive || !delta ) {
|
@@ -177,20 +170,13 @@ $.widget( "ui.spinner", {
|
|
177
170
|
// If the input is focused then this.previous is properly set from
|
178
171
|
// when the input first received focus. If the input is not focused
|
179
172
|
// then we need to set this.previous based on the value before spinning.
|
180
|
-
previous = this.element[ 0 ] ===
|
173
|
+
previous = this.element[ 0 ] === this.document[ 0 ].activeElement ?
|
181
174
|
this.previous : this.element.val();
|
182
175
|
function checkFocus() {
|
183
|
-
var isActive = this.element[ 0 ] ===
|
176
|
+
var isActive = this.element[ 0 ] === this.document[ 0 ].activeElement;
|
184
177
|
if ( !isActive ) {
|
185
178
|
this.element.trigger( "focus" );
|
186
179
|
this.previous = previous;
|
187
|
-
|
188
|
-
// support: IE
|
189
|
-
// IE sets focus asynchronously, so we need to check if focus
|
190
|
-
// moved off of the input because the user clicked on the button.
|
191
|
-
this._delay( function() {
|
192
|
-
this.previous = previous;
|
193
|
-
} );
|
194
180
|
}
|
195
181
|
}
|
196
182
|
|
@@ -198,16 +184,6 @@ $.widget( "ui.spinner", {
|
|
198
184
|
event.preventDefault();
|
199
185
|
checkFocus.call( this );
|
200
186
|
|
201
|
-
// Support: IE
|
202
|
-
// IE doesn't prevent moving focus even with event.preventDefault()
|
203
|
-
// so we set a flag to know when we should ignore the blur event
|
204
|
-
// and check (again) if focus moved off of the input.
|
205
|
-
this.cancelBlur = true;
|
206
|
-
this._delay( function() {
|
207
|
-
delete this.cancelBlur;
|
208
|
-
checkFocus.call( this );
|
209
|
-
} );
|
210
|
-
|
211
187
|
if ( this._start( event ) === false ) {
|
212
188
|
return;
|
213
189
|
}
|
@@ -560,7 +536,7 @@ $.widget( "ui.spinner", {
|
|
560
536
|
|
561
537
|
// DEPRECATED
|
562
538
|
// TODO: switch return back to widget declaration at top of file when this is removed
|
563
|
-
if ( $.uiBackCompat
|
539
|
+
if ( $.uiBackCompat === true ) {
|
564
540
|
|
565
541
|
// Backcompat for spinner html extension points
|
566
542
|
$.widget( "ui.spinner", $.ui.spinner, {
|
@@ -1,23 +1,22 @@
|
|
1
1
|
//= require jquery-ui/keycode
|
2
|
-
//= require jquery-ui/safe-active-element
|
3
2
|
//= require jquery-ui/unique-id
|
4
3
|
//= require jquery-ui/version
|
5
4
|
//= require jquery-ui/widget
|
6
5
|
|
7
6
|
/*!
|
8
|
-
* jQuery UI Tabs 1.
|
9
|
-
*
|
7
|
+
* jQuery UI Tabs 1.14.1
|
8
|
+
* https://jqueryui.com
|
10
9
|
*
|
11
|
-
* Copyright
|
10
|
+
* Copyright OpenJS Foundation and other contributors
|
12
11
|
* Released under the MIT license.
|
13
|
-
*
|
12
|
+
* https://jquery.org/license
|
14
13
|
*/
|
15
14
|
|
16
15
|
//>>label: Tabs
|
17
16
|
//>>group: Widgets
|
18
17
|
//>>description: Transforms a set of container elements into a tab structure.
|
19
|
-
//>>docs:
|
20
|
-
//>>demos:
|
18
|
+
//>>docs: https://api.jqueryui.com/tabs/
|
19
|
+
//>>demos: https://jqueryui.com/tabs/
|
21
20
|
//>>css.structure: ../../themes/base/core.css
|
22
21
|
//>>css.structure: ../../themes/base/tabs.css
|
23
22
|
//>>css.theme: ../../themes/base/theme.css
|
@@ -31,7 +30,6 @@
|
|
31
30
|
define( [
|
32
31
|
"jquery",
|
33
32
|
"../keycode",
|
34
|
-
"../safe-active-element",
|
35
33
|
"../unique-id",
|
36
34
|
"../version",
|
37
35
|
"../widget"
|
@@ -45,7 +43,7 @@
|
|
45
43
|
"use strict";
|
46
44
|
|
47
45
|
$.widget( "ui.tabs", {
|
48
|
-
version: "1.
|
46
|
+
version: "1.14.1",
|
49
47
|
delay: 300,
|
50
48
|
options: {
|
51
49
|
active: null,
|
@@ -128,14 +126,14 @@ $.widget( "ui.tabs", {
|
|
128
126
|
_initialActive: function() {
|
129
127
|
var active = this.options.active,
|
130
128
|
collapsible = this.options.collapsible,
|
131
|
-
|
129
|
+
locationHashDecoded = decodeURIComponent( location.hash.substring( 1 ) );
|
132
130
|
|
133
131
|
if ( active === null ) {
|
134
132
|
|
135
133
|
// check the fragment identifier in the URL
|
136
|
-
if (
|
134
|
+
if ( locationHashDecoded ) {
|
137
135
|
this.tabs.each( function( i, tab ) {
|
138
|
-
if ( $( tab ).attr( "aria-controls" ) ===
|
136
|
+
if ( $( tab ).attr( "aria-controls" ) === locationHashDecoded ) {
|
139
137
|
active = i;
|
140
138
|
return false;
|
141
139
|
}
|
@@ -177,7 +175,7 @@ $.widget( "ui.tabs", {
|
|
177
175
|
},
|
178
176
|
|
179
177
|
_tabKeydown: function( event ) {
|
180
|
-
var focusedTab = $(
|
178
|
+
var focusedTab = $( this.document[ 0 ].activeElement ).closest( "li" ),
|
181
179
|
selectedIndex = this.tabs.index( focusedTab ),
|
182
180
|
goingForward = true;
|
183
181
|
|
@@ -319,10 +317,6 @@ $.widget( "ui.tabs", {
|
|
319
317
|
}
|
320
318
|
},
|
321
319
|
|
322
|
-
_sanitizeSelector: function( hash ) {
|
323
|
-
return hash ? hash.replace( /[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, "\\$&" ) : "";
|
324
|
-
},
|
325
|
-
|
326
320
|
refresh: function() {
|
327
321
|
var options = this.options,
|
328
322
|
lis = this.tablist.children( ":has(a[href])" );
|
@@ -414,18 +408,6 @@ $.widget( "ui.tabs", {
|
|
414
408
|
if ( $( this ).is( ".ui-state-disabled" ) ) {
|
415
409
|
event.preventDefault();
|
416
410
|
}
|
417
|
-
} )
|
418
|
-
|
419
|
-
// Support: IE <9
|
420
|
-
// Preventing the default action in mousedown doesn't prevent IE
|
421
|
-
// from focusing the element, so if the anchor gets focused, blur.
|
422
|
-
// We don't have to worry about focusing the previously focused
|
423
|
-
// element since clicking on a non-focusable element should focus
|
424
|
-
// the body anyway.
|
425
|
-
.on( "focus" + this.eventNamespace, ".ui-tabs-anchor", function() {
|
426
|
-
if ( $( this ).closest( "li" ).is( ".ui-state-disabled" ) ) {
|
427
|
-
this.blur();
|
428
|
-
}
|
429
411
|
} );
|
430
412
|
|
431
413
|
this.tabs = this.tablist.find( "> li:has(a[href])" )
|
@@ -453,9 +435,9 @@ $.widget( "ui.tabs", {
|
|
453
435
|
|
454
436
|
// Inline tab
|
455
437
|
if ( that._isLocal( anchor ) ) {
|
456
|
-
selector = anchor.hash;
|
438
|
+
selector = decodeURIComponent( anchor.hash );
|
457
439
|
panelId = selector.substring( 1 );
|
458
|
-
panel = that.element.find(
|
440
|
+
panel = that.element.find( "#" + CSS.escape( panelId ) );
|
459
441
|
|
460
442
|
// remote tab
|
461
443
|
} else {
|
@@ -741,7 +723,7 @@ $.widget( "ui.tabs", {
|
|
741
723
|
// meta-function to give users option to provide a href string instead of a numerical index.
|
742
724
|
if ( typeof index === "string" ) {
|
743
725
|
index = this.anchors.index( this.anchors.filter( "[href$='" +
|
744
|
-
|
726
|
+
CSS.escape( index ) + "']" ) );
|
745
727
|
}
|
746
728
|
|
747
729
|
return index;
|
@@ -863,32 +845,19 @@ $.widget( "ui.tabs", {
|
|
863
845
|
|
864
846
|
this.xhr = $.ajax( this._ajaxSettings( anchor, event, eventData ) );
|
865
847
|
|
866
|
-
|
867
|
-
// jQuery <1.8 returns false if the request is canceled in beforeSend,
|
868
|
-
// but as of 1.8, $.ajax() always returns a jqXHR object.
|
869
|
-
if ( this.xhr && this.xhr.statusText !== "canceled" ) {
|
848
|
+
if ( this.xhr.statusText !== "canceled" ) {
|
870
849
|
this._addClass( tab, "ui-tabs-loading" );
|
871
850
|
panel.attr( "aria-busy", "true" );
|
872
851
|
|
873
852
|
this.xhr
|
874
853
|
.done( function( response, status, jqXHR ) {
|
854
|
+
panel.html( response );
|
855
|
+
that._trigger( "load", event, eventData );
|
875
856
|
|
876
|
-
|
877
|
-
// http://bugs.jquery.com/ticket/11778
|
878
|
-
setTimeout( function() {
|
879
|
-
panel.html( response );
|
880
|
-
that._trigger( "load", event, eventData );
|
881
|
-
|
882
|
-
complete( jqXHR, status );
|
883
|
-
}, 1 );
|
857
|
+
complete( jqXHR, status );
|
884
858
|
} )
|
885
859
|
.fail( function( jqXHR, status ) {
|
886
|
-
|
887
|
-
// support: jQuery <1.8
|
888
|
-
// http://bugs.jquery.com/ticket/11778
|
889
|
-
setTimeout( function() {
|
890
|
-
complete( jqXHR, status );
|
891
|
-
}, 1 );
|
860
|
+
complete( jqXHR, status );
|
892
861
|
} );
|
893
862
|
}
|
894
863
|
},
|
@@ -896,10 +865,7 @@ $.widget( "ui.tabs", {
|
|
896
865
|
_ajaxSettings: function( anchor, event, eventData ) {
|
897
866
|
var that = this;
|
898
867
|
return {
|
899
|
-
|
900
|
-
// Support: IE <11 only
|
901
|
-
// Strip any hash that exists to prevent errors with the Ajax request
|
902
|
-
url: anchor.attr( "href" ).replace( /#.*$/, "" ),
|
868
|
+
url: anchor.attr( "href" ),
|
903
869
|
beforeSend: function( jqXHR, settings ) {
|
904
870
|
return that._trigger( "beforeLoad", event,
|
905
871
|
$.extend( { jqXHR: jqXHR, ajaxSettings: settings }, eventData ) );
|
@@ -909,13 +875,13 @@ $.widget( "ui.tabs", {
|
|
909
875
|
|
910
876
|
_getPanelForTab: function( tab ) {
|
911
877
|
var id = $( tab ).attr( "aria-controls" );
|
912
|
-
return this.element.find(
|
878
|
+
return this.element.find( "#" + CSS.escape( id ) );
|
913
879
|
}
|
914
880
|
} );
|
915
881
|
|
916
882
|
// DEPRECATED
|
917
883
|
// TODO: Switch return back to widget declaration at top of file when this is removed
|
918
|
-
if ( $.uiBackCompat
|
884
|
+
if ( $.uiBackCompat === true ) {
|
919
885
|
|
920
886
|
// Backcompat for ui-tab class (now ui-tabs-tab)
|
921
887
|
$.widget( "ui.tabs", $.ui.tabs, {
|
@@ -5,19 +5,19 @@
|
|
5
5
|
//= require jquery-ui/widget
|
6
6
|
|
7
7
|
/*!
|
8
|
-
* jQuery UI Tooltip 1.
|
9
|
-
*
|
8
|
+
* jQuery UI Tooltip 1.14.1
|
9
|
+
* https://jqueryui.com
|
10
10
|
*
|
11
|
-
* Copyright
|
11
|
+
* Copyright OpenJS Foundation and other contributors
|
12
12
|
* Released under the MIT license.
|
13
|
-
*
|
13
|
+
* https://jquery.org/license
|
14
14
|
*/
|
15
15
|
|
16
16
|
//>>label: Tooltip
|
17
17
|
//>>group: Widgets
|
18
18
|
//>>description: Shows additional information for any element on hover or focus.
|
19
|
-
//>>docs:
|
20
|
-
//>>demos:
|
19
|
+
//>>docs: https://api.jqueryui.com/tooltip/
|
20
|
+
//>>demos: https://jqueryui.com/tooltip/
|
21
21
|
//>>css.structure: ../../themes/base/core.css
|
22
22
|
//>>css.structure: ../../themes/base/tooltip.css
|
23
23
|
//>>css.theme: ../../themes/base/theme.css
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"use strict";
|
46
46
|
|
47
47
|
$.widget( "ui.tooltip", {
|
48
|
-
version: "1.
|
48
|
+
version: "1.14.1",
|
49
49
|
options: {
|
50
50
|
classes: {
|
51
51
|
"ui-tooltip": "ui-corner-all ui-widget-shadow"
|
@@ -233,25 +233,20 @@ $.widget( "ui.tooltip", {
|
|
233
233
|
|
234
234
|
content = contentOption.call( target[ 0 ], function( response ) {
|
235
235
|
|
236
|
-
//
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
// Ignore async response if tooltip was closed already
|
241
|
-
if ( !target.data( "ui-tooltip-open" ) ) {
|
242
|
-
return;
|
243
|
-
}
|
236
|
+
// Ignore async response if tooltip was closed already
|
237
|
+
if ( !target.data( "ui-tooltip-open" ) ) {
|
238
|
+
return;
|
239
|
+
}
|
244
240
|
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
} );
|
241
|
+
// JQuery creates a special event for focusin when it doesn't
|
242
|
+
// exist natively. To improve performance, the native event
|
243
|
+
// object is reused and the type is changed. Therefore, we can't
|
244
|
+
// rely on the type being correct after the event finished
|
245
|
+
// bubbling, so we set it back to the previous value. (#8740)
|
246
|
+
if ( event ) {
|
247
|
+
event.type = eventType;
|
248
|
+
}
|
249
|
+
that._open( event, target, response );
|
255
250
|
} );
|
256
251
|
if ( content ) {
|
257
252
|
this._open( event, target, content );
|
@@ -358,7 +353,10 @@ $.widget( "ui.tooltip", {
|
|
358
353
|
// tooltips will handle this in destroy.
|
359
354
|
if ( target[ 0 ] !== this.element[ 0 ] ) {
|
360
355
|
events.remove = function() {
|
361
|
-
|
356
|
+
var targetElement = this._find( target );
|
357
|
+
if ( targetElement ) {
|
358
|
+
this._removeTooltip( targetElement.tooltip );
|
359
|
+
}
|
362
360
|
};
|
363
361
|
}
|
364
362
|
|
@@ -508,7 +506,7 @@ $.widget( "ui.tooltip", {
|
|
508
506
|
|
509
507
|
// DEPRECATED
|
510
508
|
// TODO: Switch return back to widget declaration at top of file when this is removed
|
511
|
-
if ( $.uiBackCompat
|
509
|
+
if ( $.uiBackCompat === true ) {
|
512
510
|
|
513
511
|
// Backcompat for tooltipClass option
|
514
512
|
$.widget( "ui.tooltip", $.ui.tooltip, {
|
@@ -1,19 +1,14 @@
|
|
1
|
-
//= require jquery-ui/core
|
2
1
|
//= require jquery-ui/data
|
3
2
|
//= require jquery-ui/disable-selection
|
4
3
|
//= require jquery-ui/effect
|
5
4
|
//= require jquery-ui/focusable
|
6
5
|
//= require jquery-ui/form-reset-mixin
|
7
|
-
//= require jquery-ui/form
|
8
|
-
//= require jquery-ui/ie
|
9
6
|
//= require jquery-ui/jquery-patch
|
10
7
|
//= require jquery-ui/jquery-var-for-color
|
11
8
|
//= require jquery-ui/keycode
|
12
9
|
//= require jquery-ui/labels
|
13
10
|
//= require jquery-ui/plugin
|
14
11
|
//= require jquery-ui/position
|
15
|
-
//= require jquery-ui/safe-active-element
|
16
|
-
//= require jquery-ui/safe-blur
|
17
12
|
//= require jquery-ui/scroll-parent
|
18
13
|
//= require jquery-ui/tabbable
|
19
14
|
//= require jquery-ui/unique-id
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Accordion 1.
|
3
|
-
*
|
2
|
+
* jQuery UI Accordion 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*
|
9
|
-
*
|
9
|
+
* https://api.jqueryui.com/accordion/#theming
|
10
10
|
*/
|
11
11
|
/*
|
12
12
|
*= require jquery-ui/theme
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI CSS Framework 1.
|
3
|
-
*
|
2
|
+
* jQuery UI CSS Framework 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*
|
9
|
-
*
|
9
|
+
* https://api.jqueryui.com/category/theming/
|
10
10
|
*/
|
11
11
|
/*
|
12
12
|
*= require jquery-ui/base
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Autocomplete 1.
|
3
|
-
*
|
2
|
+
* jQuery UI Autocomplete 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*
|
9
|
-
*
|
9
|
+
* https://api.jqueryui.com/autocomplete/#theming
|
10
10
|
*/
|
11
11
|
/*
|
12
12
|
*= require jquery-ui/theme
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI CSS Framework 1.
|
3
|
-
*
|
2
|
+
* jQuery UI CSS Framework 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*
|
9
|
-
*
|
9
|
+
* https://api.jqueryui.com/category/theming/
|
10
10
|
*/
|
11
11
|
/*
|
12
12
|
*= require jquery-ui/core
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Button 1.
|
3
|
-
*
|
2
|
+
* jQuery UI Button 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*
|
9
|
-
*
|
9
|
+
* https://api.jqueryui.com/button/#theming
|
10
10
|
*/
|
11
11
|
/*
|
12
12
|
*= require jquery-ui/theme
|
@@ -21,12 +21,7 @@
|
|
21
21
|
vertical-align: middle;
|
22
22
|
text-align: center;
|
23
23
|
-webkit-user-select: none;
|
24
|
-
-moz-user-select: none;
|
25
|
-
-ms-user-select: none;
|
26
24
|
user-select: none;
|
27
|
-
|
28
|
-
/* Support: IE <= 11 */
|
29
|
-
overflow: visible;
|
30
25
|
}
|
31
26
|
|
32
27
|
.ui-button,
|
@@ -77,7 +72,7 @@ input.ui-button.ui-icon-notext .ui-icon {
|
|
77
72
|
}
|
78
73
|
|
79
74
|
/* workarounds */
|
80
|
-
/* Support: Firefox 5 -
|
75
|
+
/* Support: Firefox 5 - 125+ */
|
81
76
|
input.ui-button::-moz-focus-inner,
|
82
77
|
button.ui-button::-moz-focus-inner {
|
83
78
|
border: 0;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Checkboxradio 1.
|
3
|
-
*
|
2
|
+
* jQuery UI Checkboxradio 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*
|
9
|
-
*
|
9
|
+
* https://api.jqueryui.com/checkboxradio/#theming
|
10
10
|
*/
|
11
11
|
/*
|
12
12
|
*= require jquery-ui/theme
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Controlgroup 1.
|
3
|
-
*
|
2
|
+
* jQuery UI Controlgroup 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*
|
9
|
-
*
|
9
|
+
* https://api.jqueryui.com/controlgroup/#theming
|
10
10
|
*/
|
11
11
|
/*
|
12
12
|
*= require jquery-ui/theme
|
@@ -57,9 +57,6 @@
|
|
57
57
|
|
58
58
|
/* Spinner specific style fixes */
|
59
59
|
.ui-controlgroup-vertical .ui-spinner-input {
|
60
|
-
|
61
|
-
/* Support: IE8 only, Android < 4.4 only */
|
62
|
-
width: 75%;
|
63
60
|
width: calc( 100% - 2.4em );
|
64
61
|
}
|
65
62
|
.ui-controlgroup-vertical .ui-spinner .ui-spinner-up {
|
@@ -1,15 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI CSS Framework 1.
|
3
|
-
*
|
2
|
+
* jQuery UI CSS Framework 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*
|
9
|
-
*
|
10
|
-
*/
|
11
|
-
/*
|
12
|
-
*= require jquery-ui/theme
|
9
|
+
* https://api.jqueryui.com/category/theming/
|
13
10
|
*/
|
14
11
|
|
15
12
|
/* Layout helpers
|
@@ -53,7 +50,6 @@
|
|
53
50
|
left: 0;
|
54
51
|
position: absolute;
|
55
52
|
opacity: 0;
|
56
|
-
-ms-filter: "alpha(opacity=0)"; /* support: IE8 */
|
57
53
|
}
|
58
54
|
|
59
55
|
.ui-front {
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Datepicker 1.
|
3
|
-
*
|
2
|
+
* jQuery UI Datepicker 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*
|
9
|
-
*
|
9
|
+
* https://api.jqueryui.com/datepicker/#theming
|
10
10
|
*/
|
11
11
|
/*
|
12
12
|
*= require jquery-ui/theme
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Dialog 1.
|
3
|
-
*
|
2
|
+
* jQuery UI Dialog 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*
|
9
|
-
*
|
9
|
+
* https://api.jqueryui.com/dialog/#theming
|
10
10
|
*/
|
11
11
|
/*
|
12
12
|
*= require jquery-ui/theme
|
@@ -1,15 +1,14 @@
|
|
1
1
|
/*!
|
2
|
-
* jQuery UI Draggable 1.
|
3
|
-
*
|
2
|
+
* jQuery UI Draggable 1.14.1
|
3
|
+
* https://jqueryui.com
|
4
4
|
*
|
5
|
-
* Copyright
|
5
|
+
* Copyright OpenJS Foundation and other contributors
|
6
6
|
* Released under the MIT license.
|
7
|
-
*
|
7
|
+
* https://jquery.org/license
|
8
8
|
*/
|
9
9
|
/*
|
10
10
|
*= require jquery-ui/theme
|
11
11
|
*/
|
12
12
|
.ui-draggable-handle {
|
13
|
-
-ms-touch-action: none;
|
14
13
|
touch-action: none;
|
15
14
|
}
|