jquery-ui-rails 6.0.1 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +5 -5
  2. data/.gitmodules +1 -1
  3. data/History.md +7 -2
  4. data/README.md +12 -12
  5. data/Rakefile +8 -3
  6. data/VERSIONS.md +1 -0
  7. data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
  8. data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
  9. data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
  10. data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
  11. data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
  12. data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
  13. data/app/assets/javascripts/jquery-ui/core.js +1 -1
  14. data/app/assets/javascripts/jquery-ui/data.js +8 -4
  15. data/app/assets/javascripts/jquery-ui/disable-selection.js +6 -3
  16. data/app/assets/javascripts/jquery-ui/effect.js +55 -717
  17. data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +6 -3
  18. data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +6 -3
  19. data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +6 -3
  20. data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +6 -3
  21. data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +8 -5
  22. data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +6 -3
  23. data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +6 -3
  24. data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +6 -3
  25. data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +6 -3
  26. data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +6 -3
  27. data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +6 -3
  28. data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +6 -3
  29. data/app/assets/javascripts/jquery-ui/effects/effect-size.js +8 -3
  30. data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +6 -3
  31. data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +6 -3
  32. data/app/assets/javascripts/jquery-ui/focusable.js +8 -5
  33. data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +7 -4
  34. data/app/assets/javascripts/jquery-ui/form.js +6 -3
  35. data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +8 -5
  36. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +6 -3
  37. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +5 -2
  38. data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +12 -9
  39. data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +12 -9
  40. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +12 -9
  41. data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +12 -9
  42. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +12 -9
  43. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +10 -7
  44. data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +8 -5
  45. data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +13 -10
  46. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +41 -0
  47. data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +12 -9
  48. data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +12 -9
  49. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +8 -5
  50. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +8 -5
  51. data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +8 -5
  52. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +12 -9
  53. data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +12 -9
  54. data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +8 -5
  55. data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +12 -9
  56. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +6 -3
  57. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +12 -9
  58. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +11 -8
  59. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +5 -2
  60. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +5 -2
  61. data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +6 -3
  62. data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +12 -9
  63. data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +12 -9
  64. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +7 -4
  65. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +12 -9
  66. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +9 -6
  67. data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +12 -9
  68. data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +12 -9
  69. data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +11 -8
  70. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +12 -9
  71. data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +12 -9
  72. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +12 -9
  73. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +9 -6
  74. data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +12 -9
  75. data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +9 -6
  76. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +12 -9
  77. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +10 -7
  78. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +8 -5
  79. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +11 -8
  80. data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +11 -8
  81. data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +12 -9
  82. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +8 -5
  83. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +12 -9
  84. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +9 -6
  85. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +5 -2
  86. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +5 -2
  87. data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +9 -6
  88. data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +9 -6
  89. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +12 -9
  90. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +11 -8
  91. data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +12 -9
  92. data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +8 -5
  93. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +8 -5
  94. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +12 -9
  95. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +12 -9
  96. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +12 -9
  97. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +12 -9
  98. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +12 -9
  99. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +12 -9
  100. data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +12 -9
  101. data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +10 -7
  102. data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +12 -9
  103. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +12 -9
  104. data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +12 -9
  105. data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +12 -9
  106. data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +5 -2
  107. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +12 -9
  108. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +12 -9
  109. data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +15 -12
  110. data/app/assets/javascripts/jquery-ui/ie.js +5 -2
  111. data/app/assets/javascripts/jquery-ui/jquery-patch.js +91 -0
  112. data/app/assets/javascripts/jquery-ui/jquery-var-for-color.js +24 -0
  113. data/app/assets/javascripts/jquery-ui/keycode.js +7 -3
  114. data/app/assets/javascripts/jquery-ui/labels.js +12 -6
  115. data/app/assets/javascripts/jquery-ui/plugin.js +5 -2
  116. data/app/assets/javascripts/jquery-ui/position.js +24 -11
  117. data/app/assets/javascripts/jquery-ui/safe-active-element.js +6 -2
  118. data/app/assets/javascripts/jquery-ui/safe-blur.js +6 -2
  119. data/app/assets/javascripts/jquery-ui/scroll-parent.js +6 -3
  120. data/app/assets/javascripts/jquery-ui/tabbable.js +7 -4
  121. data/app/assets/javascripts/jquery-ui/unique-id.js +6 -3
  122. data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +722 -0
  123. data/app/assets/javascripts/jquery-ui/version.js +6 -3
  124. data/app/assets/javascripts/jquery-ui/widget.js +43 -24
  125. data/app/assets/javascripts/jquery-ui/widgets/accordion.js +17 -8
  126. data/app/assets/javascripts/jquery-ui/widgets/autocomplete.js +23 -32
  127. data/app/assets/javascripts/jquery-ui/widgets/button.js +82 -19
  128. data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +9 -11
  129. data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +10 -6
  130. data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +176 -56
  131. data/app/assets/javascripts/jquery-ui/widgets/dialog.js +45 -31
  132. data/app/assets/javascripts/jquery-ui/widgets/draggable.js +22 -13
  133. data/app/assets/javascripts/jquery-ui/widgets/droppable.js +19 -13
  134. data/app/assets/javascripts/jquery-ui/widgets/menu.js +83 -43
  135. data/app/assets/javascripts/jquery-ui/widgets/mouse.js +18 -7
  136. data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +9 -6
  137. data/app/assets/javascripts/jquery-ui/widgets/resizable.js +36 -18
  138. data/app/assets/javascripts/jquery-ui/widgets/selectable.js +13 -6
  139. data/app/assets/javascripts/jquery-ui/widgets/selectmenu.js +15 -10
  140. data/app/assets/javascripts/jquery-ui/widgets/slider.js +10 -7
  141. data/app/assets/javascripts/jquery-ui/widgets/sortable.js +221 -159
  142. data/app/assets/javascripts/jquery-ui/widgets/spinner.js +20 -13
  143. data/app/assets/javascripts/jquery-ui/widgets/tabs.js +13 -13
  144. data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +15 -11
  145. data/app/assets/javascripts/jquery-ui.js +3 -2
  146. data/app/assets/stylesheets/jquery-ui/accordion.css +1 -1
  147. data/app/assets/stylesheets/jquery-ui/all.css +1 -1
  148. data/app/assets/stylesheets/jquery-ui/autocomplete.css +1 -1
  149. data/app/assets/stylesheets/jquery-ui/base.css +1 -1
  150. data/app/assets/stylesheets/jquery-ui/button.css +1 -1
  151. data/app/assets/stylesheets/jquery-ui/checkboxradio.css +1 -1
  152. data/app/assets/stylesheets/jquery-ui/controlgroup.css +1 -1
  153. data/app/assets/stylesheets/jquery-ui/core.css +2 -2
  154. data/app/assets/stylesheets/jquery-ui/datepicker.css +1 -1
  155. data/app/assets/stylesheets/jquery-ui/dialog.css +1 -1
  156. data/app/assets/stylesheets/jquery-ui/draggable.css +1 -1
  157. data/app/assets/stylesheets/jquery-ui/menu.css +1 -1
  158. data/app/assets/stylesheets/jquery-ui/progressbar.css +2 -2
  159. data/app/assets/stylesheets/jquery-ui/resizable.css +1 -1
  160. data/app/assets/stylesheets/jquery-ui/selectable.css +1 -1
  161. data/app/assets/stylesheets/jquery-ui/selectmenu.css +1 -1
  162. data/app/assets/stylesheets/jquery-ui/slider.css +2 -2
  163. data/app/assets/stylesheets/jquery-ui/sortable.css +1 -1
  164. data/app/assets/stylesheets/jquery-ui/spinner.css +1 -1
  165. data/app/assets/stylesheets/jquery-ui/tabs.css +1 -1
  166. data/app/assets/stylesheets/jquery-ui/theme.css.erb +9 -6
  167. data/app/assets/stylesheets/jquery-ui/tooltip.css +1 -1
  168. data/lib/jquery/ui/rails/version.rb +2 -2
  169. metadata +8 -7
  170. data/app/assets/javascripts/jquery-ui/escape-selector.js +0 -23
  171. data/app/assets/javascripts/jquery-ui/jquery-1-7.js +0 -91
