avo 2.15.3 → 2.16.1.pre.1.nativefields

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 (116) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -2
  3. data/Gemfile.lock +78 -86
  4. data/app/components/avo/base_component.rb +7 -1
  5. data/app/components/avo/field_wrapper_component.html.erb +40 -0
  6. data/app/components/avo/field_wrapper_component.rb +102 -0
  7. data/app/components/avo/fields/badge_field/show_component.html.erb +1 -1
  8. data/app/components/avo/fields/belongs_to_field/edit_component.html.erb +3 -3
  9. data/app/components/avo/fields/belongs_to_field/index_component.html.erb +2 -1
  10. data/app/components/avo/fields/belongs_to_field/show_component.html.erb +2 -2
  11. data/app/components/avo/fields/belongs_to_field/show_component.rb +8 -0
  12. data/app/components/avo/fields/boolean_field/edit_component.html.erb +1 -1
  13. data/app/components/avo/fields/boolean_field/show_component.html.erb +1 -1
  14. data/app/components/avo/fields/boolean_group_field/edit_component.html.erb +1 -1
  15. data/app/components/avo/fields/boolean_group_field/show_component.html.erb +1 -1
  16. data/app/components/avo/fields/code_field/edit_component.html.erb +2 -2
  17. data/app/components/avo/fields/code_field/show_component.html.erb +2 -2
  18. data/app/components/avo/fields/country_field/edit_component.html.erb +1 -1
  19. data/app/components/avo/fields/country_field/show_component.html.erb +1 -1
  20. data/app/components/avo/fields/date_field/edit_component.html.erb +1 -1
  21. data/app/components/avo/fields/date_field/show_component.html.erb +1 -1
  22. data/app/components/avo/fields/date_time_field/edit_component.html.erb +1 -1
  23. data/app/components/avo/fields/date_time_field/show_component.html.erb +1 -1
  24. data/app/components/avo/fields/edit_component.rb +22 -4
  25. data/app/components/avo/fields/external_image_field/edit_component.html.erb +1 -1
  26. data/app/components/avo/fields/external_image_field/index_component.html.erb +1 -1
  27. data/app/components/avo/fields/external_image_field/show_component.html.erb +1 -1
  28. data/app/components/avo/fields/file_field/edit_component.html.erb +1 -1
  29. data/app/components/avo/fields/file_field/index_component.html.erb +2 -2
  30. data/app/components/avo/fields/file_field/show_component.html.erb +1 -1
  31. data/app/components/avo/fields/files_field/edit_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/gravatar_field/show_component.html.erb +1 -1
  35. data/app/components/avo/fields/has_one_field/show_component.html.erb +14 -1
  36. data/app/components/avo/fields/has_one_field/show_component.rb +21 -0
  37. data/app/components/avo/fields/id_field/edit_component.html.erb +1 -1
  38. data/app/components/avo/fields/id_field/index_component.html.erb +1 -1
  39. data/app/components/avo/fields/id_field/show_component.html.erb +1 -1
  40. data/app/components/avo/fields/index_component.rb +9 -4
  41. data/app/components/avo/fields/key_value_field/edit_component.html.erb +2 -2
  42. data/app/components/avo/fields/key_value_field/show_component.html.erb +1 -1
  43. data/app/components/avo/fields/markdown_field/edit_component.html.erb +2 -2
  44. data/app/components/avo/fields/markdown_field/show_component.html.erb +1 -1
  45. data/app/components/avo/fields/number_field/edit_component.html.erb +1 -1
  46. data/app/components/avo/fields/number_field/show_component.html.erb +1 -1
  47. data/app/components/avo/fields/password_field/edit_component.html.erb +1 -1
  48. data/app/components/avo/fields/progress_bar_field/edit_component.html.erb +1 -1
  49. data/app/components/avo/fields/progress_bar_field/show_component.html.erb +1 -1
  50. data/app/components/avo/fields/select_field/edit_component.html.erb +1 -2
  51. data/app/components/avo/fields/select_field/show_component.html.erb +1 -1
  52. data/app/components/avo/fields/show_component.rb +36 -1
  53. data/app/components/avo/fields/status_field/edit_component.html.erb +1 -1
  54. data/app/components/avo/fields/status_field/show_component.html.erb +1 -1
  55. data/app/components/avo/fields/tags_field/edit_component.html.erb +1 -5
  56. data/app/components/avo/fields/tags_field/show_component.html.erb +1 -1
  57. data/app/components/avo/fields/text_field/edit_component.html.erb +2 -2
  58. data/app/components/avo/fields/text_field/index_component.html.erb +1 -1
  59. data/app/components/avo/fields/text_field/show_component.html.erb +1 -1
  60. data/app/components/avo/fields/textarea_field/edit_component.html.erb +1 -1
  61. data/app/components/avo/fields/textarea_field/show_component.html.erb +1 -1
  62. data/app/components/avo/fields/trix_field/edit_component.html.erb +13 -13
  63. data/app/components/avo/fields/trix_field/edit_component.rb +19 -1
  64. data/app/components/avo/fields/trix_field/show_component.html.erb +1 -1
  65. data/app/components/avo/index/grid_item_component.html.erb +6 -6
  66. data/app/components/avo/index/grid_item_component.rb +15 -0
  67. data/app/components/avo/index/resource_controls_component.rb +3 -0
  68. data/app/components/avo/index/resource_grid_component.rb +1 -1
  69. data/app/components/avo/resource_component.rb +5 -1
  70. data/app/components/avo/sidebar/item_switcher_component.html.erb +3 -3
  71. data/app/components/avo/sidebar/link_component.html.erb +2 -2
  72. data/app/components/avo/sidebar/link_component.rb +3 -1
  73. data/app/components/avo/views/resource_edit_component.html.erb +47 -28
  74. data/app/components/avo/views/resource_edit_component.rb +26 -9
  75. data/app/components/avo/views/resource_show_component.rb +0 -8
  76. data/app/controllers/avo/actions_controller.rb +7 -5
  77. data/app/controllers/avo/application_controller.rb +22 -3
  78. data/app/controllers/avo/associations_controller.rb +2 -2
  79. data/app/controllers/avo/base_controller.rb +24 -11
  80. data/app/helpers/avo/application_helper.rb +31 -3
  81. data/app/helpers/avo/resources_helper.rb +4 -8
  82. data/app/helpers/avo/url_helpers.rb +8 -0
  83. data/app/javascript/js/controllers/action_controller.js +3 -1
  84. data/app/javascript/js/controllers/fields/date_field_controller.js +21 -1
  85. data/app/javascript/js/controllers/search_controller.js +122 -118
  86. data/app/views/avo/actions/show.html.erb +5 -1
  87. data/avo.gemspec +1 -1
  88. data/config/master.key +1 -0
  89. data/lib/avo/base_action.rb +25 -6
  90. data/lib/avo/base_resource.rb +6 -4
  91. data/lib/avo/base_resource_tool.rb +1 -1
  92. data/lib/avo/concerns/fetches_things.rb +2 -0
  93. data/lib/avo/configuration.rb +2 -0
  94. data/lib/avo/fields/base_field.rb +5 -1
  95. data/lib/avo/fields/belongs_to_field.rb +1 -1
  96. data/lib/avo/fields/has_and_belongs_to_many_field.rb +1 -1
  97. data/lib/avo/fields/has_base_field.rb +5 -1
  98. data/lib/avo/fields/has_many_field.rb +1 -1
  99. data/lib/avo/fields/select_field.rb +1 -0
  100. data/lib/avo/menu/base_item.rb +1 -0
  101. data/lib/avo/menu/builder.rb +4 -2
  102. data/lib/avo/menu/menu.rb +2 -0
  103. data/lib/avo/services/authorization_service.rb +24 -20
  104. data/lib/avo/version.rb +1 -1
  105. data/lib/generators/avo/templates/field/components/edit_component.html.erb.tt +1 -1
  106. data/lib/generators/avo/templates/field/components/show_component.html.erb.tt +1 -1
  107. data/public/avo-assets/avo.base.css +26 -8
  108. data/public/avo-assets/avo.base.js +79 -79
  109. data/public/avo-assets/avo.base.js.map +3 -3
  110. metadata +8 -11
  111. data/app/components/avo/common_field_wrapper_component.html.erb +0 -26
  112. data/app/components/avo/common_field_wrapper_component.rb +0 -46
  113. data/app/components/avo/edit/field_wrapper_component.html.erb +0 -11
  114. data/app/components/avo/edit/field_wrapper_component.rb +0 -21
  115. data/app/components/avo/show/field_wrapper_component.html.erb +0 -9
  116. data/app/components/avo/show/field_wrapper_component.rb +0 -12

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.