avo 3.15.0 → 3.15.1
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.lock +1 -1
- 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_controller.rb +6 -6
- data/lib/avo/version.rb +1 -1
- 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: 20e94afb3f4f8ef61c3ef823e6358d06abfd6ca18f3a77134a64df465b3c695d
|
|
4
|
+
data.tar.gz: 9017bfd4900f33f234c69b67e4be1943c1278dac64df92590635892739d4673b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9f709c591d51c60442bfa7d08cff02e5e51c1db6b9b1a64ec3244753d358fa48fb16c0a8e81d763df0e657e98dbaad8d99894dbf58846fd4402662f52777553
|
|
7
|
+
data.tar.gz: 656739f78156385681ff032157f915ac009292357b01317a5555c23f4a7328a9825ae38b390c931b2f3bcf3b0d5cfe47df2081436477448bf42616c45b58fc10
|
data/Gemfile.lock
CHANGED
|
@@ -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/version.rb
CHANGED
|
@@ -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.1
|
|
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-04 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activerecord
|