@@ -1,6 +1,8 @@
1
1
  /* Chinese initialisation for the jQuery UI date picker plugin. */
2
2
  /* Written by Ressol (ressol@gmail.com). */
3
3
  ( function( factory ) {
4
+ "use strict";
5
+
4
6
  if ( typeof define === "function" && define.amd ) {
5
7
 
6
8
  // AMD. Register as an anonymous module.
@@ -10,21 +12,22 @@
10
12
  // Browser globals
11
13
  factory( jQuery.datepicker );
12
14
  }
13
- }( function( datepicker ) {
15
+ } )( function( datepicker ) {
16
+ "use strict";
14
17
 
15
18
  datepicker.regional[ "zh-TW" ] = {
16
19
  closeText: "關閉",
17
- prevText: "<上月",
18
- nextText: "下月>",
20
+ prevText: "<上個月",
21
+ nextText: "下個月>",
19
22
  currentText: "今天",
20
- monthNames: [ "一月","二月","三月","四月","五月","六月",
21
- "七月","八月","九月","十月","十一月","十二月" ],
22
- monthNamesShort: [ "一月","二月","三月","四月","五月","六月",
23
- "七月","八月","九月","十月","十一月","十二月" ],
24
- dayNames: [ "星期日","星期一","星期二","星期三","星期四","星期五","星期六" ],
25
- dayNamesShort: [ "周日","周一","周二","周三","周四","周五","周六" ],
26
- dayNamesMin: [ "日","一","二","三","四","五","六" ],
27
- weekHeader: "",
23
+ monthNames: [ "一月", "二月", "三月", "四月", "五月", "六月",
24
+ "七月", "八月", "九月", "十月", "十一月", "十二月" ],
25
+ monthNamesShort: [ "一月", "二月", "三月", "四月", "五月", "六月",
26
+ "七月", "八月", "九月", "十月", "十一月", "十二月" ],
27
+ dayNames: [ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" ],
28
+ dayNamesShort: [ "週日", "週一", "週二", "週三", "週四", "週五", "週六" ],
29
+ dayNamesMin: [ "日", "一", "二", "三", "四", "五", "六" ],
30
+ weekHeader: "",
28
31
  dateFormat: "yy/mm/dd",
29
32
  firstDay: 1,
30
33
  isRTL: false,
@@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "zh-TW" ] );
34
37
 
35
38
  return datepicker.regional[ "zh-TW" ];
36
39
 
37
- } ) );
40
+ } );
@@ -1,6 +1,8 @@
1
1
  //= require jquery-ui/version
