avo 1.21.1.pre.1 → 1.22.0.pre.1

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 (84) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +57 -57
  3. data/README.md +1 -1
  4. data/app/assets/builds/avo.css +405 -224
  5. data/app/assets/builds/avo.js +16 -6
  6. data/app/assets/builds/avo.js.map +2 -2
  7. data/app/assets/stylesheets/avo.css +1 -1
  8. data/app/assets/stylesheets/css/fonts.css +53 -0
  9. data/app/assets/stylesheets/css/pagination.css +9 -9
  10. data/app/assets/stylesheets/css/search.css +3 -2
  11. data/app/assets/svgs/dashboards-icon.svg +6 -0
  12. data/app/assets/svgs/resources-icon.svg +13 -0
  13. data/app/assets/svgs/three-dots.svg +5 -0
  14. data/app/assets/svgs/tools-icon.svg +3 -0
  15. data/app/components/avo/button_component.html.erb +1 -0
  16. data/app/components/avo/button_component.rb +111 -0
  17. data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +14 -7
  18. data/app/components/avo/fields/belongs_to_field/autocomplete_component.rb +47 -3
  19. data/app/components/avo/fields/belongs_to_field/edit_component.html.erb +19 -4
  20. data/app/components/avo/fields/belongs_to_field/edit_component.rb +37 -0
  21. data/app/components/avo/fields/boolean_field/index_component.html.erb +1 -1
  22. data/app/components/avo/index/field_wrapper_component.html.erb +8 -2
  23. data/app/components/avo/index/field_wrapper_component.rb +2 -1
  24. data/app/components/avo/index/resource_table_component.html.erb +3 -3
  25. data/app/components/avo/index/table_row_component.html.erb +1 -1
  26. data/app/components/avo/navigation_heading_component.html.erb +2 -2
  27. data/app/components/avo/navigation_heading_component.rb +5 -1
  28. data/app/components/avo/navigation_link_component.html.erb +2 -2
  29. data/app/components/avo/navigation_link_component.rb +5 -0
  30. data/app/components/avo/panel_component.html.erb +5 -3
  31. data/app/components/avo/sidebar_profile_component.html.erb +28 -0
  32. data/app/components/avo/sidebar_profile_component.rb +43 -0
  33. data/app/components/avo/views/resource_index_component.html.erb +8 -7
  34. data/app/components/avo/views/resource_show_component.html.erb +10 -0
  35. data/app/controllers/avo/application_controller.rb +1 -1
  36. data/app/helpers/avo/application_helper.rb +7 -5
  37. data/app/helpers/avo/resources_helper.rb +2 -2
  38. data/app/javascript/js/controllers/fields/date_field_controller.js +10 -2
  39. data/app/javascript/js/controllers/item_selector_controller.js +29 -19
  40. data/app/javascript/js/controllers/search_controller.js +8 -3
  41. data/app/views/avo/base/_actions.html.erb +4 -3
  42. data/app/views/avo/base/_filters.html.erb +3 -1
  43. data/app/views/avo/partials/_global_search.html.erb +2 -2
  44. data/app/views/avo/partials/_logo.html.erb +3 -1
  45. data/app/views/avo/partials/_navbar.html.erb +11 -0
  46. data/app/views/avo/partials/_paginator.html.erb +4 -3
  47. data/app/views/avo/partials/_resource_search.html.erb +1 -1
  48. data/app/views/avo/partials/_sidebar.html.erb +35 -0
  49. data/app/views/avo/partials/_table_header.html.erb +3 -3
  50. data/app/views/avo/partials/_turbo_frame_wrap.html.erb +7 -1
  51. data/app/views/avo/partials/_view_toggle_button.html.erb +22 -16
  52. data/app/views/layouts/avo/application.html.erb +3 -13
  53. data/db/factories.rb +7 -3
  54. data/lib/avo/app.rb +4 -3
  55. data/lib/avo/base_resource.rb +16 -14
  56. data/lib/avo/version.rb +1 -1
  57. data/public/avo-assets/avo.css +405 -224
  58. data/public/avo-assets/avo.js +16 -6
  59. data/public/avo-assets/avo.js.map +2 -2
  60. data/public/avo-assets/fonts/inter-v7-latin-500.eot +0 -0
  61. data/public/avo-assets/fonts/inter-v7-latin-500.svg +351 -0
  62. data/public/avo-assets/fonts/inter-v7-latin-500.ttf +0 -0
  63. data/public/avo-assets/fonts/inter-v7-latin-500.woff +0 -0
  64. data/public/avo-assets/fonts/inter-v7-latin-500.woff2 +0 -0
  65. data/public/avo-assets/fonts/inter-v7-latin-600.eot +0 -0
  66. data/public/avo-assets/fonts/inter-v7-latin-600.svg +351 -0
  67. data/public/avo-assets/fonts/inter-v7-latin-600.ttf +0 -0
  68. data/public/avo-assets/fonts/inter-v7-latin-600.woff +0 -0
  69. data/public/avo-assets/fonts/inter-v7-latin-600.woff2 +0 -0
  70. data/public/avo-assets/fonts/inter-v7-latin-700.eot +0 -0
  71. data/public/avo-assets/fonts/inter-v7-latin-700.svg +352 -0
  72. data/public/avo-assets/fonts/inter-v7-latin-700.ttf +0 -0
  73. data/public/avo-assets/fonts/inter-v7-latin-700.woff +0 -0
  74. data/public/avo-assets/fonts/inter-v7-latin-700.woff2 +0 -0
  75. data/public/avo-assets/fonts/inter-v7-latin-regular.eot +0 -0
  76. data/public/avo-assets/fonts/inter-v7-latin-regular.svg +351 -0
  77. data/public/avo-assets/fonts/inter-v7-latin-regular.ttf +0 -0
  78. data/public/avo-assets/fonts/inter-v7-latin-regular.woff +0 -0
  79. data/public/avo-assets/fonts/inter-v7-latin-regular.woff2 +0 -0
  80. data/public/avo-assets/logo.png +0 -0
  81. metadata +32 -5
  82. data/app/assets/images/avo/logo.png +0 -0
  83. data/app/views/avo/partials/_profile_dropdown.html.erb +0 -25
  84. data/app/views/avo/sidebar/_sidebar.html.erb +0 -33
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e78eb8560841b7427b02bd8ec702762d50211df5f1dc12e73ea2f002ffa26006
4
- data.tar.gz: '08f1502ed0e5d5be5d93ab466317a789a978ce6a9c6220536e14776833984723'
3
+ metadata.gz: 10a2613406476740ca5a3cff815bce94c985676c702f530a4c22d0b0607384f3
4
+ data.tar.gz: 06c2d049cbbff831857d26d6985b6f430955d70342c83e813b9599fbd510f619
5
5
  SHA512:
6
- metadata.gz: '09e9d276e94cce4ce299cafe4d99767a27481b3fd375bef413b4a20c1701db4fa21bb483c4015ac1f18392620439aeb9d4369ca1706b880634b760b91ddbcc1c'
7
- data.tar.gz: b935e3dfa5adc7e243989b95e0e8ada16ea7f22b643ee3892b3e9a8dcb9ea8e1ea4535af8871370a80e5df5d33571a24fb4ea01450e4821626a532410b28838e
6
+ metadata.gz: d7c1b1c2e51a5e0b6f5504090dda1b3853706204f107b5edc1fb76834b04b0c1da099fddeed4337a8ec92c5592f3774d22bb637f7bd1ff48db2bf8f9b86ff9b6
7
+ data.tar.gz: cb7873e95cd907c54d6d5cb2d91c7e4af733f200a28ccf4e70a52a04f3db294047bbd7a02bfd74623cbdaa06fcddcf8f4e4ec777ac9d7769e25ef153977dce71
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (1.21.1.pre.1)
4
+ avo (1.22.0.pre.1)
5
5
  active_link_to
6
6
  addressable
7
7
  breadcrumbs_on_rails
@@ -19,40 +19,40 @@ PATH
19
19
  GEM
20
20
  remote: https://rubygems.org/
21
21
  specs:
22
- actioncable (6.1.4.4)
23
- actionpack (= 6.1.4.4)
24
- activesupport (= 6.1.4.4)
22
+ actioncable (6.1.4.6)
23
+ actionpack (= 6.1.4.6)
24
+ activesupport (= 6.1.4.6)
25
25
  nio4r (~> 2.0)
26
26
  websocket-driver (>= 0.6.1)
27
- actionmailbox (6.1.4.4)
28
- actionpack (= 6.1.4.4)
29
- activejob (= 6.1.4.4)
30
- activerecord (= 6.1.4.4)
31
- activestorage (= 6.1.4.4)
32
- activesupport (= 6.1.4.4)
27
+ actionmailbox (6.1.4.6)
28
+ actionpack (= 6.1.4.6)
29
+ activejob (= 6.1.4.6)
30
+ activerecord (= 6.1.4.6)
31
+ activestorage (= 6.1.4.6)
32
+ activesupport (= 6.1.4.6)
33
33
  mail (>= 2.7.1)
34
- actionmailer (6.1.4.4)
35
- actionpack (= 6.1.4.4)
36
- actionview (= 6.1.4.4)
37
- activejob (= 6.1.4.4)
38
- activesupport (= 6.1.4.4)
34
+ actionmailer (6.1.4.6)
35
+ actionpack (= 6.1.4.6)
36
+ actionview (= 6.1.4.6)
37
+ activejob (= 6.1.4.6)
38
+ activesupport (= 6.1.4.6)
39
39
  mail (~> 2.5, >= 2.5.4)
40
40
  rails-dom-testing (~> 2.0)
41
- actionpack (6.1.4.4)
42
- actionview (= 6.1.4.4)
43
- activesupport (= 6.1.4.4)
41
+ actionpack (6.1.4.6)
42
+ actionview (= 6.1.4.6)
43
+ activesupport (= 6.1.4.6)
44
44
  rack (~> 2.0, >= 2.0.9)
45
45
  rack-test (>= 0.6.3)
46
46
  rails-dom-testing (~> 2.0)
47
47
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
48
- actiontext (6.1.4.4)
49
- actionpack (= 6.1.4.4)
50
- activerecord (= 6.1.4.4)
51
- activestorage (= 6.1.4.4)
52
- activesupport (= 6.1.4.4)
48
+ actiontext (6.1.4.6)
49
+ actionpack (= 6.1.4.6)
50
+ activerecord (= 6.1.4.6)
51
+ activestorage (= 6.1.4.6)
52
+ activesupport (= 6.1.4.6)
53
53
  nokogiri (>= 1.8.5)
54
- actionview (6.1.4.4)
55
- activesupport (= 6.1.4.4)
54
+ actionview (6.1.4.6)
55
+ activesupport (= 6.1.4.6)
56
56
  builder (~> 3.1)
57
57
  erubi (~> 1.4)
58
58
  rails-dom-testing (~> 2.0)
@@ -60,22 +60,22 @@ GEM
60
60
  active_link_to (1.0.5)
61
61
  actionpack
62
62
  addressable
63
- activejob (6.1.4.4)
64
- activesupport (= 6.1.4.4)
63
+ activejob (6.1.4.6)
64
+ activesupport (= 6.1.4.6)
65
65
  globalid (>= 0.3.6)
66
- activemodel (6.1.4.4)
67
- activesupport (= 6.1.4.4)
68
- activerecord (6.1.4.4)
69
- activemodel (= 6.1.4.4)
70
- activesupport (= 6.1.4.4)
71
- activestorage (6.1.4.4)
72
- actionpack (= 6.1.4.4)
73
- activejob (= 6.1.4.4)
74
- activerecord (= 6.1.4.4)
75
- activesupport (= 6.1.4.4)
66
+ activemodel (6.1.4.6)
67
+ activesupport (= 6.1.4.6)
68
+ activerecord (6.1.4.6)
69
+ activemodel (= 6.1.4.6)
70
+ activesupport (= 6.1.4.6)
71
+ activestorage (6.1.4.6)
72
+ actionpack (= 6.1.4.6)
73
+ activejob (= 6.1.4.6)
74
+ activerecord (= 6.1.4.6)
75
+ activesupport (= 6.1.4.6)
76
76
  marcel (~> 1.0.0)
77
77
  mini_mime (>= 1.1.0)
78
- activesupport (6.1.4.4)
78
+ activesupport (6.1.4.6)
79
79
  concurrent-ruby (~> 1.0, >= 1.0.2)
80
80
  i18n (>= 1.6, < 2)
81
81
  minitest (>= 5.1)
@@ -179,7 +179,7 @@ GEM
179
179
  httparty (0.20.0)
180
180
  mime-types (~> 3.0)
181
181
  multi_xml (>= 0.5.2)
182
- i18n (1.9.1)
182
+ i18n (1.10.0)
183
183
  concurrent-ruby (~> 1.0)
184
184
  i18n_data (0.15.0)
185
185
  simple_po_parser (~> 1.1)
@@ -197,7 +197,7 @@ GEM
197
197
  listen (3.7.1)
198
198
  rb-fsevent (~> 0.10, >= 0.10.3)
199
199
  rb-inotify (~> 0.9, >= 0.9.10)
200
- loofah (2.13.0)
200
+ loofah (2.14.0)
201
201
  crass (~> 1.0.2)
202
202
  nokogiri (>= 1.5.9)
203
203
  mail (2.7.1)
@@ -242,26 +242,26 @@ GEM
242
242
  public_suffix (4.0.6)
243
243
  puma (5.6.2)
244
244
  nio4r (~> 2.0)
245
- pundit (2.1.1)
245
+ pundit (2.2.0)
246
246
  activesupport (>= 3.0.0)
247
247
  racc (1.6.0)
248
248
  rack (2.2.3)
249
249
  rack-test (1.1.0)
250
250
  rack (>= 1.0, < 3)
251
- rails (6.1.4.4)
252
- actioncable (= 6.1.4.4)
253
- actionmailbox (= 6.1.4.4)
254
- actionmailer (= 6.1.4.4)
255
- actionpack (= 6.1.4.4)
256
- actiontext (= 6.1.4.4)
257
- actionview (= 6.1.4.4)
258
- activejob (= 6.1.4.4)
259
- activemodel (= 6.1.4.4)
260
- activerecord (= 6.1.4.4)
261
- activestorage (= 6.1.4.4)
262
- activesupport (= 6.1.4.4)
251
+ rails (6.1.4.6)
252
+ actioncable (= 6.1.4.6)
253
+ actionmailbox (= 6.1.4.6)
254
+ actionmailer (= 6.1.4.6)
255
+ actionpack (= 6.1.4.6)
256
+ actiontext (= 6.1.4.6)
257
+ actionview (= 6.1.4.6)
258
+ activejob (= 6.1.4.6)
259
+ activemodel (= 6.1.4.6)
260
+ activerecord (= 6.1.4.6)
261
+ activestorage (= 6.1.4.6)
262
+ activesupport (= 6.1.4.6)
263
263
  bundler (>= 1.15.0)
264
- railties (= 6.1.4.4)
264
+ railties (= 6.1.4.6)
265
265
  sprockets-rails (>= 2.0.0)
266
266
  rails-controller-testing (1.0.5)
267
267
  actionpack (>= 5.0.1.rc1)
@@ -272,9 +272,9 @@ GEM
272
272
  nokogiri (>= 1.6)
273
273
  rails-html-sanitizer (1.4.2)
274
274
  loofah (~> 2.3)
275
- railties (6.1.4.4)
276
- actionpack (= 6.1.4.4)
277
- activesupport (= 6.1.4.4)
275
+ railties (6.1.4.6)
276
+ actionpack (= 6.1.4.6)
277
+ activesupport (= 6.1.4.6)
278
278
  method_source
279
279
  rake (>= 0.13)
280
280
  thor (~> 1.0)
data/README.md CHANGED
@@ -54,7 +54,7 @@ $ bundle install
54
54
 
55
55
  # Quick Purchase
56
56
 
57
- Use [this](https://buy.stripe.com/9AQ6rX0uIbLF2CQdQQ) link to quickly purchase a Pro license to support this project. Thank you 🙏
57
+ Use [this](https://avohq.io/purchase/pro) link to quickly purchase a Pro license to support this project. Thank you 🙏
58
58
 
59
59
  # Contributing
60
60