avo 2.1.2.pre1 → 2.2.1

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.

Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -1
  3. data/Gemfile.lock +7 -1
  4. data/app/components/avo/button_component.rb +6 -2
  5. data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +1 -0
  6. data/app/components/avo/fields/belongs_to_field/edit_component.rb +5 -2
  7. data/app/components/avo/filters_component.html.erb +19 -20
  8. data/app/components/avo/index/grid_item_component.html.erb +3 -1
  9. data/app/components/avo/index/table_row_component.html.erb +7 -5
  10. data/app/components/avo/panel_component.html.erb +4 -4
  11. data/app/components/avo/sidebar_profile_component.html.erb +14 -10
  12. data/app/components/avo/views/resource_edit_component.html.erb +2 -2
  13. data/app/components/avo/views/resource_new_component.html.erb +2 -2
  14. data/app/components/avo/views/resource_show_component.html.erb +2 -2
  15. data/app/controllers/avo/base_controller.rb +1 -1
  16. data/app/javascript/js/controllers/loading_button_controller.js +47 -10
  17. data/app/javascript/js/controllers/search_controller.js +28 -10
  18. data/app/views/avo/partials/_table_header.html.erb +12 -13
  19. data/app/views/layouts/avo/application.html.erb +3 -0
  20. data/bin/helpers.rb +7 -1
  21. data/bin/init +2 -2
  22. data/lib/avo/app.rb +7 -3
  23. data/lib/avo/base_resource.rb +1 -0
  24. data/lib/avo/dynamic_router.rb +1 -1
  25. data/lib/avo/engine.rb +6 -16
  26. data/lib/avo/fields/belongs_to_field.rb +2 -0
  27. data/lib/avo/reloader.rb +51 -0
  28. data/lib/avo/version.rb +1 -1
  29. data/public/avo-assets/avo.css +2 -2
  30. data/public/avo-assets/avo.js +2 -2
  31. data/public/avo-assets/avo.js.map +2 -2
  32. metadata +5 -7
  33. data/app/assets/builds/avo.css +0 -8810
  34. data/app/assets/builds/avo.js +0 -423
  35. data/app/assets/builds/avo.js.map +0 -7
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2.pre1
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-04-07 00:00:00.000000000 Z
12
+ date: 2022-04-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -234,9 +234,6 @@ files:
234
234
  - Gemfile.lock
235
235
  - README.md
236
236
  - Rakefile
237
- - app/assets/builds/avo.css
238
- - app/assets/builds/avo.js
239
- - app/assets/builds/avo.js.map
240
237
  - app/assets/config/avo_manifest.js
241
238
  - app/assets/stylesheets/avo.css
242
239
  - app/assets/stylesheets/css/active-storage.css
@@ -1193,6 +1190,7 @@ files:
1193
1190
  - lib/avo/loaders/fields_loader.rb
1194
1191
  - lib/avo/loaders/filters_loader.rb
1195
1192
  - lib/avo/loaders/loader.rb
1193
+ - lib/avo/reloader.rb
1196
1194
  - lib/avo/services/authorization_service.rb
1197
1195
  - lib/avo/tools_manager.rb
1198
1196
  - lib/avo/version.rb
@@ -1285,9 +1283,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1285
1283
  version: 2.4.0
1286
1284
  required_rubygems_version: !ruby/object:Gem::Requirement
1287
1285
  requirements:
1288
- - - ">"
1286
+ - - ">="
1289
1287
  - !ruby/object:Gem::Version
1290
- version: 1.3.1
1288
+ version: '0'
1291
1289
  requirements: []
1292
1290
  rubygems_version: 3.3.3
1293
1291
  signing_key: