ui_bibz 4.0.0.beta14 → 4.0.0.beta15

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.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +64 -62
  3. data/app/assets/stylesheets/sass/tables/_table.sass +3 -3
  4. data/lib/ui_bibz/infos.rb +1 -1
  5. data/lib/ui_bibz/ui/ux/tables/table_search_field.rb +5 -3
  6. data/vendor/assets/stylesheets/bootstrap.min.css +6 -0
  7. data/vendor/assets/stylesheets/fontawesome/all.min.css +9 -0
  8. data/vendor/assets/stylesheets/fontawesome/brands.css +1600 -0
  9. data/vendor/assets/stylesheets/fontawesome/fontawesome.css +6215 -0
  10. data/vendor/assets/stylesheets/fontawesome/regular.css +19 -0
  11. data/vendor/assets/stylesheets/fontawesome/solid.css +19 -0
  12. data/vendor/assets/stylesheets/fontawesome/webfonts/fa-brands-400.ttf +0 -0
  13. data/vendor/assets/stylesheets/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  14. data/vendor/assets/stylesheets/fontawesome/webfonts/fa-regular-400.ttf +0 -0
  15. data/vendor/assets/stylesheets/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  16. data/vendor/assets/stylesheets/fontawesome/webfonts/fa-solid-900.ttf +0 -0
  17. data/vendor/assets/stylesheets/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  18. data/vendor/assets/stylesheets/fontawesome/webfonts/fa-v4compatibility.ttf +0 -0
  19. data/vendor/assets/stylesheets/fontawesome/webfonts/fa-v4compatibility.woff2 +0 -0
  20. metadata +21 -7
  21. /data/app/assets/stylesheets/{navigations → sass/navigations}/_nav.sass +0 -0
  22. /data/app/assets/stylesheets/{navigations → sass/navigations}/_navbar.sass +0 -0
  23. /data/app/assets/stylesheets/{navigations → sass/navigations}/_progress_bar.sass +0 -0
  24. /data/app/assets/stylesheets/{navigations → sass/navigations}/_toolbar.sass +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: accfe5e81a517a5bdb0bab43530ea4d9d6c80d5b75670f9451a7cfc567015998
4
- data.tar.gz: 8e557d979fede0a2da459088e9e433e5977cd8504f114b7cb4b38449db7cfeec
3
+ metadata.gz: 3c6042f78c374577c994b06ec4f7c93eee500dc42cd6fddcbce0cbe6912e2625
4
+ data.tar.gz: cb6e88c37a90eb604b2057d3d23b88cf875b026ed646e55f1bb297faab1cf054
5
5
  SHA512:
6
- metadata.gz: 26ee695f4be007519a334c72f8dd76424f9dfd4dc799a1c8c7cf93041eaf3a88abd94707f30d7297a1a0a9ec02fb5cba641a4c6269b89f2e1cba81042b8c4207
7
- data.tar.gz: 48552e58d44501a3a3ca5fdfbfa42dde862f0016601b9c34be5cad5287e9644fedd155d82e2770b4b33ff97df477bee8e41ccba84eb136869350b64620e4e22b
6
+ metadata.gz: 8cf0d87b7450110c87783c3d418a179b067edfd1501fb15d8a2fc5ab6a4ee5ae3f892e2309eb97ca7fa37f8eff32b669187195ff28431a71e987241fc5363081
7
+ data.tar.gz: c4568c8925f4732b397c93f85d1b41f1d7edc23a555d6797edc871f92dc1b65757e4e821bda3493d5ac3f0cf76b3a71dcab497cafcad38309fd08be256837f71
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ui_bibz (4.0.0.beta14)
4
+ ui_bibz (4.0.0.beta15)
5
5
  bootstrap-propshaft (~> 5.3.2.2)
6
6
  dartsass-rails
7
7
  rails (>= 7.1.0)
@@ -10,66 +10,65 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (7.2.2)
14
- actionpack (= 7.2.2)
15
- activesupport (= 7.2.2)
13
+ actioncable (8.0.0)
14
+ actionpack (= 8.0.0)
15
+ activesupport (= 8.0.0)
16
16
  nio4r (~> 2.0)
17
17
  websocket-driver (>= 0.6.1)
18
18
  zeitwerk (~> 2.6)
19
- actionmailbox (7.2.2)
20
- actionpack (= 7.2.2)
21
- activejob (= 7.2.2)
22
- activerecord (= 7.2.2)
23
- activestorage (= 7.2.2)
24
- activesupport (= 7.2.2)
19
+ actionmailbox (8.0.0)
20
+ actionpack (= 8.0.0)
21
+ activejob (= 8.0.0)
22
+ activerecord (= 8.0.0)
23
+ activestorage (= 8.0.0)
24
+ activesupport (= 8.0.0)
25
25
  mail (>= 2.8.0)
26
- actionmailer (7.2.2)
27
- actionpack (= 7.2.2)
28
- actionview (= 7.2.2)
29
- activejob (= 7.2.2)
30
- activesupport (= 7.2.2)
26
+ actionmailer (8.0.0)
27
+ actionpack (= 8.0.0)
28
+ actionview (= 8.0.0)
29
+ activejob (= 8.0.0)
30
+ activesupport (= 8.0.0)
31
31
  mail (>= 2.8.0)
32
32
  rails-dom-testing (~> 2.2)
33
- actionpack (7.2.2)
34
- actionview (= 7.2.2)
35
- activesupport (= 7.2.2)
33
+ actionpack (8.0.0)
34
+ actionview (= 8.0.0)
35
+ activesupport (= 8.0.0)
36
36
  nokogiri (>= 1.8.5)
37
- racc
38
- rack (>= 2.2.4, < 3.2)
37
+ rack (>= 2.2.4)
39
38
  rack-session (>= 1.0.1)
40
39
  rack-test (>= 0.6.3)
41
40
  rails-dom-testing (~> 2.2)
42
41
  rails-html-sanitizer (~> 1.6)
43
42
  useragent (~> 0.16)
44
- actiontext (7.2.2)
45
- actionpack (= 7.2.2)
46
- activerecord (= 7.2.2)
47
- activestorage (= 7.2.2)
48
- activesupport (= 7.2.2)
43
+ actiontext (8.0.0)
44
+ actionpack (= 8.0.0)
45
+ activerecord (= 8.0.0)
46
+ activestorage (= 8.0.0)
47
+ activesupport (= 8.0.0)
49
48
  globalid (>= 0.6.0)
50
49
  nokogiri (>= 1.8.5)
51
- actionview (7.2.2)
52
- activesupport (= 7.2.2)
50
+ actionview (8.0.0)
51
+ activesupport (= 8.0.0)
53
52
  builder (~> 3.1)
54
53
  erubi (~> 1.11)
55
54
  rails-dom-testing (~> 2.2)
56
55
  rails-html-sanitizer (~> 1.6)
57
- activejob (7.2.2)
58
- activesupport (= 7.2.2)
56
+ activejob (8.0.0)
57
+ activesupport (= 8.0.0)
59
58
  globalid (>= 0.3.6)
60
- activemodel (7.2.2)
61
- activesupport (= 7.2.2)
62
- activerecord (7.2.2)
63
- activemodel (= 7.2.2)
64
- activesupport (= 7.2.2)
59
+ activemodel (8.0.0)
60
+ activesupport (= 8.0.0)
61
+ activerecord (8.0.0)
62
+ activemodel (= 8.0.0)
63
+ activesupport (= 8.0.0)
65
64
  timeout (>= 0.4.0)
66
- activestorage (7.2.2)
67
- actionpack (= 7.2.2)
68
- activejob (= 7.2.2)
69
- activerecord (= 7.2.2)
70
- activesupport (= 7.2.2)
65
+ activestorage (8.0.0)
66
+ actionpack (= 8.0.0)
67
+ activejob (= 8.0.0)
68
+ activerecord (= 8.0.0)
69
+ activesupport (= 8.0.0)
71
70
  marcel (~> 1.0)
72
- activesupport (7.2.2)
71
+ activesupport (8.0.0)
73
72
  base64
74
73
  benchmark (>= 0.3)
75
74
  bigdecimal
@@ -81,12 +80,13 @@ GEM
81
80
  minitest (>= 5.1)
82
81
  securerandom (>= 0.3)
83
82
  tzinfo (~> 2.0, >= 2.0.5)
83
+ uri (>= 0.13.1)
84
84
  ast (2.4.2)
85
85
  autoprefixer-rails (10.4.19.0)
86
86
  execjs (~> 2)
87
87
  awesome_print (1.9.2)
88
88
  base64 (0.2.0)
89
- benchmark (0.3.0)
89
+ benchmark (0.4.0)
90
90
  bigdecimal (3.1.8)
91
91
  bootstrap-propshaft (5.3.2.2)
92
92
  autoprefixer-rails (>= 9.1.0)
@@ -153,7 +153,7 @@ GEM
153
153
  marcel (1.0.4)
154
154
  mini_mime (1.1.5)
155
155
  minitest (5.25.1)
156
- net-imap (0.5.0)
156
+ net-imap (0.5.1)
157
157
  date
158
158
  net-protocol
159
159
  net-pop (0.1.2)
@@ -181,7 +181,7 @@ GEM
181
181
  activesupport (>= 7.0.0)
182
182
  rack
183
183
  railties (>= 7.0.0)
184
- psych (5.1.2)
184
+ psych (5.2.0)
185
185
  stringio
186
186
  puma (6.4.3)
187
187
  nio4r (~> 2.0)
@@ -193,20 +193,20 @@ GEM
193
193
  rack (>= 1.3)
194
194
  rackup (2.2.0)
195
195
  rack (>= 3)
196
- rails (7.2.2)
197
- actioncable (= 7.2.2)
198
- actionmailbox (= 7.2.2)
199
- actionmailer (= 7.2.2)
200
- actionpack (= 7.2.2)
201
- actiontext (= 7.2.2)
202
- actionview (= 7.2.2)
203
- activejob (= 7.2.2)
204
- activemodel (= 7.2.2)
205
- activerecord (= 7.2.2)
206
- activestorage (= 7.2.2)
207
- activesupport (= 7.2.2)
196
+ rails (8.0.0)
197
+ actioncable (= 8.0.0)
198
+ actionmailbox (= 8.0.0)
199
+ actionmailer (= 8.0.0)
200
+ actionpack (= 8.0.0)
201
+ actiontext (= 8.0.0)
202
+ actionview (= 8.0.0)
203
+ activejob (= 8.0.0)
204
+ activemodel (= 8.0.0)
205
+ activerecord (= 8.0.0)
206
+ activestorage (= 8.0.0)
207
+ activesupport (= 8.0.0)
208
208
  bundler (>= 1.15.0)
209
- railties (= 7.2.2)
209
+ railties (= 8.0.0)
210
210
  rails-dom-testing (2.2.0)
211
211
  activesupport (>= 5.0.0)
212
212
  minitest
@@ -214,9 +214,9 @@ GEM
214
214
  rails-html-sanitizer (1.6.0)
215
215
  loofah (~> 2.21)
216
216
  nokogiri (~> 1.14)
217
- railties (7.2.2)
218
- actionpack (= 7.2.2)
219
- activesupport (= 7.2.2)
217
+ railties (8.0.0)
218
+ actionpack (= 8.0.0)
219
+ activesupport (= 8.0.0)
220
220
  irb (~> 1.13)
221
221
  rackup (>= 1.0.0)
222
222
  rake (>= 12.2)
@@ -227,7 +227,7 @@ GEM
227
227
  rdoc (6.7.0)
228
228
  psych (>= 4.0.0)
229
229
  regexp_parser (2.9.2)
230
- reline (0.5.10)
230
+ reline (0.5.11)
231
231
  io-console (~> 0.5)
232
232
  rexml (3.3.9)
233
233
  rubocop (1.68.0)
@@ -240,7 +240,7 @@ GEM
240
240
  rubocop-ast (>= 1.32.2, < 2.0)
241
241
  ruby-progressbar (~> 1.7)
242
242
  unicode-display_width (>= 2.4.0, < 3.0)
243
- rubocop-ast (1.34.0)
243
+ rubocop-ast (1.34.1)
244
244
  parser (>= 3.3.1.0)
245
245
  rubocop-minitest (0.36.0)
246
246
  rubocop (>= 1.61, < 2.0)
@@ -270,7 +270,7 @@ GEM
270
270
  simplecov_json_formatter (0.1.4)
271
271
  sqlite3 (2.2.0-x86_64-darwin)
272
272
  sqlite3 (2.2.0-x86_64-linux-gnu)
273
- stringio (3.1.1)
273
+ stringio (3.1.2)
274
274
  temple (0.10.3)
275
275
  thor (1.3.2)
276
276
  tilt (2.4.0)
@@ -278,6 +278,7 @@ GEM
278
278
  tzinfo (2.0.6)
279
279
  concurrent-ruby (~> 1.0)
280
280
  unicode-display_width (2.6.0)
281
+ uri (1.0.1)
281
282
  useragent (0.16.10)
282
283
  websocket-driver (0.7.6)
283
284
  websocket-extensions (>= 0.1.0)
@@ -289,6 +290,7 @@ GEM
289
290
  PLATFORMS
290
291
  x86_64-darwin-22
291
292
  x86_64-darwin-23
293
+ x86_64-darwin-24
292
294
  x86_64-linux
293
295
 
294
296
  DEPENDENCIES
@@ -16,10 +16,9 @@
16
16
  cursor: pointer
17
17
  .glyph
18
18
  margin: 0
19
+ input, span
20
+ border-color: $btn-color !important
19
21
 
20
- .table
21
- .action
22
- width: 135px
23
22
  .dropdown_select
24
23
  margin-bottom: 0px !important
25
24
  .progress
@@ -37,3 +36,4 @@
37
36
  strong
38
37
  padding-left: .25rem
39
38
  padding-right: .25rem
39
+
data/lib/ui_bibz/infos.rb CHANGED
@@ -12,6 +12,6 @@ module UiBibz
12
12
  REPO = 'git+https://github.com/thooams/ui_bibz.git'
13
13
  EMAIL = 'thomas@hummel.link'
14
14
  AUTHOR = 'Thooams [Thomas HUMMEL]'
15
- VERSION = '4.0.0.beta14'
15
+ VERSION = '4.0.0.beta15'
16
16
  AUTHORS = ['Thooams'].freeze
17
17
  end
@@ -42,7 +42,7 @@ module UiBibz::Ui::Ux::Tables
42
42
  content_tag :div, html_options do
43
43
  concat content_tag(:span, UiBibz::Ui::Core::Icons::Glyph.new('magnifying-glass').render, class: 'input-group-text')
44
44
  concat tag(:input, type: 'search', value: search_content, name: 'search', class: 'form-control', placeholder: search_placeholder_field)
45
- concat tag(:input, type: 'hidden', name: 'store_id', value: store.id) unless store.id.nil? # if there is more one table in html page
45
+ concat tag(:input, type: 'hidden', name: 'store_id', value: store.id) unless store.id.nil? # if there is more one table in a html page
46
46
  concat tag(:input, type: 'hidden', name: 'link_type', value: 'search')
47
47
  concat content_tag(:span, UiBibz::Ui::Core::Icons::Glyph.new('times-circle').render, class: 'clear-search-btn input-group-text')
48
48
  end
@@ -54,7 +54,7 @@ module UiBibz::Ui::Ux::Tables
54
54
  store.parameters.with_indifferent_access.reject { |k, _| default_parameters?(k) }.each do |k, v|
55
55
  concat tag(:input, type: 'hidden', name: k, value: v)
56
56
  end
57
- concat tag(:input, type: 'hidden', name: 'store_id', value: store.id) unless store.id.nil? # if there is more one table in html page
57
+ concat tag(:input, type: 'hidden', name: 'store_id', value: store.id) unless store.id.nil? # if there is more one table in a html page
58
58
  concat tag(:input, type: 'hidden', name: 'link_type', value: 'search')
59
59
  concat tag(:input, type: 'search', value: search_content, name: 'search', class: 'form-control', placeholder: search_placeholder_field)
60
60
  concat clear_button
@@ -66,7 +66,9 @@ module UiBibz::Ui::Ux::Tables
66
66
  end
67
67
 
68
68
  def clear_button
69
- content_tag :button, UiBibz::Ui::Core::Icons::Glyph.new('times-circle', text: false, label: 'Clear Search').render, type: :button, class: 'btn btn-secondary input-group-btn clear-search-btn'
69
+ # content_tag :button, UiBibz::Ui::Core::Icons::Glyph.new('times-circle', text: false, label: 'Clear Search').render, type: :button, class: 'btn btn-secondary input-group-btn clear-search-btn'
70
+ text = UiBibz::Utils::Internationalization.new('ui_bibz.grid.searchable.clear_search', default: 'Clear Search').translate
71
+ UiBibz::Ui::Core::Forms::Buttons::Button.new(text, { glyph: 'times-circle', text: false, tooltip: true, outline: options[:outline] }, { type: :button, class: 'clear-search-btn input-group-btn' }).render
70
72
  end
71
73
 
72
74
  def component_html_classes