2
2
 
3
3
  ( function( factory ) {
4
+ "use strict";
5
+
4
6
  if ( typeof define === "function" && define.amd ) {
5
7
 
6
8
  // AMD. Register as an anonymous module.
@@ -10,8 +12,9 @@
10
12
  // Browser globals
11
13
  factory( jQuery );
12
14
  }
13
- } ( function( $ ) {
15
+ } )( function( $ ) {
16
+ "use strict";
14
17
 
15
18
  // This file is deprecated
16
19
  return $.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );
17
- } ) );
20
+ } );
@@ -0,0 +1,91 @@
1
+ //= require jquery-ui/version
2
+
3
+ /*!
4
+ * jQuery UI Support for jQuery core 1.8.x and newer 1.13.0
5
+ * http://jqueryui.com
6
+ *
7
+ * Copyright jQuery Foundation and other contributors
8
+ * Released under the MIT license.
9
+ * http://jquery.org/license
10
+ *
11
+ */
12
+
13
+ //>>label: jQuery 1.8+ Support
14
+ //>>group: Core
15
+ //>>description: Support version 1.8.x and newer of jQuery core
16
+
17
+ ( function( factory ) {
18
+ "use strict";
19
+
20
+ if ( typeof define === "function" && define.amd ) {
21
+
22
+ // AMD. Register as an anonymous module.
23
+ define( [ "jquery", "./version" ], factory );
24
+ } else {
25
+
26
+ // Browser globals
27
+ factory( jQuery );
28
+ }
29
+ } )( function( $ ) {
30
+ "use strict";
31
+
32
+ // Support: jQuery 1.9.x or older
33
+ // $.expr[ ":" ] is deprecated.
34
+ if ( !$.expr.pseudos ) {
35
+ $.expr.pseudos = $.expr[ ":" ];
36
+ }
37
+
38
+ // Support: jQuery 1.11.x or older
39
+ // $.unique has been renamed to $.uniqueSort
40
+ if ( !$.uniqueSort ) {
41
+ $.uniqueSort = $.unique;
42
+ }
43
+
44
+ // Support: jQuery 2.2.x or older.
45
+ // This method has been defined in jQuery 3.0.0.
46
+ // Code from https://github.com/jquery/jquery/blob/e539bac79e666bba95bba86d690b4e609dca2286/src/selector/escapeSelector.js
47
+ if ( !$.escapeSelector ) {
48
+
49
+ // CSS string/identifier serialization
50
+ // https://drafts.csswg.org/cssom/#common-serializing-idioms
51
+ var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
52
+
53
+ var fcssescape = function( ch, asCodePoint ) {
54
+ if ( asCodePoint ) {
55
+
56
+ // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
57
+ if ( ch === "\0" ) {
58
+ return "\uFFFD";
59
+ }
60
+
61
+ // Control characters and (dependent upon position) numbers get escaped as code points
62
+ return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
63
+ }
64
+
65
+ // Other potentially-special ASCII characters get backslash-escaped
66
+ return "\\" + ch;
67
+ };
68
+
69
+ $.escapeSelector = function( sel ) {
70
+ return ( sel + "" ).replace( rcssescape, fcssescape );
71
+ };
72
+ }
73
+
74
+ // Support: jQuery 3.4.x or older
75
+ // These methods have been defined in jQuery 3.5.0.
76
+ if ( !$.fn.even || !$.fn.odd ) {
77
+ $.fn.extend( {
78
+ even: function() {
79
+ return this.filter( function( i ) {
80
+ return i % 2 === 0;
81
+ } );
82
+ },
83
+ odd: function() {
84
+ return this.filter( function( i ) {
85
+ return i % 2 === 1;
86
+ } );
87
+ }
88
+ } );
89
+ }
90
+
91
+ } );
@@ -0,0 +1,24 @@
1
+ //= require jquery-ui/version
2
+
3
+ ( function( factory ) {
4
+ "use strict";
5
+
6
+ if ( typeof define === "function" && define.amd ) {
7
+
8
+ // AMD. Register as an anonymous module.
9
+ define( [ "jquery", "./version" ], factory );
10
+ } else {
11
+
12
+ // Browser globals
13
+ factory( jQuery );
14
+ }
15
+ } )( function( $ ) {
16
+ "use strict";
17
+
18
+ // Create a local jQuery because jQuery Color relies on it and the
19
+ // global may not exist with AMD and a custom build (#10199).
20
+ // This module is a noop if used as a regular AMD module.
21
+ // eslint-disable-next-line no-unused-vars
22
+ var jQuery = $;
23
+
24
+ } );
@@ -1,7 +1,7 @@
1
1
  //= require jquery-ui/version
2
2
 
3
3
  /*!
4
- * jQuery UI Keycode 1.12.1
4
+ * jQuery UI Keycode 1.13.0
5
5
  * http://jqueryui.com
6
6
  *
7
7
  * Copyright jQuery Foundation and other contributors
@@ -15,6 +15,8 @@
15
15
  //>>docs: http://api.jqueryui.com/jQuery.ui.keyCode/
16
16
 
17
17
  ( function( factory ) {
18
+ "use strict";
19
+
18
20
  if ( typeof define === "function" && define.amd ) {
19
21
 
20
22
  // AMD. Register as an anonymous module.
@@ -24,7 +26,9 @@
24
26
  // Browser globals
25
27
  factory( jQuery );
26
28
  }
27
- } ( function( $ ) {
29
+ } )( function( $ ) {
30
+ "use strict";
31
+
28
32
  return $.ui.keyCode = {
29
33
  BACKSPACE: 8,
30
34
  COMMA: 188,
@@ -44,4 +48,4 @@ return $.ui.keyCode = {
44
48
  UP: 38
45
49
  };
46
50
 
47
- } ) );
51
+ } );
@@ -1,8 +1,7 @@
1
1
  //= require jquery-ui/version
2
- //= require jquery-ui/escape-selector
3
2
 
4
3
  /*!
5
- * jQuery UI Labels 1.12.1
4
+ * jQuery UI Labels 1.13.0
6
5
  * http://jqueryui.com
7
6
  *
8
7
  * Copyright jQuery Foundation and other contributors
@@ -16,20 +15,27 @@
16
15
  //>>docs: http://api.jqueryui.com/labels/
17
16
 
18
17
  ( function( factory ) {
18
+ "use strict";
19
+
19
20
  if ( typeof define === "function" && define.amd ) {
20
21
 
21
22
  // AMD. Register as an anonymous module.
22
- define( [ "jquery", "./version", "./escape-selector" ], factory );
23
+ define( [ "jquery", "./version" ], factory );
23
24
  } else {
24
25
 
25
26
  // Browser globals
26
27
  factory( jQuery );
27
28
  }
28
- } ( function( $ ) {
29
+ } )( function( $ ) {
30
+ "use strict";
29
31
 
30
32
  return $.fn.labels = function() {
31
33
  var ancestor, selector, id, labels, ancestors;
32
34
 
35
+ if ( !this.length ) {
36
+ return this.pushStack( [] );
37
+ }
38
+
33
39
  // Check control.labels first
34
40
  if ( this[ 0 ].labels && this[ 0 ].labels.length ) {
35
41
  return this.pushStack( this[ 0 ].labels );
@@ -52,7 +58,7 @@ return $.fn.labels = function() {
52
58
  ancestors = ancestor.add( ancestor.length ? ancestor.siblings() : this.siblings() );
53
59
 
54
60
  // Create a selector for the label based on the id
55
- selector = "label[for='" + $.ui.escapeSelector( id ) + "']";
61
+ selector = "label[for='" + $.escapeSelector( id ) + "']";
56
62
 
57
63
  labels = labels.add( ancestors.find( selector ).addBack( selector ) );
58
64
 
@@ -62,4 +68,4 @@ return $.fn.labels = function() {
62
68
  return this.pushStack( labels );
63
69
  };
64
70
 
65
- } ) );
71
+ } );
@@ -1,6 +1,8 @@
1
1
  //= require jquery-ui/version
2
2
 
3
3
  ( function( factory ) {
4
+ "use strict";
5
+
4
6
  if ( typeof define === "function" && define.amd ) {
5
7
 
6
8
  // AMD. Register as an anonymous module.
@@ -10,7 +12,8 @@
10
12
  // Browser globals
11
13
  factory( jQuery );
12
14
  }
13
- } ( function( $ ) {
15
+ } )( function( $ ) {
16
+ "use strict";
14
17
 
15
18
  // $.ui.plugin is deprecated. Use $.widget() extensions instead.
16
19
  return $.ui.plugin = {
@@ -43,4 +46,4 @@ return $.ui.plugin = {
43
46
  }
44
47
  };
45
48
 
46
- } ) );
49
+ } );
@@ -1,7 +1,7 @@
1
1
  //= require jquery-ui/version
2
2
 
3
3
  /*!
4
- * jQuery UI Position 1.12.1
4
+ * jQuery UI Position 1.13.0
5
5
  * http://jqueryui.com
6
6
  *
7
7
  * Copyright jQuery Foundation and other contributors
@@ -18,6 +18,8 @@
18
18
  //>>demos: http://jqueryui.com/position/
19
19
 
20
20
  ( function( factory ) {
21
+ "use strict";
22
+
21
23
  if ( typeof define === "function" && define.amd ) {
22
24
 
23
25
  // AMD. Register as an anonymous module.
@@ -27,7 +29,9 @@
27
29
  // Browser globals
28
30
  factory( jQuery );
29
31
  }
30
- }( function( $ ) {
32
+ } )( function( $ ) {
33
+ "use strict";
34
+
31
35
  ( function() {
32
36
  var cachedScrollbarWidth,
33
37
  max = Math.max,
@@ -50,6 +54,10 @@ function parseCss( element, property ) {
50
54
  return parseInt( $.css( element, property ), 10 ) || 0;
51
55
  }
52
56
 
57
+ function isWindow( obj ) {
58
+ return obj != null && obj === obj.window;
59
+ }
60
+
53
61
  function getDimensions( elem ) {
54
62
  var raw = elem[ 0 ];
55
63
  if ( raw.nodeType === 9 ) {
@@ -59,7 +67,7 @@ function getDimensions( elem ) {
59
67
  offset: { top: 0, left: 0 }
60
68
  };
61
69
  }
62
- if ( $.isWindow( raw ) ) {
70
+ if ( isWindow( raw ) ) {
63
71
  return {
64
72
  width: elem.width(),
65
73
  height: elem.height(),
@@ -86,9 +94,9 @@ $.position = {
86
94
  return cachedScrollbarWidth;
87
95
  }
88
96
  var w1, w2,
89
- div = $( "<div " +
90
- "style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>" +
91
- "<div style='height:100px;width:auto;'></div></div>" ),
97
+ div = $( "<div style=" +
98
+ "'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>" +
99
+ "<div style='height:300px;width:auto;'></div></div>" ),
92
100
  innerDiv = div.children()[ 0 ];
93
101
 
94
102
  $( "body" ).append( div );
@@ -121,12 +129,12 @@ $.position = {
121
129
  },
122
130
  getWithinInfo: function( element ) {
123
131
  var withinElement = $( element || window ),
124
- isWindow = $.isWindow( withinElement[ 0 ] ),
132
+ isElemWindow = isWindow( withinElement[ 0 ] ),
125
133
  isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9,
126
- hasOffset = !isWindow && !isDocument;
134
+ hasOffset = !isElemWindow && !isDocument;
127
135
  return {
128
136
  element: withinElement,
129
- isWindow: isWindow,
137
+ isWindow: isElemWindow,
130
138
  isDocument: isDocument,
131
139
  offset: hasOffset ? $( element ).offset() : { left: 0, top: 0 },
132
140
  scrollLeft: withinElement.scrollLeft(),
@@ -146,7 +154,12 @@ $.fn.position = function( options ) {
146
154
  options = $.extend( {}, options );
147
155
 
148
156
  var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
149
- target = $( options.of ),
157
+
158
+ // Make sure string options are treated as CSS selectors
159
+ target = typeof options.of === "string" ?
160
+ $( document ).find( options.of ) :
161
+ $( options.of ),
162
+
150
163
  within = $.position.getWithinInfo( options.within ),
151
164
  scrollInfo = $.position.getScrollInfo( within ),
152
165
  collision = ( options.collision || "flip" ).split( " " ),
@@ -497,4 +510,4 @@ $.ui.position = {
497
510
 
498
511
  return $.ui.position;
499
512
 
500
- } ) );
513
+ } );
@@ -1,6 +1,8 @@
1
1
  //= require jquery-ui/version
2
2
 
3
3
  ( function( factory ) {
4
+ "use strict";
5
+
4
6
  if ( typeof define === "function" && define.amd ) {
5
7
 
6
8
  // AMD. Register as an anonymous module.
@@ -10,7 +12,9 @@
10
12
  // Browser globals
11
13
  factory( jQuery );
12
14
  }
13
- } ( function( $ ) {
15
+ } )( function( $ ) {
16
+ "use strict";
17
+
14
18
  return $.ui.safeActiveElement = function( document ) {
15
19
  var activeElement;
16
20
 
@@ -39,4 +43,4 @@ return $.ui.safeActiveElement = function( document ) {
39
43
  return activeElement;
40
44
  };
41
45
 
42
- } ) );
46
+ } );
@@ -1,6 +1,8 @@
1
1
  //= require jquery-ui/version
2
2
 
3
3
  ( function( factory ) {
4
+ "use strict";
5
+
4
6
  if ( typeof define === "function" && define.amd ) {
5
7
 
6
8
  // AMD. Register as an anonymous module.
@@ -10,7 +12,9 @@
10
12
  // Browser globals
11
13
  factory( jQuery );
12
14
  }
13
- } ( function( $ ) {
15
+ } )( function( $ ) {
16
+ "use strict";
17
+
14
18
  return $.ui.safeBlur = function( element ) {
15
19
 
16
20
  // Support: IE9 - 10 only
@@ -20,4 +24,4 @@ return $.ui.safeBlur = function( element ) {
20
24
  }
21
25
  };
22
26
 
23
- } ) );
27
+ } );
@@ -1,7 +1,7 @@
1
1
  //= require jquery-ui/version
2
2
 
3
3
  /*!
4
- * jQuery UI Scroll Parent 1.12.1
4
+ * jQuery UI Scroll Parent 1.13.0
5
5
  * http://jqueryui.com
6
6
  *
7
7
  * Copyright jQuery Foundation and other contributors
@@ -15,6 +15,8 @@
15
15
  //>>docs: http://api.jqueryui.com/scrollParent/
16
16
 
17
17
  ( function( factory ) {
18
+ "use strict";
19
+
18
20
  if ( typeof define === "function" && define.amd ) {
19
21
 
20
22
  // AMD. Register as an anonymous module.
@@ -24,7 +26,8 @@
24
26
  // Browser globals
25
27
  factory( jQuery );
26
28
  }
27
- } ( function( $ ) {
29
+ } )( function( $ ) {
30
+ "use strict";
28
31
 
29
32
  return $.fn.scrollParent = function( includeHidden ) {
30
33
  var position = this.css( "position" ),
@@ -44,4 +47,4 @@ return $.fn.scrollParent = function( includeHidden ) {
44
47
  scrollParent;
45
48
  };
46
49
 
47
- } ) );
50
+ } );
@@ -2,7 +2,7 @@
2
2
  //= require jquery-ui/focusable
3
3
 
4
4
  /*!
5
- * jQuery UI Tabbable 1.12.1
5
+ * jQuery UI Tabbable 1.13.0
6
6
  * http://jqueryui.com
7
7
  *
8
8
  * Copyright jQuery Foundation and other contributors
@@ -16,6 +16,8 @@
16
16
  //>>docs: http://api.jqueryui.com/tabbable-selector/
17
17
 
18
18
  ( function( factory ) {
19
+ "use strict";
20
+
19
21
  if ( typeof define === "function" && define.amd ) {
20
22
 
21
23
  // AMD. Register as an anonymous module.
@@ -25,9 +27,10 @@
25
27
  // Browser globals
26
28
  factory( jQuery );
27
29
  }
28
- } ( function( $ ) {
30
+ } )( function( $ ) {
31
+ "use strict";
29
32
 
30
- return $.extend( $.expr[ ":" ], {
33
+ return $.extend( $.expr.pseudos, {
31
34
  tabbable: function( element ) {
32
35
  var tabIndex = $.attr( element, "tabindex" ),
33
36
  hasTabindex = tabIndex != null;
@@ -35,4 +38,4 @@ return $.extend( $.expr[ ":" ], {
35
38
  }
36
39
  } );
37
40
 
38
- } ) );
41
+ } );
@@ -1,7 +1,7 @@
1
1
  //= require jquery-ui/version
2
2
 
3
3
  /*!
4
- * jQuery UI Unique ID 1.12.1
4
+ * jQuery UI Unique ID 1.13.0
5
5
  * http://jqueryui.com
6
6
  *
7
7
  * Copyright jQuery Foundation and other contributors
@@ -15,6 +15,8 @@
15
15
  //>>docs: http://api.jqueryui.com/uniqueId/
16
16
 
17
17
  ( function( factory ) {
18
+ "use strict";
19
+
18
20
  if ( typeof define === "function" && define.amd ) {
19
21
 
20
22
  // AMD. Register as an anonymous module.
@@ -24,7 +26,8 @@
24
26
  // Browser globals
25
27
  factory( jQuery );
26
28
  }
27
- } ( function( $ ) {
29
+ } )( function( $ ) {
30
+ "use strict";
28
31
 
29
32
  return $.fn.extend( {
30
33
  uniqueId: ( function() {
@@ -48,4 +51,4 @@ return $.fn.extend( {
48
51
  }
49
52
  } );
50
53
 
51
- } ) );
54
+ } );