avo 2.16.1.pre.1.nativefields → 2.17.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 (109) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -2
  3. data/Gemfile.lock +3 -1
  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 +11 -2
  56. data/app/components/avo/panel_component.rb +1 -0
  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/views/resource_edit_component.html.erb +31 -25
  63. data/app/components/avo/views/resource_edit_component.rb +1 -1
  64. data/app/components/avo/views/resource_show_component.html.erb +8 -2
  65. data/app/components/avo/views/resource_show_component.rb +1 -1
  66. data/app/controllers/avo/actions_controller.rb +10 -2
  67. data/app/controllers/avo/application_controller.rb +4 -2
  68. data/app/controllers/avo/associations_controller.rb +10 -5
  69. data/app/controllers/avo/attachments_controller.rb +2 -1
  70. data/app/controllers/avo/base_controller.rb +6 -4
  71. data/app/controllers/avo/search_controller.rb +13 -4
  72. data/app/helpers/avo/application_helper.rb +3 -3
  73. data/app/helpers/avo/resources_helper.rb +2 -2
  74. data/app/javascript/avo.base.js +3 -1
  75. data/app/javascript/js/controllers/action_controller.js +1 -4
  76. data/app/javascript/js/controllers/actions_picker_controller.js +8 -9
  77. data/app/javascript/js/controllers/tabs_controller.js +14 -27
  78. data/app/views/avo/actions/show.html.erb +2 -2
  79. data/app/views/avo/home/failed_to_load.html.erb +3 -2
  80. data/config/brakeman.ignore +40 -0
  81. data/db/factories.rb +20 -0
  82. data/lib/avo/base_resource.rb +26 -0
  83. data/lib/avo/concerns/fetches_things.rb +1 -1
  84. data/lib/avo/concerns/has_fields.rb +22 -0
  85. data/lib/avo/concerns/is_resource_item.rb +4 -0
  86. data/lib/avo/configuration/branding.rb +9 -1
  87. data/lib/avo/fields/belongs_to_field.rb +3 -0
  88. data/lib/avo/fields/heading_field.rb +15 -0
  89. data/lib/avo/items_holder.rb +4 -0
  90. data/lib/avo/licensing/pro_license.rb +1 -0
  91. data/lib/avo/menu/builder.rb +1 -1
  92. data/lib/avo/menu/menu.rb +0 -2
  93. data/lib/avo/reloader.rb +27 -26
  94. data/lib/avo/services/encryption_service.rb +1 -1
  95. data/lib/avo/sidebar.rb +60 -0
  96. data/lib/avo/sidebar_builder.rb +24 -0
  97. data/lib/avo/version.rb +1 -1
  98. data/lib/generators/avo/templates/field/components/index_component.html.erb.tt +1 -1
  99. data/lib/generators/avo/templates/initializer/avo.tt +2 -1
  100. data/lib/generators/avo/templates/locales/avo.en.yml +0 -1
  101. data/lib/generators/avo/templates/locales/{avo.nb-NO.yml → avo.nb.yml} +35 -10
  102. data/lib/generators/avo/templates/locales/avo.nn.yml +118 -0
  103. data/lib/generators/avo/templates/locales/avo.tr.yml +119 -0
  104. data/public/avo-assets/avo.base.css +57 -75
  105. data/public/avo-assets/avo.base.js +63 -63
  106. data/public/avo-assets/avo.base.js.map +3 -3
  107. metadata +13 -7
  108. data/app/views/avo/home/failed_to_load.html copy.erb +0 -23
  109. data/config/master.key +0 -1

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.