avo 3.15.0 → 3.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -4
- data/Gemfile.lock +122 -132
- data/app/assets/builds/avo.base.css +122 -4
- data/app/components/avo/sidebar_profile_component.html.erb +1 -1
- data/app/components/avo/views/resource_index_component.html.erb +1 -1
- data/app/controllers/avo/base_application_controller.rb +3 -0
- data/app/controllers/avo/base_controller.rb +6 -6
- data/app/views/avo/debug/status.html.erb +2 -1
- data/lib/avo/configuration.rb +6 -0
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/templates/initializer/avo.tt +1 -0
- data/public/avo-assets/avo.base.css +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71799d49e5eb3e57894831f2f86705f11bc868391f6b5b151b10d9df9e8a2c81
|
4
|
+
data.tar.gz: f1825a0932155f6903506f8d7679bee5efc3c84df4fdb91d1b67a3ff4a7c057b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 461881d726721f68e2faa657d552c718d6364b9d2366df95d480b730bee5934742b69ed4f404d8f161bc735cdfb34b8939ea638173e442394c8588f45b5466ae
|
7
|
+
data.tar.gz: c7000026e81560d2f94ded789681abe82d05766b104a601199a1d754e017a6e451d492aaf1c722d3a4f34f1bd06f45a7e5bb53a05a57e8f546e1edd921ba0591
|
data/Gemfile
CHANGED
@@ -21,12 +21,12 @@ gem 'cssbundling-rails'
|
|
21
21
|
# Dependencies for dummy_app
|
22
22
|
#
|
23
23
|
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
24
|
-
|
25
|
-
gem "rails", github: "rails/rails", branch: "main"
|
24
|
+
gem "rails", ">= 8.0.0"
|
25
|
+
# gem "rails", github: "rails/rails", branch: "main"
|
26
26
|
|
27
27
|
# Avo file filed requires this gem
|
28
28
|
# gem "activestorage"
|
29
|
-
gem "activestorage",
|
29
|
+
gem "activestorage", ">= 8.0.0"
|
30
30
|
|
31
31
|
# Use postgresql as the database for Active Record
|
32
32
|
gem "pg", ">= 0.18", "< 2.0"
|
@@ -152,7 +152,7 @@ gem "active_median"
|
|
152
152
|
gem 'acts_as_list'
|
153
153
|
|
154
154
|
# gem 'acts-as-taggable-on', '~> 10.0'
|
155
|
-
gem "acts-as-taggable-on"
|
155
|
+
gem "acts-as-taggable-on"
|
156
156
|
|
157
157
|
gem "bundler-integrity", "~> 1.0"
|
158
158
|
|
data/Gemfile.lock
CHANGED
@@ -1,38 +1,53 @@
|
|
1
|
-
|
2
|
-
remote:
|
3
|
-
revision: 33f0eac41ba392b3cae69faf3dee69a698a7871a
|
1
|
+
PATH
|
2
|
+
remote: .
|
4
3
|
specs:
|
5
|
-
|
6
|
-
|
4
|
+
avo (3.15.2)
|
5
|
+
actionview (>= 6.1)
|
6
|
+
active_link_to
|
7
|
+
activerecord (>= 6.1)
|
8
|
+
activesupport (>= 6.1)
|
9
|
+
addressable
|
10
|
+
docile
|
11
|
+
inline_svg
|
12
|
+
meta-tags
|
13
|
+
pagy (>= 7.0.0)
|
14
|
+
prop_initializer (>= 0.2.0)
|
15
|
+
turbo-rails (>= 2.0.0)
|
16
|
+
turbo_power (>= 0.6.0)
|
17
|
+
view_component (>= 3.7.0)
|
18
|
+
zeitwerk (>= 2.6.12)
|
7
19
|
|
8
|
-
|
9
|
-
remote:
|
10
|
-
revision: b88d9af34fbc1c84ce2769ba02584eab2c28ac6e
|
11
|
-
branch: main
|
20
|
+
PATH
|
21
|
+
remote: pluggy
|
12
22
|
specs:
|
13
|
-
|
14
|
-
|
15
|
-
|
23
|
+
pluggy (0.0.1)
|
24
|
+
|
25
|
+
GEM
|
26
|
+
remote: https://rubygems.org/
|
27
|
+
specs:
|
28
|
+
actioncable (8.0.0)
|
29
|
+
actionpack (= 8.0.0)
|
30
|
+
activesupport (= 8.0.0)
|
16
31
|
nio4r (~> 2.0)
|
17
32
|
websocket-driver (>= 0.6.1)
|
18
33
|
zeitwerk (~> 2.6)
|
19
|
-
actionmailbox (8.0.0
|
20
|
-
actionpack (= 8.0.0
|
21
|
-
activejob (= 8.0.0
|
22
|
-
activerecord (= 8.0.0
|
23
|
-
activestorage (= 8.0.0
|
24
|
-
activesupport (= 8.0.0
|
34
|
+
actionmailbox (8.0.0)
|
35
|
+
actionpack (= 8.0.0)
|
36
|
+
activejob (= 8.0.0)
|
37
|
+
activerecord (= 8.0.0)
|
38
|
+
activestorage (= 8.0.0)
|
39
|
+
activesupport (= 8.0.0)
|
25
40
|
mail (>= 2.8.0)
|
26
|
-
actionmailer (8.0.0
|
27
|
-
actionpack (= 8.0.0
|
28
|
-
actionview (= 8.0.0
|
29
|
-
activejob (= 8.0.0
|
30
|
-
activesupport (= 8.0.0
|
41
|
+
actionmailer (8.0.0)
|
42
|
+
actionpack (= 8.0.0)
|
43
|
+
actionview (= 8.0.0)
|
44
|
+
activejob (= 8.0.0)
|
45
|
+
activesupport (= 8.0.0)
|
31
46
|
mail (>= 2.8.0)
|
32
47
|
rails-dom-testing (~> 2.2)
|
33
|
-
actionpack (8.0.0
|
34
|
-
actionview (= 8.0.0
|
35
|
-
activesupport (= 8.0.0
|
48
|
+
actionpack (8.0.0)
|
49
|
+
actionview (= 8.0.0)
|
50
|
+
activesupport (= 8.0.0)
|
36
51
|
nokogiri (>= 1.8.5)
|
37
52
|
rack (>= 2.2.4)
|
38
53
|
rack-session (>= 1.0.1)
|
@@ -40,35 +55,40 @@ GIT
|
|
40
55
|
rails-dom-testing (~> 2.2)
|
41
56
|
rails-html-sanitizer (~> 1.6)
|
42
57
|
useragent (~> 0.16)
|
43
|
-
actiontext (8.0.0
|
44
|
-
actionpack (= 8.0.0
|
45
|
-
activerecord (= 8.0.0
|
46
|
-
activestorage (= 8.0.0
|
47
|
-
activesupport (= 8.0.0
|
58
|
+
actiontext (8.0.0)
|
59
|
+
actionpack (= 8.0.0)
|
60
|
+
activerecord (= 8.0.0)
|
61
|
+
activestorage (= 8.0.0)
|
62
|
+
activesupport (= 8.0.0)
|
48
63
|
globalid (>= 0.6.0)
|
49
64
|
nokogiri (>= 1.8.5)
|
50
|
-
actionview (8.0.0
|
51
|
-
activesupport (= 8.0.0
|
65
|
+
actionview (8.0.0)
|
66
|
+
activesupport (= 8.0.0)
|
52
67
|
builder (~> 3.1)
|
53
68
|
erubi (~> 1.11)
|
54
69
|
rails-dom-testing (~> 2.2)
|
55
70
|
rails-html-sanitizer (~> 1.6)
|
56
|
-
|
57
|
-
|
71
|
+
active_link_to (1.0.5)
|
72
|
+
actionpack
|
73
|
+
addressable
|
74
|
+
active_median (0.4.1)
|
75
|
+
activesupport (>= 6.1)
|
76
|
+
activejob (8.0.0)
|
77
|
+
activesupport (= 8.0.0)
|
58
78
|
globalid (>= 0.3.6)
|
59
|
-
activemodel (8.0.0
|
60
|
-
activesupport (= 8.0.0
|
61
|
-
activerecord (8.0.0
|
62
|
-
activemodel (= 8.0.0
|
63
|
-
activesupport (= 8.0.0
|
79
|
+
activemodel (8.0.0)
|
80
|
+
activesupport (= 8.0.0)
|
81
|
+
activerecord (8.0.0)
|
82
|
+
activemodel (= 8.0.0)
|
83
|
+
activesupport (= 8.0.0)
|
64
84
|
timeout (>= 0.4.0)
|
65
|
-
activestorage (8.0.0
|
66
|
-
actionpack (= 8.0.0
|
67
|
-
activejob (= 8.0.0
|
68
|
-
activerecord (= 8.0.0
|
69
|
-
activesupport (= 8.0.0
|
85
|
+
activestorage (8.0.0)
|
86
|
+
actionpack (= 8.0.0)
|
87
|
+
activejob (= 8.0.0)
|
88
|
+
activerecord (= 8.0.0)
|
89
|
+
activesupport (= 8.0.0)
|
70
90
|
marcel (~> 1.0)
|
71
|
-
activesupport (8.0.0
|
91
|
+
activesupport (8.0.0)
|
72
92
|
base64
|
73
93
|
benchmark (>= 0.3)
|
74
94
|
bigdecimal
|
@@ -81,61 +101,9 @@ GIT
|
|
81
101
|
securerandom (>= 0.3)
|
82
102
|
tzinfo (~> 2.0, >= 2.0.5)
|
83
103
|
uri (>= 0.13.1)
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
actionmailer (= 8.0.0.alpha)
|
88
|
-
actionpack (= 8.0.0.alpha)
|
89
|
-
actiontext (= 8.0.0.alpha)
|
90
|
-
actionview (= 8.0.0.alpha)
|
91
|
-
activejob (= 8.0.0.alpha)
|
92
|
-
activemodel (= 8.0.0.alpha)
|
93
|
-
activerecord (= 8.0.0.alpha)
|
94
|
-
activestorage (= 8.0.0.alpha)
|
95
|
-
activesupport (= 8.0.0.alpha)
|
96
|
-
bundler (>= 1.15.0)
|
97
|
-
railties (= 8.0.0.alpha)
|
98
|
-
railties (8.0.0.alpha)
|
99
|
-
actionpack (= 8.0.0.alpha)
|
100
|
-
activesupport (= 8.0.0.alpha)
|
101
|
-
irb (~> 1.13)
|
102
|
-
rackup (>= 1.0.0)
|
103
|
-
rake (>= 12.2)
|
104
|
-
thor (~> 1.0, >= 1.2.2)
|
105
|
-
zeitwerk (~> 2.6)
|
106
|
-
|
107
|
-
PATH
|
108
|
-
remote: .
|
109
|
-
specs:
|
110
|
-
avo (3.15.0)
|
111
|
-
actionview (>= 6.1)
|
112
|
-
active_link_to
|
113
|
-
activerecord (>= 6.1)
|
114
|
-
activesupport (>= 6.1)
|
115
|
-
addressable
|
116
|
-
docile
|
117
|
-
inline_svg
|
118
|
-
meta-tags
|
119
|
-
pagy (>= 7.0.0)
|
120
|
-
prop_initializer (>= 0.2.0)
|
121
|
-
turbo-rails (>= 2.0.0)
|
122
|
-
turbo_power (>= 0.6.0)
|
123
|
-
view_component (>= 3.7.0)
|
124
|
-
zeitwerk (>= 2.6.12)
|
125
|
-
|
126
|
-
PATH
|
127
|
-
remote: pluggy
|
128
|
-
specs:
|
129
|
-
pluggy (0.0.1)
|
130
|
-
|
131
|
-
GEM
|
132
|
-
remote: https://rubygems.org/
|
133
|
-
specs:
|
134
|
-
active_link_to (1.0.5)
|
135
|
-
actionpack
|
136
|
-
addressable
|
137
|
-
active_median (0.4.1)
|
138
|
-
activesupport (>= 6.1)
|
104
|
+
acts-as-taggable-on (12.0.0)
|
105
|
+
activerecord (>= 7.1, < 8.1)
|
106
|
+
zeitwerk (>= 2.4, < 3.0)
|
139
107
|
acts_as_list (1.2.2)
|
140
108
|
activerecord (>= 6.1)
|
141
109
|
activesupport (>= 6.1)
|
@@ -146,9 +114,9 @@ GEM
|
|
146
114
|
addressable (2.8.7)
|
147
115
|
public_suffix (>= 2.0.2, < 7.0)
|
148
116
|
amazing_print (1.6.0)
|
149
|
-
annotate (
|
150
|
-
activerecord (>= 3.
|
151
|
-
rake (>=
|
117
|
+
annotate (2.6.5)
|
118
|
+
activerecord (>= 2.3.0)
|
119
|
+
rake (>= 0.8.7)
|
152
120
|
appraisal (2.5.0)
|
153
121
|
bundler
|
154
122
|
rake
|
@@ -180,7 +148,7 @@ GEM
|
|
180
148
|
backport (1.2.0)
|
181
149
|
base64 (0.2.0)
|
182
150
|
bcrypt (3.1.20)
|
183
|
-
benchmark (0.
|
151
|
+
benchmark (0.4.0)
|
184
152
|
benchmark-ips (2.14.0)
|
185
153
|
better_html (2.1.1)
|
186
154
|
actionview (>= 6.0)
|
@@ -228,7 +196,7 @@ GEM
|
|
228
196
|
activerecord (>= 5.a)
|
229
197
|
database_cleaner-core (~> 2.0.0)
|
230
198
|
database_cleaner-core (2.0.1)
|
231
|
-
date (3.
|
199
|
+
date (3.4.1)
|
232
200
|
dead_end (4.0.0)
|
233
201
|
debug (1.9.2)
|
234
202
|
irb (~> 1.10)
|
@@ -368,8 +336,8 @@ GEM
|
|
368
336
|
inline_svg (1.10.0)
|
369
337
|
activesupport (>= 3.0)
|
370
338
|
nokogiri (>= 1.6)
|
371
|
-
io-console (0.
|
372
|
-
irb (1.14.
|
339
|
+
io-console (0.8.0)
|
340
|
+
irb (1.14.1)
|
373
341
|
rdoc (>= 4.0.0)
|
374
342
|
reline (>= 0.4.2)
|
375
343
|
iso (0.4.0)
|
@@ -391,7 +359,7 @@ GEM
|
|
391
359
|
listen (3.9.0)
|
392
360
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
393
361
|
rb-inotify (~> 0.9, >= 0.9.10)
|
394
|
-
logger (1.6.
|
362
|
+
logger (1.6.2)
|
395
363
|
loofah (2.23.1)
|
396
364
|
crass (~> 1.0.2)
|
397
365
|
nokogiri (>= 1.12.0)
|
@@ -411,7 +379,7 @@ GEM
|
|
411
379
|
mini_magick (4.13.2)
|
412
380
|
mini_mime (1.1.5)
|
413
381
|
mini_portile2 (2.8.8)
|
414
|
-
minitest (5.25.
|
382
|
+
minitest (5.25.4)
|
415
383
|
monetize (1.13.0)
|
416
384
|
money (~> 6.12)
|
417
385
|
money (6.19.0)
|
@@ -422,7 +390,7 @@ GEM
|
|
422
390
|
money (~> 6.13)
|
423
391
|
railties (>= 3.0)
|
424
392
|
msgpack (1.7.2)
|
425
|
-
net-imap (0.
|
393
|
+
net-imap (0.5.1)
|
426
394
|
date
|
427
395
|
net-protocol
|
428
396
|
net-pop (0.1.2)
|
@@ -431,7 +399,7 @@ GEM
|
|
431
399
|
timeout
|
432
400
|
net-smtp (0.5.0)
|
433
401
|
net-protocol
|
434
|
-
nio4r (2.7.
|
402
|
+
nio4r (2.7.4)
|
435
403
|
nokogiri (1.16.8)
|
436
404
|
mini_portile2 (~> 2.8.2)
|
437
405
|
racc (~> 1.4)
|
@@ -451,20 +419,34 @@ GEM
|
|
451
419
|
prettier_print (1.2.1)
|
452
420
|
prop_initializer (0.2.0)
|
453
421
|
zeitwerk (>= 2.6.18)
|
454
|
-
psych (5.1
|
422
|
+
psych (5.2.1)
|
423
|
+
date
|
455
424
|
stringio
|
456
425
|
public_suffix (6.0.1)
|
457
426
|
puma (6.4.3)
|
458
427
|
nio4r (~> 2.0)
|
459
428
|
racc (1.8.1)
|
460
|
-
rack (3.1.
|
429
|
+
rack (3.1.8)
|
461
430
|
rack-session (2.0.0)
|
462
431
|
rack (>= 3.0.0)
|
463
432
|
rack-test (2.1.0)
|
464
433
|
rack (>= 1.3)
|
465
|
-
rackup (2.1
|
434
|
+
rackup (2.2.1)
|
466
435
|
rack (>= 3)
|
467
|
-
|
436
|
+
rails (8.0.0)
|
437
|
+
actioncable (= 8.0.0)
|
438
|
+
actionmailbox (= 8.0.0)
|
439
|
+
actionmailer (= 8.0.0)
|
440
|
+
actionpack (= 8.0.0)
|
441
|
+
actiontext (= 8.0.0)
|
442
|
+
actionview (= 8.0.0)
|
443
|
+
activejob (= 8.0.0)
|
444
|
+
activemodel (= 8.0.0)
|
445
|
+
activerecord (= 8.0.0)
|
446
|
+
activestorage (= 8.0.0)
|
447
|
+
activesupport (= 8.0.0)
|
448
|
+
bundler (>= 1.15.0)
|
449
|
+
railties (= 8.0.0)
|
468
450
|
rails-controller-testing (1.0.5)
|
469
451
|
actionpack (>= 5.0.1.rc1)
|
470
452
|
actionview (>= 5.0.1.rc1)
|
@@ -476,9 +458,17 @@ GEM
|
|
476
458
|
rails-html-sanitizer (1.6.1)
|
477
459
|
loofah (~> 2.21)
|
478
460
|
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
479
|
-
rails-i18n (
|
461
|
+
rails-i18n (8.0.1)
|
480
462
|
i18n (>= 0.7, < 2)
|
481
|
-
railties (>=
|
463
|
+
railties (>= 8.0.0, < 9)
|
464
|
+
railties (8.0.0)
|
465
|
+
actionpack (= 8.0.0)
|
466
|
+
activesupport (= 8.0.0)
|
467
|
+
irb (~> 1.13)
|
468
|
+
rackup (>= 1.0.0)
|
469
|
+
rake (>= 12.2)
|
470
|
+
thor (~> 1.0, >= 1.2.2)
|
471
|
+
zeitwerk (~> 2.6)
|
482
472
|
rainbow (3.1.1)
|
483
473
|
rake (13.2.1)
|
484
474
|
ransack (4.2.1)
|
@@ -489,7 +479,7 @@ GEM
|
|
489
479
|
rb-inotify (0.11.1)
|
490
480
|
ffi (~> 1.0)
|
491
481
|
rbs (2.8.4)
|
492
|
-
rdoc (6.
|
482
|
+
rdoc (6.8.1)
|
493
483
|
psych (>= 4.0.0)
|
494
484
|
redis (5.3.0)
|
495
485
|
redis-client (>= 0.22.0)
|
@@ -501,7 +491,7 @@ GEM
|
|
501
491
|
rainbow (>= 2.0, < 4.0)
|
502
492
|
rexml (~> 3.1)
|
503
493
|
regexp_parser (2.9.2)
|
504
|
-
reline (0.5.
|
494
|
+
reline (0.5.12)
|
505
495
|
io-console (~> 0.5)
|
506
496
|
responders (3.1.1)
|
507
497
|
actionpack (>= 5.2)
|
@@ -567,7 +557,7 @@ GEM
|
|
567
557
|
simplecov (>= 0.22.0)
|
568
558
|
tty-which (~> 0.5.0)
|
569
559
|
virtus (~> 2.0)
|
570
|
-
securerandom (0.
|
560
|
+
securerandom (0.4.0)
|
571
561
|
sexp_processor (4.17.2)
|
572
562
|
simplecov (0.22.0)
|
573
563
|
docile (~> 1.1)
|
@@ -621,7 +611,7 @@ GEM
|
|
621
611
|
standard-performance (1.4.0)
|
622
612
|
lint_roller (~> 1.1)
|
623
613
|
rubocop-performance (~> 1.21.0)
|
624
|
-
stringio (3.1.
|
614
|
+
stringio (3.1.2)
|
625
615
|
syntax_tree (6.2.0)
|
626
616
|
prettier_print (>= 1.2.0)
|
627
617
|
terminal-table (3.0.2)
|
@@ -630,7 +620,7 @@ GEM
|
|
630
620
|
thor (1.3.2)
|
631
621
|
thread_safe (0.3.6)
|
632
622
|
tilt (2.4.0)
|
633
|
-
timeout (0.4.
|
623
|
+
timeout (0.4.2)
|
634
624
|
tty-which (0.5.0)
|
635
625
|
turbo-rails (2.0.10)
|
636
626
|
actionpack (>= 6.0.0)
|
@@ -641,10 +631,10 @@ GEM
|
|
641
631
|
concurrent-ruby (~> 1.0)
|
642
632
|
unaccent (0.4.0)
|
643
633
|
unicode-display_width (2.6.0)
|
644
|
-
uri (0.
|
645
|
-
useragent (0.16.
|
646
|
-
view_component (3.
|
647
|
-
activesupport (>= 5.2.0, < 8.
|
634
|
+
uri (1.0.2)
|
635
|
+
useragent (0.16.11)
|
636
|
+
view_component (3.20.0)
|
637
|
+
activesupport (>= 5.2.0, < 8.1)
|
648
638
|
concurrent-ruby (~> 1.0)
|
649
639
|
method_source (~> 1.0)
|
650
640
|
virtus (2.0.0)
|
@@ -662,14 +652,14 @@ GEM
|
|
662
652
|
addressable (>= 2.8.0)
|
663
653
|
crack (>= 0.3.2)
|
664
654
|
hashdiff (>= 0.4.0, < 2.0.0)
|
665
|
-
webrick (1.
|
655
|
+
webrick (1.9.1)
|
666
656
|
websocket-driver (0.7.6)
|
667
657
|
websocket-extensions (>= 0.1.0)
|
668
658
|
websocket-extensions (0.1.5)
|
669
659
|
xpath (3.2.0)
|
670
660
|
nokogiri (~> 1.8)
|
671
661
|
yard (0.9.37)
|
672
|
-
zeitwerk (2.
|
662
|
+
zeitwerk (2.7.1)
|
673
663
|
|
674
664
|
PLATFORMS
|
675
665
|
ruby
|
@@ -678,8 +668,8 @@ PLATFORMS
|
|
678
668
|
DEPENDENCIES
|
679
669
|
active_link_to
|
680
670
|
active_median
|
681
|
-
activestorage
|
682
|
-
acts-as-taggable-on
|
671
|
+
activestorage (>= 8.0.0)
|
672
|
+
acts-as-taggable-on
|
683
673
|
acts_as_list
|
684
674
|
actual_db_schema
|
685
675
|
addressable
|
@@ -731,7 +721,7 @@ DEPENDENCIES
|
|
731
721
|
pluggy!
|
732
722
|
prefixed_ids
|
733
723
|
puma (~> 6.4)
|
734
|
-
rails
|
724
|
+
rails (>= 8.0.0)
|
735
725
|
rails-controller-testing
|
736
726
|
ransack (>= 4.2.0)
|
737
727
|
redis (~> 5.0)
|
@@ -7343,6 +7343,10 @@ tag.tagify__tag{
|
|
7343
7343
|
bottom:-0.25rem
|
7344
7344
|
}
|
7345
7345
|
|
7346
|
+
.-bottom-1\.5{
|
7347
|
+
bottom:-0.375rem
|
7348
|
+
}
|
7349
|
+
|
7346
7350
|
.-top-\[0\.1rem\]{
|
7347
7351
|
top:-0.1rem
|
7348
7352
|
}
|
@@ -7552,6 +7556,11 @@ tag.tagify__tag{
|
|
7552
7556
|
margin-right:-0.25rem
|
7553
7557
|
}
|
7554
7558
|
|
7559
|
+
.-mx-1\.5{
|
7560
|
+
margin-left:-0.375rem;
|
7561
|
+
margin-right:-0.375rem
|
7562
|
+
}
|
7563
|
+
|
7555
7564
|
.-mx-2{
|
7556
7565
|
margin-left:-0.5rem;
|
7557
7566
|
margin-right:-0.5rem
|
@@ -7651,10 +7660,6 @@ tag.tagify__tag{
|
|
7651
7660
|
margin-top:-0.5rem
|
7652
7661
|
}
|
7653
7662
|
|
7654
|
-
.-mt-28{
|
7655
|
-
margin-top:-7rem
|
7656
|
-
}
|
7657
|
-
|
7658
7663
|
.-mt-4{
|
7659
7664
|
margin-top:-1rem
|
7660
7665
|
}
|
@@ -7691,6 +7696,10 @@ tag.tagify__tag{
|
|
7691
7696
|
margin-bottom:1.25rem
|
7692
7697
|
}
|
7693
7698
|
|
7699
|
+
.mb-8{
|
7700
|
+
margin-bottom:2rem
|
7701
|
+
}
|
7702
|
+
|
7694
7703
|
.ml-0{
|
7695
7704
|
margin-left:0px
|
7696
7705
|
}
|
@@ -7703,6 +7712,10 @@ tag.tagify__tag{
|
|
7703
7712
|
margin-left:8.333333%
|
7704
7713
|
}
|
7705
7714
|
|
7715
|
+
.ml-1\/2{
|
7716
|
+
margin-left:50%
|
7717
|
+
}
|
7718
|
+
|
7706
7719
|
.ml-10{
|
7707
7720
|
margin-left:2.5rem
|
7708
7721
|
}
|
@@ -8049,10 +8062,34 @@ tag.tagify__tag{
|
|
8049
8062
|
min-height:1.5rem
|
8050
8063
|
}
|
8051
8064
|
|
8065
|
+
.min-h-\[16rem\]{
|
8066
|
+
min-height:16rem
|
8067
|
+
}
|
8068
|
+
|
8069
|
+
.min-h-\[24rem\]{
|
8070
|
+
min-height:24rem
|
8071
|
+
}
|
8072
|
+
|
8073
|
+
.min-h-\[32rem\]{
|
8074
|
+
min-height:32rem
|
8075
|
+
}
|
8076
|
+
|
8052
8077
|
.min-h-\[3rem\]{
|
8053
8078
|
min-height:3rem
|
8054
8079
|
}
|
8055
8080
|
|
8081
|
+
.min-h-\[40rem\]{
|
8082
|
+
min-height:40rem
|
8083
|
+
}
|
8084
|
+
|
8085
|
+
.min-h-\[48rem\]{
|
8086
|
+
min-height:48rem
|
8087
|
+
}
|
8088
|
+
|
8089
|
+
.min-h-\[8rem\]{
|
8090
|
+
min-height:8rem
|
8091
|
+
}
|
8092
|
+
|
8056
8093
|
.min-h-full{
|
8057
8094
|
min-height:100%
|
8058
8095
|
}
|
@@ -8149,6 +8186,10 @@ tag.tagify__tag{
|
|
8149
8186
|
width:1%
|
8150
8187
|
}
|
8151
8188
|
|
8189
|
+
.w-\[calc\(100\%\+1rem\)\]{
|
8190
|
+
width:calc(100% + 1rem)
|
8191
|
+
}
|
8192
|
+
|
8152
8193
|
.w-auto{
|
8153
8194
|
width:auto
|
8154
8195
|
}
|
@@ -9475,6 +9516,11 @@ tag.tagify__tag{
|
|
9475
9516
|
padding-right:0.25rem
|
9476
9517
|
}
|
9477
9518
|
|
9519
|
+
.px-1\.5{
|
9520
|
+
padding-left:0.375rem;
|
9521
|
+
padding-right:0.375rem
|
9522
|
+
}
|
9523
|
+
|
9478
9524
|
.px-10{
|
9479
9525
|
padding-left:2.5rem;
|
9480
9526
|
padding-right:2.5rem
|
@@ -9525,6 +9571,11 @@ tag.tagify__tag{
|
|
9525
9571
|
padding-bottom:0px
|
9526
9572
|
}
|
9527
9573
|
|
9574
|
+
.py-0\.5{
|
9575
|
+
padding-top:0.125rem;
|
9576
|
+
padding-bottom:0.125rem
|
9577
|
+
}
|
9578
|
+
|
9528
9579
|
.py-1{
|
9529
9580
|
padding-top:0.25rem;
|
9530
9581
|
padding-bottom:0.25rem
|
@@ -10563,6 +10614,11 @@ dialog#turbo-confirm{
|
|
10563
10614
|
background-color:rgb(200 203 208 / var(--tw-bg-opacity))
|
10564
10615
|
}
|
10565
10616
|
|
10617
|
+
.hover\:bg-gray-25:hover{
|
10618
|
+
--tw-bg-opacity:1;
|
10619
|
+
background-color:rgb(246 246 247 / var(--tw-bg-opacity))
|
10620
|
+
}
|
10621
|
+
|
10566
10622
|
.hover\:bg-gray-50:hover{
|
10567
10623
|
--tw-bg-opacity:1;
|
10568
10624
|
background-color:rgb(241 242 243 / var(--tw-bg-opacity))
|
@@ -10765,6 +10821,11 @@ dialog#turbo-confirm{
|
|
10765
10821
|
color:rgb(94 100 110 / var(--tw-text-opacity))
|
10766
10822
|
}
|
10767
10823
|
|
10824
|
+
.hover\:text-gray-700:hover{
|
10825
|
+
--tw-text-opacity:1;
|
10826
|
+
color:rgb(70 75 83 / var(--tw-text-opacity))
|
10827
|
+
}
|
10828
|
+
|
10768
10829
|
.hover\:text-gray-900:hover{
|
10769
10830
|
--tw-text-opacity:1;
|
10770
10831
|
color:rgb(23 25 28 / var(--tw-text-opacity))
|
@@ -11564,10 +11625,23 @@ dialog#turbo-confirm{
|
|
11564
11625
|
display:block
|
11565
11626
|
}
|
11566
11627
|
|
11628
|
+
.group:hover .group-hover\:bg-gray-200{
|
11629
|
+
--tw-bg-opacity:1;
|
11630
|
+
background-color:rgb(200 203 208 / var(--tw-bg-opacity))
|
11631
|
+
}
|
11632
|
+
|
11633
|
+
.group:hover .group-hover\:bg-primary-500{
|
11634
|
+
background-color:rgb(var(--color-primary-500))
|
11635
|
+
}
|
11636
|
+
|
11567
11637
|
.group:hover .group-hover\:pt-4{
|
11568
11638
|
padding-top:1rem
|
11569
11639
|
}
|
11570
11640
|
|
11641
|
+
.group:active .group-active\:bg-primary-400{
|
11642
|
+
background-color:rgb(var(--color-primary-400))
|
11643
|
+
}
|
11644
|
+
|
11571
11645
|
.has-sidebar .has-sidebar\:w-full{
|
11572
11646
|
width:100%
|
11573
11647
|
}
|
@@ -11589,6 +11663,10 @@ dialog#turbo-confirm{
|
|
11589
11663
|
height:9rem
|
11590
11664
|
}
|
11591
11665
|
|
11666
|
+
.index-grid-view .index-grid-view\:pb-4{
|
11667
|
+
padding-bottom:1rem
|
11668
|
+
}
|
11669
|
+
|
11592
11670
|
@media (min-width: 495px){
|
11593
11671
|
.xs\:grid-cols-2{
|
11594
11672
|
grid-template-columns:repeat(2, minmax(0, 1fr))
|
@@ -11622,6 +11700,26 @@ dialog#turbo-confirm{
|
|
11622
11700
|
right:0px
|
11623
11701
|
}
|
11624
11702
|
|
11703
|
+
.sm\:col-span-1{
|
11704
|
+
grid-column:span 1 / span 1
|
11705
|
+
}
|
11706
|
+
|
11707
|
+
.sm\:col-span-2{
|
11708
|
+
grid-column:span 2 / span 2
|
11709
|
+
}
|
11710
|
+
|
11711
|
+
.sm\:col-span-3{
|
11712
|
+
grid-column:span 3 / span 3
|
11713
|
+
}
|
11714
|
+
|
11715
|
+
.sm\:col-span-4{
|
11716
|
+
grid-column:span 4 / span 4
|
11717
|
+
}
|
11718
|
+
|
11719
|
+
.sm\:col-span-5{
|
11720
|
+
grid-column:span 5 / span 5
|
11721
|
+
}
|
11722
|
+
|
11625
11723
|
.sm\:col-span-6{
|
11626
11724
|
grid-column:span 6 / span 6
|
11627
11725
|
}
|
@@ -11662,6 +11760,10 @@ dialog#turbo-confirm{
|
|
11662
11760
|
width:auto
|
11663
11761
|
}
|
11664
11762
|
|
11763
|
+
.sm\:min-w-\[16rem\]{
|
11764
|
+
min-width:16rem
|
11765
|
+
}
|
11766
|
+
|
11665
11767
|
.sm\:min-w-\[300px\]{
|
11666
11768
|
min-width:300px
|
11667
11769
|
}
|
@@ -11682,6 +11784,18 @@ dialog#turbo-confirm{
|
|
11682
11784
|
grid-template-columns:repeat(3, minmax(0, 1fr))
|
11683
11785
|
}
|
11684
11786
|
|
11787
|
+
.sm\:grid-cols-4{
|
11788
|
+
grid-template-columns:repeat(4, minmax(0, 1fr))
|
11789
|
+
}
|
11790
|
+
|
11791
|
+
.sm\:grid-cols-5{
|
11792
|
+
grid-template-columns:repeat(5, minmax(0, 1fr))
|
11793
|
+
}
|
11794
|
+
|
11795
|
+
.sm\:grid-cols-6{
|
11796
|
+
grid-template-columns:repeat(6, minmax(0, 1fr))
|
11797
|
+
}
|
11798
|
+
|
11685
11799
|
.sm\:flex-row{
|
11686
11800
|
flex-direction:row
|
11687
11801
|
}
|
@@ -11940,6 +12054,10 @@ dialog#turbo-confirm{
|
|
11940
12054
|
}
|
11941
12055
|
}
|
11942
12056
|
|
12057
|
+
.rtl\:space-x-reverse:where([dir="rtl"], [dir="rtl"] *) > :not([hidden]) ~ :not([hidden]){
|
12058
|
+
--tw-space-x-reverse:1
|
12059
|
+
}
|
12060
|
+
|
11943
12061
|
@media print{
|
11944
12062
|
.print\:hidden{
|
11945
12063
|
display:none
|
@@ -21,7 +21,7 @@
|
|
21
21
|
<%= helpers.svg "avo/three-dots", class: 'h-4' %>
|
22
22
|
</a>
|
23
23
|
<div
|
24
|
-
class="hidden absolute flex flex-col inset-auto right-0 -
|
24
|
+
class="hidden absolute flex flex-col inset-auto right-0 bottom-0 mb-8 bg-white rounded min-w-[200px] shadow-context z-40"
|
25
25
|
data-toggle-target="panel"
|
26
26
|
data-transition-enter="transition ease-in-out duration-100"
|
27
27
|
data-transition-enter-start="transform opacity-0 translate-y-3"
|
@@ -52,7 +52,7 @@
|
|
52
52
|
</div>
|
53
53
|
</div>
|
54
54
|
<% if has_dynamic_filters? %>
|
55
|
-
<%= render Avo::DynamicFilters::FiltersComponent.new resource: resource, turbo_frame: @turbo_frame, dynamic_filters_component_id: dynamic_filters_component_id %>
|
55
|
+
<%= render Avo::DynamicFilters::FiltersComponent.new resource: resource, turbo_frame: @turbo_frame, dynamic_filters_component_id: dynamic_filters_component_id, parent_record: @parent_record, parent_resource: @parent_resource %>
|
56
56
|
<% end %>
|
57
57
|
</div>
|
58
58
|
</div>
|
@@ -316,14 +316,14 @@ module Avo
|
|
316
316
|
|
317
317
|
# Pagination
|
318
318
|
@index_params[:page] = params[:page] || page_from_session || 1
|
319
|
-
@index_params[:per_page] = Avo.configuration.per_page
|
320
|
-
|
321
|
-
if cookies[:per_page].present?
|
322
|
-
@index_params[:per_page] = cookies[:per_page]
|
323
|
-
end
|
319
|
+
@index_params[:per_page] = cookies[:per_page] || Avo.configuration.per_page
|
324
320
|
|
325
321
|
if @parent_record.present?
|
326
|
-
|
322
|
+
per_page_key = "#{@record.to_global_id}.has_many.#{@resource.class.to_s.parameterize}.per_page"
|
323
|
+
session[per_page_key] = params[:per_page] || session[per_page_key]
|
324
|
+
per_page_from_session = session[per_page_key]
|
325
|
+
|
326
|
+
@index_params[:per_page] = per_page_from_session || Avo.configuration.via_per_page
|
327
327
|
end
|
328
328
|
|
329
329
|
if params[:per_page].present?
|
data/lib/avo/configuration.rb
CHANGED
@@ -10,6 +10,7 @@ module Avo
|
|
10
10
|
attr_writer :turbo
|
11
11
|
attr_writer :pagination
|
12
12
|
attr_writer :explicit_authorization
|
13
|
+
attr_writer :exclude_from_status
|
13
14
|
attr_accessor :timezone
|
14
15
|
attr_accessor :per_page
|
15
16
|
attr_accessor :per_page_steps
|
@@ -121,6 +122,7 @@ module Avo
|
|
121
122
|
@search_results_count = 8
|
122
123
|
@first_sorting_option = :desc # :desc or :asc
|
123
124
|
@associations_lookup_list_limit = 1000
|
125
|
+
@exclude_from_status = []
|
124
126
|
end
|
125
127
|
|
126
128
|
# Authorization is enabled when:
|
@@ -251,6 +253,10 @@ module Avo
|
|
251
253
|
Avo::ExecutionContext.new(target: @turbo).handle
|
252
254
|
end
|
253
255
|
|
256
|
+
def exclude_from_status
|
257
|
+
Avo::ExecutionContext.new(target: @exclude_from_status).handle
|
258
|
+
end
|
259
|
+
|
254
260
|
def default_turbo
|
255
261
|
-> do
|
256
262
|
{
|
data/lib/avo/version.rb
CHANGED
@@ -120,6 +120,7 @@ Avo.configure do |config|
|
|
120
120
|
# config.field_wrapper_layout = true
|
121
121
|
# config.resource_parent_controller = "Avo::ResourcesController"
|
122
122
|
# config.first_sorting_option = :desc # :desc or :asc
|
123
|
+
# config.exclude_from_status = []
|
123
124
|
|
124
125
|
## == Branding ==
|
125
126
|
# config.branding = {
|
@@ -7660,10 +7660,6 @@ tag.tagify__tag{
|
|
7660
7660
|
margin-top:-0.5rem
|
7661
7661
|
}
|
7662
7662
|
|
7663
|
-
.-mt-28{
|
7664
|
-
margin-top:-7rem
|
7665
|
-
}
|
7666
|
-
|
7667
7663
|
.-mt-4{
|
7668
7664
|
margin-top:-1rem
|
7669
7665
|
}
|
@@ -7700,6 +7696,10 @@ tag.tagify__tag{
|
|
7700
7696
|
margin-bottom:1.25rem
|
7701
7697
|
}
|
7702
7698
|
|
7699
|
+
.mb-8{
|
7700
|
+
margin-bottom:2rem
|
7701
|
+
}
|
7702
|
+
|
7703
7703
|
.ml-0{
|
7704
7704
|
margin-left:0px
|
7705
7705
|
}
|
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: 3.15.
|
4
|
+
version: 3.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-12-
|
13
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|