avo 0.4.6 → 0.5.0.beta1

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 (520) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +35 -9
  3. data/Gemfile.lock +114 -88
  4. data/README.md +4 -0
  5. data/app/components/avo/common/badge_viewer_component.html.erb +24 -0
  6. data/app/components/avo/common/badge_viewer_component.rb +8 -0
  7. data/app/components/avo/common/boolean_check_component.html.erb +12 -0
  8. data/app/components/avo/common/boolean_check_component.rb +7 -0
  9. data/app/components/avo/common/boolean_group_component.html.erb +16 -0
  10. data/app/components/avo/common/boolean_group_component.rb +8 -0
  11. data/app/components/avo/common/files_list_viewer_component.html.erb +5 -0
  12. data/app/components/avo/common/files_list_viewer_component.rb +8 -0
  13. data/app/components/avo/common/gravatar_viewer_component.html.erb +12 -0
  14. data/app/components/avo/common/gravatar_viewer_component.rb +12 -0
  15. data/app/components/avo/common/heading_component.html.erb +13 -0
  16. data/app/components/avo/common/heading_component.rb +8 -0
  17. data/app/components/avo/common/multiple_file_viewer_component.html.erb +26 -0
  18. data/app/components/avo/common/multiple_file_viewer_component.rb +13 -0
  19. data/app/components/avo/common/single_file_viewer_component.html.erb +28 -0
  20. data/app/components/avo/common/single_file_viewer_component.rb +13 -0
  21. data/app/components/avo/common/status_viewer_component.html.erb +10 -0
  22. data/app/components/avo/common/status_viewer_component.rb +8 -0
  23. data/app/components/avo/edit/field_wrapper_component.html.erb +20 -0
  24. data/app/components/avo/edit/field_wrapper_component.rb +19 -0
  25. data/app/components/avo/edit/fields/belongs_to_field_component.html.erb +19 -0
  26. data/app/components/avo/edit/fields/belongs_to_field_component.rb +4 -0
  27. data/app/components/avo/edit/fields/boolean_field_component.html.erb +9 -0
  28. data/app/components/avo/edit/fields/boolean_field_component.rb +4 -0
  29. data/app/components/avo/edit/fields/boolean_group_field_component.html.erb +25 -0
  30. data/app/components/avo/edit/fields/boolean_group_field_component.rb +4 -0
  31. data/app/components/avo/edit/fields/code_field_component.html.erb +19 -0
  32. data/app/components/avo/edit/fields/code_field_component.rb +4 -0
  33. data/app/components/avo/edit/fields/country_field_component.html.erb +7 -0
  34. data/app/components/avo/edit/fields/country_field_component.rb +4 -0
  35. data/app/components/avo/edit/fields/date_field_component.html.erb +18 -0
  36. data/app/components/avo/edit/fields/date_field_component.rb +4 -0
  37. data/app/components/avo/edit/fields/date_time_field_component.html.erb +20 -0
  38. data/app/components/avo/edit/fields/date_time_field_component.rb +4 -0
  39. data/app/components/avo/edit/fields/external_image_field_component.html.erb +6 -0
  40. data/app/components/avo/edit/fields/external_image_field_component.rb +4 -0
  41. data/app/components/avo/edit/fields/field_component.rb +13 -0
  42. data/app/components/avo/edit/fields/file_field_component.html.erb +9 -0
  43. data/app/components/avo/edit/fields/file_field_component.rb +4 -0
  44. data/app/components/avo/edit/fields/files_field_component.html.erb +5 -0
  45. data/app/components/avo/edit/fields/files_field_component.rb +4 -0
  46. data/app/components/avo/edit/fields/heading_field_component.html.erb +3 -0
  47. data/app/components/avo/edit/fields/heading_field_component.rb +4 -0
  48. data/app/components/avo/edit/fields/hidden_field_component.html.erb +1 -0
  49. data/app/components/avo/edit/fields/hidden_field_component.rb +4 -0
  50. data/app/components/avo/edit/fields/id_field_component.html.erb +3 -0
  51. data/app/components/avo/edit/fields/id_field_component.rb +4 -0
  52. data/app/components/avo/edit/fields/markdown_field_component.html.erb +11 -0
  53. data/app/components/avo/edit/fields/markdown_field_component.rb +4 -0
  54. data/app/components/avo/edit/fields/number_field_component.html.erb +9 -0
  55. data/app/components/avo/edit/fields/number_field_component.rb +4 -0
  56. data/app/components/avo/edit/fields/password_field_component.html.erb +7 -0
  57. data/app/components/avo/edit/fields/password_field_component.rb +4 -0
  58. data/app/components/avo/edit/fields/select_field_component.html.erb +6 -0
  59. data/app/components/avo/edit/fields/select_field_component.rb +4 -0
  60. data/app/components/avo/edit/fields/status_field_component.html.erb +7 -0
  61. data/app/components/avo/edit/fields/status_field_component.rb +4 -0
  62. data/app/components/avo/edit/fields/text_field_component.html.erb +6 -0
  63. data/app/components/avo/edit/fields/text_field_component.rb +4 -0
  64. data/app/components/avo/edit/fields/textarea_field_component.html.erb +7 -0
  65. data/app/components/avo/edit/fields/textarea_field_component.rb +4 -0
  66. data/app/components/avo/edit/fields/trix_field_component.html.erb +11 -0
  67. data/app/components/avo/edit/fields/trix_field_component.rb +4 -0
  68. data/app/components/avo/index/field_wrapper_component.html.erb +7 -0
  69. data/app/components/avo/index/field_wrapper_component.rb +10 -0
  70. data/app/components/avo/index/fields/badge_field_component.html.erb +3 -0
  71. data/app/components/avo/index/fields/badge_field_component.rb +4 -0
  72. data/app/components/avo/index/fields/belongs_to_field_component.html.erb +7 -0
  73. data/app/components/avo/index/fields/belongs_to_field_component.rb +4 -0
  74. data/app/components/avo/index/fields/boolean_field_component.html.erb +3 -0
  75. data/app/components/avo/index/fields/boolean_field_component.rb +4 -0
  76. data/app/components/avo/index/fields/boolean_group_field_component.html.erb +3 -0
  77. data/app/components/avo/index/fields/boolean_group_field_component.rb +4 -0
  78. data/app/components/avo/index/fields/country_field_component.html.erb +7 -0
  79. data/app/components/avo/index/fields/country_field_component.rb +4 -0
  80. data/app/components/avo/index/fields/date_field_component.html.erb +3 -0
  81. data/app/components/avo/index/fields/date_field_component.rb +4 -0
  82. data/app/components/avo/index/fields/date_time_field_component.html.erb +3 -0
  83. data/app/components/avo/index/fields/date_time_field_component.rb +4 -0
  84. data/app/components/avo/index/fields/external_image_field_component.html.erb +9 -0
  85. data/app/components/avo/index/fields/external_image_field_component.rb +4 -0
  86. data/app/components/avo/index/fields/field_component.html.erb +1 -0
  87. data/app/components/avo/index/fields/field_component.rb +11 -0
  88. data/app/components/avo/index/fields/file_field_component.html.erb +11 -0
  89. data/app/components/avo/index/fields/file_field_component.rb +4 -0
  90. data/app/components/avo/index/fields/files_field_component.html.erb +3 -0
  91. data/app/components/avo/index/fields/files_field_component.rb +4 -0
  92. data/app/components/avo/index/fields/gravatar_field_component.html.erb +11 -0
  93. data/app/components/avo/index/fields/gravatar_field_component.rb +4 -0
  94. data/app/components/avo/index/fields/has_one_field_component.html.erb +7 -0
  95. data/app/components/avo/index/fields/has_one_field_component.rb +4 -0
  96. data/app/components/avo/index/fields/id_field_component.html.erb +10 -0
  97. data/app/components/avo/index/fields/id_field_component.rb +4 -0
  98. data/app/components/avo/index/fields/number_field_component.html.erb +3 -0
  99. data/app/components/avo/index/fields/number_field_component.rb +4 -0
  100. data/app/components/avo/index/fields/select_field_component.html.erb +3 -0
  101. data/app/components/avo/index/fields/select_field_component.rb +4 -0
  102. data/app/components/avo/index/fields/status_field_component.html.erb +3 -0
  103. data/app/components/avo/index/fields/status_field_component.rb +4 -0
  104. data/app/components/avo/index/fields/text_field_component.html.erb +3 -0
  105. data/app/components/avo/index/fields/text_field_component.rb +4 -0
  106. data/app/components/avo/index/grid_item_component.html.erb +41 -0
  107. data/app/components/avo/index/grid_item_component.rb +31 -0
  108. data/app/components/avo/index/resource_controls_component.html.erb +56 -0
  109. data/app/components/avo/index/resource_controls_component.rb +39 -0
  110. data/app/components/avo/index/resource_grid_component.html.erb +13 -0
  111. data/app/components/avo/index/resource_grid_component.rb +10 -0
  112. data/app/components/avo/index/resource_table_component.html.erb +16 -0
  113. data/app/components/avo/index/resource_table_component.rb +10 -0
  114. data/app/components/avo/index/table_row_component.html.erb +18 -0
  115. data/app/components/avo/index/table_row_component.rb +11 -0
  116. data/app/components/avo/loading_component.html.erb +10 -0
  117. data/app/components/avo/loading_component.rb +7 -0
  118. data/app/components/avo/modal_component.html.erb +20 -0
  119. data/app/components/avo/modal_component.rb +5 -0
  120. data/app/components/avo/navigation_heading_component.html.erb +3 -0
  121. data/app/components/avo/navigation_heading_component.rb +7 -0
  122. data/app/components/avo/navigation_link_component.html.erb +3 -0
  123. data/app/components/avo/navigation_link_component.rb +10 -0
  124. data/app/components/avo/panel_component.html.erb +27 -0
  125. data/app/components/avo/panel_component.rb +20 -0
  126. data/app/components/avo/resource_component.rb +14 -0
  127. data/app/components/avo/show/field_wrapper_component.html.erb +16 -0
  128. data/app/components/avo/show/field_wrapper_component.rb +15 -0
  129. data/app/components/avo/show/fields/badge_field_component.html.erb +3 -0
  130. data/app/components/avo/show/fields/badge_field_component.rb +4 -0
  131. data/app/components/avo/show/fields/belongs_to_field_component.html.erb +3 -0
  132. data/app/components/avo/show/fields/belongs_to_field_component.rb +4 -0
  133. data/app/components/avo/show/fields/boolean_field_component.html.erb +3 -0
  134. data/app/components/avo/show/fields/boolean_field_component.rb +4 -0
  135. data/app/components/avo/show/fields/boolean_group_field_component.html.erb +3 -0
  136. data/app/components/avo/show/fields/boolean_group_field_component.rb +4 -0
  137. data/app/components/avo/show/fields/code_field_component.html.erb +19 -0
  138. data/app/components/avo/show/fields/code_field_component.rb +4 -0
  139. data/app/components/avo/show/fields/country_field_component.html.erb +7 -0
  140. data/app/components/avo/show/fields/country_field_component.rb +4 -0
  141. data/app/components/avo/show/fields/date_field_component.html.erb +3 -0
  142. data/app/components/avo/show/fields/date_field_component.rb +4 -0
  143. data/app/components/avo/show/fields/date_time_field_component.html.erb +3 -0
  144. data/app/components/avo/show/fields/date_time_field_component.rb +4 -0
  145. data/app/components/avo/show/fields/external_image_field_component.html.erb +5 -0
  146. data/app/components/avo/show/fields/external_image_field_component.rb +4 -0
  147. data/app/components/avo/show/fields/field_component.rb +11 -0
  148. data/app/components/avo/show/fields/file_field_component.html.erb +3 -0
  149. data/app/components/avo/show/fields/file_field_component.rb +4 -0
  150. data/app/components/avo/show/fields/files_field_component.html.erb +3 -0
  151. data/app/components/avo/show/fields/files_field_component.rb +4 -0
  152. data/app/components/avo/show/fields/gravatar_field_component.html.erb +7 -0
  153. data/app/components/avo/show/fields/gravatar_field_component.rb +4 -0
  154. data/app/components/avo/show/fields/has_many_field_component.html.erb +3 -0
  155. data/app/components/avo/show/fields/has_many_field_component.rb +4 -0
  156. data/app/components/avo/show/fields/has_one_field_component.html.erb +19 -0
  157. data/app/components/avo/show/fields/has_one_field_component.rb +5 -0
  158. data/app/components/avo/show/fields/heading_field_component.html.erb +3 -0
  159. data/app/components/avo/show/fields/heading_field_component.rb +4 -0
  160. data/app/components/avo/show/fields/id_field_component.html.erb +3 -0
  161. data/app/components/avo/show/fields/id_field_component.rb +4 -0
  162. data/app/components/avo/show/fields/markdown_field_component.html.erb +10 -0
  163. data/app/components/avo/show/fields/markdown_field_component.rb +4 -0
  164. data/app/components/avo/show/fields/number_field_component.html.erb +3 -0
  165. data/app/components/avo/show/fields/number_field_component.rb +4 -0
  166. data/app/components/avo/show/fields/select_field_component.html.erb +3 -0
  167. data/app/components/avo/show/fields/select_field_component.rb +4 -0
  168. data/app/components/avo/show/fields/status_field_component.html.erb +3 -0
  169. data/app/components/avo/show/fields/status_field_component.rb +4 -0
  170. data/app/components/avo/show/fields/text_field_component.html.erb +3 -0
  171. data/app/components/avo/show/fields/text_field_component.rb +4 -0
  172. data/app/components/avo/show/fields/textarea_field_component.html.erb +3 -0
  173. data/app/components/avo/show/fields/textarea_field_component.rb +4 -0
  174. data/app/components/avo/show/fields/trix_field_component.html.erb +14 -0
  175. data/app/components/avo/show/fields/trix_field_component.rb +4 -0
  176. data/app/components/avo/views/resource_edit_component.html.erb +29 -0
  177. data/app/components/avo/views/resource_edit_component.rb +23 -0
  178. data/app/components/avo/views/resource_index_component.html.erb +62 -0
  179. data/app/components/avo/views/resource_index_component.rb +93 -0
  180. data/app/components/avo/views/resource_new_component.html.erb +25 -0
  181. data/app/components/avo/views/resource_new_component.rb +27 -0
  182. data/app/components/avo/views/resource_show_component.html.erb +64 -0
  183. data/app/components/avo/views/resource_show_component.rb +66 -0
  184. data/app/controllers/avo/actions_controller.rb +52 -22
  185. data/app/controllers/avo/application_controller.rb +183 -24
  186. data/app/controllers/avo/attachments_controller.rb +25 -0
  187. data/app/controllers/avo/base_controller.rb +218 -0
  188. data/app/controllers/avo/home_controller.rb +3 -0
  189. data/app/controllers/avo/relations_controller.rb +88 -19
  190. data/app/controllers/avo/resource_overview_controller.rb +3 -1
  191. data/app/controllers/avo/resources_controller.rb +2 -259
  192. data/app/controllers/avo/search_controller.rb +7 -6
  193. data/app/frontend/css/alerts.css +35 -0
  194. data/app/frontend/css/application.css +73 -0
  195. data/app/frontend/css/components/code.css +27 -0
  196. data/app/frontend/css/components/status.css +30 -0
  197. data/app/frontend/css/fonts.css +26 -0
  198. data/app/frontend/css/loader.css +134 -0
  199. data/app/frontend/css/pagination.css +67 -0
  200. data/app/frontend/css/tailwindcss/base.css +1 -0
  201. data/app/frontend/css/tailwindcss/components.css +1 -0
  202. data/app/frontend/css/tailwindcss/utilities.css +1 -0
  203. data/app/frontend/css/tooltips.css +105 -0
  204. data/app/frontend/css/typography.css +23 -0
  205. data/app/frontend/fonts/nunito-v16-latin-700.eot +0 -0
  206. data/app/frontend/fonts/nunito-v16-latin-700.svg +388 -0
  207. data/app/frontend/fonts/nunito-v16-latin-700.ttf +0 -0
  208. data/app/frontend/fonts/nunito-v16-latin-700.woff +0 -0
  209. data/app/frontend/fonts/nunito-v16-latin-700.woff2 +0 -0
  210. data/app/frontend/fonts/nunito-v16-latin-regular.eot +0 -0
  211. data/app/frontend/fonts/nunito-v16-latin-regular.svg +380 -0
  212. data/app/frontend/fonts/nunito-v16-latin-regular.ttf +0 -0
  213. data/app/frontend/fonts/nunito-v16-latin-regular.woff +0 -0
  214. data/app/frontend/fonts/nunito-v16-latin-regular.woff2 +0 -0
  215. data/app/frontend/images/logo.png +0 -0
  216. data/app/frontend/importmap.json.erb +5 -0
  217. data/app/frontend/js/controllers/action_controller.js +32 -0
  218. data/app/frontend/js/controllers/actions_picker_controller.js +44 -0
  219. data/app/frontend/js/controllers/alerts_controller.js +26 -0
  220. data/app/frontend/js/controllers/attachments_controller.js +9 -0
  221. data/app/frontend/js/controllers/boolean_filter_controller.js +21 -0
  222. data/app/frontend/js/controllers/fields/code_field_controller.js +35 -0
  223. data/app/frontend/js/controllers/fields/date_field_controller.js +53 -0
  224. data/app/frontend/js/controllers/fields/simple_mde_controller.js +26 -0
  225. data/app/frontend/js/controllers/filter_controller.js +52 -0
  226. data/app/frontend/js/controllers/hidden_input_controller.js +10 -0
  227. data/app/frontend/js/controllers/item_selector_controller.js +68 -0
  228. data/app/frontend/js/controllers/modal_controller.js +11 -0
  229. data/app/frontend/js/controllers/per_page_controller.js +9 -0
  230. data/app/frontend/js/controllers/select_filter_controller.js +15 -0
  231. data/app/frontend/js/controllers/tippy_controller.js +14 -0
  232. data/app/frontend/js/controllers/toggle_panel_controller.js +18 -0
  233. data/app/frontend/js/helpers/cast_boolean.js +2 -0
  234. data/app/frontend/js/toastr.js +9 -0
  235. data/app/frontend/packs/application.js +45 -0
  236. data/{public/avo-packs/media/svgs/arrow-circle-right-1ad1e15ec9a7aa54b67d126566a5aa2d.svg → app/frontend/svgs/arrow-circle-right.svg} +0 -0
  237. data/{public/avo-packs/media/svgs/arrow-left-0e8e808ff771a62a348d0232c8ccf539.svg → app/frontend/svgs/arrow-left.svg} +0 -0
  238. data/{public/avo-packs/media/svgs/avocado-bca389be7cf81162df902dfbd09b8adb.svg → app/frontend/svgs/avocado.svg} +0 -0
  239. data/app/frontend/svgs/badge-check-sm.svg +3 -0
  240. data/{public/avo-packs/media/svgs/check-circle-be9e4dcbd25467ae9a3d3c6c5c7a09fa.svg → app/frontend/svgs/check-circle.svg} +0 -0
  241. data/{public/avo-packs/media/svgs/chevron-down-01208b17a1f70a1bb8d82bba131da4f4.svg → app/frontend/svgs/chevron-down.svg} +0 -0
  242. data/{public/avo-packs/media/svgs/chevron-up-25ecf340dd76966d5ed63c85c025befc.svg → app/frontend/svgs/chevron-up.svg} +0 -0
  243. data/{public/avo-packs/media/svgs/code-69010c6ddb6ad50be8677f16468c51f8.svg → app/frontend/svgs/code.svg} +0 -0
  244. data/{public/avo-packs/media/svgs/color-swatch-60cf90fb6b5386e38f3b003f34e7ecbe.svg → app/frontend/svgs/color-swatch.svg} +0 -0
  245. data/app/frontend/svgs/document-text.svg +3 -0
  246. data/{public/avo-packs/media/svgs/download-c6ae3f12364a467c28cbf41dc90afbdd.svg → app/frontend/svgs/download.svg} +0 -0
  247. data/{public/avo-packs/media/svgs/edit-46c6dbef52ba6ddfc9afbc37186dfa2b.svg → app/frontend/svgs/edit.svg} +0 -0
  248. data/app/frontend/svgs/exclamation-circle-sm.svg +3 -0
  249. data/app/frontend/svgs/exclamation-sm.svg +3 -0
  250. data/{public/avo-packs/media/svgs/exclamation-8d1c0baa390a8df9bb52176011eb5892.svg → app/frontend/svgs/exclamation.svg} +0 -0
  251. data/{public/avo-packs/media/svgs/eye-cc6f85c70ebed6929712a5c7d51f102d.svg → app/frontend/svgs/eye.svg} +0 -0
  252. data/{public/avo-packs/media/svgs/filter-0007cddbc85cfe207f9876d4d184444a.svg → app/frontend/svgs/filter.svg} +0 -0
  253. data/{public/avo-packs/media/svgs/fire-782f08df79993311b6d907e12d9ebe9f.svg → app/frontend/svgs/fire.svg} +0 -0
  254. data/{public/avo-packs/media/svgs/game-board-6c59fe04181ac9954356c9f1f4d28053.svg → app/frontend/svgs/game-board.svg} +0 -0
  255. data/{public/avo-packs/media/svgs/globe-dfd9977c9d65814d2fc576904406dd08.svg → app/frontend/svgs/globe.svg} +0 -0
  256. data/app/frontend/svgs/information-circle-sm.svg +3 -0
  257. data/app/frontend/svgs/information-circle.svg +1 -0
  258. data/{public/avo-packs/media/svgs/library-7d391192a15da64fbb527908c9e035c7.svg → app/frontend/svgs/library.svg} +0 -0
  259. data/{public/avo-packs/media/svgs/photograph-9f37f1f5e6a48e68ce3b7d9cbe7b6fad.svg → app/frontend/svgs/photograph.svg} +0 -0
  260. data/app/frontend/svgs/play.svg +1 -0
  261. data/{public/avo-packs/media/svgs/plus-circle-b379b2a2aa803511ae5945b6fd323204.svg → app/frontend/svgs/plus-circle.svg} +0 -0
  262. data/{public/avo-packs/media/svgs/plus-530f0af27b9f1a4552454233c2f9a641.svg → app/frontend/svgs/plus.svg} +0 -0
  263. data/{public/avo-packs/media/svgs/question-mark-circle-3ece1d61091827910cdd097db711062b.svg → app/frontend/svgs/question-mark-circle.svg} +0 -0
  264. data/{public/avo-packs/media/svgs/save-e54acd7ac9646053e36382776f822756.svg → app/frontend/svgs/save.svg} +0 -0
  265. data/{public/avo-packs/media/svgs/selector-b43b3957d7cc121d06be14312613c218.svg → app/frontend/svgs/selector.svg} +0 -0
  266. data/{public/avo-packs/media/svgs/sort-ascending-f5bc0761702809cab20b0ea3065cb88a.svg → app/frontend/svgs/sort-ascending.svg} +0 -0
  267. data/{public/avo-packs/media/svgs/sort-descending-1c8ddc56c72be6781e59d808f9d06203.svg → app/frontend/svgs/sort-descending.svg} +0 -0
  268. data/{public/avo-packs/media/svgs/switch-horizontal-d23337f0fb533a86d14b746d25ad48ae.svg → app/frontend/svgs/switch-horizontal.svg} +0 -0
  269. data/{public/avo-packs/media/svgs/thumbs-down-44f83eacbf5b8fe0f2f085da75866ce0.svg → app/frontend/svgs/thumbs-down.svg} +0 -0
  270. data/{public/avo-packs/media/svgs/thumbs-up-b866900017db179b50d6b19a1424ed25.svg → app/frontend/svgs/thumbs-up.svg} +0 -0
  271. data/app/frontend/svgs/times.svg +3 -0
  272. data/app/frontend/svgs/trash-sm.svg +3 -0
  273. data/{public/avo-packs/media/svgs/trash-a61412a066e358bcc24494a5080b7255.svg → app/frontend/svgs/trash.svg} +0 -0
  274. data/{public/avo-packs/media/svgs/view-grid-add-d0ee477a044e5d46c0c62af66cb6de77.svg → app/frontend/svgs/view-grid-add.svg} +0 -0
  275. data/{public/avo-packs/media/svgs/view-grid-393669034db69f59497616d5416ae411.svg → app/frontend/svgs/view-grid.svg} +0 -0
  276. data/{public/avo-packs/media/svgs/view-list-8a7a159ca5d892f72cf8c6744a2074e2.svg → app/frontend/svgs/view-list.svg} +0 -0
  277. data/{public/avo-packs/media/svgs/x-circle-c540f9ccfe937ad9b4f662e0b65e47e2.svg → app/frontend/svgs/x-circle.svg} +0 -0
  278. data/app/helpers/avo/actions_helper.rb +4 -0
  279. data/app/helpers/avo/application_helper.rb +156 -3
  280. data/app/helpers/avo/attachments_helper.rb +4 -0
  281. data/app/helpers/avo/resources_helper.rb +101 -0
  282. data/app/mailers/avo/application_mailer.rb +1 -1
  283. data/app/views/avo/actions/show.html.erb +71 -0
  284. data/app/views/avo/attachments/show.html.erb +7 -0
  285. data/app/views/avo/base/_actions.html.erb +36 -0
  286. data/app/views/avo/base/_boolean_filter.html.erb +33 -0
  287. data/app/views/avo/base/_filters.html.erb +37 -0
  288. data/app/views/avo/base/_select_filter.html.erb +20 -0
  289. data/app/views/avo/base/edit.html.erb +1 -0
  290. data/app/views/avo/base/index.html.erb +15 -0
  291. data/app/views/avo/base/new.html.erb +1 -0
  292. data/app/views/avo/base/show.html.erb +3 -0
  293. data/app/views/avo/home/_actions.html.erb +16 -0
  294. data/app/views/avo/home/_docs.html.erb +9 -0
  295. data/app/views/avo/home/_filters.html.erb +16 -0
  296. data/app/views/avo/home/_resources.html.erb +29 -0
  297. data/app/views/avo/home/index.html.erb +54 -3
  298. data/app/views/avo/partials/_a_button.html.erb +7 -0
  299. data/app/views/avo/partials/_a_link.html.erb +7 -0
  300. data/app/views/avo/partials/_alert.html.erb +1 -0
  301. data/app/views/avo/partials/_alerts.html.erb +3 -0
  302. data/app/views/avo/partials/_empty_state.html.erb +17 -0
  303. data/app/views/{partials → avo/partials}/_footer.html.erb +0 -0
  304. data/app/views/{partials → avo/partials}/_header.html.erb +0 -0
  305. data/app/views/avo/partials/_javascript.html.erb +3 -0
  306. data/app/views/{partials → avo/partials}/_logo.html.erb +0 -0
  307. data/app/views/avo/partials/_paginator.html.erb +30 -0
  308. data/app/views/avo/partials/_sortable_component.html.erb +14 -0
  309. data/app/views/avo/partials/_table_header.html.erb +50 -0
  310. data/app/views/avo/partials/_view_toggle_button.html.erb +17 -0
  311. data/app/views/avo/relations/new.html.erb +29 -0
  312. data/app/views/avo/sidebar/_license_warning.html.erb +12 -0
  313. data/app/views/avo/sidebar/_license_warnings.html.erb +6 -0
  314. data/app/views/avo/sidebar/_sidebar.html.erb +23 -0
  315. data/app/views/kaminari/_first_page.html.erb +3 -0
  316. data/app/views/kaminari/_last_page.html.erb +3 -0
  317. data/app/views/kaminari/_next_page.html.erb +9 -0
  318. data/app/views/kaminari/_page.html.erb +12 -0
  319. data/app/views/kaminari/_prev_page.html.erb +9 -0
  320. data/app/views/layouts/avo/_filter_wrapper.html.erb +8 -0
  321. data/app/views/layouts/avo/application.html.erb +28 -40
  322. data/app/views/layouts/avo/application_vue.html.erb +61 -0
  323. data/avo.gemspec +5 -2
  324. data/bin/helpers.rb +34 -0
  325. data/bin/init +35 -0
  326. data/bin/rspec +8 -0
  327. data/bin/spring +17 -0
  328. data/bin/test +21 -0
  329. data/bin/webpack +9 -10
  330. data/bin/webpack-dev-server +9 -10
  331. data/config/cable.yml +11 -0
  332. data/config/initializers/inline_svg.rb +33 -0
  333. data/config/initializers/pagy.rb +1 -0
  334. data/config/routes.rb +22 -18
  335. data/config/spring.rb +7 -0
  336. data/config/webpack/environment.js +14 -10
  337. data/config/webpacker.yml +5 -4
  338. data/config/webpacker_packed.yml +86 -0
  339. data/db/factories.rb +10 -3
  340. data/db/migrate/20210305082639_add_url_to_teams.rb +5 -0
  341. data/lib/avo.rb +3 -0
  342. data/lib/avo/app/action.rb +51 -45
  343. data/lib/avo/app/actions_loader.rb +11 -0
  344. data/lib/avo/app/app.rb +57 -45
  345. data/lib/avo/app/fields/badge_field.rb +3 -30
  346. data/lib/avo/app/fields/belongs_to.rb +38 -50
  347. data/lib/avo/app/fields/boolean_field.rb +8 -10
  348. data/lib/avo/app/fields/boolean_group_field.rb +13 -11
  349. data/lib/avo/app/fields/code_field.rb +11 -9
  350. data/lib/avo/app/fields/country_field.rb +12 -21
  351. data/lib/avo/app/fields/currency_field.rb +1 -2
  352. data/lib/avo/app/fields/date_field.rb +16 -11
  353. data/lib/avo/app/fields/date_time_field.rb +38 -0
  354. data/lib/avo/app/fields/external_image_field.rb +23 -0
  355. data/lib/avo/app/fields/field.rb +76 -84
  356. data/lib/avo/app/fields/field_extensions/visible_in_different_views.rb +5 -5
  357. data/lib/avo/app/fields/file_field.rb +8 -14
  358. data/lib/avo/app/fields/files_field.rb +10 -18
  359. data/lib/avo/app/fields/gravatar_field.rb +18 -13
  360. data/lib/avo/app/fields/has_and_belongs_to_many.rb +13 -24
  361. data/lib/avo/app/fields/has_many.rb +13 -26
  362. data/lib/avo/app/fields/has_one.rb +23 -30
  363. data/lib/avo/app/fields/heading_field.rb +2 -8
  364. data/lib/avo/app/fields/hidden_field.rb +2 -2
  365. data/lib/avo/app/fields/id_field.rb +2 -8
  366. data/lib/avo/app/fields/key_value_field.rb +5 -2
  367. data/lib/avo/app/fields/markdown_field.rb +1 -1
  368. data/lib/avo/app/fields/number_field.rb +5 -12
  369. data/lib/avo/app/fields/password_field.rb +1 -1
  370. data/lib/avo/app/fields/select_field.rb +33 -10
  371. data/lib/avo/app/fields/status_field.rb +9 -7
  372. data/lib/avo/app/fields/text_field.rb +1 -8
  373. data/lib/avo/app/fields/textarea_field.rb +2 -9
  374. data/lib/avo/app/fields/trix_field.rb +3 -7
  375. data/lib/avo/app/fields_loader.rb +29 -0
  376. data/lib/avo/app/licensing/hq.rb +3 -3
  377. data/lib/avo/app/licensing/license.rb +1 -1
  378. data/lib/avo/app/resource.rb +184 -126
  379. data/lib/avo/app/services/authorization_service.rb +68 -6
  380. data/lib/avo/app/services/panel_service.rb +25 -0
  381. data/lib/avo/configuration.rb +7 -1
  382. data/lib/avo/engine.rb +4 -1
  383. data/lib/avo/version.rb +1 -1
  384. data/lib/generators/avo/controller_generator.rb +13 -0
  385. data/lib/generators/avo/resource_generator.rb +16 -2
  386. data/lib/generators/avo/templates/initializer/avo.rb +3 -0
  387. data/lib/generators/avo/templates/locales/avo.en.yml +5 -1
  388. data/lib/generators/avo/templates/resource/%plural_name%_controller.tt +2 -0
  389. data/lib/generators/avo/templates/resource/%singular_name%.tt +20 -0
  390. data/public/avo-packs/css/application-3598cfbb.css +6 -0
  391. data/public/avo-packs/css/application-3598cfbb.css.br +0 -0
  392. data/public/avo-packs/css/application-3598cfbb.css.gz +0 -0
  393. data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js +2 -0
  394. data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.br +0 -0
  395. data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.gz +0 -0
  396. data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.map +1 -0
  397. data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.map.br +0 -0
  398. data/public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.map.gz +0 -0
  399. data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js +26 -0
  400. data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.LICENSE.txt +77 -0
  401. data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.br +0 -0
  402. data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.gz +0 -0
  403. data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.map +1 -0
  404. data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.map.br +0 -0
  405. data/public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.map.gz +0 -0
  406. data/public/avo-packs/manifest.json +17 -46
  407. data/public/avo-packs/manifest.json.br +0 -0
  408. data/public/avo-packs/manifest.json.gz +0 -0
  409. data/public/avo-packs/media/fonts/nunito-v16-latin-700-2cc22f9c0cf217cbfc371f3b74992305.ttf +0 -0
  410. data/public/avo-packs/media/fonts/nunito-v16-latin-700-2cc22f9c0cf217cbfc371f3b74992305.ttf.br +0 -0
  411. data/public/avo-packs/media/fonts/nunito-v16-latin-700-2cc22f9c0cf217cbfc371f3b74992305.ttf.gz +0 -0
  412. data/public/avo-packs/media/fonts/nunito-v16-latin-700-35bd1c96bc2e402cf22ea812ae067995.svg +388 -0
  413. data/public/avo-packs/media/fonts/nunito-v16-latin-700-35bd1c96bc2e402cf22ea812ae067995.svg.br +0 -0
  414. data/public/avo-packs/media/fonts/nunito-v16-latin-700-35bd1c96bc2e402cf22ea812ae067995.svg.gz +0 -0
  415. data/public/avo-packs/media/fonts/nunito-v16-latin-700-412073df419ad5f6f8f2ea76eb4aced9.woff2 +0 -0
  416. data/public/avo-packs/media/fonts/nunito-v16-latin-700-7c472b19cb573f537bad8ef62ca917ac.woff +0 -0
  417. data/public/avo-packs/media/fonts/nunito-v16-latin-700-df7e79af617f98cd3b95d320e8b2a1af.eot +0 -0
  418. data/public/avo-packs/media/fonts/nunito-v16-latin-regular-00fbd8a72a3708b8314cce5f0515640e.svg +380 -0
  419. data/public/avo-packs/media/fonts/nunito-v16-latin-regular-00fbd8a72a3708b8314cce5f0515640e.svg.br +0 -0
  420. data/public/avo-packs/media/fonts/nunito-v16-latin-regular-00fbd8a72a3708b8314cce5f0515640e.svg.gz +0 -0
  421. data/public/avo-packs/media/fonts/nunito-v16-latin-regular-2fae1e2418251b68fe5d0505ab93dd5c.eot +0 -0
  422. data/public/avo-packs/media/fonts/nunito-v16-latin-regular-bcf84d6cb8a0ac214c8c14ba9af834f3.woff2 +0 -0
  423. data/public/avo-packs/media/fonts/nunito-v16-latin-regular-cb632c9fe211ba2c2bf1564c9a9295cc.woff +0 -0
  424. data/public/avo-packs/media/fonts/nunito-v16-latin-regular-df8c4bee41b6ca0ed2b7b71456ed7fbb.ttf +0 -0
  425. data/public/avo-packs/media/fonts/nunito-v16-latin-regular-df8c4bee41b6ca0ed2b7b71456ed7fbb.ttf.br +0 -0
  426. data/public/avo-packs/media/fonts/nunito-v16-latin-regular-df8c4bee41b6ca0ed2b7b71456ed7fbb.ttf.gz +0 -0
  427. metadata +421 -134
  428. data/app/controllers/avo/filters_controller.rb +0 -19
  429. data/app/views/avo/home/router.html.erb +0 -8
  430. data/app/views/layouts/avo/_javascript.html.erb +0 -8
  431. data/app/views/layouts/avo/_translations.html.erb +0 -5
  432. data/config/webpack/loaders/vue-post-css.js +0 -20
  433. data/config/webpack/loaders/vue-svg.js +0 -21
  434. data/config/webpack/loaders/vue.js +0 -6
  435. data/lib/avo/app/fields/datetime_field.rb +0 -34
  436. data/lib/avo/app/resource_actions.rb +0 -18
  437. data/lib/avo/app/resource_fields.rb +0 -26
  438. data/lib/avo/app/resource_filters.rb +0 -18
  439. data/lib/generators/avo/templates/resource.rb +0 -14
  440. data/public/avo-packs/css/application-c9595d99.css +0 -3
  441. data/public/avo-packs/css/application-c9595d99.css.br +0 -0
  442. data/public/avo-packs/css/application-c9595d99.css.gz +0 -0
  443. data/public/avo-packs/js/application-54cdc48985a045c704ef.js +0 -3
  444. data/public/avo-packs/js/application-54cdc48985a045c704ef.js.LICENSE.txt +0 -767
  445. data/public/avo-packs/js/application-54cdc48985a045c704ef.js.br +0 -0
  446. data/public/avo-packs/js/application-54cdc48985a045c704ef.js.gz +0 -0
  447. data/public/avo-packs/js/application-54cdc48985a045c704ef.js.map +0 -1
  448. data/public/avo-packs/js/application-54cdc48985a045c704ef.js.map.br +0 -0
  449. data/public/avo-packs/js/application-54cdc48985a045c704ef.js.map.gz +0 -0
  450. data/public/avo-packs/media/font/fontello-068ca2b3.ttf +0 -0
  451. data/public/avo-packs/media/font/fontello-068ca2b3.ttf.br +0 -0
  452. data/public/avo-packs/media/font/fontello-068ca2b3.ttf.gz +0 -0
  453. data/public/avo-packs/media/font/fontello-8d4a4e6f.woff2 +0 -0
  454. data/public/avo-packs/media/font/fontello-9354499c.svg +0 -72
  455. data/public/avo-packs/media/font/fontello-9354499c.svg.br +0 -0
  456. data/public/avo-packs/media/font/fontello-9354499c.svg.gz +0 -0
  457. data/public/avo-packs/media/font/fontello-a782baa8.woff +0 -0
  458. data/public/avo-packs/media/font/fontello-e73a0647.eot +0 -0
  459. data/public/avo-packs/media/font/fontello-e73a0647.eot.br +0 -0
  460. data/public/avo-packs/media/font/fontello-e73a0647.eot.gz +0 -0
  461. data/public/avo-packs/media/svgs/arrow-circle-right-1ad1e15ec9a7aa54b67d126566a5aa2d.svg.br +0 -0
  462. data/public/avo-packs/media/svgs/arrow-circle-right-1ad1e15ec9a7aa54b67d126566a5aa2d.svg.gz +0 -0
  463. data/public/avo-packs/media/svgs/arrow-left-0e8e808ff771a62a348d0232c8ccf539.svg.br +0 -0
  464. data/public/avo-packs/media/svgs/avocado-bca389be7cf81162df902dfbd09b8adb.svg.br +0 -0
  465. data/public/avo-packs/media/svgs/avocado-bca389be7cf81162df902dfbd09b8adb.svg.gz +0 -0
  466. data/public/avo-packs/media/svgs/check-circle-be9e4dcbd25467ae9a3d3c6c5c7a09fa.svg.br +0 -0
  467. data/public/avo-packs/media/svgs/chevron-down-01208b17a1f70a1bb8d82bba131da4f4.svg.br +0 -0
  468. data/public/avo-packs/media/svgs/chevron-down-01208b17a1f70a1bb8d82bba131da4f4.svg.gz +0 -0
  469. data/public/avo-packs/media/svgs/chevron-up-25ecf340dd76966d5ed63c85c025befc.svg.br +0 -0
  470. data/public/avo-packs/media/svgs/chevron-up-25ecf340dd76966d5ed63c85c025befc.svg.gz +0 -0
  471. data/public/avo-packs/media/svgs/code-69010c6ddb6ad50be8677f16468c51f8.svg.br +0 -0
  472. data/public/avo-packs/media/svgs/color-swatch-60cf90fb6b5386e38f3b003f34e7ecbe.svg.br +0 -0
  473. data/public/avo-packs/media/svgs/color-swatch-60cf90fb6b5386e38f3b003f34e7ecbe.svg.gz +0 -0
  474. data/public/avo-packs/media/svgs/download-c6ae3f12364a467c28cbf41dc90afbdd.svg.br +0 -0
  475. data/public/avo-packs/media/svgs/download-c6ae3f12364a467c28cbf41dc90afbdd.svg.gz +0 -0
  476. data/public/avo-packs/media/svgs/edit-46c6dbef52ba6ddfc9afbc37186dfa2b.svg.br +0 -0
  477. data/public/avo-packs/media/svgs/edit-46c6dbef52ba6ddfc9afbc37186dfa2b.svg.gz +0 -0
  478. data/public/avo-packs/media/svgs/exclamation-8d1c0baa390a8df9bb52176011eb5892.svg.br +0 -0
  479. data/public/avo-packs/media/svgs/exclamation-8d1c0baa390a8df9bb52176011eb5892.svg.gz +0 -0
  480. data/public/avo-packs/media/svgs/eye-cc6f85c70ebed6929712a5c7d51f102d.svg.br +0 -1
  481. data/public/avo-packs/media/svgs/eye-cc6f85c70ebed6929712a5c7d51f102d.svg.gz +0 -0
  482. data/public/avo-packs/media/svgs/filter-0007cddbc85cfe207f9876d4d184444a.svg.br +0 -0
  483. data/public/avo-packs/media/svgs/filter-0007cddbc85cfe207f9876d4d184444a.svg.gz +0 -0
  484. data/public/avo-packs/media/svgs/fire-782f08df79993311b6d907e12d9ebe9f.svg.br +0 -0
  485. data/public/avo-packs/media/svgs/fire-782f08df79993311b6d907e12d9ebe9f.svg.gz +0 -0
  486. data/public/avo-packs/media/svgs/game-board-6c59fe04181ac9954356c9f1f4d28053.svg.br +0 -0
  487. data/public/avo-packs/media/svgs/game-board-6c59fe04181ac9954356c9f1f4d28053.svg.gz +0 -0
  488. data/public/avo-packs/media/svgs/globe-dfd9977c9d65814d2fc576904406dd08.svg.br +0 -0
  489. data/public/avo-packs/media/svgs/globe-dfd9977c9d65814d2fc576904406dd08.svg.gz +0 -0
  490. data/public/avo-packs/media/svgs/library-7d391192a15da64fbb527908c9e035c7.svg.br +0 -0
  491. data/public/avo-packs/media/svgs/photograph-9f37f1f5e6a48e68ce3b7d9cbe7b6fad.svg.br +0 -2
  492. data/public/avo-packs/media/svgs/photograph-9f37f1f5e6a48e68ce3b7d9cbe7b6fad.svg.gz +0 -0
  493. data/public/avo-packs/media/svgs/plus-530f0af27b9f1a4552454233c2f9a641.svg.br +0 -0
  494. data/public/avo-packs/media/svgs/plus-circle-b379b2a2aa803511ae5945b6fd323204.svg.br +0 -0
  495. data/public/avo-packs/media/svgs/question-mark-circle-3ece1d61091827910cdd097db711062b.svg.br +0 -0
  496. data/public/avo-packs/media/svgs/question-mark-circle-3ece1d61091827910cdd097db711062b.svg.gz +0 -0
  497. data/public/avo-packs/media/svgs/save-e54acd7ac9646053e36382776f822756.svg.br +0 -0
  498. data/public/avo-packs/media/svgs/save-e54acd7ac9646053e36382776f822756.svg.gz +0 -0
  499. data/public/avo-packs/media/svgs/selector-b43b3957d7cc121d06be14312613c218.svg.br +0 -0
  500. data/public/avo-packs/media/svgs/sort-ascending-f5bc0761702809cab20b0ea3065cb88a.svg.br +0 -0
  501. data/public/avo-packs/media/svgs/sort-descending-1c8ddc56c72be6781e59d808f9d06203.svg.br +0 -0
  502. data/public/avo-packs/media/svgs/switch-horizontal-d23337f0fb533a86d14b746d25ad48ae.svg.br +0 -2
  503. data/public/avo-packs/media/svgs/switch-horizontal-d23337f0fb533a86d14b746d25ad48ae.svg.gz +0 -0
  504. data/public/avo-packs/media/svgs/thumbs-down-44f83eacbf5b8fe0f2f085da75866ce0.svg.br +0 -0
  505. data/public/avo-packs/media/svgs/thumbs-down-44f83eacbf5b8fe0f2f085da75866ce0.svg.gz +0 -0
  506. data/public/avo-packs/media/svgs/thumbs-up-b866900017db179b50d6b19a1424ed25.svg.br +0 -4
  507. data/public/avo-packs/media/svgs/thumbs-up-b866900017db179b50d6b19a1424ed25.svg.gz +0 -0
  508. data/public/avo-packs/media/svgs/times-539256e95a00360c3bbc6160c6b695cd.svg +0 -1
  509. data/public/avo-packs/media/svgs/times-539256e95a00360c3bbc6160c6b695cd.svg.br +0 -0
  510. data/public/avo-packs/media/svgs/times-539256e95a00360c3bbc6160c6b695cd.svg.gz +0 -0
  511. data/public/avo-packs/media/svgs/trash-a61412a066e358bcc24494a5080b7255.svg.br +0 -0
  512. data/public/avo-packs/media/svgs/trash-a61412a066e358bcc24494a5080b7255.svg.gz +0 -0
  513. data/public/avo-packs/media/svgs/view-grid-393669034db69f59497616d5416ae411.svg.br +0 -1
  514. data/public/avo-packs/media/svgs/view-grid-393669034db69f59497616d5416ae411.svg.gz +0 -0
  515. data/public/avo-packs/media/svgs/view-grid-add-d0ee477a044e5d46c0c62af66cb6de77.svg.br +0 -0
  516. data/public/avo-packs/media/svgs/view-grid-add-d0ee477a044e5d46c0c62af66cb6de77.svg.gz +0 -0
  517. data/public/avo-packs/media/svgs/view-list-8a7a159ca5d892f72cf8c6744a2074e2.svg.br +0 -3
  518. data/public/avo-packs/media/svgs/view-list-8a7a159ca5d892f72cf8c6744a2074e2.svg.gz +0 -0
  519. data/public/avo-packs/media/svgs/x-circle-c540f9ccfe937ad9b4f662e0b65e47e2.svg.br +0 -0
  520. data/public/avo-packs/media/svgs/x-circle-c540f9ccfe937ad9b4f662e0b65e47e2.svg.gz +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.5.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-28 00:00:00.000000000 Z
12
+ date: 2021-03-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -26,7 +26,7 @@ dependencies:
26
26
  - !ruby/object:Gem::Version
27
27
  version: '6.0'
28
28
  - !ruby/object:Gem::Dependency
29
- name: kaminari
29
+ name: pagy
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
@@ -137,6 +137,62 @@ dependencies:
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
+ - !ruby/object:Gem::Dependency
141
+ name: active_link_to
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ type: :runtime
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: image_processing
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ type: :runtime
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ - !ruby/object:Gem::Dependency
169
+ name: view_component
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ type: :runtime
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ - !ruby/object:Gem::Dependency
183
+ name: hotwire-rails
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ type: :runtime
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
140
196
  description: Avo is a beautiful next-generation framework that empowers you, the developer,
141
197
  to create fantastic admin panels for your Ruby on Rails apps with the flexibility
142
198
  to fit your needs as you grow.
@@ -152,42 +208,351 @@ files:
152
208
  - Rakefile
153
209
  - app/assets/config/avo_manifest.js
154
210
  - app/assets/stylesheets/avo/application.css
211
+ - app/components/avo/common/badge_viewer_component.html.erb
212
+ - app/components/avo/common/badge_viewer_component.rb
213
+ - app/components/avo/common/boolean_check_component.html.erb
214
+ - app/components/avo/common/boolean_check_component.rb
215
+ - app/components/avo/common/boolean_group_component.html.erb
216
+ - app/components/avo/common/boolean_group_component.rb
217
+ - app/components/avo/common/files_list_viewer_component.html.erb
218
+ - app/components/avo/common/files_list_viewer_component.rb
219
+ - app/components/avo/common/gravatar_viewer_component.html.erb
220
+ - app/components/avo/common/gravatar_viewer_component.rb
221
+ - app/components/avo/common/heading_component.html.erb
222
+ - app/components/avo/common/heading_component.rb
223
+ - app/components/avo/common/multiple_file_viewer_component.html.erb
224
+ - app/components/avo/common/multiple_file_viewer_component.rb
225
+ - app/components/avo/common/single_file_viewer_component.html.erb
226
+ - app/components/avo/common/single_file_viewer_component.rb
227
+ - app/components/avo/common/status_viewer_component.html.erb
228
+ - app/components/avo/common/status_viewer_component.rb
229
+ - app/components/avo/edit/field_wrapper_component.html.erb
230
+ - app/components/avo/edit/field_wrapper_component.rb
231
+ - app/components/avo/edit/fields/belongs_to_field_component.html.erb
232
+ - app/components/avo/edit/fields/belongs_to_field_component.rb
233
+ - app/components/avo/edit/fields/boolean_field_component.html.erb
234
+ - app/components/avo/edit/fields/boolean_field_component.rb
235
+ - app/components/avo/edit/fields/boolean_group_field_component.html.erb
236
+ - app/components/avo/edit/fields/boolean_group_field_component.rb
237
+ - app/components/avo/edit/fields/code_field_component.html.erb
238
+ - app/components/avo/edit/fields/code_field_component.rb
239
+ - app/components/avo/edit/fields/country_field_component.html.erb
240
+ - app/components/avo/edit/fields/country_field_component.rb
241
+ - app/components/avo/edit/fields/date_field_component.html.erb
242
+ - app/components/avo/edit/fields/date_field_component.rb
243
+ - app/components/avo/edit/fields/date_time_field_component.html.erb
244
+ - app/components/avo/edit/fields/date_time_field_component.rb
245
+ - app/components/avo/edit/fields/external_image_field_component.html.erb
246
+ - app/components/avo/edit/fields/external_image_field_component.rb
247
+ - app/components/avo/edit/fields/field_component.rb
248
+ - app/components/avo/edit/fields/file_field_component.html.erb
249
+ - app/components/avo/edit/fields/file_field_component.rb
250
+ - app/components/avo/edit/fields/files_field_component.html.erb
251
+ - app/components/avo/edit/fields/files_field_component.rb
252
+ - app/components/avo/edit/fields/heading_field_component.html.erb
253
+ - app/components/avo/edit/fields/heading_field_component.rb
254
+ - app/components/avo/edit/fields/hidden_field_component.html.erb
255
+ - app/components/avo/edit/fields/hidden_field_component.rb
256
+ - app/components/avo/edit/fields/id_field_component.html.erb
257
+ - app/components/avo/edit/fields/id_field_component.rb
258
+ - app/components/avo/edit/fields/markdown_field_component.html.erb
259
+ - app/components/avo/edit/fields/markdown_field_component.rb
260
+ - app/components/avo/edit/fields/number_field_component.html.erb
261
+ - app/components/avo/edit/fields/number_field_component.rb
262
+ - app/components/avo/edit/fields/password_field_component.html.erb
263
+ - app/components/avo/edit/fields/password_field_component.rb
264
+ - app/components/avo/edit/fields/select_field_component.html.erb
265
+ - app/components/avo/edit/fields/select_field_component.rb
266
+ - app/components/avo/edit/fields/status_field_component.html.erb
267
+ - app/components/avo/edit/fields/status_field_component.rb
268
+ - app/components/avo/edit/fields/text_field_component.html.erb
269
+ - app/components/avo/edit/fields/text_field_component.rb
270
+ - app/components/avo/edit/fields/textarea_field_component.html.erb
271
+ - app/components/avo/edit/fields/textarea_field_component.rb
272
+ - app/components/avo/edit/fields/trix_field_component.html.erb
273
+ - app/components/avo/edit/fields/trix_field_component.rb
274
+ - app/components/avo/index/field_wrapper_component.html.erb
275
+ - app/components/avo/index/field_wrapper_component.rb
276
+ - app/components/avo/index/fields/badge_field_component.html.erb
277
+ - app/components/avo/index/fields/badge_field_component.rb
278
+ - app/components/avo/index/fields/belongs_to_field_component.html.erb
279
+ - app/components/avo/index/fields/belongs_to_field_component.rb
280
+ - app/components/avo/index/fields/boolean_field_component.html.erb
281
+ - app/components/avo/index/fields/boolean_field_component.rb
282
+ - app/components/avo/index/fields/boolean_group_field_component.html.erb
283
+ - app/components/avo/index/fields/boolean_group_field_component.rb
284
+ - app/components/avo/index/fields/country_field_component.html.erb
285
+ - app/components/avo/index/fields/country_field_component.rb
286
+ - app/components/avo/index/fields/date_field_component.html.erb
287
+ - app/components/avo/index/fields/date_field_component.rb
288
+ - app/components/avo/index/fields/date_time_field_component.html.erb
289
+ - app/components/avo/index/fields/date_time_field_component.rb
290
+ - app/components/avo/index/fields/external_image_field_component.html.erb
291
+ - app/components/avo/index/fields/external_image_field_component.rb
292
+ - app/components/avo/index/fields/field_component.html.erb
293
+ - app/components/avo/index/fields/field_component.rb
294
+ - app/components/avo/index/fields/file_field_component.html.erb
295
+ - app/components/avo/index/fields/file_field_component.rb
296
+ - app/components/avo/index/fields/files_field_component.html.erb
297
+ - app/components/avo/index/fields/files_field_component.rb
298
+ - app/components/avo/index/fields/gravatar_field_component.html.erb
299
+ - app/components/avo/index/fields/gravatar_field_component.rb
300
+ - app/components/avo/index/fields/has_one_field_component.html.erb
301
+ - app/components/avo/index/fields/has_one_field_component.rb
302
+ - app/components/avo/index/fields/id_field_component.html.erb
303
+ - app/components/avo/index/fields/id_field_component.rb
304
+ - app/components/avo/index/fields/number_field_component.html.erb
305
+ - app/components/avo/index/fields/number_field_component.rb
306
+ - app/components/avo/index/fields/select_field_component.html.erb
307
+ - app/components/avo/index/fields/select_field_component.rb
308
+ - app/components/avo/index/fields/status_field_component.html.erb
309
+ - app/components/avo/index/fields/status_field_component.rb
310
+ - app/components/avo/index/fields/text_field_component.html.erb
311
+ - app/components/avo/index/fields/text_field_component.rb
312
+ - app/components/avo/index/grid_item_component.html.erb
313
+ - app/components/avo/index/grid_item_component.rb
314
+ - app/components/avo/index/resource_controls_component.html.erb
315
+ - app/components/avo/index/resource_controls_component.rb
316
+ - app/components/avo/index/resource_grid_component.html.erb
317
+ - app/components/avo/index/resource_grid_component.rb
318
+ - app/components/avo/index/resource_table_component.html.erb
319
+ - app/components/avo/index/resource_table_component.rb
320
+ - app/components/avo/index/table_row_component.html.erb
321
+ - app/components/avo/index/table_row_component.rb
322
+ - app/components/avo/loading_component.html.erb
323
+ - app/components/avo/loading_component.rb
324
+ - app/components/avo/modal_component.html.erb
325
+ - app/components/avo/modal_component.rb
326
+ - app/components/avo/navigation_heading_component.html.erb
327
+ - app/components/avo/navigation_heading_component.rb
328
+ - app/components/avo/navigation_link_component.html.erb
329
+ - app/components/avo/navigation_link_component.rb
330
+ - app/components/avo/panel_component.html.erb
331
+ - app/components/avo/panel_component.rb
332
+ - app/components/avo/resource_component.rb
333
+ - app/components/avo/show/field_wrapper_component.html.erb
334
+ - app/components/avo/show/field_wrapper_component.rb
335
+ - app/components/avo/show/fields/badge_field_component.html.erb
336
+ - app/components/avo/show/fields/badge_field_component.rb
337
+ - app/components/avo/show/fields/belongs_to_field_component.html.erb
338
+ - app/components/avo/show/fields/belongs_to_field_component.rb
339
+ - app/components/avo/show/fields/boolean_field_component.html.erb
340
+ - app/components/avo/show/fields/boolean_field_component.rb
341
+ - app/components/avo/show/fields/boolean_group_field_component.html.erb
342
+ - app/components/avo/show/fields/boolean_group_field_component.rb
343
+ - app/components/avo/show/fields/code_field_component.html.erb
344
+ - app/components/avo/show/fields/code_field_component.rb
345
+ - app/components/avo/show/fields/country_field_component.html.erb
346
+ - app/components/avo/show/fields/country_field_component.rb
347
+ - app/components/avo/show/fields/date_field_component.html.erb
348
+ - app/components/avo/show/fields/date_field_component.rb
349
+ - app/components/avo/show/fields/date_time_field_component.html.erb
350
+ - app/components/avo/show/fields/date_time_field_component.rb
351
+ - app/components/avo/show/fields/external_image_field_component.html.erb
352
+ - app/components/avo/show/fields/external_image_field_component.rb
353
+ - app/components/avo/show/fields/field_component.rb
354
+ - app/components/avo/show/fields/file_field_component.html.erb
355
+ - app/components/avo/show/fields/file_field_component.rb
356
+ - app/components/avo/show/fields/files_field_component.html.erb
357
+ - app/components/avo/show/fields/files_field_component.rb
358
+ - app/components/avo/show/fields/gravatar_field_component.html.erb
359
+ - app/components/avo/show/fields/gravatar_field_component.rb
360
+ - app/components/avo/show/fields/has_many_field_component.html.erb
361
+ - app/components/avo/show/fields/has_many_field_component.rb
362
+ - app/components/avo/show/fields/has_one_field_component.html.erb
363
+ - app/components/avo/show/fields/has_one_field_component.rb
364
+ - app/components/avo/show/fields/heading_field_component.html.erb
365
+ - app/components/avo/show/fields/heading_field_component.rb
366
+ - app/components/avo/show/fields/id_field_component.html.erb
367
+ - app/components/avo/show/fields/id_field_component.rb
368
+ - app/components/avo/show/fields/markdown_field_component.html.erb
369
+ - app/components/avo/show/fields/markdown_field_component.rb
370
+ - app/components/avo/show/fields/number_field_component.html.erb
371
+ - app/components/avo/show/fields/number_field_component.rb
372
+ - app/components/avo/show/fields/select_field_component.html.erb
373
+ - app/components/avo/show/fields/select_field_component.rb
374
+ - app/components/avo/show/fields/status_field_component.html.erb
375
+ - app/components/avo/show/fields/status_field_component.rb
376
+ - app/components/avo/show/fields/text_field_component.html.erb
377
+ - app/components/avo/show/fields/text_field_component.rb
378
+ - app/components/avo/show/fields/textarea_field_component.html.erb
379
+ - app/components/avo/show/fields/textarea_field_component.rb
380
+ - app/components/avo/show/fields/trix_field_component.html.erb
381
+ - app/components/avo/show/fields/trix_field_component.rb
382
+ - app/components/avo/views/resource_edit_component.html.erb
383
+ - app/components/avo/views/resource_edit_component.rb
384
+ - app/components/avo/views/resource_index_component.html.erb
385
+ - app/components/avo/views/resource_index_component.rb
386
+ - app/components/avo/views/resource_new_component.html.erb
387
+ - app/components/avo/views/resource_new_component.rb
388
+ - app/components/avo/views/resource_show_component.html.erb
389
+ - app/components/avo/views/resource_show_component.rb
155
390
  - app/controllers/avo/actions_controller.rb
156
391
  - app/controllers/avo/application_controller.rb
157
- - app/controllers/avo/filters_controller.rb
392
+ - app/controllers/avo/attachments_controller.rb
393
+ - app/controllers/avo/base_controller.rb
158
394
  - app/controllers/avo/home_controller.rb
159
395
  - app/controllers/avo/relations_controller.rb
160
396
  - app/controllers/avo/resource_overview_controller.rb
161
397
  - app/controllers/avo/resources_controller.rb
162
398
  - app/controllers/avo/search_controller.rb
399
+ - app/frontend/css/alerts.css
400
+ - app/frontend/css/application.css
401
+ - app/frontend/css/components/code.css
402
+ - app/frontend/css/components/status.css
403
+ - app/frontend/css/fonts.css
404
+ - app/frontend/css/loader.css
405
+ - app/frontend/css/pagination.css
406
+ - app/frontend/css/tailwindcss/base.css
407
+ - app/frontend/css/tailwindcss/components.css
408
+ - app/frontend/css/tailwindcss/utilities.css
409
+ - app/frontend/css/tooltips.css
410
+ - app/frontend/css/typography.css
411
+ - app/frontend/fonts/nunito-v16-latin-700.eot
412
+ - app/frontend/fonts/nunito-v16-latin-700.svg
413
+ - app/frontend/fonts/nunito-v16-latin-700.ttf
414
+ - app/frontend/fonts/nunito-v16-latin-700.woff
415
+ - app/frontend/fonts/nunito-v16-latin-700.woff2
416
+ - app/frontend/fonts/nunito-v16-latin-regular.eot
417
+ - app/frontend/fonts/nunito-v16-latin-regular.svg
418
+ - app/frontend/fonts/nunito-v16-latin-regular.ttf
419
+ - app/frontend/fonts/nunito-v16-latin-regular.woff
420
+ - app/frontend/fonts/nunito-v16-latin-regular.woff2
421
+ - app/frontend/images/logo.png
422
+ - app/frontend/importmap.json.erb
423
+ - app/frontend/js/controllers/action_controller.js
424
+ - app/frontend/js/controllers/actions_picker_controller.js
425
+ - app/frontend/js/controllers/alerts_controller.js
426
+ - app/frontend/js/controllers/attachments_controller.js
427
+ - app/frontend/js/controllers/boolean_filter_controller.js
428
+ - app/frontend/js/controllers/fields/code_field_controller.js
429
+ - app/frontend/js/controllers/fields/date_field_controller.js
430
+ - app/frontend/js/controllers/fields/simple_mde_controller.js
431
+ - app/frontend/js/controllers/filter_controller.js
432
+ - app/frontend/js/controllers/hidden_input_controller.js
433
+ - app/frontend/js/controllers/item_selector_controller.js
434
+ - app/frontend/js/controllers/modal_controller.js
435
+ - app/frontend/js/controllers/per_page_controller.js
436
+ - app/frontend/js/controllers/select_filter_controller.js
437
+ - app/frontend/js/controllers/tippy_controller.js
438
+ - app/frontend/js/controllers/toggle_panel_controller.js
439
+ - app/frontend/js/helpers/cast_boolean.js
440
+ - app/frontend/js/toastr.js
441
+ - app/frontend/packs/application.js
442
+ - app/frontend/svgs/arrow-circle-right.svg
443
+ - app/frontend/svgs/arrow-left.svg
444
+ - app/frontend/svgs/avocado.svg
445
+ - app/frontend/svgs/badge-check-sm.svg
446
+ - app/frontend/svgs/check-circle.svg
447
+ - app/frontend/svgs/chevron-down.svg
448
+ - app/frontend/svgs/chevron-up.svg
449
+ - app/frontend/svgs/code.svg
450
+ - app/frontend/svgs/color-swatch.svg
451
+ - app/frontend/svgs/document-text.svg
452
+ - app/frontend/svgs/download.svg
453
+ - app/frontend/svgs/edit.svg
454
+ - app/frontend/svgs/exclamation-circle-sm.svg
455
+ - app/frontend/svgs/exclamation-sm.svg
456
+ - app/frontend/svgs/exclamation.svg
457
+ - app/frontend/svgs/eye.svg
458
+ - app/frontend/svgs/filter.svg
459
+ - app/frontend/svgs/fire.svg
460
+ - app/frontend/svgs/game-board.svg
461
+ - app/frontend/svgs/globe.svg
462
+ - app/frontend/svgs/information-circle-sm.svg
463
+ - app/frontend/svgs/information-circle.svg
464
+ - app/frontend/svgs/library.svg
465
+ - app/frontend/svgs/photograph.svg
466
+ - app/frontend/svgs/play.svg
467
+ - app/frontend/svgs/plus-circle.svg
468
+ - app/frontend/svgs/plus.svg
469
+ - app/frontend/svgs/question-mark-circle.svg
470
+ - app/frontend/svgs/save.svg
471
+ - app/frontend/svgs/selector.svg
472
+ - app/frontend/svgs/sort-ascending.svg
473
+ - app/frontend/svgs/sort-descending.svg
474
+ - app/frontend/svgs/switch-horizontal.svg
475
+ - app/frontend/svgs/thumbs-down.svg
476
+ - app/frontend/svgs/thumbs-up.svg
477
+ - app/frontend/svgs/times.svg
478
+ - app/frontend/svgs/trash-sm.svg
479
+ - app/frontend/svgs/trash.svg
480
+ - app/frontend/svgs/view-grid-add.svg
481
+ - app/frontend/svgs/view-grid.svg
482
+ - app/frontend/svgs/view-list.svg
483
+ - app/frontend/svgs/x-circle.svg
484
+ - app/helpers/avo/actions_helper.rb
163
485
  - app/helpers/avo/application_helper.rb
486
+ - app/helpers/avo/attachments_helper.rb
487
+ - app/helpers/avo/resources_helper.rb
164
488
  - app/mailers/avo/application_mailer.rb
489
+ - app/views/avo/actions/show.html.erb
490
+ - app/views/avo/attachments/show.html.erb
491
+ - app/views/avo/base/_actions.html.erb
492
+ - app/views/avo/base/_boolean_filter.html.erb
493
+ - app/views/avo/base/_filters.html.erb
494
+ - app/views/avo/base/_select_filter.html.erb
495
+ - app/views/avo/base/edit.html.erb
496
+ - app/views/avo/base/index.html.erb
497
+ - app/views/avo/base/new.html.erb
498
+ - app/views/avo/base/show.html.erb
499
+ - app/views/avo/home/_actions.html.erb
500
+ - app/views/avo/home/_docs.html.erb
501
+ - app/views/avo/home/_filters.html.erb
502
+ - app/views/avo/home/_resources.html.erb
165
503
  - app/views/avo/home/index.html.erb
166
- - app/views/avo/home/router.html.erb
167
- - app/views/layouts/avo/_javascript.html.erb
168
- - app/views/layouts/avo/_translations.html.erb
504
+ - app/views/avo/partials/_a_button.html.erb
505
+ - app/views/avo/partials/_a_link.html.erb
506
+ - app/views/avo/partials/_alert.html.erb
507
+ - app/views/avo/partials/_alerts.html.erb
508
+ - app/views/avo/partials/_empty_state.html.erb
509
+ - app/views/avo/partials/_footer.html.erb
510
+ - app/views/avo/partials/_header.html.erb
511
+ - app/views/avo/partials/_javascript.html.erb
512
+ - app/views/avo/partials/_logo.html.erb
513
+ - app/views/avo/partials/_paginator.html.erb
514
+ - app/views/avo/partials/_sortable_component.html.erb
515
+ - app/views/avo/partials/_table_header.html.erb
516
+ - app/views/avo/partials/_view_toggle_button.html.erb
517
+ - app/views/avo/relations/new.html.erb
518
+ - app/views/avo/sidebar/_license_warning.html.erb
519
+ - app/views/avo/sidebar/_license_warnings.html.erb
520
+ - app/views/avo/sidebar/_sidebar.html.erb
521
+ - app/views/kaminari/_first_page.html.erb
522
+ - app/views/kaminari/_last_page.html.erb
523
+ - app/views/kaminari/_next_page.html.erb
524
+ - app/views/kaminari/_page.html.erb
525
+ - app/views/kaminari/_prev_page.html.erb
526
+ - app/views/layouts/avo/_filter_wrapper.html.erb
169
527
  - app/views/layouts/avo/application.html.erb
