avo 1.24.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +6 -4
- data/app/components/avo/base_component.rb +28 -0
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +1 -1
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.rb +10 -2
- data/app/components/avo/index/ordering/base_component.rb +1 -1
- data/app/components/avo/index/ordering/button_component.html.erb +1 -0
- data/app/components/avo/index/ordering/button_component.rb +11 -5
- data/app/components/avo/index/ordering/buttons_component.html.erb +14 -12
- data/app/components/avo/index/ordering/buttons_component.rb +30 -4
- data/app/components/avo/index/resource_controls_component.html.erb +1 -3
- data/app/components/avo/index/resource_controls_component.rb +0 -4
- data/app/components/avo/resource_component.rb +0 -21
- data/app/controllers/avo/base_controller.rb +5 -3
- data/app/controllers/avo/relations_controller.rb +29 -12
- data/app/views/avo/relations/new.html.erb +15 -12
- data/avo.gemspec +1 -0
- data/config/routes.rb +1 -0
- data/lib/avo/base_resource.rb +10 -5
- data/lib/avo/fields/base_field.rb +1 -1
- data/lib/avo/fields/belongs_to_field.rb +1 -1
- data/lib/avo/fields/has_base_field.rb +24 -1
- data/lib/avo/hosts/ordering.rb +22 -0
- data/lib/avo/licensing/pro_license.rb +2 -2
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/locales/avo.en.yml +6 -0
- data/public/avo-assets/avo.js +7 -5
- data/public/avo-assets/avo.js.map +2 -2
- metadata +17 -2
data/public/avo-assets/avo.js
CHANGED
@@ -17916,7 +17916,7 @@
|
|
17916
17916
|
function isInteger(value) {
|
17917
17917
|
return /^[0-9]+$/.test(value);
|
17918
17918
|
}
|
17919
|
-
URI3.version = "1.19.
|
17919
|
+
URI3.version = "1.19.10";
|
17920
17920
|
var p2 = URI3.prototype;
|
17921
17921
|
var hasOwn = Object.prototype.hasOwnProperty;
|
17922
17922
|
function escapeRegEx(string) {
|
@@ -18026,6 +18026,7 @@
|
|
18026
18026
|
trim: /[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,
|
18027
18027
|
parens: /(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g
|
18028
18028
|
};
|
18029
|
+
URI3.leading_whitespace_expression = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/;
|
18029
18030
|
URI3.defaultPorts = {
|
18030
18031
|
http: "80",
|
18031
18032
|
https: "443",
|
@@ -18223,6 +18224,7 @@
|
|
18223
18224
|
preventInvalidHostname: URI3.preventInvalidHostname
|
18224
18225
|
};
|
18225
18226
|
}
|
18227
|
+
string = string.replace(URI3.leading_whitespace_expression, "");
|
18226
18228
|
pos = string.indexOf("#");
|
18227
18229
|
if (pos > -1) {
|
18228
18230
|
parts.fragment = string.substring(pos + 1) || null;
|
@@ -18233,7 +18235,7 @@
|
|
18233
18235
|
parts.query = string.substring(pos + 1) || null;
|
18234
18236
|
string = string.substring(0, pos);
|
18235
18237
|
}
|
18236
|
-
string = string.replace(/^(https?|ftp|wss?)
|
18238
|
+
string = string.replace(/^(https?|ftp|wss?)?:+[/\\]*/i, "$1://");
|
18237
18239
|
if (string.substring(0, 2) === "//") {
|
18238
18240
|
parts.protocol = null;
|
18239
18241
|
string = string.substring(2);
|
@@ -88687,7 +88689,7 @@
|
|
88687
88689
|
/*!
|
88688
88690
|
* URI.js - Mutating URLs
|
88689
88691
|
*
|
88690
|
-
* Version: 1.19.
|
88692
|
+
* Version: 1.19.10
|
88691
88693
|
*
|
88692
88694
|
* Author: Rodney Rehm
|
88693
88695
|
* Web: http://medialize.github.io/URI.js/
|
@@ -88700,7 +88702,7 @@
|
|
88700
88702
|
* URI.js - Mutating URLs
|
88701
88703
|
* IPv6 Support
|
88702
88704
|
*
|
88703
|
-
* Version: 1.19.
|
88705
|
+
* Version: 1.19.10
|
88704
88706
|
*
|
88705
88707
|
* Author: Rodney Rehm
|
88706
88708
|
* Web: http://medialize.github.io/URI.js/
|
@@ -88713,7 +88715,7 @@
|
|
88713
88715
|
* URI.js - Mutating URLs
|
88714
88716
|
* Second Level Domain (SLD) Support
|
88715
88717
|
*
|
88716
|
-
* Version: 1.19.
|
88718
|
+
* Version: 1.19.10
|
88717
88719
|
*
|
88718
88720
|
* Author: Rodney Rehm
|
88719
88721
|
* Web: http://medialize.github.io/URI.js/
|