avo 3.6.2 → 3.6.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18021c215725ef9b00b8a4377ed723200fb85fce9ae8b1237940c2947df2ecad
4
- data.tar.gz: 1f2d1c937a848c8aef1bbb48794f3f1f560fc5809f806d779780b94ff0a6e974
3
+ metadata.gz: 0c1a1850dcbe5a9b1d2756241fe2983fb8d89a1dfecffb99bedefdb5d1cf93f9
4
+ data.tar.gz: a246d51c7555b95a849077fb5a727751c0def5f08dd18b92ee559c591404177e
5
5
  SHA512:
6
- metadata.gz: ce92074952caba25bf58406248f6f2b8b17d26bf693d822cf02d194507a804bd415c2b5f804f7f67b78c5b79beb942d0b61337fbd10e3b7c6e3f3d3548a107a2
7
- data.tar.gz: 2275e379c8f80e2682deb51909d7152a9506411df1979f277fad78d265051f322152a700ad817688b00313a75a501a22ec4b09fd8c6c905d91ee15a9ba57d324
6
+ metadata.gz: 837aecd1b17eb2cd2b20448ee9826ea82ad72c6dbc754bf37dbf797f3f72be54c88b97b8efe70991ab00a6bc8a5e129caed5fff2fd97f8dfe22c4087380032d2
7
+ data.tar.gz: caa6839f4f059e8e2ee596f1df9b8a02780c1b59dc5f540a2963305e6cfd00f811850157d550a200808b2b98680ff992b9144242db36c8860d0f0a3973597374
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (3.6.2)
4
+ avo (3.6.3)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
@@ -7252,11 +7252,6 @@ tag.tagify__tag{
7252
7252
  margin-right:1.5rem
7253
7253
  }
7254
7254
 
7255
- .mx-auto{
7256
- margin-left:auto;
7257
- margin-right:auto
7258
- }
7259
-
7260
7255
  .my-0{
7261
7256
  margin-top:0px;
7262
7257
  margin-bottom:0px
@@ -7796,10 +7791,6 @@ tag.tagify__tag{
7796
7791
  max-width:32rem
7797
7792
  }
7798
7793
 
7799
- .max-w-screen-xl{
7800
- max-width:1280px
7801
- }
7802
-
7803
7794
  .max-w-xs{
7804
7795
  max-width:20rem
7805
7796
  }
@@ -11091,17 +11082,6 @@ trix-editor {
11091
11082
  }
11092
11083
  }
11093
11084
 
11094
- .rtl\:space-x-reverse:where([dir="rtl"], [dir="rtl"] *) > :not([hidden]) ~ :not([hidden]){
11095
- --tw-space-x-reverse:1
11096
- }
11097
-
11098
- @media (prefers-color-scheme: dark){
11099
- .dark\:bg-gray-900{
11100
- --tw-bg-opacity:1;
11101
- background-color:rgb(23 25 28 / var(--tw-bg-opacity))
11102
- }
11103
- }
11104
-
11105
11085
  @media print{
11106
11086
  .print\:hidden{
11107
11087
  display:none
@@ -4,6 +4,8 @@ class Avo::Index::ResourceTableComponent < Avo::BaseComponent
4
4
  include Avo::ApplicationHelper
5
5
  attr_reader :pagy, :query
6
6
 
7
+ def before_render = cache_table_rows
8
+
7
9
  def initialize(resources: nil, resource: nil, reflection: nil, parent_record: nil, parent_resource: nil, pagy: nil, query: nil, actions: nil)
8
10
  @resources = resources
9
11
  @resource = resource
@@ -13,7 +15,6 @@ class Avo::Index::ResourceTableComponent < Avo::BaseComponent
13
15
  @pagy = pagy
14
16
  @query = query
15
17
  @actions = actions
16
- cache_table_rows
17
18
  end
18
19
 
19
20
  def encrypted_query
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "3.6.2" unless const_defined?(:VERSION)
2
+ VERSION = "3.6.3" unless const_defined?(:VERSION)
3
3
  end
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.6.2
4
+ version: 3.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin