activeadmin 3.2.1 → 3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/README.md +2 -2
- data/app/assets/stylesheets/active_admin/_forms.scss +1 -2
- data/app/assets/stylesheets/active_admin/components/_comments.scss +1 -1
- data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +7 -4
- data/app/assets/stylesheets/active_admin/components/_pagination.scss +5 -2
- data/app/assets/stylesheets/active_admin/components/_table_tools.scss +9 -6
- data/app/assets/stylesheets/active_admin/components/_tabs.scss +10 -7
- data/app/assets/stylesheets/active_admin/mixins/_buttons.scss +2 -2
- data/app/assets/stylesheets/active_admin/pages/_logged_out.scss +1 -1
- data/app/assets/stylesheets/active_admin/structure/_footer.scss +1 -1
- data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +6 -3
- data/lib/active_admin/pundit_adapter.rb +1 -1
- data/lib/active_admin/resource/attributes.rb +8 -1
- data/lib/active_admin/version.rb +1 -1
- data/lib/active_admin/views/components/active_admin_form.rb +1 -1
- data/vendor/assets/javascripts/jquery-ui/data.js +12 -8
- data/vendor/assets/javascripts/jquery-ui/disable-selection.js +10 -7
- data/vendor/assets/javascripts/jquery-ui/focusable.js +12 -9
- data/vendor/assets/javascripts/jquery-ui/form-reset-mixin.js +60 -57
- data/vendor/assets/javascripts/jquery-ui/form.js +15 -12
- data/vendor/assets/javascripts/jquery-ui/ie.js +5 -2
- data/vendor/assets/javascripts/jquery-ui/keycode.js +11 -7
- data/vendor/assets/javascripts/jquery-ui/labels.js +46 -40
- data/vendor/assets/javascripts/jquery-ui/plugin.js +5 -2
- data/vendor/assets/javascripts/jquery-ui/position.js +30 -17
- data/vendor/assets/javascripts/jquery-ui/safe-active-element.js +6 -2
- data/vendor/assets/javascripts/jquery-ui/safe-blur.js +6 -2
- data/vendor/assets/javascripts/jquery-ui/scroll-parent.js +10 -7
- data/vendor/assets/javascripts/jquery-ui/tabbable.js +11 -8
- data/vendor/assets/javascripts/jquery-ui/unique-id.js +10 -7
- data/vendor/assets/javascripts/jquery-ui/version.js +6 -3
- data/vendor/assets/javascripts/jquery-ui/widget.js +53 -30
- data/vendor/assets/javascripts/jquery-ui/widgets/button.js +87 -24
- data/vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js +276 -273
- data/vendor/assets/javascripts/jquery-ui/widgets/controlgroup.js +15 -11
- data/vendor/assets/javascripts/jquery-ui/widgets/datepicker.js +182 -62
- data/vendor/assets/javascripts/jquery-ui/widgets/dialog.js +53 -36
- data/vendor/assets/javascripts/jquery-ui/widgets/draggable.js +28 -19
- data/vendor/assets/javascripts/jquery-ui/widgets/mouse.js +22 -11
- data/vendor/assets/javascripts/jquery-ui/widgets/resizable.js +47 -26
- data/vendor/assets/javascripts/jquery-ui/widgets/sortable.js +186 -125
- data/vendor/assets/javascripts/jquery-ui/widgets/tabs.js +20 -20
- metadata +3 -4
- 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.
|
10
|
-
*
|
8
|
+
* jQuery UI Tabs 1.13.3
|
9
|
+
* https://jqueryui.com
|
11
10
|
*
|
12
|
-
* Copyright
|
11
|
+
* Copyright OpenJS Foundation and other contributors
|
13
12
|
* Released under the MIT license.
|
14
|
-
*
|
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:
|
21
|
-
//>>demos:
|
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.
|
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 (
|
106
|
-
options.disabled = $.
|
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 (
|
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
|
-
$.
|
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 (
|
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 (
|
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
|
-
//
|
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
|
-
//
|
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.
|
4
|
+
version: 3.2.3
|
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: 2024-
|
18
|
+
date: 2024-08-02 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: arbre
|
@@ -481,7 +481,6 @@ files:
|
|
481
481
|
- lib/generators/active_admin/webpacker/webpacker_generator.rb
|
482
482
|
- vendor/assets/javascripts/jquery-ui/data.js
|
483
483
|
- vendor/assets/javascripts/jquery-ui/disable-selection.js
|
484
|
-
- vendor/assets/javascripts/jquery-ui/escape-selector.js
|
485
484
|
- vendor/assets/javascripts/jquery-ui/focusable.js
|
486
485
|
- vendor/assets/javascripts/jquery-ui/form-reset-mixin.js
|
487
486
|
- vendor/assets/javascripts/jquery-ui/form.js
|
@@ -534,7 +533,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
534
533
|
- !ruby/object:Gem::Version
|
535
534
|
version: '0'
|
536
535
|
requirements: []
|
537
|
-
rubygems_version: 3.
|
536
|
+
rubygems_version: 3.5.11
|
538
537
|
signing_key:
|
539
538
|
specification_version: 4
|
540
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
|
-
} ) );
|