avo 2.17.1.pre.1.zeitwerk.eager.load.dir → 2.17.1.pre.3

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -2
  3. data/Gemfile.lock +5 -11
  4. data/app/components/avo/button_component.rb +2 -2
  5. data/app/components/avo/fields/common/single_file_viewer_component.html.erb +3 -3
  6. data/app/components/avo/fields/date_field/edit_component.html.erb +2 -0
  7. data/app/components/avo/fields/date_field/index_component.html.erb +1 -0
  8. data/app/components/avo/fields/date_field/show_component.html.erb +1 -0
  9. data/app/components/avo/fields/date_time_field/edit_component.html.erb +2 -0
  10. data/app/components/avo/fields/date_time_field/index_component.html.erb +1 -0
  11. data/app/components/avo/fields/date_time_field/show_component.html.erb +1 -0
  12. data/app/components/avo/fields/time_field/edit_component.html.erb +40 -0
  13. data/app/components/avo/fields/time_field/edit_component.rb +4 -0
  14. data/app/components/avo/fields/time_field/index_component.html.erb +15 -0
  15. data/app/components/avo/fields/time_field/index_component.rb +4 -0
  16. data/app/components/avo/fields/time_field/show_component.html.erb +15 -0
  17. data/app/components/avo/fields/time_field/show_component.rb +4 -0
  18. data/app/components/avo/index/resource_controls_component.html.erb +2 -2
  19. data/app/components/avo/sidebar_profile_component.html.erb +4 -1
  20. data/app/components/avo/views/resource_edit_component.html.erb +10 -12
  21. data/app/components/avo/views/resource_show_component.html.erb +21 -25
  22. data/app/controllers/avo/associations_controller.rb +1 -4
  23. data/app/javascript/js/controllers/fields/date_field_controller.js +61 -21
  24. data/app/javascript/js/controllers/search_controller.js +3 -0
  25. data/avo.gemspec +1 -1
  26. data/config/routes.rb +1 -1
  27. data/db/factories.rb +1 -0
  28. data/lib/avo/app.rb +0 -6
  29. data/lib/avo/concerns/handles_field_args.rb +4 -0
  30. data/lib/avo/dynamic_router.rb +15 -19
  31. data/lib/avo/engine.rb +0 -9
  32. data/lib/avo/fields/base_field.rb +5 -1
  33. data/lib/avo/fields/date_field.rb +2 -0
  34. data/lib/avo/fields/time_field.rb +55 -0
  35. data/lib/avo/version.rb +1 -1
  36. data/public/avo-assets/avo.base.js +64 -64
  37. data/public/avo-assets/avo.base.js.map +2 -2
  38. metadata +23 -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.17.1.pre.1.zeitwerk.eager.load.dir
4
+ version: 2.17.1.pre.3
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-10-19 00:00:00.000000000 Z
12
+ date: 2022-10-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -39,6 +39,20 @@ dependencies:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: zeitwerk
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: countries
44
58
  requirement: !ruby/object:Gem::Requirement
@@ -1542,6 +1556,12 @@ files:
1542
1556
  - app/components/avo/fields/textarea_field/edit_component.rb
1543
1557
  - app/components/avo/fields/textarea_field/show_component.html.erb
1544
1558
  - app/components/avo/fields/textarea_field/show_component.rb
1559
+ - app/components/avo/fields/time_field/edit_component.html.erb
1560
+ - app/components/avo/fields/time_field/edit_component.rb
1561
+ - app/components/avo/fields/time_field/index_component.html.erb
1562
+ - app/components/avo/fields/time_field/index_component.rb
1563
+ - app/components/avo/fields/time_field/show_component.html.erb
1564
+ - app/components/avo/fields/time_field/show_component.rb
1545
1565
  - app/components/avo/fields/trix_field/edit_component.html.erb
1546
1566
  - app/components/avo/fields/trix_field/edit_component.rb
1547
1567
  - app/components/avo/fields/trix_field/show_component.html.erb
@@ -1795,6 +1815,7 @@ files:
1795
1815
  - lib/avo/fields/tags_field.rb
1796
1816
  - lib/avo/fields/text_field.rb
1797
1817
  - lib/avo/fields/textarea_field.rb
1818
+ - lib/avo/fields/time_field.rb
1798
1819
  - lib/avo/fields/trix_field.rb
1799
1820
  - lib/avo/filters/base_filter.rb
1800
1821
  - lib/avo/filters/boolean_filter.rb