avo 2.33.1 → 2.33.3.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 +2 -2
- data/app/components/avo/alert_component.html.erb +1 -1
- data/app/components/avo/field_wrapper_component.html.erb +2 -2
- data/app/components/avo/fields/common/heading_component.html.erb +1 -1
- data/app/components/avo/fields/trix_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/trix_field/show_component.html.erb +1 -1
- data/app/components/avo/index/field_wrapper_component.html.erb +1 -1
- data/app/components/avo/panel_component.html.erb +1 -1
- data/app/views/avo/actions/show.html.erb +1 -1
- data/config/master.key +1 -0
- data/lib/avo/version.rb +1 -1
- data/public/avo-assets/avo.base.css +4 -4
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cbfff8cdd5a6b367626522263ad2c5f2260e5d3f18b4d303136a3bee9661054
|
4
|
+
data.tar.gz: 2d98da5cf89746d1d05abb2306b1f9c69ec2025ef9f48c307807e80105371e4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46a36d35b4316a92c327505769a9e7dcf1275e0af27ef8ce87d418f76b78f0b4d7cad14da0fc6d853aa2c3fd6ded5cdb73cf6b71c5560a1d15e4f4c86fc098a6
|
7
|
+
data.tar.gz: fc517cad0575f3dbee145455f2a81bba95febb42c7073d8c41e86807b8aad5d61caf2728b24f02cc4411badd85202b780005920a1630167ab638d5a17034c676
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
avo (2.33.1)
|
4
|
+
avo (2.33.3.pre.1)
|
5
5
|
actionview (>= 6.0)
|
6
6
|
active_link_to
|
7
7
|
activerecord (>= 6.0)
|
@@ -421,7 +421,7 @@ GEM
|
|
421
421
|
tzinfo (2.0.6)
|
422
422
|
concurrent-ruby (~> 1.0)
|
423
423
|
unicode-display_width (2.4.0)
|
424
|
-
view_component (3.
|
424
|
+
view_component (3.1.0)
|
425
425
|
activesupport (>= 5.2.0, < 8.0)
|
426
426
|
concurrent-ruby (~> 1.0)
|
427
427
|
method_source (~> 1.0)
|
@@ -24,13 +24,13 @@
|
|
24
24
|
<div class="text-red-600 mt-2 text-sm"><%= record.errors.full_messages_for(field.id).to_sentence %></div>
|
25
25
|
<% end %>
|
26
26
|
<% if help.present? %>
|
27
|
-
<div class="text-gray-600 mt-2 text-sm"
|
27
|
+
<div class="text-gray-600 mt-2 text-sm"><%= sanitize help %></div>
|
28
28
|
<% end %>
|
29
29
|
<% end %>
|
30
30
|
</div>
|
31
31
|
</div>
|
32
32
|
<% if params[:avo_debug].present? %>
|
33
33
|
<!-- Raw value: -->
|
34
|
-
<!--
|
34
|
+
<!-- <%= sanitize field.value.inspect %> -->
|
35
35
|
<% end %>
|
36
36
|
<% end %>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<%= link_to t('avo.show_content'), 'javascript:void(0);', class: 'font-bold inline-block', data: { action: 'click->hidden-input#showContent' } %>
|
9
9
|
<% end %>
|
10
10
|
<div class="<%= content_classes %> " data-hidden-input-target="content">
|
11
|
-
|
11
|
+
<%= sanitize @field.value %>
|
12
12
|
</div>
|
13
13
|
</div>
|
14
14
|
<% end %>
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<% end %>
|
26
26
|
<% if body? %>
|
27
27
|
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:gap-4 w-full">
|
28
|
-
<div class="relative flex-1 <% if sidebar? %> w-2/3 <%
|
28
|
+
<div class="relative flex-1 w-full <% if sidebar? %> sm:w-2/3 <% end %>">
|
29
29
|
<% # The body is wrapped inside another div in order to avoid long & tall panels next to sidebars when the sidebar taller. %>
|
30
30
|
<div class="relative <%= white_panel_classes %> <%= @body_classes %>">
|
31
31
|
<%= body %>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
>
|
10
10
|
<%= form_with model: @model,
|
11
11
|
scope: 'fields',
|
12
|
-
url:
|
12
|
+
url: Avo::Services::URIService.parse(@resource.records_path).append_paths("actions").to_s,
|
13
13
|
local: true,
|
14
14
|
data: @action.class.form_data_attributes do |form|
|
15
15
|
%>
|
data/config/master.key
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2aeb23d82b909d9c6b5abb62f7058c2a
|
data/lib/avo/version.rb
CHANGED
@@ -6929,10 +6929,6 @@ trix-toolbar .trix-button-group:not(:first-child){
|
|
6929
6929
|
width:4rem
|
6930
6930
|
}
|
6931
6931
|
|
6932
|
-
.w-2\/3{
|
6933
|
-
width:66.666667%
|
6934
|
-
}
|
6935
|
-
|
6936
6932
|
.w-64{
|
6937
6933
|
width:16rem
|
6938
6934
|
}
|
@@ -9632,6 +9628,10 @@ trix-editor {
|
|
9632
9628
|
width:auto
|
9633
9629
|
}
|
9634
9630
|
|
9631
|
+
.sm\:w-2\/3{
|
9632
|
+
width:66.666667%
|
9633
|
+
}
|
9634
|
+
|
9635
9635
|
.sm\:w-1\/3{
|
9636
9636
|
width:33.333333%
|
9637
9637
|
}
|
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: 2.33.1
|
4
|
+
version: 2.33.3.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-05
|
12
|
+
date: 2023-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -1713,6 +1713,7 @@ files:
|
|
1713
1713
|
- config/credentials.yml.enc
|
1714
1714
|
- config/i18n-tasks.yml
|
1715
1715
|
- config/initializers/pagy.rb
|
1716
|
+
- config/master.key
|
1716
1717
|
- config/routes.rb
|
1717
1718
|
- config/spring.rb
|
1718
1719
|
- db/factories.rb
|
@@ -1976,9 +1977,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1976
1977
|
version: 2.6.0
|
1977
1978
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1978
1979
|
requirements:
|
1979
|
-
- - "
|
1980
|
+
- - ">"
|
1980
1981
|
- !ruby/object:Gem::Version
|
1981
|
-
version:
|
1982
|
+
version: 1.3.1
|
1982
1983
|
requirements: []
|
1983
1984
|
rubygems_version: 3.3.3
|
1984
1985
|
signing_key:
|