170
- - app/views/partials/_footer.html.erb
171
- - app/views/partials/_header.html.erb
172
- - app/views/partials/_logo.html.erb
528
+ - app/views/layouts/avo/application_vue.html.erb
173
529
  - avo.gemspec
530
+ - bin/helpers.rb
531
+ - bin/init
174
532
  - bin/rails
533
+ - bin/rspec
534
+ - bin/spring
535
+ - bin/test
175
536
  - bin/webpack
176
537
  - bin/webpack-dev-server
538
+ - config/cable.yml
177
539
  - config/credentials.yml.enc
540
+ - config/initializers/inline_svg.rb
541
+ - config/initializers/pagy.rb
178
542
  - config/routes.rb
543
+ - config/spring.rb
179
544
  - config/webpack/aliases.js
180
545
  - config/webpack/development.js
181
546
  - config/webpack/environment.js
182
- - config/webpack/loaders/vue-post-css.js
183
- - config/webpack/loaders/vue-svg.js
184
- - config/webpack/loaders/vue.js
185
547
  - config/webpack/production.js
186
548
  - config/webpack/test.js
187
549
  - config/webpacker.yml
550
+ - config/webpacker_packed.yml
188
551
  - db/factories.rb
552
+ - db/migrate/20210305082639_add_url_to_teams.rb
189
553
  - lib/avo.rb
190
554
  - lib/avo/app/action.rb
555
+ - lib/avo/app/actions_loader.rb
191
556
  - lib/avo/app/app.rb
192
557
  - lib/avo/app/fields/badge_field.rb
193
558
  - lib/avo/app/fields/belongs_to.rb
@@ -197,7 +562,8 @@ files:
197
562
  - lib/avo/app/fields/country_field.rb
198
563
  - lib/avo/app/fields/currency_field.rb
199
564
  - lib/avo/app/fields/date_field.rb
200
- - lib/avo/app/fields/datetime_field.rb
565
+ - lib/avo/app/fields/date_time_field.rb
566
+ - lib/avo/app/fields/external_image_field.rb
201
567
  - lib/avo/app/fields/field.rb
202
568
  - lib/avo/app/fields/field_extensions/has_field_name.rb
203
569
  - lib/avo/app/fields/field_extensions/visible_in_different_views.rb
@@ -219,6 +585,7 @@ files:
219
585
  - lib/avo/app/fields/text_field.rb
220
586
  - lib/avo/app/fields/textarea_field.rb
221
587
  - lib/avo/app/fields/trix_field.rb
588
+ - lib/avo/app/fields_loader.rb
222
589
  - lib/avo/app/filter.rb
223
590
  - lib/avo/app/filters/boolean_filter.rb
