avo 2.16.1.pre.1.nativefields → 2.17.1.pre.1.zeitwerk.eager.load.dir

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 (120) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -3
  3. data/Gemfile.lock +43 -8
  4. data/README.md +1 -1
  5. data/app/assets/config/avo_manifest.js +1 -0
  6. data/app/assets/svgs/placeholder.svg +1 -0
  7. data/app/components/avo/actions_component.html.erb +3 -3
  8. data/app/components/avo/base_component.rb +7 -4
  9. data/app/components/avo/field_wrapper_component.html.erb +8 -10
  10. data/app/components/avo/field_wrapper_component.rb +14 -12
  11. data/app/components/avo/fields/badge_field/index_component.html.erb +1 -1
  12. data/app/components/avo/fields/belongs_to_field/edit_component.rb +9 -3
  13. data/app/components/avo/fields/belongs_to_field/index_component.html.erb +1 -1
  14. data/app/components/avo/fields/belongs_to_field/show_component.html.erb +1 -1
  15. data/app/components/avo/fields/belongs_to_field/show_component.rb +1 -1
  16. data/app/components/avo/fields/boolean_field/index_component.html.erb +1 -1
  17. data/app/components/avo/fields/boolean_field/show_component.html.erb +1 -1
  18. data/app/components/avo/fields/boolean_group_field/index_component.html.erb +1 -1
  19. data/app/components/avo/fields/boolean_group_field/show_component.html.erb +1 -1
  20. data/app/components/avo/fields/code_field/show_component.html.erb +1 -1
  21. data/app/components/avo/fields/common/heading_component.html.erb +5 -4
  22. data/app/components/avo/fields/common/heading_component.rb +6 -1
  23. data/app/components/avo/fields/country_field/index_component.html.erb +1 -1
  24. data/app/components/avo/fields/date_field/index_component.html.erb +1 -1
  25. data/app/components/avo/fields/date_time_field/index_component.html.erb +1 -1
  26. data/app/components/avo/fields/edit_component.rb +6 -4
  27. data/app/components/avo/fields/external_image_field/index_component.html.erb +1 -1
  28. data/app/components/avo/fields/file_field/edit_component.html.erb +2 -1
  29. data/app/components/avo/fields/file_field/index_component.html.erb +1 -1
  30. data/app/components/avo/fields/files_field/edit_component.html.erb +2 -1
  31. data/app/components/avo/fields/files_field/index_component.html.erb +1 -1
  32. data/app/components/avo/fields/files_field/show_component.html.erb +1 -1
  33. data/app/components/avo/fields/gravatar_field/index_component.html.erb +1 -1
  34. data/app/components/avo/fields/has_one_field/index_component.html.erb +1 -1
  35. data/app/components/avo/fields/heading_field/edit_component.html.erb +1 -1
  36. data/app/components/avo/fields/heading_field/show_component.html.erb +1 -1
  37. data/app/components/avo/fields/id_field/index_component.html.erb +1 -1
  38. data/app/components/avo/fields/index_component.rb +11 -2
  39. data/app/components/avo/fields/number_field/index_component.html.erb +1 -1
  40. data/app/components/avo/fields/progress_bar_field/index_component.html.erb +1 -1
  41. data/app/components/avo/fields/select_field/index_component.html.erb +1 -1
  42. data/app/components/avo/fields/show_component.rb +7 -1
  43. data/app/components/avo/fields/status_field/index_component.html.erb +1 -1
  44. data/app/components/avo/fields/tags_field/index_component.html.erb +1 -1
  45. data/app/components/avo/fields/text_field/edit_component.html.erb +3 -1
  46. data/app/components/avo/fields/text_field/index_component.html.erb +1 -1
  47. data/app/components/avo/fields/trix_field/edit_component.html.erb +1 -1
  48. data/app/components/avo/filters_component.html.erb +2 -2
  49. data/app/components/avo/index/grid_cover_empty_state_component.html.erb +1 -1
  50. data/app/components/avo/index/grid_item_component.html.erb +15 -13
  51. data/app/components/avo/index/grid_item_component.rb +1 -1
  52. data/app/components/avo/index/ordering/buttons_component.html.erb +1 -1
  53. data/app/components/avo/index/resource_controls_component.rb +2 -2
  54. data/app/components/avo/index/table_row_component.html.erb +1 -1
  55. data/app/components/avo/panel_component.html.erb +9 -2
  56. data/app/components/avo/panel_component.rb +3 -4
  57. data/app/components/avo/resource_component.rb +18 -0
  58. data/app/components/avo/resource_sidebar_component.html.erb +19 -0
  59. data/app/components/avo/resource_sidebar_component.rb +26 -0
  60. data/app/components/avo/sidebar_profile_component.html.erb +1 -1
  61. data/app/components/avo/tab_switcher_component.html.erb +2 -2
  62. data/app/components/avo/tab_switcher_component.rb +2 -0
  63. data/app/components/avo/views/resource_edit_component.html.erb +31 -25
  64. data/app/components/avo/views/resource_edit_component.rb +1 -1
  65. data/app/components/avo/views/resource_show_component.html.erb +8 -2
  66. data/app/components/avo/views/resource_show_component.rb +1 -1
  67. data/app/controllers/avo/actions_controller.rb +10 -2
  68. data/app/controllers/avo/application_controller.rb +4 -2
  69. data/app/controllers/avo/associations_controller.rb +24 -5
  70. data/app/controllers/avo/attachments_controller.rb +2 -1
  71. data/app/controllers/avo/base_controller.rb +6 -4
  72. data/app/controllers/avo/search_controller.rb +13 -4
  73. data/app/helpers/avo/application_helper.rb +7 -3
  74. data/app/helpers/avo/resources_helper.rb +2 -2
  75. data/app/javascript/avo.base.js +3 -1
  76. data/app/javascript/js/controllers/action_controller.js +1 -4
  77. data/app/javascript/js/controllers/actions_picker_controller.js +8 -9
  78. data/app/javascript/js/controllers/tabs_controller.js +14 -27
  79. data/app/views/avo/actions/show.html.erb +2 -2
  80. data/app/views/avo/home/failed_to_load.html.erb +3 -2
  81. data/avo.gemspec +2 -2
  82. data/config/brakeman.ignore +40 -0
  83. data/config/i18n-tasks.yml +159 -0
  84. data/config/routes.rb +1 -1
  85. data/db/factories.rb +20 -0
  86. data/lib/avo/app.rb +6 -0
  87. data/lib/avo/base_resource.rb +26 -0
  88. data/lib/avo/concerns/fetches_things.rb +1 -1
  89. data/lib/avo/concerns/has_fields.rb +22 -0
  90. data/lib/avo/concerns/is_resource_item.rb +4 -0
  91. data/lib/avo/configuration/branding.rb +9 -1
  92. data/lib/avo/dynamic_router.rb +19 -15
  93. data/lib/avo/engine.rb +9 -0
  94. data/lib/avo/fields/belongs_to_field.rb +3 -0
  95. data/lib/avo/fields/heading_field.rb +15 -0
  96. data/lib/avo/items_holder.rb +4 -0
  97. data/lib/avo/licensing/pro_license.rb +1 -0
  98. data/lib/avo/menu/builder.rb +1 -1
  99. data/lib/avo/menu/menu.rb +0 -2
  100. data/lib/avo/reloader.rb +27 -26
  101. data/lib/avo/services/authorization_service.rb +17 -3
  102. data/lib/avo/services/encryption_service.rb +1 -1
  103. data/lib/avo/sidebar.rb +60 -0
  104. data/lib/avo/sidebar_builder.rb +24 -0
  105. data/lib/avo/version.rb +1 -1
  106. data/lib/generators/avo/templates/field/components/index_component.html.erb.tt +1 -1
  107. data/lib/generators/avo/templates/initializer/avo.tt +2 -1
  108. data/lib/generators/avo/templates/locales/avo.en.yml +107 -107
  109. data/lib/generators/avo/templates/locales/avo.fr.yml +107 -107
  110. data/lib/generators/avo/templates/locales/avo.nb.yml +119 -0
  111. data/lib/generators/avo/templates/locales/avo.nn.yml +119 -0
  112. data/lib/generators/avo/templates/locales/avo.pt-BR.yml +109 -84
  113. data/lib/generators/avo/templates/locales/avo.ro.yml +109 -81
  114. data/lib/generators/avo/templates/locales/avo.tr.yml +119 -0
  115. data/public/avo-assets/avo.base.css +67 -79
  116. data/public/avo-assets/avo.base.js +63 -63
  117. data/public/avo-assets/avo.base.js.map +3 -3
  118. metadata +16 -22
  119. data/app/views/avo/home/failed_to_load.html copy.erb +0 -23
  120. data/lib/generators/avo/templates/locales/avo.nb-NO.yml +0 -93

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.