ui_bibz 3.0.7 → 3.0.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ccf1bc46f32031ce0698125631f8e1589410cee6db4a999a255b3cafdb9fc11
|
4
|
+
data.tar.gz: c960f216e67352be73ba19062695c4cb9ce3bbd20a7db4fc1527d664b870ab0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 284c08b51b94b618f8d9f79c0ac6697249ede82fa2c2e2caff141ab5cb01ca35c1b621ac6b24904e0b61a7d9b4927ff30d529d9525d7951fcc3d436631dc6c79
|
7
|
+
data.tar.gz: b96dccac0028df0ae9d02b35cfe070f62d8b8020e2780a4de181c4d6205816a5bbdf19e3a3b7832624bb0b3603ba0c3442c38e8e721a5c056e62eeca81ce4941
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ui_bibz (3.0.
|
4
|
+
ui_bibz (3.0.8)
|
5
5
|
will-paginate-i18n
|
6
6
|
will_paginate (~> 3.3.0)
|
7
7
|
will_paginate-bootstrap4
|
@@ -127,7 +127,7 @@ GEM
|
|
127
127
|
parallel (1.21.0)
|
128
128
|
parser (3.0.2.0)
|
129
129
|
ast (~> 2.4.1)
|
130
|
-
racc (1.
|
130
|
+
racc (1.6.0)
|
131
131
|
rack (2.2.3)
|
132
132
|
rack-test (1.1.0)
|
133
133
|
rack (>= 1.0, < 3)
|
@@ -216,7 +216,7 @@ GEM
|
|
216
216
|
will_paginate-bootstrap4 (0.2.2)
|
217
217
|
will_paginate (~> 3.0, >= 3.0.0)
|
218
218
|
yard (0.9.26)
|
219
|
-
zeitwerk (2.
|
219
|
+
zeitwerk (2.5.1)
|
220
220
|
|
221
221
|
PLATFORMS
|
222
222
|
ruby
|
data/lib/ui_bibz/infos.rb
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
module UiBibz::Ui::Ux::Tables
|
4
4
|
class Column < UiBibz::Ui::Core::Component
|
5
|
-
attr_accessor :hidden, :link, :name, :input_options, :class, :as, :data_index,
|
5
|
+
attr_accessor :hidden, :link, :name, :input_options, :class, :as, :data_index,
|
6
|
+
:date_format, :sort, :format, :count, :custom_sort, :parent, :id, :progress_options,
|
7
|
+
:sortable
|
6
8
|
|
7
9
|
def initialize(content = nil, options = nil, html_options = nil, &block)
|
8
10
|
super
|
@@ -20,6 +22,7 @@ module UiBibz::Ui::Ux::Tables
|
|
20
22
|
@format = @options[:format]
|
21
23
|
@class = @options[:class]
|
22
24
|
@hidden = @options[:hidden]
|
25
|
+
@sortable = @options[:sortable]
|
23
26
|
@input_options = @options[:input_options]
|
24
27
|
@progress_options = @options[:progress_options] || {}
|
25
28
|
end
|
@@ -75,7 +75,13 @@ module UiBibz::Ui::Ux::Tables
|
|
75
75
|
end
|
76
76
|
|
77
77
|
def sortable?
|
78
|
-
|
78
|
+
if !@column.sortable.nil?
|
79
|
+
@column.sortable
|
80
|
+
elsif !@options[:sortable].nil?
|
81
|
+
@options[:sortable]
|
82
|
+
else
|
83
|
+
true
|
84
|
+
end
|
79
85
|
end
|
80
86
|
|
81
87
|
def title
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ui_bibz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thooams [Thomas HUMMEL]
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|