224
591
  - lib/avo/app/filters/select_filter.rb
@@ -233,17 +600,16 @@ files:
233
600
  - lib/avo/app/licensing/null_license.rb
234
601
  - lib/avo/app/licensing/pro_license.rb
235
602
  - lib/avo/app/resource.rb
236
- - lib/avo/app/resource_actions.rb
237
- - lib/avo/app/resource_fields.rb
238
- - lib/avo/app/resource_filters.rb
239
603
  - lib/avo/app/resource_grid_fields.rb
240
604
  - lib/avo/app/services/authorization_service.rb
605
+ - lib/avo/app/services/panel_service.rb
241
606
  - lib/avo/app/tool.rb
242
607
  - lib/avo/app/tools_manager.rb
243
608
  - lib/avo/configuration.rb
244
609
  - lib/avo/engine.rb
245
610
  - lib/avo/version.rb
246
611
  - lib/generators/avo/action_generator.rb
612
+ - lib/generators/avo/controller_generator.rb
247
613
  - lib/generators/avo/filter_generator.rb
248
614
  - lib/generators/avo/install_generator.rb
249
615
  - lib/generators/avo/resource_generator.rb
@@ -252,131 +618,52 @@ files:
252
618
  - lib/generators/avo/templates/filters/select_filter.rb
253
619
  - lib/generators/avo/templates/initializer/avo.rb
254
620
  - lib/generators/avo/templates/locales/avo.en.yml
255
- - lib/generators/avo/templates/resource.rb
621
+ - lib/generators/avo/templates/resource/%plural_name%_controller.tt
622
+ - lib/generators/avo/templates/resource/%singular_name%.tt
256
623
  - lib/generators/avo/templates/views/_footer.html.erb
257
624
  - lib/generators/avo/templates/views/_header.html.erb
258
625
  - lib/generators/avo/templates/views/_logo.html.erb
259
626
  - lib/generators/avo/templates/views/_scripts.html.erb
260
627
  - lib/generators/avo/views_generator.rb
261
628
  - lib/tasks/avo_tasks.rake
262
- - public/avo-packs/css/application-c9595d99.css
263
- - public/avo-packs/css/application-c9595d99.css.br
264
- - public/avo-packs/css/application-c9595d99.css.gz
265
- - public/avo-packs/js/application-54cdc48985a045c704ef.js
266
- - public/avo-packs/js/application-54cdc48985a045c704ef.js.LICENSE.txt
267
- - public/avo-packs/js/application-54cdc48985a045c704ef.js.br
268
- - public/avo-packs/js/application-54cdc48985a045c704ef.js.gz
269
- - public/avo-packs/js/application-54cdc48985a045c704ef.js.map
270
- - public/avo-packs/js/application-54cdc48985a045c704ef.js.map.br
271
- - public/avo-packs/js/application-54cdc48985a045c704ef.js.map.gz
629
+ - public/avo-packs/css/application-3598cfbb.css
630
+ - public/avo-packs/css/application-3598cfbb.css.br
631
+ - public/avo-packs/css/application-3598cfbb.css.gz
632
+ - public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js
633
+ - public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.br
634
+ - public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.gz
635
+ - public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.map
636
+ - public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.map.br
637
+ - public/avo-packs/js/1-0565987ca0c3045602ad.chunk.js.map.gz
638
+ - public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js
639
+ - public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.LICENSE.txt
640
+ - public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.br
641
+ - public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.gz
642
+ - public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.map
643
+ - public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.map.br
644
+ - public/avo-packs/js/application-6ba2bd1bca05d69b96e0.js.map.gz
272
645
  - public/avo-packs/manifest.json
273
646
  - public/avo-packs/manifest.json.br
274
647
  - public/avo-packs/manifest.json.gz
275
- - public/avo-packs/media/font/fontello-068ca2b3.ttf
276
- - public/avo-packs/media/font/fontello-068ca2b3.ttf.br
277
- - public/avo-packs/media/font/fontello-068ca2b3.ttf.gz
278
- - public/avo-packs/media/font/fontello-8d4a4e6f.woff2
279
- - public/avo-packs/media/font/fontello-9354499c.svg
280
- - public/avo-packs/media/font/fontello-9354499c.svg.br
281
- - public/avo-packs/media/font/fontello-9354499c.svg.gz
282
- - public/avo-packs/media/font/fontello-a782baa8.woff
283
- - public/avo-packs/media/font/fontello-e73a0647.eot
284
- - public/avo-packs/media/font/fontello-e73a0647.eot.br
285
- - public/avo-packs/media/font/fontello-e73a0647.eot.gz
648
+ - public/avo-packs/media/fonts/nunito-v16-latin-700-2cc22f9c0cf217cbfc371f3b74992305.ttf
649
+ - public/avo-packs/media/fonts/nunito-v16-latin-700-2cc22f9c0cf217cbfc371f3b74992305.ttf.br
650
+ - public/avo-packs/media/fonts/nunito-v16-latin-700-2cc22f9c0cf217cbfc371f3b74992305.ttf.gz
651
+ - public/avo-packs/media/fonts/nunito-v16-latin-700-35bd1c96bc2e402cf22ea812ae067995.svg
652
+ - public/avo-packs/media/fonts/nunito-v16-latin-700-35bd1c96bc2e402cf22ea812ae067995.svg.br
653
+ - public/avo-packs/media/fonts/nunito-v16-latin-700-35bd1c96bc2e402cf22ea812ae067995.svg.gz
654
+ - public/avo-packs/media/fonts/nunito-v16-latin-700-412073df419ad5f6f8f2ea76eb4aced9.woff2
655
+ - public/avo-packs/media/fonts/nunito-v16-latin-700-7c472b19cb573f537bad8ef62ca917ac.woff
656
+ - public/avo-packs/media/fonts/nunito-v16-latin-700-df7e79af617f98cd3b95d320e8b2a1af.eot
657
+ - public/avo-packs/media/fonts/nunito-v16-latin-regular-00fbd8a72a3708b8314cce5f0515640e.svg
658
+ - public/avo-packs/media/fonts/nunito-v16-latin-regular-00fbd8a72a3708b8314cce5f0515640e.svg.br
659
+ - public/avo-packs/media/fonts/nunito-v16-latin-regular-00fbd8a72a3708b8314cce5f0515640e.svg.gz
660
+ - public/avo-packs/media/fonts/nunito-v16-latin-regular-2fae1e2418251b68fe5d0505ab93dd5c.eot
661
+ - public/avo-packs/media/fonts/nunito-v16-latin-regular-bcf84d6cb8a0ac214c8c14ba9af834f3.woff2
662
+ - public/avo-packs/media/fonts/nunito-v16-latin-regular-cb632c9fe211ba2c2bf1564c9a9295cc.woff
663
+ - public/avo-packs/media/fonts/nunito-v16-latin-regular-df8c4bee41b6ca0ed2b7b71456ed7fbb.ttf
664
+ - public/avo-packs/media/fonts/nunito-v16-latin-regular-df8c4bee41b6ca0ed2b7b71456ed7fbb.ttf.br
665
+ - public/avo-packs/media/fonts/nunito-v16-latin-regular-df8c4bee41b6ca0ed2b7b71456ed7fbb.ttf.gz
286
666
  - public/avo-packs/media/images/logo-edf8d8d0d263e0c1f73bb32a222d9991.png
287
- - public/avo-packs/media/svgs/arrow-circle-right-1ad1e15ec9a7aa54b67d126566a5aa2d.svg
288
- - public/avo-packs/media/svgs/arrow-circle-right-1ad1e15ec9a7aa54b67d126566a5aa2d.svg.br
289
- - public/avo-packs/media/svgs/arrow-circle-right-1ad1e15ec9a7aa54b67d126566a5aa2d.svg.gz
290
- - public/avo-packs/media/svgs/arrow-left-0e8e808ff771a62a348d0232c8ccf539.svg
291
- - public/avo-packs/media/svgs/arrow-left-0e8e808ff771a62a348d0232c8ccf539.svg.br
292
- - public/avo-packs/media/svgs/avocado-bca389be7cf81162df902dfbd09b8adb.svg
293
- - public/avo-packs/media/svgs/avocado-bca389be7cf81162df902dfbd09b8adb.svg.br
294
- - public/avo-packs/media/svgs/avocado-bca389be7cf81162df902dfbd09b8adb.svg.gz
295
- - public/avo-packs/media/svgs/check-circle-be9e4dcbd25467ae9a3d3c6c5c7a09fa.svg
296
- - public/avo-packs/media/svgs/check-circle-be9e4dcbd25467ae9a3d3c6c5c7a09fa.svg.br
297
- - public/avo-packs/media/svgs/chevron-down-01208b17a1f70a1bb8d82bba131da4f4.svg
298
- - public/avo-packs/media/svgs/chevron-down-01208b17a1f70a1bb8d82bba131da4f4.svg.br
299
- - public/avo-packs/media/svgs/chevron-down-01208b17a1f70a1bb8d82bba131da4f4.svg.gz
300
- - public/avo-packs/media/svgs/chevron-up-25ecf340dd76966d5ed63c85c025befc.svg
301
- - public/avo-packs/media/svgs/chevron-up-25ecf340dd76966d5ed63c85c025befc.svg.br
302
- - public/avo-packs/media/svgs/chevron-up-25ecf340dd76966d5ed63c85c025befc.svg.gz
303
- - public/avo-packs/media/svgs/code-69010c6ddb6ad50be8677f16468c51f8.svg
304
- - public/avo-packs/media/svgs/code-69010c6ddb6ad50be8677f16468c51f8.svg.br
305
- - public/avo-packs/media/svgs/color-swatch-60cf90fb6b5386e38f3b003f34e7ecbe.svg
306
- - public/avo-packs/media/svgs/color-swatch-60cf90fb6b5386e38f3b003f34e7ecbe.svg.br
307
- - public/avo-packs/media/svgs/color-swatch-60cf90fb6b5386e38f3b003f34e7ecbe.svg.gz
308
- - public/avo-packs/media/svgs/download-c6ae3f12364a467c28cbf41dc90afbdd.svg
309
- - public/avo-packs/media/svgs/download-c6ae3f12364a467c28cbf41dc90afbdd.svg.br
310
- - public/avo-packs/media/svgs/download-c6ae3f12364a467c28cbf41dc90afbdd.svg.gz
311
- - public/avo-packs/media/svgs/edit-46c6dbef52ba6ddfc9afbc37186dfa2b.svg
312
- - public/avo-packs/media/svgs/edit-46c6dbef52ba6ddfc9afbc37186dfa2b.svg.br
313
- - public/avo-packs/media/svgs/edit-46c6dbef52ba6ddfc9afbc37186dfa2b.svg.gz
314
- - public/avo-packs/media/svgs/exclamation-8d1c0baa390a8df9bb52176011eb5892.svg
315
- - public/avo-packs/media/svgs/exclamation-8d1c0baa390a8df9bb52176011eb5892.svg.br
316
- - public/avo-packs/media/svgs/exclamation-8d1c0baa390a8df9bb52176011eb5892.svg.gz
317
- - public/avo-packs/media/svgs/eye-cc6f85c70ebed6929712a5c7d51f102d.svg
318
- - public/avo-packs/media/svgs/eye-cc6f85c70ebed6929712a5c7d51f102d.svg.br
319
- - public/avo-packs/media/svgs/eye-cc6f85c70ebed6929712a5c7d51f102d.svg.gz
320
- - public/avo-packs/media/svgs/filter-0007cddbc85cfe207f9876d4d184444a.svg
321
- - public/avo-packs/media/svgs/filter-0007cddbc85cfe207f9876d4d184444a.svg.br
322
- - public/avo-packs/media/svgs/filter-0007cddbc85cfe207f9876d4d184444a.svg.gz
323
- - public/avo-packs/media/svgs/fire-782f08df79993311b6d907e12d9ebe9f.svg
324
- - public/avo-packs/media/svgs/fire-782f08df79993311b6d907e12d9ebe9f.svg.br
325
- - public/avo-packs/media/svgs/fire-782f08df79993311b6d907e12d9ebe9f.svg.gz
326
- - public/avo-packs/media/svgs/game-board-6c59fe04181ac9954356c9f1f4d28053.svg
327
- - public/avo-packs/media/svgs/game-board-6c59fe04181ac9954356c9f1f4d28053.svg.br
328
- - public/avo-packs/media/svgs/game-board-6c59fe04181ac9954356c9f1f4d28053.svg.gz
329
- - public/avo-packs/media/svgs/globe-dfd9977c9d65814d2fc576904406dd08.svg
330
- - public/avo-packs/media/svgs/globe-dfd9977c9d65814d2fc576904406dd08.svg.br
331
- - public/avo-packs/media/svgs/globe-dfd9977c9d65814d2fc576904406dd08.svg.gz
332
- - public/avo-packs/media/svgs/library-7d391192a15da64fbb527908c9e035c7.svg
333
- - public/avo-packs/media/svgs/library-7d391192a15da64fbb527908c9e035c7.svg.br
334
- - public/avo-packs/media/svgs/photograph-9f37f1f5e6a48e68ce3b7d9cbe7b6fad.svg
335
- - public/avo-packs/media/svgs/photograph-9f37f1f5e6a48e68ce3b7d9cbe7b6fad.svg.br
336
- - public/avo-packs/media/svgs/photograph-9f37f1f5e6a48e68ce3b7d9cbe7b6fad.svg.gz
337
- - public/avo-packs/media/svgs/plus-530f0af27b9f1a4552454233c2f9a641.svg
338
- - public/avo-packs/media/svgs/plus-530f0af27b9f1a4552454233c2f9a641.svg.br
339
- - public/avo-packs/media/svgs/plus-circle-b379b2a2aa803511ae5945b6fd323204.svg
340
- - public/avo-packs/media/svgs/plus-circle-b379b2a2aa803511ae5945b6fd323204.svg.br
341
- - public/avo-packs/media/svgs/question-mark-circle-3ece1d61091827910cdd097db711062b.svg
342
- - public/avo-packs/media/svgs/question-mark-circle-3ece1d61091827910cdd097db711062b.svg.br
343
- - public/avo-packs/media/svgs/question-mark-circle-3ece1d61091827910cdd097db711062b.svg.gz
344
- - public/avo-packs/media/svgs/save-e54acd7ac9646053e36382776f822756.svg
345
- - public/avo-packs/media/svgs/save-e54acd7ac9646053e36382776f822756.svg.br
346
- - public/avo-packs/media/svgs/save-e54acd7ac9646053e36382776f822756.svg.gz
347
- - public/avo-packs/media/svgs/selector-b43b3957d7cc121d06be14312613c218.svg
348
- - public/avo-packs/media/svgs/selector-b43b3957d7cc121d06be14312613c218.svg.br
349
- - public/avo-packs/media/svgs/sort-ascending-f5bc0761702809cab20b0ea3065cb88a.svg
350
- - public/avo-packs/media/svgs/sort-ascending-f5bc0761702809cab20b0ea3065cb88a.svg.br
351
- - public/avo-packs/media/svgs/sort-descending-1c8ddc56c72be6781e59d808f9d06203.svg
352
- - public/avo-packs/media/svgs/sort-descending-1c8ddc56c72be6781e59d808f9d06203.svg.br
353
- - public/avo-packs/media/svgs/switch-horizontal-d23337f0fb533a86d14b746d25ad48ae.svg
354
- - public/avo-packs/media/svgs/switch-horizontal-d23337f0fb533a86d14b746d25ad48ae.svg.br
355
- - public/avo-packs/media/svgs/switch-horizontal-d23337f0fb533a86d14b746d25ad48ae.svg.gz
356
- - public/avo-packs/media/svgs/thumbs-down-44f83eacbf5b8fe0f2f085da75866ce0.svg
357
- - public/avo-packs/media/svgs/thumbs-down-44f83eacbf5b8fe0f2f085da75866ce0.svg.br
358
- - public/avo-packs/media/svgs/thumbs-down-44f83eacbf5b8fe0f2f085da75866ce0.svg.gz
359
- - public/avo-packs/media/svgs/thumbs-up-b866900017db179b50d6b19a1424ed25.svg
360
- - public/avo-packs/media/svgs/thumbs-up-b866900017db179b50d6b19a1424ed25.svg.br
361
- - public/avo-packs/media/svgs/thumbs-up-b866900017db179b50d6b19a1424ed25.svg.gz
362
- - public/avo-packs/media/svgs/times-539256e95a00360c3bbc6160c6b695cd.svg
363
- - public/avo-packs/media/svgs/times-539256e95a00360c3bbc6160c6b695cd.svg.br
364
- - public/avo-packs/media/svgs/times-539256e95a00360c3bbc6160c6b695cd.svg.gz
365
- - public/avo-packs/media/svgs/trash-a61412a066e358bcc24494a5080b7255.svg
366
- - public/avo-packs/media/svgs/trash-a61412a066e358bcc24494a5080b7255.svg.br
367
- - public/avo-packs/media/svgs/trash-a61412a066e358bcc24494a5080b7255.svg.gz
368
- - public/avo-packs/media/svgs/view-grid-393669034db69f59497616d5416ae411.svg
369
- - public/avo-packs/media/svgs/view-grid-393669034db69f59497616d5416ae411.svg.br
370
- - public/avo-packs/media/svgs/view-grid-393669034db69f59497616d5416ae411.svg.gz
371
- - public/avo-packs/media/svgs/view-grid-add-d0ee477a044e5d46c0c62af66cb6de77.svg
372
- - public/avo-packs/media/svgs/view-grid-add-d0ee477a044e5d46c0c62af66cb6de77.svg.br
373
- - public/avo-packs/media/svgs/view-grid-add-d0ee477a044e5d46c0c62af66cb6de77.svg.gz
374
- - public/avo-packs/media/svgs/view-list-8a7a159ca5d892f72cf8c6744a2074e2.svg
375
- - public/avo-packs/media/svgs/view-list-8a7a159ca5d892f72cf8c6744a2074e2.svg.br
376
- - public/avo-packs/media/svgs/view-list-8a7a159ca5d892f72cf8c6744a2074e2.svg.gz
377
- - public/avo-packs/media/svgs/x-circle-c540f9ccfe937ad9b4f662e0b65e47e2.svg
378
- - public/avo-packs/media/svgs/x-circle-c540f9ccfe937ad9b4f662e0b65e47e2.svg.br
379
- - public/avo-packs/media/svgs/x-circle-c540f9ccfe937ad9b4f662e0b65e47e2.svg.gz
380
667
  homepage: https://avohq.io
381
668
  licenses:
382
669
  - Commercial
@@ -397,9 +684,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
397
684
  version: '0'
398
685
  required_rubygems_version: !ruby/object:Gem::Requirement
399
686
  requirements:
400
- - - ">="
687
+ - - ">"
401
688
  - !ruby/object:Gem::Version
402
- version: '0'
689
+ version: 1.3.1
403
690
  requirements: []
404
691
  rubygems_version: 3.0.3
405
692
  signing_key: