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.
- checksums.yaml +4 -4
- data/Gemfile.lock +57 -57
- data/README.md +1 -1
- data/app/assets/builds/avo.css +405 -224
- data/app/assets/builds/avo.js +16 -6
- data/app/assets/builds/avo.js.map +2 -2
- data/app/assets/stylesheets/avo.css +1 -1
- data/app/assets/stylesheets/css/fonts.css +53 -0
- data/app/assets/stylesheets/css/pagination.css +9 -9
- data/app/assets/stylesheets/css/search.css +3 -2
- data/app/assets/svgs/dashboards-icon.svg +6 -0
- data/app/assets/svgs/resources-icon.svg +13 -0
- data/app/assets/svgs/three-dots.svg +5 -0
- data/app/assets/svgs/tools-icon.svg +3 -0
- data/app/components/avo/button_component.html.erb +1 -0
- data/app/components/avo/button_component.rb +111 -0
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.html.erb +14 -7
- data/app/components/avo/fields/belongs_to_field/autocomplete_component.rb +47 -3
- data/app/components/avo/fields/belongs_to_field/edit_component.html.erb +19 -4
- data/app/components/avo/fields/belongs_to_field/edit_component.rb +37 -0
- data/app/components/avo/fields/boolean_field/index_component.html.erb +1 -1
- data/app/components/avo/index/field_wrapper_component.html.erb +8 -2
- data/app/components/avo/index/field_wrapper_component.rb +2 -1
- data/app/components/avo/index/resource_table_component.html.erb +3 -3
- data/app/components/avo/index/table_row_component.html.erb +1 -1
- data/app/components/avo/navigation_heading_component.html.erb +2 -2
- data/app/components/avo/navigation_heading_component.rb +5 -1
- data/app/components/avo/navigation_link_component.html.erb +2 -2
- data/app/components/avo/navigation_link_component.rb +5 -0
- data/app/components/avo/panel_component.html.erb +5 -3
- data/app/components/avo/sidebar_profile_component.html.erb +28 -0
- data/app/components/avo/sidebar_profile_component.rb +43 -0
- data/app/components/avo/views/resource_index_component.html.erb +8 -7
- data/app/components/avo/views/resource_show_component.html.erb +10 -0
- data/app/controllers/avo/application_controller.rb +1 -1
- data/app/helpers/avo/application_helper.rb +7 -5
- data/app/helpers/avo/resources_helper.rb +2 -2
- data/app/javascript/js/controllers/fields/date_field_controller.js +10 -2
- data/app/javascript/js/controllers/item_selector_controller.js +29 -19
- data/app/javascript/js/controllers/search_controller.js +8 -3
- data/app/views/avo/base/_actions.html.erb +4 -3
- data/app/views/avo/base/_filters.html.erb +3 -1
- data/app/views/avo/partials/_global_search.html.erb +2 -2
- data/app/views/avo/partials/_logo.html.erb +3 -1
- data/app/views/avo/partials/_navbar.html.erb +11 -0
- data/app/views/avo/partials/_paginator.html.erb +4 -3
- data/app/views/avo/partials/_resource_search.html.erb +1 -1
- data/app/views/avo/partials/_sidebar.html.erb +35 -0
- data/app/views/avo/partials/_table_header.html.erb +3 -3
- data/app/views/avo/partials/_turbo_frame_wrap.html.erb +7 -1
- data/app/views/avo/partials/_view_toggle_button.html.erb +22 -16
- data/app/views/layouts/avo/application.html.erb +3 -13
- data/db/factories.rb +7 -3
- data/lib/avo/app.rb +4 -3
- data/lib/avo/base_resource.rb +16 -14
- data/lib/avo/version.rb +1 -1
- data/public/avo-assets/avo.css +405 -224
- data/public/avo-assets/avo.js +16 -6
- data/public/avo-assets/avo.js.map +2 -2
- data/public/avo-assets/fonts/inter-v7-latin-500.eot +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-500.svg +351 -0
- data/public/avo-assets/fonts/inter-v7-latin-500.ttf +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-500.woff +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-500.woff2 +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-600.eot +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-600.svg +351 -0
- data/public/avo-assets/fonts/inter-v7-latin-600.ttf +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-600.woff +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-600.woff2 +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-700.eot +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-700.svg +352 -0
- data/public/avo-assets/fonts/inter-v7-latin-700.ttf +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-700.woff +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-700.woff2 +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-regular.eot +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-regular.svg +351 -0
- data/public/avo-assets/fonts/inter-v7-latin-regular.ttf +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-regular.woff +0 -0
- data/public/avo-assets/fonts/inter-v7-latin-regular.woff2 +0 -0
- data/public/avo-assets/logo.png +0 -0
- metadata +32 -5
- data/app/assets/images/avo/logo.png +0 -0
- data/app/views/avo/partials/_profile_dropdown.html.erb +0 -25
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10a2613406476740ca5a3cff815bce94c985676c702f530a4c22d0b0607384f3
|
4
|
+
data.tar.gz: 06c2d049cbbff831857d26d6985b6f430955d70342c83e813b9599fbd510f619
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
23
|
-
actionpack (= 6.1.4.
|
24
|
-
activesupport (= 6.1.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.
|
28
|
-
actionpack (= 6.1.4.
|
29
|
-
activejob (= 6.1.4.
|
30
|
-
activerecord (= 6.1.4.
|
31
|
-
activestorage (= 6.1.4.
|
32
|
-
activesupport (= 6.1.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.
|
35
|
-
actionpack (= 6.1.4.
|
36
|
-
actionview (= 6.1.4.
|
37
|
-
activejob (= 6.1.4.
|
38
|
-
activesupport (= 6.1.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.
|
42
|
-
actionview (= 6.1.4.
|
43
|
-
activesupport (= 6.1.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.
|
49
|
-
actionpack (= 6.1.4.
|
50
|
-
activerecord (= 6.1.4.
|
51
|
-
activestorage (= 6.1.4.
|
52
|
-
activesupport (= 6.1.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.
|
55
|
-
activesupport (= 6.1.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.
|
64
|
-
activesupport (= 6.1.4.
|
63
|
+
activejob (6.1.4.6)
|
64
|
+
activesupport (= 6.1.4.6)
|
65
65
|
globalid (>= 0.3.6)
|
66
|
-
activemodel (6.1.4.
|
67
|
-
activesupport (= 6.1.4.
|
68
|
-
activerecord (6.1.4.
|
69
|
-
activemodel (= 6.1.4.
|
70
|
-
activesupport (= 6.1.4.
|
71
|
-
activestorage (6.1.4.
|
72
|
-
actionpack (= 6.1.4.
|
73
|
-
activejob (= 6.1.4.
|
74
|
-
activerecord (= 6.1.4.
|
75
|
-
activesupport (= 6.1.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.
|
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.
|
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.
|
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.
|
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.
|
252
|
-
actioncable (= 6.1.4.
|
253
|
-
actionmailbox (= 6.1.4.
|
254
|
-
actionmailer (= 6.1.4.
|
255
|
-
actionpack (= 6.1.4.
|
256
|
-
actiontext (= 6.1.4.
|
257
|
-
actionview (= 6.1.4.
|
258
|
-
activejob (= 6.1.4.
|
259
|
-
activemodel (= 6.1.4.
|
260
|
-
activerecord (= 6.1.4.
|
261
|
-
activestorage (= 6.1.4.
|
262
|
-
activesupport (= 6.1.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.
|
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.
|
276
|
-
actionpack (= 6.1.4.
|
277
|
-
activesupport (= 6.1.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://
|
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
|
|