avo 1.21.0.pre.1 → 1.22.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.

Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -1
  3. data/Gemfile.lock +61 -61
  4. data/README.md +1 -1
  5. data/app/assets/svgs/x.svg +3 -0
  6. data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +29 -0
  7. data/app/components/avo/fields/belongs_to_field/autocomplete_component.rb +77 -0
  8. data/app/components/avo/fields/belongs_to_field/edit_component.html.erb +73 -46
  9. data/app/components/avo/fields/belongs_to_field/edit_component.rb +37 -0
  10. data/app/components/avo/navigation_link_component.html.erb +1 -1
  11. data/app/components/avo/navigation_link_component.rb +2 -1
  12. data/app/components/avo/views/resource_index_component.html.erb +1 -1
  13. data/app/controllers/avo/application_controller.rb +16 -14
  14. data/app/controllers/avo/base_controller.rb +1 -4
  15. data/app/controllers/avo/relations_controller.rb +4 -4
  16. data/app/controllers/avo/search_controller.rb +0 -1
  17. data/app/javascript/js/controllers/fields/belongs_to_field_controller.js +96 -33
  18. data/app/javascript/js/controllers/fields/date_field_controller.js +10 -2
  19. data/app/javascript/js/controllers/item_selector_controller.js +29 -19
  20. data/app/javascript/js/controllers/search_controller.js +88 -17
  21. data/app/views/avo/partials/_global_search.html.erb +0 -1
  22. data/app/views/avo/partials/_javascript.html.erb +1 -0
  23. data/app/views/avo/partials/_logo.html.erb +3 -1
  24. data/app/views/avo/partials/_resource_search.html.erb +0 -1
  25. data/app/views/avo/partials/_turbo_frame_wrap.html.erb +7 -1
  26. data/app/views/avo/sidebar/_sidebar.html.erb +1 -3
  27. data/db/factories.rb +11 -3
  28. data/lib/avo/base_resource.rb +16 -14
  29. data/lib/avo/fields/base_field.rb +1 -1
  30. data/lib/avo/fields/belongs_to_field.rb +19 -2
  31. data/lib/avo/fields/files_field.rb +2 -1
  32. data/lib/avo/fields/key_value_field.rb +28 -8
  33. data/lib/avo/licensing/pro_license.rb +2 -1
  34. data/lib/avo/version.rb +1 -1
  35. data/lib/generators/avo/templates/locales/avo.en.yml +2 -0
  36. data/lib/generators/avo/templates/locales/avo.nb-NO.yml +1 -0
  37. data/lib/generators/avo/templates/locales/avo.pt-BR.yml +1 -0
  38. data/lib/generators/avo/templates/locales/avo.ro.yml +1 -0
  39. data/public/avo-assets/avo.css +20 -4
  40. data/public/avo-assets/avo.js +330 -237
  41. data/public/avo-assets/avo.js.map +2 -2
  42. metadata +7 -7
  43. data/app/assets/builds/avo.css +0 -8590
  44. data/app/assets/builds/avo.js +0 -87755
  45. data/app/assets/builds/avo.js.map +0 -7

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.