avo 4.0.0.beta.16 → 4.0.0.beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +7 -7
- data/Gemfile.lock +80 -72
- data/app/assets/builds/avo/application.css +570 -235
- data/app/assets/builds/avo/application.js +1 -1
- data/app/assets/builds/avo/application.js.map +2 -2
- data/app/assets/stylesheets/application.css +14 -0
- data/app/assets/stylesheets/css/components/filters.css +98 -0
- data/app/assets/stylesheets/css/components/grid.css +4 -0
- data/app/assets/stylesheets/css/components/media_library.css +223 -0
- data/app/assets/stylesheets/css/components/ui/tabs.css +49 -2
- data/app/assets/stylesheets/css/variables.css +3 -3
- data/app/components/avo/fields/radio_field/edit_component.html.erb +21 -8
- data/app/components/avo/fields/radio_field/index_component.html.erb +1 -1
- data/app/components/avo/fields/radio_field/show_component.html.erb +1 -1
- data/app/components/avo/filters_component.html.erb +25 -16
- data/app/components/avo/media_library/item_details_component.html.erb +59 -28
- data/app/components/avo/media_library/list_component.html.erb +31 -21
- data/app/components/avo/media_library/list_component.rb +19 -1
- data/app/components/avo/media_library/list_item_component.html.erb +12 -8
- data/app/components/avo/u_i/tabs/tab_component.html.erb +1 -1
- data/app/components/avo/u_i/tabs/tabs_component.html.erb +1 -1
- data/app/controllers/avo/charts_controller.rb +10 -0
- data/app/controllers/avo/media_library_controller.rb +2 -0
- data/app/javascript/js/controllers/media_library_attach_controller.js +7 -12
- data/app/views/avo/base/_boolean_filter.html.erb +4 -5
- data/app/views/avo/base/_date_time_filter.html.erb +5 -5
- data/app/views/avo/base/_multiple_select_filter.html.erb +3 -2
- data/app/views/avo/base/_text_filter.html.erb +1 -1
- data/app/views/avo/media_library/_form.html.erb +58 -45
- data/app/views/avo/media_library/_information.html.erb +51 -30
- data/app/views/avo/media_library/index.html.erb +4 -2
- data/app/views/avo/media_library/show.html.erb +14 -1
- data/app/views/avo/partials/_custom_tools_alert.html.erb +13 -14
- data/app/views/avo/partials/_table_header.html.erb +2 -2
- data/app/views/avo/partials/distribution_chart.html.erb +7 -7
- data/app/views/layouts/avo/_filter_wrapper.html.erb +3 -3
- data/lib/avo/configuration.rb +2 -0
- data/lib/avo/engine.rb +3 -3
- data/lib/avo/fields/radio_field.rb +19 -1
- data/lib/avo/tailwind_builder.rb +10 -6
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/initializer/avo.tt +2 -0
- data/lib/tasks/avo_tasks.rake +45 -4
- metadata +5 -12
- data/app/assets/images/avo/fonts/inter-v7-latin-500.svg +0 -351
- data/app/assets/images/avo/fonts/inter-v7-latin-600.eot +0 -0
- data/app/assets/images/avo/fonts/inter-v7-latin-600.svg +0 -351
- data/app/assets/images/avo/fonts/inter-v7-latin-700.eot +0 -0
- data/app/assets/images/avo/fonts/inter-v7-latin-700.svg +0 -352
- data/app/assets/images/avo/fonts/inter-v7-latin-regular.eot +0 -0
- data/app/assets/images/avo/fonts/inter-v7-latin-regular.svg +0 -351
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3968dcf2a4263c55531d121f603cdef27ce7ae2e33909df50cca81403e7165d
|
|
4
|
+
data.tar.gz: c5deb043f07fff711ca862926a8f2e839cf9f879c2f347316c9e698cc8fe03a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa3e5173d9d6115bf7350422450c2c6b77b742a3c1d5bd3e5344df0815ef25372940d9962900dce7255ad3675a94b92be2e298576a9de2777a105c825c59bd84
|
|
7
|
+
data.tar.gz: ba6c7427ffd7cd8b72dfa7dcc23cdf5bc78230fbafcfa64ea3bbdc4b5d80b18f4535ca945f880d6dbca24391a0c242d3ba4369e209325a97c7926498bc08a41d
|
data/Gemfile
CHANGED
|
@@ -9,11 +9,11 @@ gemspec
|
|
|
9
9
|
# =============================================================================
|
|
10
10
|
# RAILS & CORE DEPENDENCIES
|
|
11
11
|
# =============================================================================
|
|
12
|
-
gem "rails", ">= 8.
|
|
12
|
+
gem "rails", ">= 8.1.0"
|
|
13
13
|
# gem "rails", github: "rails/rails", branch: "main"
|
|
14
14
|
|
|
15
15
|
# ActiveStorage for file uploads
|
|
16
|
-
gem "activestorage", ">= 8.
|
|
16
|
+
gem "activestorage", ">= 8.1.0"
|
|
17
17
|
|
|
18
18
|
# Asset pipeline
|
|
19
19
|
gem "jsbundling-rails"
|
|
@@ -66,7 +66,7 @@ gem "zeitwerk"
|
|
|
66
66
|
gem "iso"
|
|
67
67
|
gem "addressable"
|
|
68
68
|
gem "acts_as_list"
|
|
69
|
-
gem "acts-as-taggable-on", "
|
|
69
|
+
gem "acts-as-taggable-on", ">= 12.0"
|
|
70
70
|
gem "bundler-integrity", "~> 1.0"
|
|
71
71
|
gem "countries"
|
|
72
72
|
gem "image_processing", "~> 1.12"
|
|
@@ -74,7 +74,7 @@ gem "prefixed_ids"
|
|
|
74
74
|
gem "hashid-rails", "~> 1.4", ">= 1.4.1"
|
|
75
75
|
gem "money-rails", "~> 1.12"
|
|
76
76
|
gem "csv"
|
|
77
|
-
gem "view_component", "4.
|
|
77
|
+
gem "view_component", ">= 4.6.0"
|
|
78
78
|
|
|
79
79
|
# =============================================================================
|
|
80
80
|
# AWS & CLOUD SERVICES
|
|
@@ -121,7 +121,7 @@ group :development do
|
|
|
121
121
|
# Required by lookbook for livereload
|
|
122
122
|
gem "listen", ">= 3.5.1"
|
|
123
123
|
gem "actioncable"
|
|
124
|
-
gem "debug", platforms: [:mri, :
|
|
124
|
+
gem "debug", platforms: [:mri, :windows]
|
|
125
125
|
|
|
126
126
|
gem "ruby-lsp-rspec", require: false
|
|
127
127
|
|
|
@@ -185,7 +185,7 @@ group :development, :test do
|
|
|
185
185
|
gem "factory_bot_rails"
|
|
186
186
|
|
|
187
187
|
# Code quality & linting
|
|
188
|
-
gem "i18n-tasks", "
|
|
188
|
+
gem "i18n-tasks", ">= 1.0.12"
|
|
189
189
|
gem "erb-formatter", require: false
|
|
190
190
|
gem "erb_lint", require: false
|
|
191
191
|
|
|
@@ -209,4 +209,4 @@ end
|
|
|
209
209
|
# PLATFORM SPECIFIC
|
|
210
210
|
# =============================================================================
|
|
211
211
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
|
212
|
-
gem "tzinfo-data", platforms: [:
|
|
212
|
+
gem "tzinfo-data", platforms: [:windows, :jruby]
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
avo (4.0.0.beta.
|
|
4
|
+
avo (4.0.0.beta.18)
|
|
5
5
|
actionview (>= 6.1)
|
|
6
6
|
active_link_to
|
|
7
7
|
activerecord (>= 6.1)
|
|
@@ -25,29 +25,31 @@ PATH
|
|
|
25
25
|
GEM
|
|
26
26
|
remote: https://rubygems.org/
|
|
27
27
|
specs:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
action_text-trix (2.1.18)
|
|
29
|
+
railties
|
|
30
|
+
actioncable (8.1.3)
|
|
31
|
+
actionpack (= 8.1.3)
|
|
32
|
+
activesupport (= 8.1.3)
|
|
31
33
|
nio4r (~> 2.0)
|
|
32
34
|
websocket-driver (>= 0.6.1)
|
|
33
35
|
zeitwerk (~> 2.6)
|
|
34
|
-
actionmailbox (8.
|
|
35
|
-
actionpack (= 8.
|
|
36
|
-
activejob (= 8.
|
|
37
|
-
activerecord (= 8.
|
|
38
|
-
activestorage (= 8.
|
|
39
|
-
activesupport (= 8.
|
|
36
|
+
actionmailbox (8.1.3)
|
|
37
|
+
actionpack (= 8.1.3)
|
|
38
|
+
activejob (= 8.1.3)
|
|
39
|
+
activerecord (= 8.1.3)
|
|
40
|
+
activestorage (= 8.1.3)
|
|
41
|
+
activesupport (= 8.1.3)
|
|
40
42
|
mail (>= 2.8.0)
|
|
41
|
-
actionmailer (8.
|
|
42
|
-
actionpack (= 8.
|
|
43
|
-
actionview (= 8.
|
|
44
|
-
activejob (= 8.
|
|
45
|
-
activesupport (= 8.
|
|
43
|
+
actionmailer (8.1.3)
|
|
44
|
+
actionpack (= 8.1.3)
|
|
45
|
+
actionview (= 8.1.3)
|
|
46
|
+
activejob (= 8.1.3)
|
|
47
|
+
activesupport (= 8.1.3)
|
|
46
48
|
mail (>= 2.8.0)
|
|
47
49
|
rails-dom-testing (~> 2.2)
|
|
48
|
-
actionpack (8.
|
|
49
|
-
actionview (= 8.
|
|
50
|
-
activesupport (= 8.
|
|
50
|
+
actionpack (8.1.3)
|
|
51
|
+
actionview (= 8.1.3)
|
|
52
|
+
activesupport (= 8.1.3)
|
|
51
53
|
nokogiri (>= 1.8.5)
|
|
52
54
|
rack (>= 2.2.4)
|
|
53
55
|
rack-session (>= 1.0.1)
|
|
@@ -55,15 +57,16 @@ GEM
|
|
|
55
57
|
rails-dom-testing (~> 2.2)
|
|
56
58
|
rails-html-sanitizer (~> 1.6)
|
|
57
59
|
useragent (~> 0.16)
|
|
58
|
-
actiontext (8.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
actiontext (8.1.3)
|
|
61
|
+
action_text-trix (~> 2.1.15)
|
|
62
|
+
actionpack (= 8.1.3)
|
|
63
|
+
activerecord (= 8.1.3)
|
|
64
|
+
activestorage (= 8.1.3)
|
|
65
|
+
activesupport (= 8.1.3)
|
|
63
66
|
globalid (>= 0.6.0)
|
|
64
67
|
nokogiri (>= 1.8.5)
|
|
65
|
-
actionview (8.
|
|
66
|
-
activesupport (= 8.
|
|
68
|
+
actionview (8.1.3)
|
|
69
|
+
activesupport (= 8.1.3)
|
|
67
70
|
builder (~> 3.1)
|
|
68
71
|
erubi (~> 1.11)
|
|
69
72
|
rails-dom-testing (~> 2.2)
|
|
@@ -73,36 +76,36 @@ GEM
|
|
|
73
76
|
addressable
|
|
74
77
|
active_median (0.6.0)
|
|
75
78
|
activesupport (>= 7.1)
|
|
76
|
-
activejob (8.
|
|
77
|
-
activesupport (= 8.
|
|
79
|
+
activejob (8.1.3)
|
|
80
|
+
activesupport (= 8.1.3)
|
|
78
81
|
globalid (>= 0.3.6)
|
|
79
|
-
activemodel (8.
|
|
80
|
-
activesupport (= 8.
|
|
81
|
-
activerecord (8.
|
|
82
|
-
activemodel (= 8.
|
|
83
|
-
activesupport (= 8.
|
|
82
|
+
activemodel (8.1.3)
|
|
83
|
+
activesupport (= 8.1.3)
|
|
84
|
+
activerecord (8.1.3)
|
|
85
|
+
activemodel (= 8.1.3)
|
|
86
|
+
activesupport (= 8.1.3)
|
|
84
87
|
timeout (>= 0.4.0)
|
|
85
|
-
activestorage (8.
|
|
86
|
-
actionpack (= 8.
|
|
87
|
-
activejob (= 8.
|
|
88
|
-
activerecord (= 8.
|
|
89
|
-
activesupport (= 8.
|
|
88
|
+
activestorage (8.1.3)
|
|
89
|
+
actionpack (= 8.1.3)
|
|
90
|
+
activejob (= 8.1.3)
|
|
91
|
+
activerecord (= 8.1.3)
|
|
92
|
+
activesupport (= 8.1.3)
|
|
90
93
|
marcel (~> 1.0)
|
|
91
|
-
activesupport (8.
|
|
94
|
+
activesupport (8.1.3)
|
|
92
95
|
base64
|
|
93
|
-
benchmark (>= 0.3)
|
|
94
96
|
bigdecimal
|
|
95
97
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
96
98
|
connection_pool (>= 2.2.5)
|
|
97
99
|
drb
|
|
98
100
|
i18n (>= 1.6, < 2)
|
|
101
|
+
json
|
|
99
102
|
logger (>= 1.4.2)
|
|
100
103
|
minitest (>= 5.1)
|
|
101
104
|
securerandom (>= 0.3)
|
|
102
105
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
103
106
|
uri (>= 0.13.1)
|
|
104
|
-
acts-as-taggable-on (
|
|
105
|
-
activerecord (>= 7.1, < 8.
|
|
107
|
+
acts-as-taggable-on (13.0.0)
|
|
108
|
+
activerecord (>= 7.1, < 8.2)
|
|
106
109
|
zeitwerk (>= 2.4, < 3.0)
|
|
107
110
|
acts_as_list (1.2.4)
|
|
108
111
|
activerecord (>= 6.1)
|
|
@@ -327,7 +330,7 @@ GEM
|
|
|
327
330
|
logger
|
|
328
331
|
faraday-http-cache (2.5.1)
|
|
329
332
|
faraday (>= 0.8)
|
|
330
|
-
faraday-multipart (1.
|
|
333
|
+
faraday-multipart (1.2.0)
|
|
331
334
|
multipart-post (~> 2.0)
|
|
332
335
|
faraday-net_http (3.4.1)
|
|
333
336
|
net-http (>= 0.5.0)
|
|
@@ -337,6 +340,7 @@ GEM
|
|
|
337
340
|
concurrent-ruby (~> 1.1)
|
|
338
341
|
webrick (~> 1.7)
|
|
339
342
|
websocket-driver (~> 0.7)
|
|
343
|
+
ffi (1.17.2)
|
|
340
344
|
ffi (1.17.2-arm64-darwin)
|
|
341
345
|
ffi (1.17.2-x86_64-linux-gnu)
|
|
342
346
|
flay (2.13.3)
|
|
@@ -384,15 +388,17 @@ GEM
|
|
|
384
388
|
htmlentities (4.3.4)
|
|
385
389
|
i18n (1.14.8)
|
|
386
390
|
concurrent-ruby (~> 1.0)
|
|
387
|
-
i18n-tasks (1.
|
|
391
|
+
i18n-tasks (1.1.2)
|
|
388
392
|
activesupport (>= 4.0.2)
|
|
389
393
|
ast (>= 2.1.0)
|
|
390
394
|
erubi
|
|
391
|
-
highline (>=
|
|
395
|
+
highline (>= 3.0.0)
|
|
392
396
|
i18n
|
|
393
397
|
parser (>= 3.2.2.1)
|
|
398
|
+
prism
|
|
394
399
|
rails-i18n
|
|
395
400
|
rainbow (>= 2.2.2, < 4.0)
|
|
401
|
+
ruby-progressbar (~> 1.8, >= 1.8.1)
|
|
396
402
|
terminal-table (>= 1.5.1)
|
|
397
403
|
ice_nine (0.11.2)
|
|
398
404
|
image_processing (1.14.0)
|
|
@@ -452,8 +458,8 @@ GEM
|
|
|
452
458
|
marcel (1.0.4)
|
|
453
459
|
matrix (0.4.3)
|
|
454
460
|
memory_profiler (1.1.0)
|
|
455
|
-
meta-tags (2.
|
|
456
|
-
actionpack (>= 6.0.0
|
|
461
|
+
meta-tags (2.23.0)
|
|
462
|
+
actionpack (>= 6.0.0)
|
|
457
463
|
mini_histogram (0.3.1)
|
|
458
464
|
mini_magick (5.3.1)
|
|
459
465
|
logger
|
|
@@ -506,6 +512,7 @@ GEM
|
|
|
506
512
|
ast (~> 2.4.1)
|
|
507
513
|
racc
|
|
508
514
|
path_expander (1.1.3)
|
|
515
|
+
pg (1.6.1)
|
|
509
516
|
pg (1.6.1-arm64-darwin)
|
|
510
517
|
pg (1.6.1-x86_64-linux)
|
|
511
518
|
pp (0.6.2)
|
|
@@ -540,20 +547,20 @@ GEM
|
|
|
540
547
|
rack (>= 1.3)
|
|
541
548
|
rackup (2.2.1)
|
|
542
549
|
rack (>= 3)
|
|
543
|
-
rails (8.
|
|
544
|
-
actioncable (= 8.
|
|
545
|
-
actionmailbox (= 8.
|
|
546
|
-
actionmailer (= 8.
|
|
547
|
-
actionpack (= 8.
|
|
548
|
-
actiontext (= 8.
|
|
549
|
-
actionview (= 8.
|
|
550
|
-
activejob (= 8.
|
|
551
|
-
activemodel (= 8.
|
|
552
|
-
activerecord (= 8.
|
|
553
|
-
activestorage (= 8.
|
|
554
|
-
activesupport (= 8.
|
|
550
|
+
rails (8.1.3)
|
|
551
|
+
actioncable (= 8.1.3)
|
|
552
|
+
actionmailbox (= 8.1.3)
|
|
553
|
+
actionmailer (= 8.1.3)
|
|
554
|
+
actionpack (= 8.1.3)
|
|
555
|
+
actiontext (= 8.1.3)
|
|
556
|
+
actionview (= 8.1.3)
|
|
557
|
+
activejob (= 8.1.3)
|
|
558
|
+
activemodel (= 8.1.3)
|
|
559
|
+
activerecord (= 8.1.3)
|
|
560
|
+
activestorage (= 8.1.3)
|
|
561
|
+
activesupport (= 8.1.3)
|
|
555
562
|
bundler (>= 1.15.0)
|
|
556
|
-
railties (= 8.
|
|
563
|
+
railties (= 8.1.3)
|
|
557
564
|
rails-controller-testing (1.0.5)
|
|
558
565
|
actionpack (>= 5.0.1.rc1)
|
|
559
566
|
actionview (>= 5.0.1.rc1)
|
|
@@ -568,9 +575,9 @@ GEM
|
|
|
568
575
|
rails-i18n (8.0.2)
|
|
569
576
|
i18n (>= 0.7, < 2)
|
|
570
577
|
railties (>= 8.0.0, < 9)
|
|
571
|
-
railties (8.
|
|
572
|
-
actionpack (= 8.
|
|
573
|
-
activesupport (= 8.
|
|
578
|
+
railties (8.1.3)
|
|
579
|
+
actionpack (= 8.1.3)
|
|
580
|
+
activesupport (= 8.1.3)
|
|
574
581
|
irb (~> 1.13)
|
|
575
582
|
rackup (>= 1.0.0)
|
|
576
583
|
rake (>= 12.2)
|
|
@@ -668,7 +675,7 @@ GEM
|
|
|
668
675
|
ruby-vips (2.2.5)
|
|
669
676
|
ffi (~> 1.12)
|
|
670
677
|
logger
|
|
671
|
-
ruby_parser (3.
|
|
678
|
+
ruby_parser (3.22.0)
|
|
672
679
|
racc (~> 1.5)
|
|
673
680
|
sexp_processor (~> 4.16)
|
|
674
681
|
rubycritic (4.10.0)
|
|
@@ -694,7 +701,7 @@ GEM
|
|
|
694
701
|
rexml (~> 3.2, >= 3.2.5)
|
|
695
702
|
rubyzip (>= 1.2.2, < 4.0)
|
|
696
703
|
websocket (~> 1.0)
|
|
697
|
-
sexp_processor (4.17.
|
|
704
|
+
sexp_processor (4.17.5)
|
|
698
705
|
simplecov (0.22.0)
|
|
699
706
|
docile (~> 1.1)
|
|
700
707
|
simplecov-html (~> 0.11)
|
|
@@ -766,11 +773,12 @@ GEM
|
|
|
766
773
|
unaccent (0.4.0)
|
|
767
774
|
unicode-display_width (3.1.5)
|
|
768
775
|
unicode-emoji (~> 4.0, >= 4.0.4)
|
|
769
|
-
unicode-emoji (4.0
|
|
776
|
+
unicode-emoji (4.2.0)
|
|
770
777
|
uri (1.1.1)
|
|
771
778
|
useragent (0.16.11)
|
|
772
|
-
view_component (4.
|
|
773
|
-
|
|
779
|
+
view_component (4.6.0)
|
|
780
|
+
actionview (>= 7.1.0)
|
|
781
|
+
activesupport (>= 7.1.0)
|
|
774
782
|
concurrent-ruby (~> 1)
|
|
775
783
|
virtus (2.0.0)
|
|
776
784
|
axiom-types (~> 0.1)
|
|
@@ -811,8 +819,8 @@ DEPENDENCIES
|
|
|
811
819
|
actioncable
|
|
812
820
|
active_link_to
|
|
813
821
|
active_median
|
|
814
|
-
activestorage (>= 8.
|
|
815
|
-
acts-as-taggable-on (
|
|
822
|
+
activestorage (>= 8.1.0)
|
|
823
|
+
acts-as-taggable-on (>= 12.0)
|
|
816
824
|
acts_as_list
|
|
817
825
|
actual_db_schema
|
|
818
826
|
addressable
|
|
@@ -852,7 +860,7 @@ DEPENDENCIES
|
|
|
852
860
|
hightop
|
|
853
861
|
hotwire-livereload (~> 1.3.0)
|
|
854
862
|
htmlbeautifier
|
|
855
|
-
i18n-tasks (
|
|
863
|
+
i18n-tasks (>= 1.0.12)
|
|
856
864
|
image_processing (~> 1.12)
|
|
857
865
|
iso
|
|
858
866
|
jsbundling-rails
|
|
@@ -871,7 +879,7 @@ DEPENDENCIES
|
|
|
871
879
|
prefixed_ids
|
|
872
880
|
propshaft
|
|
873
881
|
puma (~> 6.4)
|
|
874
|
-
rails (>= 8.
|
|
882
|
+
rails (>= 8.1.0)
|
|
875
883
|
rails-controller-testing
|
|
876
884
|
ransack (>= 4.2.0)
|
|
877
885
|
redis (~> 5.0)
|
|
@@ -895,7 +903,7 @@ DEPENDENCIES
|
|
|
895
903
|
standard
|
|
896
904
|
test-prof
|
|
897
905
|
tzinfo-data
|
|
898
|
-
view_component (
|
|
906
|
+
view_component (>= 4.6.0)
|
|
899
907
|
web-console (>= 3.3.0)
|
|
900
908
|
webmock
|
|
901
909
|
zeitwerk
|