avo 1.22.2 → 1.23.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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +6 -0
  4. data/app/{views/avo/partials/_alert.html.erb → components/avo/alert_component.html.erb} +0 -0
  5. data/app/components/avo/alert_component.rb +11 -0
  6. data/app/components/avo/alerts_component.html.erb +3 -0
  7. data/app/components/avo/alerts_component.rb +5 -0
  8. data/app/components/avo/navigation_link_component.rb +1 -1
  9. data/app/{views/avo/partials/_turbo_frame_wrap.html.erb → components/avo/turbo_frame_wrapper_component.html.erb} +2 -2
  10. data/app/components/avo/turbo_frame_wrapper_component.rb +9 -0
  11. data/app/controllers/avo/application_controller.rb +7 -0
  12. data/app/controllers/avo/base_controller.rb +0 -1
  13. data/app/helpers/avo/application_helper.rb +1 -1
  14. data/app/javascript/js/application.js +1 -1
  15. data/app/javascript/js/controllers/action_controller.js +1 -1
  16. data/app/javascript/js/controllers/actions_picker_controller.js +1 -1
  17. data/app/javascript/js/controllers/alerts_controller.js +1 -1
  18. data/app/javascript/js/controllers/attachments_controller.js +1 -1
  19. data/app/javascript/js/controllers/fields/belongs_to_field_controller.js +1 -1
  20. data/app/javascript/js/controllers/fields/code_field_controller.js +1 -1
  21. data/app/javascript/js/controllers/fields/date_field_controller.js +1 -1
  22. data/app/javascript/js/controllers/fields/key_value_controller.js +3 -3
  23. data/app/javascript/js/controllers/fields/simple_mde_controller.js +1 -1
  24. data/app/javascript/js/controllers/fields/trix_field_controller.js +1 -1
  25. data/app/javascript/js/controllers/filter_controller.js +3 -7
  26. data/app/javascript/js/controllers/hidden_input_controller.js +1 -1
  27. data/app/javascript/js/controllers/item_select_all_controller.js +4 -4
  28. data/app/javascript/js/controllers/item_selector_controller.js +1 -1
  29. data/app/javascript/js/controllers/loading_button_controller.js +1 -1
  30. data/app/javascript/js/controllers/modal_controller.js +10 -1
  31. data/app/javascript/js/controllers/per_page_controller.js +1 -1
  32. data/app/javascript/js/controllers/search_controller.js +7 -2
  33. data/app/javascript/js/controllers/tippy_controller.js +1 -1
  34. data/app/javascript/js/controllers/toggle_panel_controller.js +1 -1
  35. data/app/views/avo/actions/show.html.erb +7 -3
  36. data/app/views/layouts/avo/application.html.erb +1 -1
  37. data/lib/avo/base_action.rb +21 -0
  38. data/lib/avo/licensing/h_q.rb +55 -1
  39. data/lib/avo/version.rb +1 -1
  40. data/public/avo-assets/avo.js +2569 -1926
  41. data/public/avo-assets/avo.js.map +3 -3
  42. metadata +8 -5
  43. data/app/views/avo/partials/_alerts.html.erb +0 -3
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: 1.22.2
4
+ version: 1.23.0
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: 2022-02-22 00:00:00.000000000 Z
12
+ date: 2022-02-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -271,6 +271,10 @@ files:
271
271
  - app/assets/svgs/x-circle-sm.svg
272
272
  - app/assets/svgs/x-circle.svg
273
273
  - app/assets/svgs/x.svg
274
+ - app/components/avo/alert_component.html.erb
275
+ - app/components/avo/alert_component.rb
276
+ - app/components/avo/alerts_component.html.erb
277
+ - app/components/avo/alerts_component.rb
274
278
  - app/components/avo/edit/field_wrapper_component.html.erb
275
279
  - app/components/avo/edit/field_wrapper_component.rb
276
280
  - app/components/avo/fields/badge_field/index_component.html.erb
@@ -457,6 +461,8 @@ files:
457
461
  - app/components/avo/resource_component.rb
458
462
  - app/components/avo/show/field_wrapper_component.html.erb
459
463
  - app/components/avo/show/field_wrapper_component.rb
464
+ - app/components/avo/turbo_frame_wrapper_component.html.erb
465
+ - app/components/avo/turbo_frame_wrapper_component.rb
460
466
  - app/components/avo/views/resource_edit_component.html.erb
461
467
  - app/components/avo/views/resource_edit_component.rb
462
468
  - app/components/avo/views/resource_index_component.html.erb
@@ -530,8 +536,6 @@ files:
530
536
  - app/views/avo/home/index.html.erb
531
537
  - app/views/avo/partials/_a_button.html.erb
532
538
  - app/views/avo/partials/_a_link.html.erb
533
- - app/views/avo/partials/_alert.html.erb
534
- - app/views/avo/partials/_alerts.html.erb
535
539
  - app/views/avo/partials/_custom_tools_alert.html.erb
536
540
  - app/views/avo/partials/_empty_state.html.erb
537
541
  - app/views/avo/partials/_failed_state.html.erb
@@ -547,7 +551,6 @@ files:
547
551
  - app/views/avo/partials/_scripts.html.erb
548
552
  - app/views/avo/partials/_sortable_component.html.erb
549
553
  - app/views/avo/partials/_table_header.html.erb
550
- - app/views/avo/partials/_turbo_frame_wrap.html.erb
551
554
  - app/views/avo/partials/_view_toggle_button.html.erb
552
555
  - app/views/avo/relations/new.html.erb
553
556
  - app/views/avo/sidebar/_license_warning.html.erb
@@ -1,3 +0,0 @@
1
- <% flash.each do |type, message| %>
2
- <%= render partial: 'avo/partials/alert', locals: {type: type.to_sym, message: message} %>
3
- <% end %>