avo 3.1.3 → 3.1.4

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.lock +1 -1
  3. data/app/components/avo/button_component.rb +1 -1
  4. data/app/components/avo/fields/edit_component.rb +2 -0
  5. data/app/components/avo/fields/has_many_field/show_component.html.erb +2 -2
  6. data/app/components/avo/fields/has_many_field/show_component.rb +7 -0
  7. data/app/components/avo/fields/index_component.rb +3 -1
  8. data/app/components/avo/fields/show_component.rb +3 -1
  9. data/app/components/avo/items/switcher_component.rb +1 -1
  10. data/app/components/avo/tab_group_component.html.erb +10 -43
  11. data/app/components/avo/tab_group_component.rb +20 -2
  12. data/app/components/avo/tab_switcher_component.html.erb +14 -12
  13. data/app/components/avo/tab_switcher_component.rb +12 -10
  14. data/app/controllers/avo/base_controller.rb +3 -3
  15. data/app/javascript/avo.base.js +4 -0
  16. data/app/javascript/js/controllers/filter_controller.js +22 -11
  17. data/app/javascript/js/controllers/tabs_controller.js +42 -46
  18. data/app/javascript/js/local-storage-service.js +19 -0
  19. data/app/views/avo/home/_actions.html.erb +1 -1
  20. data/app/views/avo/home/_dashboards.html.erb +1 -1
  21. data/app/views/avo/home/_filters.html.erb +1 -1
  22. data/app/views/avo/home/_resources.html.erb +1 -1
  23. data/lib/avo/base_resource.rb +1 -1
  24. data/lib/avo/concerns/has_items.rb +17 -10
  25. data/lib/avo/filters/base_filter.rb +3 -3
  26. data/lib/avo/resources/items/holder.rb +2 -2
  27. data/lib/avo/resources/items/tab.rb +5 -0
  28. data/lib/avo/resources/items/tab_group.rb +17 -3
  29. data/lib/avo/resources/resource_manager.rb +1 -1
  30. data/lib/avo/test_helpers.rb +2 -2
  31. data/lib/avo/version.rb +1 -1
  32. data/public/avo-assets/avo.base.css +8 -0
  33. data/public/avo-assets/avo.base.js +124 -124
  34. data/public/avo-assets/avo.base.js.map +3 -3
  35. metadata +2 -1
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: 3.1.3
4
+ version: 3.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -1675,6 +1675,7 @@ files:
1675
1675
  - app/javascript/js/custom-stream-actions.js
1676
1676
  - app/javascript/js/helpers/cast_boolean.js
1677
1677
  - app/javascript/js/helpers/debounce_promise.js
1678
+ - app/javascript/js/local-storage-service.js
1678
1679
  - app/views/avo/actions/show.html.erb
1679
1680
  - app/views/avo/associations/new.html.erb
1680
1681
  - app/views/avo/attachments/destroy.turbo_stream.erb