activeadmin 3.2.0 → 3.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/lib/active_admin/version.rb +1 -1
  4. data/lib/active_admin/views/components/active_admin_form.rb +1 -1
  5. data/lib/generators/active_admin/install/templates/active_admin.rb.erb +1 -1
  6. data/vendor/assets/javascripts/jquery-ui/data.js +12 -8
  7. data/vendor/assets/javascripts/jquery-ui/disable-selection.js +10 -7
  8. data/vendor/assets/javascripts/jquery-ui/focusable.js +12 -9
  9. data/vendor/assets/javascripts/jquery-ui/form-reset-mixin.js +60 -57
  10. data/vendor/assets/javascripts/jquery-ui/form.js +15 -12
  11. data/vendor/assets/javascripts/jquery-ui/ie.js +5 -2
  12. data/vendor/assets/javascripts/jquery-ui/keycode.js +11 -7
  13. data/vendor/assets/javascripts/jquery-ui/labels.js +46 -40
  14. data/vendor/assets/javascripts/jquery-ui/plugin.js +5 -2
  15. data/vendor/assets/javascripts/jquery-ui/position.js +30 -17
  16. data/vendor/assets/javascripts/jquery-ui/safe-active-element.js +6 -2
  17. data/vendor/assets/javascripts/jquery-ui/safe-blur.js +6 -2
  18. data/vendor/assets/javascripts/jquery-ui/scroll-parent.js +10 -7
  19. data/vendor/assets/javascripts/jquery-ui/tabbable.js +11 -8
  20. data/vendor/assets/javascripts/jquery-ui/unique-id.js +10 -7
  21. data/vendor/assets/javascripts/jquery-ui/version.js +6 -3
  22. data/vendor/assets/javascripts/jquery-ui/widget.js +53 -30
  23. data/vendor/assets/javascripts/jquery-ui/widgets/button.js +87 -24
  24. data/vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js +276 -273
  25. data/vendor/assets/javascripts/jquery-ui/widgets/controlgroup.js +15 -11
  26. data/vendor/assets/javascripts/jquery-ui/widgets/datepicker.js +182 -62
  27. data/vendor/assets/javascripts/jquery-ui/widgets/dialog.js +53 -36
  28. data/vendor/assets/javascripts/jquery-ui/widgets/draggable.js +28 -19
  29. data/vendor/assets/javascripts/jquery-ui/widgets/mouse.js +22 -11
  30. data/vendor/assets/javascripts/jquery-ui/widgets/resizable.js +47 -26
  31. data/vendor/assets/javascripts/jquery-ui/widgets/sortable.js +186 -125
  32. data/vendor/assets/javascripts/jquery-ui/widgets/tabs.js +20 -20
  33. metadata +17 -4
  34. data/vendor/assets/javascripts/jquery-ui/escape-selector.js +0 -23
@@ -1,4 +1,3 @@
1
- //= require jquery-ui/escape-selector
2
1
  //= require jquery-ui/keycode
3
2
  //= require jquery-ui/safe-active-element
4
3
  //= require jquery-ui/unique-id
@@ -6,30 +5,31 @@
6
5
  //= require jquery-ui/widget
7
6
 
8
7
  /*!
9
- * jQuery UI Tabs 1.12.1
10
- * http://jqueryui.com
8
+ * jQuery UI Tabs 1.13.3
9
+ * https://jqueryui.com
11
10
  *
12
- * Copyright jQuery Foundation and other contributors
11
+ * Copyright OpenJS Foundation and other contributors
13
12
  * Released under the MIT license.
14
- * http://jquery.org/license
13
+ * https://jquery.org/license
15
14
  */
16
15
 
17
16
  //>>label: Tabs
18
17
  //>>group: Widgets
19
18
  //>>description: Transforms a set of container elements into a tab structure.
20
- //>>docs: http://api.jqueryui.com/tabs/
21
- //>>demos: http://jqueryui.com/tabs/
19
+ //>>docs: https://api.jqueryui.com/tabs/
20
+ //>>demos: https://jqueryui.com/tabs/
22
21
  //>>css.structure: ../../themes/base/core.css
23
22
  //>>css.structure: ../../themes/base/tabs.css
24
23
  //>>css.theme: ../../themes/base/theme.css
25
24
 
26
25
  ( function( factory ) {
26
+ "use strict";
27
+
27
28
  if ( typeof define === "function" && define.amd ) {
28
29
 
29
30
  // AMD. Register as an anonymous module.
30
31
  define( [
31
32
  "jquery",
32
- "../escape-selector",
33
33
  "../keycode",
34
34
  "../safe-active-element",
35
35
  "../unique-id",
@@ -41,10 +41,11 @@
41
41
  // Browser globals
42
42
  factory( jQuery );
43
43
  }
44
- }( function( $ ) {
44
+ } )( function( $ ) {
45
+ "use strict";
45
46
 
46
47
  $.widget( "ui.tabs", {
47
- version: "1.12.1",
48
+ version: "1.13.3",
48
49
  delay: 300,
49
50
  options: {
50
51
  active: null,
@@ -102,8 +103,8 @@ $.widget( "ui.tabs", {
102
103
 
103
104
  // Take disabling tabs via class attribute from HTML
104
105
  // into account and update option properly.
105
- if ( $.isArray( options.disabled ) ) {
106
- options.disabled = $.unique( options.disabled.concat(
106
+ if ( Array.isArray( options.disabled ) ) {
107
+ options.disabled = $.uniqueSort( options.disabled.concat(
107
108
  $.map( this.tabs.filter( ".ui-state-disabled" ), function( li ) {
108
109
  return that.tabs.index( li );
109
110
  } )
@@ -438,7 +439,6 @@ $.widget( "ui.tabs", {
438
439
  return $( "a", this )[ 0 ];
439
440
  } )
440
441
  .attr( {
441
- role: "presentation",
442
442
  tabIndex: -1
443
443
  } );
444
444
  this._addClass( this.anchors, "ui-tabs-anchor" );
@@ -510,7 +510,7 @@ $.widget( "ui.tabs", {
510
510
  _setOptionDisabled: function( disabled ) {
511
511
  var currentItem, li, i;
512
512
 
513
- if ( $.isArray( disabled ) ) {
513
+ if ( Array.isArray( disabled ) ) {
514
514
  if ( !disabled.length ) {
515
515
  disabled = false;
516
516
  } else if ( disabled.length === this.anchors.length ) {
@@ -741,7 +741,7 @@ $.widget( "ui.tabs", {
741
741
  // meta-function to give users option to provide a href string instead of a numerical index.
742
742
  if ( typeof index === "string" ) {
743
743
  index = this.anchors.index( this.anchors.filter( "[href$='" +
744
- $.ui.escapeSelector( index ) + "']" ) );
744
+ $.escapeSelector( index ) + "']" ) );
745
745
  }
746
746
 
747
747
  return index;
@@ -798,7 +798,7 @@ $.widget( "ui.tabs", {
798
798
  disabled = false;
799
799
  } else {
800
800
  index = this._getIndex( index );
801
- if ( $.isArray( disabled ) ) {
801
+ if ( Array.isArray( disabled ) ) {
802
802
  disabled = $.map( disabled, function( num ) {
803
803
  return num !== index ? num : null;
804
804
  } );
@@ -824,7 +824,7 @@ $.widget( "ui.tabs", {
824
824
  if ( $.inArray( index, disabled ) !== -1 ) {
825
825
  return;
826
826
  }
827
- if ( $.isArray( disabled ) ) {
827
+ if ( Array.isArray( disabled ) ) {
828
828
  disabled = $.merge( [ index ], disabled ).sort();
829
829
  } else {
830
830
  disabled = [ index ];
@@ -874,7 +874,7 @@ $.widget( "ui.tabs", {
874
874
  .done( function( response, status, jqXHR ) {
875
875
 
876
876
  // support: jQuery <1.8
877
- // http://bugs.jquery.com/ticket/11778
877
+ // https://bugs.jquery.com/ticket/11778
878
878
  setTimeout( function() {
879
879
  panel.html( response );
880
880
  that._trigger( "load", event, eventData );
@@ -885,7 +885,7 @@ $.widget( "ui.tabs", {
885
885
  .fail( function( jqXHR, status ) {
886
886
 
887
887
  // support: jQuery <1.8
888
- // http://bugs.jquery.com/ticket/11778
888
+ // https://bugs.jquery.com/ticket/11778
889
889
  setTimeout( function() {
890
890
  complete( jqXHR, status );
891
891
  }, 1 );
@@ -928,4 +928,4 @@ if ( $.uiBackCompat !== false ) {
928
928
 
929
929
  return $.ui.tabs;
930
930
 
931
- } ) );
931
+ } );
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Maresh
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2023-12-11 00:00:00.000000000 Z
18
+ date: 2024-05-31 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: arbre
@@ -37,6 +37,20 @@ dependencies:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: 1.2.1
40
+ - !ruby/object:Gem::Dependency
41
+ name: csv
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
40
54
  - !ruby/object:Gem::Dependency
41
55
  name: formtastic
42
56
  requirement: !ruby/object:Gem::Requirement
@@ -467,7 +481,6 @@ files:
467
481
  - lib/generators/active_admin/webpacker/webpacker_generator.rb
468
482
  - vendor/assets/javascripts/jquery-ui/data.js
469
483
  - vendor/assets/javascripts/jquery-ui/disable-selection.js
470
- - vendor/assets/javascripts/jquery-ui/escape-selector.js
471
484
  - vendor/assets/javascripts/jquery-ui/focusable.js
472
485
  - vendor/assets/javascripts/jquery-ui/form-reset-mixin.js
473
486
  - vendor/assets/javascripts/jquery-ui/form.js
@@ -520,7 +533,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
520
533
  - !ruby/object:Gem::Version
521
534
  version: '0'
522
535
  requirements: []
523
- rubygems_version: 3.4.21
536
+ rubygems_version: 3.5.11
524
537
  signing_key:
525
538
  specification_version: 4
526
539
  summary: Active Admin is a Ruby on Rails plugin for generating administration style
@@ -1,23 +0,0 @@
1
- //= require jquery-ui/version
2
-
3
- ( function( factory ) {
4
- if ( typeof define === "function" && define.amd ) {
5
-
6
- // AMD. Register as an anonymous module.
7
- define( [ "jquery", "./version" ], factory );
8
- } else {
9
-
10
- // Browser globals
11
- factory( jQuery );
12
- }
13
- } ( function( $ ) {
14
-
15
- // Internal use only
16
- return $.ui.escapeSelector = ( function() {
17
- var selectorEscape = /([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;
18
- return function( selector ) {
19
- return selector.replace( selectorEscape, "\\$1" );
20
- };
21
- } )();
22
-
23
- } ) );