avo 3.22.4 → 3.22.5
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 +1 -1
- data/Gemfile.lock +4 -5
- data/app/components/avo/blank_field_component.rb +2 -0
- data/app/components/avo/fields/area_field/show_component.rb +1 -0
- data/app/components/avo/fields/common/key_value_component.html.erb +1 -1
- data/app/components/avo/index/resource_map_component.rb +2 -1
- data/app/components/avo/panel_header_component.html.erb +1 -1
- data/app/components/avo/views/resource_index_component.html.erb +1 -1
- data/lib/avo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dfcb4af3f2e2fa4791f55eaeadb13ca71a1a7b514cd2895de6199389e85292b
|
4
|
+
data.tar.gz: ef3a38acea11bf959afc1533568c74c7b77eebbe1b8b0b6e0118592ad70f0117
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00c76e27a17c9fbbd8432db7963c29608d384c0713b39c32a073241e445e5d603e0378be5439f580913019f67628be3eb47e9c1de6bf6f46957f5d07904c2b0e
|
7
|
+
data.tar.gz: c2c38937f763dfad58c2042f66d45d438c43c4a90a5d397f44c6a0cc45b4be410f1ccd11671394256e3099cef309aa582d85b501a1feacb8a6b61abdf2ea9eff
|
data/Gemfile
CHANGED
@@ -75,7 +75,7 @@ gem "hashid-rails", "~> 1.4", ">= 1.4.1"
|
|
75
75
|
gem "money-rails", "~> 1.12"
|
76
76
|
gem "pagy", "> 8"
|
77
77
|
gem "csv"
|
78
|
-
|
78
|
+
gem "view_component", "4.0.0"
|
79
79
|
|
80
80
|
# =============================================================================
|
81
81
|
# AWS & CLOUD SERVICES
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
avo (3.22.
|
4
|
+
avo (3.22.5)
|
5
5
|
actionview (>= 6.1)
|
6
6
|
active_link_to
|
7
7
|
activerecord (>= 6.1)
|
@@ -398,7 +398,6 @@ GEM
|
|
398
398
|
memory_profiler (1.1.0)
|
399
399
|
meta-tags (2.22.1)
|
400
400
|
actionpack (>= 6.0.0, < 8.1)
|
401
|
-
method_source (1.1.0)
|
402
401
|
mini_histogram (0.3.1)
|
403
402
|
mini_magick (5.3.0)
|
404
403
|
logger
|
@@ -684,10 +683,9 @@ GEM
|
|
684
683
|
unicode-emoji (4.0.4)
|
685
684
|
uri (1.0.3)
|
686
685
|
useragent (0.16.11)
|
687
|
-
view_component (
|
688
|
-
activesupport (>=
|
686
|
+
view_component (4.0.0)
|
687
|
+
activesupport (>= 7.1.0, < 8.1)
|
689
688
|
concurrent-ruby (~> 1)
|
690
|
-
method_source (~> 1.0)
|
691
689
|
virtus (2.0.0)
|
692
690
|
axiom-types (~> 0.1)
|
693
691
|
coercible (~> 1.0)
|
@@ -801,6 +799,7 @@ DEPENDENCIES
|
|
801
799
|
standard
|
802
800
|
test-prof
|
803
801
|
tzinfo-data
|
802
|
+
view_component (= 4.0.0)
|
804
803
|
web-console (>= 3.3.0)
|
805
804
|
webmock
|
806
805
|
zeitwerk
|
@@ -25,7 +25,7 @@
|
|
25
25
|
class="cursor-not-allowed"
|
26
26
|
<% end %>
|
27
27
|
>
|
28
|
-
<%= svg "heroicons/outline/plus-circle", class: 'text-gray-400 h-5 hover:text-gray-500' %>
|
28
|
+
<%= helpers.svg "heroicons/outline/plus-circle", class: 'text-gray-400 h-5 hover:text-gray-500' %>
|
29
29
|
</a>
|
30
30
|
</div>
|
31
31
|
<% end %>
|
@@ -8,7 +8,6 @@ module Avo
|
|
8
8
|
attr_reader :resources
|
9
9
|
|
10
10
|
def initialize(resources: nil, resource: nil, reflection: nil, parent_record: nil, parent_resource: nil, pagy: nil, query: nil)
|
11
|
-
super
|
12
11
|
@resources = resources
|
13
12
|
@resource = resource
|
14
13
|
@reflection = reflection
|
@@ -18,6 +17,8 @@ module Avo
|
|
18
17
|
@query = query
|
19
18
|
end
|
20
19
|
|
20
|
+
delegate :js_map, to: :helpers
|
21
|
+
|
21
22
|
def grid_layout_classes
|
22
23
|
return unless render_table?
|
23
24
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<% panel_name_component.with_body do %>
|
17
17
|
<% if @external_link.present? %>
|
18
18
|
<%= link_to @external_link, class: "text-gray-600 hover:text-gray-900 mt-1", title: helpers.t("avo.visit_record_on_external_path"), data: {tippy: :tooltip}, target: :_blank do %>
|
19
|
-
<%= svg "heroicons/outline/arrow-top-right-on-square", class: "ml-2 text-2xl h-4" %>
|
19
|
+
<%= helpers.svg "heroicons/outline/arrow-top-right-on-square", class: "ml-2 text-2xl h-4" %>
|
20
20
|
<% end %>
|
21
21
|
<% end %>
|
22
22
|
<% if @discreet_information.present? %>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<% panel_name_component.with_body do %>
|
19
19
|
<% if reloadable %>
|
20
20
|
<%= button_tag data: { controller: "panel-refresh", action: "click->panel-refresh#refresh" } do %>
|
21
|
-
<%= svg "heroicons/outline/arrow-path", class: "ml-2 text-2xl h-6 " %>
|
21
|
+
<%= helpers.svg "heroicons/outline/arrow-path", class: "ml-2 text-2xl h-6 " %>
|
22
22
|
<% end %>
|
23
23
|
<% end %>
|
24
24
|
<% end %>
|
data/lib/avo/version.rb
CHANGED