avo 2.9.1.pre3 → 2.9.1.pre6
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 +3 -1
- data/app/assets/builds/avo.css +28 -0
- data/app/assets/builds/avo.js +63 -63
- data/app/assets/builds/avo.js.map +2 -2
- data/app/components/avo/actions_component.rb +6 -2
- data/app/components/avo/fields/common/key_value_component.html.erb +2 -2
- data/app/components/avo/fields/common/single_file_viewer_component.rb +1 -1
- data/app/components/avo/fields/date_field/edit_component.html.erb +1 -0
- data/app/components/avo/fields/date_time_field/edit_component.html.erb +9 -11
- data/app/components/avo/fields/date_time_field/index_component.html.erb +1 -9
- data/app/components/avo/fields/date_time_field/show_component.html.erb +1 -9
- data/app/components/avo/index/ordering/button_component.rb +5 -13
- data/app/components/avo/index/resource_controls_component.html.erb +2 -2
- data/app/components/avo/index/resource_controls_component.rb +5 -1
- data/app/components/avo/views/resource_edit_component.rb +1 -1
- data/app/components/avo/views/resource_index_component.rb +2 -2
- data/app/controllers/avo/application_controller.rb +24 -3
- data/app/javascript/avo.js +5 -1
- data/app/javascript/js/controllers/fields/date_field_controller.js +24 -68
- data/app/javascript/js/controllers/tabs_controller.js +80 -0
- data/app/views/avo/partials/_javascript.html.erb +1 -1
- data/config/routes.rb +1 -1
- data/lib/avo/app.rb +11 -4
- data/lib/avo/base_card.rb +1 -7
- data/lib/avo/base_resource.rb +1 -1
- data/lib/avo/concerns/handles_field_args.rb +1 -1
- data/lib/avo/concerns/model_class_constantized.rb +23 -0
- data/lib/avo/dashboards/base_dashboard.rb +1 -1
- data/lib/avo/fields/date_field.rb +2 -0
- data/lib/avo/fields/date_time_field.rb +9 -13
- data/lib/avo/fields/has_base_field.rb +3 -1
- data/lib/avo/fields/has_one_field.rb +4 -1
- data/lib/avo/menu/builder.rb +8 -7
- data/lib/avo/services/uri_service.rb +71 -0
- data/lib/avo/version.rb +1 -1
- data/lib/avo.rb +1 -0
- data/lib/generators/avo/templates/locales/avo.fr.yml +115 -0
- data/public/avo-assets/avo.js +63 -63
- data/public/avo-assets/avo.js.map +2 -2
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba9d821289fe3059e6cfc94bfe52b16ccb574f58be2bf4ab8fa850e9ceb55a02
|
4
|
+
data.tar.gz: 03253b9ba8afce580db6405eda3c2e2eb509ad4ff9f759063e8289850d6bf836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e5aec93412bbac8df6f67295f85125eee7df648c3d506dfaa46db99798293e8b126e14d56acd0a09bec7036afce715670791ec405e89a73ea420034129e8dab
|
7
|
+
data.tar.gz: 470b9bd9e5b7dbeab74a5309ad10ec858e1278c0478c58ad8e1cdfba63533fc05409096b4cb02e5c857875e06d5b5d31e30d49cb2f96bcbfa7795099ac3ee1a8
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
avo (2.9.1.
|
4
|
+
avo (2.9.1.pre6)
|
5
5
|
active_link_to
|
6
6
|
addressable
|
7
7
|
breadcrumbs_on_rails
|
@@ -252,6 +252,8 @@ GEM
|
|
252
252
|
nokogiri (1.13.4)
|
253
253
|
mini_portile2 (~> 2.8.0)
|
254
254
|
racc (~> 1.4)
|
255
|
+
nokogiri (1.13.4-x86_64-linux)
|
256
|
+
racc (~> 1.4)
|
255
257
|
orm_adapter (0.5.0)
|
256
258
|
pagy (5.10.1)
|
257
259
|
activesupport
|
data/app/assets/builds/avo.css
CHANGED
@@ -6354,6 +6354,16 @@ trix-editor .attachment__metadata .attachment__size {
|
|
6354
6354
|
margin-bottom:0px
|
6355
6355
|
}
|
6356
6356
|
|
6357
|
+
.-mx-2{
|
6358
|
+
margin-left:-0.5rem;
|
6359
|
+
margin-right:-0.5rem
|
6360
|
+
}
|
6361
|
+
|
6362
|
+
.-my-2{
|
6363
|
+
margin-top:-0.5rem;
|
6364
|
+
margin-bottom:-0.5rem
|
6365
|
+
}
|
6366
|
+
|
6357
6367
|
.mx-6{
|
6358
6368
|
margin-left:1.5rem;
|
6359
6369
|
margin-right:1.5rem
|
@@ -6479,6 +6489,10 @@ trix-editor .attachment__metadata .attachment__size {
|
|
6479
6489
|
margin-top:0px
|
6480
6490
|
}
|
6481
6491
|
|
6492
|
+
.-mb-8{
|
6493
|
+
margin-bottom:-2rem
|
6494
|
+
}
|
6495
|
+
|
6482
6496
|
.mr-px{
|
6483
6497
|
margin-right:1px
|
6484
6498
|
}
|
@@ -8885,6 +8899,16 @@ trix-editor {
|
|
8885
8899
|
}
|
8886
8900
|
|
8887
8901
|
@media (min-width: 1024px){
|
8902
|
+
.lg\:-mx-4{
|
8903
|
+
margin-left:-1rem;
|
8904
|
+
margin-right:-1rem
|
8905
|
+
}
|
8906
|
+
|
8907
|
+
.lg\:-my-4{
|
8908
|
+
margin-top:-1rem;
|
8909
|
+
margin-bottom:-1rem
|
8910
|
+
}
|
8911
|
+
|
8888
8912
|
.lg\:flex{
|
8889
8913
|
display:flex
|
8890
8914
|
}
|
@@ -8927,6 +8951,10 @@ trix-editor {
|
|
8927
8951
|
padding:1.5rem
|
8928
8952
|
}
|
8929
8953
|
|
8954
|
+
.lg\:p-4{
|
8955
|
+
padding:1rem
|
8956
|
+
}
|
8957
|
+
|
8930
8958
|
.lg\:px-8{
|
8931
8959
|
padding-left:2rem;
|
8932
8960
|
padding-right:2rem
|