avo 2.9.1.pre3 → 2.9.1.pre4

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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -1
  3. data/app/assets/builds/avo.js +63 -63
  4. data/app/assets/builds/avo.js.map +2 -2
  5. data/app/components/avo/actions_component.rb +6 -2
  6. data/app/components/avo/base_component.rb +2 -0
  7. data/app/components/avo/fields/common/single_file_viewer_component.rb +1 -1
  8. data/app/components/avo/fields/date_field/edit_component.html.erb +1 -0
  9. data/app/components/avo/fields/date_time_field/edit_component.html.erb +9 -11
  10. data/app/components/avo/fields/date_time_field/index_component.html.erb +1 -9
  11. data/app/components/avo/fields/date_time_field/show_component.html.erb +1 -9
  12. data/app/components/avo/index/ordering/button_component.rb +3 -13
  13. data/app/components/avo/views/resource_edit_component.rb +1 -1
  14. data/app/components/avo/views/resource_index_component.rb +2 -2
  15. data/app/controllers/avo/application_controller.rb +24 -3
  16. data/app/javascript/avo.js +5 -1
  17. data/app/javascript/js/controllers/fields/date_field_controller.js +24 -68
  18. data/app/views/avo/partials/_javascript.html.erb +1 -1
  19. data/config/routes.rb +1 -1
  20. data/lib/avo/app.rb +6 -2
  21. data/lib/avo/base_card.rb +1 -7
  22. data/lib/avo/base_resource.rb +1 -1
  23. data/lib/avo/concerns/handles_field_args.rb +1 -1
  24. data/lib/avo/concerns/model_class_constantized.rb +23 -0
  25. data/lib/avo/dashboards/base_dashboard.rb +1 -1
  26. data/lib/avo/fields/date_field.rb +2 -0
  27. data/lib/avo/fields/date_time_field.rb +9 -13
  28. data/lib/avo/fields/has_base_field.rb +3 -1
  29. data/lib/avo/fields/has_one_field.rb +4 -1
  30. data/lib/avo/menu/builder.rb +3 -7
  31. data/lib/avo/services/uri_service.rb +41 -0
  32. data/lib/avo/version.rb +1 -1
  33. data/lib/avo.rb +1 -0
  34. data/public/avo-assets/avo.js +63 -63
  35. data/public/avo-assets/avo.js.map +2 -2
  36. metadata +4 -2
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: 2.9.1.pre3
4
+ version: 2.9.1.pre4
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-06-28 00:00:00.000000000 Z
12
+ date: 2022-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -1179,6 +1179,7 @@ files:
1179
1179
  - lib/avo/concerns/has_model.rb
1180
1180
  - lib/avo/concerns/has_stimulus_controllers.rb
1181
1181
  - lib/avo/concerns/has_tools.rb
1182
+ - lib/avo/concerns/model_class_constantized.rb
1182
1183
  - lib/avo/configuration.rb
1183
1184
  - lib/avo/dashboards/base_dashboard.rb
1184
1185
  - lib/avo/dashboards/base_divider.rb
@@ -1262,6 +1263,7 @@ files:
1262
1263
  - lib/avo/menu/section.rb
1263
1264
  - lib/avo/reloader.rb
1264
1265
  - lib/avo/services/authorization_service.rb
1266
+ - lib/avo/services/uri_service.rb
1265
1267
  - lib/avo/tools_manager.rb
1266
1268
  - lib/avo/version.rb
1267
1269
  - lib/generators/avo/action_generator.rb