avo 1.18.2 → 1.19.1.pre.3

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 (102) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -2
  3. data/Gemfile.lock +10 -7
  4. data/app/components/avo/fields/belongs_to_field/index_component.html.erb +1 -1
  5. data/app/components/avo/fields/belongs_to_field/show_component.html.erb +1 -1
  6. data/app/components/avo/fields/common/multiple_file_viewer_component.html.erb +1 -1
  7. data/app/components/avo/fields/common/single_file_viewer_component.html.erb +1 -2
  8. data/app/components/avo/fields/has_one_field/index_component.html.erb +1 -1
  9. data/app/components/avo/fields/has_one_field/show_component.html.erb +1 -1
  10. data/app/components/avo/fields/has_one_field/show_component.rb +6 -1
  11. data/app/components/avo/fields/index_component.rb +2 -2
  12. data/app/components/avo/fields/trix_field/edit_component.html.erb +1 -1
  13. data/app/components/avo/index/grid_item_component.html.erb +4 -4
  14. data/app/components/avo/index/resource_controls_component.html.erb +1 -1
  15. data/app/components/avo/index/resource_controls_component.rb +22 -6
  16. data/app/components/avo/index/resource_table_component.html.erb +1 -1
  17. data/app/components/avo/panel_component.rb +3 -4
  18. data/app/components/avo/resource_component.rb +5 -1
  19. data/app/components/avo/views/resource_edit_component.html.erb +3 -3
  20. data/app/components/avo/views/resource_edit_component.rb +9 -3
  21. data/app/components/avo/views/resource_index_component.html.erb +3 -9
  22. data/app/components/avo/views/resource_index_component.rb +11 -17
  23. data/app/components/avo/views/resource_new_component.html.erb +6 -4
  24. data/app/components/avo/views/resource_new_component.rb +12 -2
  25. data/app/components/avo/views/resource_show_component.html.erb +7 -6
  26. data/app/components/avo/views/resource_show_component.rb +20 -7
  27. data/app/controllers/avo/actions_controller.rb +1 -1
  28. data/app/controllers/avo/application_controller.rb +17 -61
  29. data/app/controllers/avo/attachments_controller.rb +3 -2
  30. data/app/controllers/avo/base_controller.rb +30 -25
  31. data/app/controllers/avo/home_controller.rb +5 -1
  32. data/app/controllers/avo/relations_controller.rb +3 -3
  33. data/app/controllers/avo/search_controller.rb +1 -1
  34. data/app/helpers/avo/application_helper.rb +5 -11
  35. data/app/helpers/avo/resources_helper.rb +1 -1
  36. data/app/helpers/avo/url_helpers.rb +77 -0
  37. data/app/packs/entrypoints/application.css +1 -0
  38. data/app/packs/entrypoints/application.js +7 -0
  39. data/app/packs/js/controllers/loading_button_controller.js +22 -0
  40. data/app/packs/stylesheets/components/status.css +22 -15
  41. data/app/packs/stylesheets/spinner.css +49 -0
  42. data/app/views/avo/actions/show.html.erb +2 -2
  43. data/app/views/avo/base/_actions.html.erb +3 -3
  44. data/app/views/avo/base/_filters.html.erb +1 -1
  45. data/app/views/avo/home/failed_to_load.html.erb +3 -0
  46. data/app/views/avo/partials/_failed_state.html.erb +16 -0
  47. data/app/views/avo/partials/_paginator.html.erb +2 -2
  48. data/app/views/avo/relations/new.html.erb +0 -2
  49. data/app/views/avo/sidebar/_sidebar.html.erb +1 -1
  50. data/app/views/kaminari/_page.html.erb +1 -1
  51. data/config/routes.rb +7 -5
  52. data/lib/avo/app.rb +4 -8
  53. data/lib/avo/base_action.rb +9 -1
  54. data/lib/avo/base_resource.rb +33 -7
  55. data/lib/avo/configuration.rb +2 -0
  56. data/lib/avo/fields/base_field.rb +15 -4
  57. data/lib/avo/fields/has_and_belongs_to_many_field.rb +1 -19
  58. data/lib/avo/fields/has_base_field.rb +35 -0
  59. data/lib/avo/fields/has_many_field.rb +1 -19
  60. data/lib/avo/fields/has_one_field.rb +3 -19
  61. data/lib/avo/fields/key_value_field.rb +4 -4
  62. data/lib/avo/services/authorization_service.rb +8 -4
  63. data/lib/avo/version.rb +1 -1
  64. data/lib/generators/avo/templates/locales/avo.en.yml +12 -3
  65. data/lib/generators/avo/templates/locales/avo.ro.yml +7 -0
  66. data/public/avo-packs/css/{application-f9191617.css → application-c3b50b28.css} +54 -12
  67. data/public/avo-packs/css/application-c3b50b28.css.br +0 -0
  68. data/public/avo-packs/css/{application-f9191617.css.gz → application-c3b50b28.css.gz} +0 -0
  69. data/public/avo-packs/css/application-c3b50b28.css.map +1 -0
  70. data/public/avo-packs/css/application-c3b50b28.css.map.br +0 -0
  71. data/public/avo-packs/css/application-c3b50b28.css.map.gz +0 -0
  72. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js +2 -0
  73. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.br +0 -0
  74. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.gz +0 -0
  75. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map +1 -0
  76. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.br +0 -0
  77. data/public/avo-packs/js/actioncable-7119dbc1a908641fb263.chunk.js.map.gz +0 -0
  78. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js +26 -0
  79. data/public/avo-packs/js/{application-cc89f096028eb1d4d971.js.LICENSE.txt → application-6fc968cfa52976c4582b.js.LICENSE.txt} +0 -0
  80. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.br +0 -0
  81. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.gz +0 -0
  82. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map +1 -0
  83. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.br +0 -0
  84. data/public/avo-packs/js/application-6fc968cfa52976c4582b.js.map.gz +0 -0
  85. data/public/avo-packs/manifest.json +21 -21
  86. metadata +29 -23
  87. data/public/avo-packs/css/application-f9191617.css.br +0 -0
  88. data/public/avo-packs/css/application-f9191617.css.map +0 -1
  89. data/public/avo-packs/css/application-f9191617.css.map.br +0 -0
  90. data/public/avo-packs/css/application-f9191617.css.map.gz +0 -0
  91. data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js +0 -2
  92. data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js.br +0 -0
  93. data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js.gz +0 -0
  94. data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js.map +0 -1
  95. data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js.map.br +0 -0
  96. data/public/avo-packs/js/219-9aa2b689f44613118203.chunk.js.map.gz +0 -0
  97. data/public/avo-packs/js/application-cc89f096028eb1d4d971.js +0 -26
  98. data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.br +0 -0
  99. data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.gz +0 -0
  100. data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.map +0 -1
  101. data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.map.br +0 -0
  102. data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.map.gz +0 -0

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.