ui_bibz 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +8 -8
  2. data/.yardoc/checksums +4 -4
  3. data/.yardoc/objects/root.dat +0 -0
  4. data/Gemfile.lock +3 -3
  5. data/README.md +46 -45
  6. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +1 -1
  7. data/doc/UiBibz/Concerns/Models/Searchable.html +1 -1
  8. data/doc/UiBibz/Concerns/Models.html +1 -1
  9. data/doc/UiBibz/Concerns.html +1 -1
  10. data/doc/UiBibz/Helpers/MetaHelper.html +1 -1
  11. data/doc/UiBibz/Helpers/UiCoreHelper.html +1 -1
  12. data/doc/UiBibz/Helpers/UiUxHelper.html +1 -1
  13. data/doc/UiBibz/Helpers/UtilsHelper.html +1 -1
  14. data/doc/UiBibz/Helpers.html +1 -1
  15. data/doc/UiBibz/Rails/Engine.html +1 -1
  16. data/doc/UiBibz/Rails.html +1 -1
  17. data/doc/UiBibz/Ui/Base.html +1 -1
  18. data/doc/UiBibz/Ui/Core/Alert.html +1 -1
  19. data/doc/UiBibz/Ui/Core/Bar.html +1 -1
  20. data/doc/UiBibz/Ui/Core/Breadcrumb.html +1 -1
  21. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +1 -1
  22. data/doc/UiBibz/Ui/Core/Button.html +1 -1
  23. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +1 -1
  24. data/doc/UiBibz/Ui/Core/ButtonGroup.html +1 -1
  25. data/doc/UiBibz/Ui/Core/ButtonLink.html +1 -1
  26. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +1 -1
  27. data/doc/UiBibz/Ui/Core/Col.html +1 -1
  28. data/doc/UiBibz/Ui/Core/Component.html +1 -1
  29. data/doc/UiBibz/Ui/Core/Dropdown.html +1 -1
  30. data/doc/UiBibz/Ui/Core/DropdownDivider.html +1 -1
  31. data/doc/UiBibz/Ui/Core/DropdownHeader.html +1 -1
  32. data/doc/UiBibz/Ui/Core/DropdownLink.html +1 -1
  33. data/doc/UiBibz/Ui/Core/Glyph.html +1 -1
  34. data/doc/UiBibz/Ui/Core/Jumbotron.html +1 -1
  35. data/doc/UiBibz/Ui/Core/Label.html +1 -1
  36. data/doc/UiBibz/Ui/Core/List.html +1 -1
  37. data/doc/UiBibz/Ui/Core/ListGroup.html +1 -1
  38. data/doc/UiBibz/Ui/Core/Modal.html +1 -1
  39. data/doc/UiBibz/Ui/Core/ModalBody.html +1 -1
  40. data/doc/UiBibz/Ui/Core/ModalFooter.html +1 -1
  41. data/doc/UiBibz/Ui/Core/ModalHeader.html +1 -1
  42. data/doc/UiBibz/Ui/Core/Nav.html +1 -1
  43. data/doc/UiBibz/Ui/Core/NavDropdown.html +1 -1
  44. data/doc/UiBibz/Ui/Core/NavLink.html +1 -1
  45. data/doc/UiBibz/Ui/Core/Navbar.html +1 -1
  46. data/doc/UiBibz/Ui/Core/NavbarForm.html +1 -1
  47. data/doc/UiBibz/Ui/Core/NavbarNav.html +1 -1
  48. data/doc/UiBibz/Ui/Core/NavbarText.html +1 -1
  49. data/doc/UiBibz/Ui/Core/Panel.html +1 -1
  50. data/doc/UiBibz/Ui/Core/ProgressBar.html +1 -1
  51. data/doc/UiBibz/Ui/Core/Row.html +1 -1
  52. data/doc/UiBibz/Ui/Core/Stars.html +1 -1
  53. data/doc/UiBibz/Ui/Core.html +1 -1
  54. data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
  55. data/doc/UiBibz/Ui/Ux/Actions.html +1 -1
  56. data/doc/UiBibz/Ui/Ux/Column.html +1 -1
  57. data/doc/UiBibz/Ui/Ux/Columns.html +1 -1
  58. data/doc/UiBibz/Ui/Ux/Grid.html +1 -1
  59. data/doc/UiBibz/Ui/Ux/Paginable.html +1 -1
  60. data/doc/UiBibz/Ui/Ux/Searchable.html +1 -1
  61. data/doc/UiBibz/Ui/Ux/Sortable.html +1 -1
  62. data/doc/UiBibz/Ui/Ux/Store.html +1 -1
  63. data/doc/UiBibz/Ui/Ux/Table.html +1 -1
  64. data/doc/UiBibz/Ui/Ux/TablePagination.html +1 -1
  65. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +1 -1
  66. data/doc/UiBibz/Ui/Ux/TablePanel.html +1 -1
  67. data/doc/UiBibz/Ui/Ux/TableSearchField.html +1 -1
  68. data/doc/UiBibz/Ui/Ux.html +1 -1
  69. data/doc/UiBibz/Ui.html +1 -1
  70. data/doc/UiBibz/Utils/Internationalization.html +1 -1
  71. data/doc/UiBibz/Utils.html +1 -1
  72. data/doc/UiBibz.html +2 -2
  73. data/doc/_index.html +1 -1
  74. data/doc/file.README.html +47 -46
  75. data/doc/index.html +47 -46
  76. data/doc/top-level-namespace.html +1 -1
  77. data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +1 -1
  78. data/lib/ui_bibz/ui/ux/table/components/actions.rb +1 -1
  79. data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +1 -1
  80. data/lib/ui_bibz/version.rb +1 -1
  81. metadata +2 -2
data/doc/index.html CHANGED
@@ -61,7 +61,7 @@
61
61
 
62
62
  <iframe id="search_frame"></iframe>
63
63
 
64
- <div id="content"><div id='filecontents'><p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/ui-bibz-logo-without-border.gif" alt="Ui Bibz logo"></p>
64
+ <div id="content"><div id='filecontents'><p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/ui-bibz-logo-without-border.gif" alt="Ui Bibz logo"></p>
65
65
 
66
66
  <p><a href="http://badge.fury.io/rb/ui_bibz"><img src="https://badge.fury.io/rb/ui_bibz.svg" alt="Gem Version"></a>
67
67
  <a href="https://travis-ci.org/thooams/Ui-Bibz"><img src="https://travis-ci.org/thooams/Ui-Bibz.svg" alt="Build Status"></a>
@@ -134,7 +134,7 @@ dans <code>options</code> et <code>html_options</code>.</p>
134
134
 
135
135
  <p>Ajouter la gem dans Rails :</p>
136
136
 
137
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>ui_bibz</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~&gt; 1.2.0</span><span class='tstring_end'>'</span></span>
137
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>ui_bibz</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>~&gt; 1.2.1</span><span class='tstring_end'>'</span></span>
138
138
  </code></pre>
139
139
 
140
140
  <p>Lancer la command suivante :</p>
@@ -188,7 +188,7 @@ application cette ligne:</p>
188
188
 
189
189
  <h3>Alert</h3>
190
190
 
191
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/alert.png" alt="alert"></p>
191
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/alert.png" alt="alert"></p>
192
192
 
193
193
  <p>L&#39;élément <code>notify</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
194
194
 
@@ -200,11 +200,11 @@ application cette ligne:</p>
200
200
  <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_notify'>notify</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Alert</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:info</span><span class='comma'>,</span> <span class='label'>glyph:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>eye</span><span class='tstring_end'>'</span></span>
201
201
  </code></pre>
202
202
 
203
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Alert.html">doc</a></p>
203
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Alert.html">doc</a></p>
204
204
 
205
205
  <h3>Breadcrumb (fil d&#39;ariane)</h3>
206
206
 
207
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/breadcrumb.png" alt="breadcrumb"></p>
207
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/breadcrumb.png" alt="breadcrumb"></p>
208
208
 
209
209
  <p>L&#39;élément <code>breadcrumb</code> à pour enfant l&#39;élément <code>link</code> qui accepte pour option un Hash avec les clefs :</p>
210
210
 
@@ -223,13 +223,13 @@ application cette ligne:</p>
223
223
  <span class='kw'>end</span>
224
224
  </code></pre>
225
225
 
226
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Breadcrumb.html">doc</a></p>
226
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Breadcrumb.html">doc</a></p>
227
227
 
228
228
  <h3>Buttons (Boutons)</h3>
229
229
 
230
230
  <h4>Button</h4>
231
231
 
232
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/button.png" alt="button"></p>
232
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/button.png" alt="button"></p>
233
233
 
234
234
  <p>L&#39;élément <code>button</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
235
235
 
@@ -243,14 +243,14 @@ application cette ligne:</p>
243
243
  <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_button'>button</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Button</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>state:</span> <span class='symbol'>:danger</span><span class='comma'>,</span> <span class='label'>size:</span> <span class='symbol'>:xs</span><span class='comma'>,</span> <span class='label'>glyph:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>star</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span> <span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>my-button</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
244
244
  </code></pre>
245
245
 
246
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Button.html">doc</a></p>
246
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Button.html">doc</a></p>
247
247
 
248
248
  <h4>Button Dropdown</h4>
249
249
 
250
250
  <p>L&#39;élément <code>button_dropdown</code> accepte pour options les mêmes clefs que l&#39;élément
251
251
  <a href="#dropdown">dropdown</a>.</p>
252
252
 
253
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/button_dropdown.png" alt="button_link"></p>
253
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/button_dropdown.png" alt="button_link"></p>
254
254
 
255
255
  <pre class="code ruby"><code class="ruby">button_dropdown 'Button Dropdown' do |bd|
256
256
  bd.link Link 1', '#'
@@ -262,11 +262,11 @@ application cette ligne:</p>
262
262
  end
263
263
  </code></pre>
264
264
 
265
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/ButtonLink.html">doc</a></p>
265
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/ButtonLink.html">doc</a></p>
266
266
 
267
267
  <h4>Button group</h4>
268
268
 
269
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/button_group.png" alt="button_group"></p>
269
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/button_group.png" alt="button_group"></p>
270
270
 
271
271
  <p>L&#39;élément <code>button_group</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
272
272
 
@@ -301,22 +301,22 @@ end
301
301
  <span class='kw'>end</span>
302
302
  </code></pre>
303
303
 
304
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/ButtonGroup.html">doc</a></p>
304
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/ButtonGroup.html">doc</a></p>
305
305
 
306
306
  <h4>Button Link (Lien Bouton)</h4>
307
307
 
308
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/button_link.png" alt="button_link"></p>
308
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/button_link.png" alt="button_link"></p>
309
309
 
310
310
  <p>L&#39;élément <code>button_link</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
311
311
 
312
312
  <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_button_link'>button_link</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Button</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#button</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:primary</span><span class='comma'>,</span> <span class='label'>glyph:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>star</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>my-button</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
313
313
  </code></pre>
314
314
 
315
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/ButtonLink.html">doc</a></p>
315
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/ButtonLink.html">doc</a></p>
316
316
 
317
317
  <h4>Button Split Dropdown</h4>
318
318
 
319
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/button_split_dropdown.png" alt="button_group"></p>
319
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/button_split_dropdown.png" alt="button_group"></p>
320
320
 
321
321
  <p>L&#39;élément <code>button_split_dropdown</code>accepte pour options les mêmes clefs
322
322
  que l&#39;élément <a href="#dropdown">dropdown</a>.</p>
@@ -332,7 +332,7 @@ que l&#39;élément <a href="#dropdown">dropdown</a>.</p>
332
332
  <span class='kw'>end</span>
333
333
  </code></pre>
334
334
 
335
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/ButtonSplitDropdown.html">doc</a></p>
335
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/ButtonSplitDropdown.html">doc</a></p>
336
336
 
337
337
  <h3>Dropdown</h3>
338
338
 
@@ -371,11 +371,11 @@ d.list '--'
371
371
  ...
372
372
  </code></pre>
373
373
 
374
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Dropdown.html">doc</a></p>
374
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Dropdown.html">doc</a></p>
375
375
 
376
376
  <h3>Progress Bar</h3>
377
377
 
378
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/progress_bar.png" alt="glyph"></p>
378
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/progress_bar.png" alt="glyph"></p>
379
379
 
380
380
  <p>L&#39;élément <code>progress_bar</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
381
381
 
@@ -404,11 +404,11 @@ d.list '--'
404
404
  <span class='kw'>end</span>
405
405
  </code></pre>
406
406
 
407
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/ProgressBar.html">doc</a></p>
407
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/ProgressBar.html">doc</a></p>
408
408
 
409
409
  <h3>Glyph</h3>
410
410
 
411
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/glyph.png" alt="glyph"></p>
411
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/glyph.png" alt="glyph"></p>
412
412
 
413
413
  <p>Les glyphs utilisés proviennent de <a href="http://fontawesome.io/">Font Awesome</a>.
414
414
  L&#39;élément <code>glyph</code> peut contenir un hash pour <code>content</code>
@@ -424,11 +424,11 @@ L&#39;élément <code>glyph</code> à pour <code>options</code> un Hash acceptan
424
424
  glyph { name: 'star', size: 3, type: 'fw' }
425
425
  </code></pre>
426
426
 
427
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Glyph.html">doc</a></p>
427
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Glyph.html">doc</a></p>
428
428
 
429
429
  <h3>Stars</h3>
430
430
 
431
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/stars.png" alt="stars"></p>
431
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/stars.png" alt="stars"></p>
432
432
 
433
433
  <p>L&#39;élément <code>stars</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
434
434
 
@@ -446,11 +446,11 @@ glyph { name: 'star', size: 3, type: 'fw' }
446
446
  <span class='kw'>end</span>
447
447
  </code></pre>
448
448
 
449
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Stars.html">doc</a></p>
449
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Stars.html">doc</a></p>
450
450
 
451
451
  <h3>Modal</h3>
452
452
 
453
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/modal.png" alt="modal"></p>
453
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/modal.png" alt="modal"></p>
454
454
 
455
455
  <p>Les éléments <code>header</code>, <code>body</code>, <code>footer</code> sont des éléments <a href="#component">component</a>.</p>
456
456
 
@@ -466,11 +466,11 @@ glyph { name: 'star', size: 3, type: 'fw' }
466
466
  <span class='kw'>end</span>
467
467
  </code></pre>
468
468
 
469
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Modal.html">doc</a></p>
469
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Modal.html">doc</a></p>
470
470
 
471
471
  <h3>Panel</h3>
472
472
 
473
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/panel.png" alt="panel"></p>
473
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/panel.png" alt="panel"></p>
474
474
 
475
475
  <p>L&#39;élément <code>panel</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
476
476
 
@@ -498,11 +498,11 @@ panel({ tap: true, state: :danger, table_options: { actionable: true } }, { clas
498
498
  end
499
499
  </code></pre>
500
500
 
501
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Panel.html">doc</a></p>
501
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Panel.html">doc</a></p>
502
502
 
503
503
  <h3>Table</h3>
504
504
 
505
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/table.png" alt="table"></p>
505
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/table.png" alt="table"></p>
506
506
 
507
507
  <p>L&#39;élément <code>table</code> est un tableau composé d&#39;une recherche, une pagination et un trie de colonnes intégrées.
508
508
  Le tableau est compatible <a href="http://guides.rubyonrails.org/i18n.html">I18n</a>.
@@ -538,7 +538,7 @@ faire une recherche sur les attributs souhaités.</p>
538
538
 
539
539
  <p>Un champ recherche est disponible dans la vue :</p>
540
540
 
541
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/table_search_field.png" alt="table_search_field"></p>
541
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/table_search_field.png" alt="table_search_field"></p>
542
542
 
543
543
  <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_table_search_field'>table_search_field</span> <span class='label'>store:</span> <span class='ivar'>@documents</span>
544
544
  </code></pre>
@@ -550,7 +550,7 @@ faire une recherche sur les attributs souhaités.</p>
550
550
 
551
551
  <p>Un champs select par page est disponible dans la vue :</p>
552
552
 
553
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/table_pagination_per_page.png" alt="table_search_field"></p>
553
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/table_pagination_per_page.png" alt="table_search_field"></p>
554
554
 
555
555
  <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_table_pagination_per_page'>table_pagination_per_page</span> <span class='label'>store:</span> <span class='ivar'>@documents</span>
556
556
  </code></pre>
@@ -580,7 +580,7 @@ de l&#39;attribut recherché.</p>
580
580
  <p>Exemple :</p>
581
581
 
582
582
  <pre class="code ruby"><code class="ruby"><span class='comment'># app/models/document.rb
583
- </span><span class='id identifier rubyid_searchable_attributes'>searchable_attributes</span> <span class='symbol'>:name_fr</span><span class='comma'>,</span> <span class='symbol'>:name_en</span><span class='comma'>,</span> <span class='label'>user:</span> <span class='symbol'>:name</span>
583
+ </span><span class='id identifier rubyid_searchable_attributes'>searchable_attributes</span> <span class='symbol'>:name_fr</span><span class='comma'>,</span> <span class='symbol'>:name_en</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>user:</span> <span class='symbol'>:name</span> <span class='rbrace'>}</span>
584
584
  </code></pre>
585
585
 
586
586
  <p>Dans la <strong>vue</strong>, insérer la méthode <code>table</code> qui peut contenir plusieurs arguments :</p>
@@ -801,11 +801,11 @@ activerecord:
801
801
  ...
802
802
  </code></pre>
803
803
 
804
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Ux/Table.html">doc</a></p>
804
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Ux/Table.html">doc</a></p>
805
805
 
806
806
  <h3>Table Panel</h3>
807
807
 
808
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/table_panel.png" alt="table_panel"></p>
808
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/table_panel.png" alt="table_panel"></p>
809
809
 
810
810
  <p>Le composant <code>table_panel</code> est un <a href="#table">tableau</a> dans un <a href="#panel">panel</a>.</p>
811
811
 
@@ -831,11 +831,11 @@ table_panel({ store: @users, tap: true, glyph: 'home', state: :danger }) do |g|
831
831
  end
832
832
  </code></pre>
833
833
 
834
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Ux/TablePanel.html">doc</a></p>
834
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Ux/TablePanel.html">doc</a></p>
835
835
 
836
836
  <h3>List</h3>
837
837
 
838
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/list.png" alt="list"></p>
838
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/list.png" alt="list"></p>
839
839
 
840
840
  <p>Par défaut une liste à pour tag <code>&lt;li&gt;</code>.
841
841
  Mais elle peut se transformer en lien <code>&lt;a&gt;</code> à travers l&#39;option <code>type:</code>.
@@ -855,11 +855,11 @@ Par défaut le tag <code>&lt;li&gt;</code> est présent.</p>
855
855
  <span class='kw'>end</span>
856
856
  </code></pre>
857
857
 
858
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/List.html">doc</a></p>
858
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/List.html">doc</a></p>
859
859
 
860
860
  <h3>Nav</h3>
861
861
 
862
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/nav.png" alt="nav"></p>
862
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/nav.png" alt="nav"></p>
863
863
 
864
864
  <p>Par défaut la navigation comporte des onglets &quot;tab&quot;.
865
865
  L&#39;élément <code>nav</code> accepte en option les arguments :</p>
@@ -880,11 +880,11 @@ L&#39;élément <code>nav</code> accepte en option les arguments :</p>
880
880
  <span class='kw'>end</span>
881
881
  </code></pre>
882
882
 
883
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Nav.html">doc</a></p>
883
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Nav.html">doc</a></p>
884
884
 
885
885
  <h3>Navbar</h3>
886
886
 
887
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/navbar.png" alt="navbar"></p>
887
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/navbar.png" alt="navbar"></p>
888
888
 
889
889
  <p>Par défaut la navigation comporte des onglets &quot;tab&quot;.
890
890
  L&#39;élément <code>navbar</code> accepte en option les arguments :</p>
@@ -918,11 +918,11 @@ L&#39;élément <code>navbar</code> accepte en option les arguments :</p>
918
918
  <span class='kw'>end</span>
919
919
  </code></pre>
920
920
 
921
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Navbar.html">doc</a></p>
921
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Navbar.html">doc</a></p>
922
922
 
923
923
  <h3>Etiquette</h3>
924
924
 
925
- <p><img src="http://hummel.link/Ui-Bibz/1.2.0/images/etiquette.png" alt="list"></p>
925
+ <p><img src="http://hummel.link/Ui-Bibz/1.2.1/images/etiquette.png" alt="list"></p>
926
926
 
927
927
  <p>NB : Les méthodes <code>Tag, label</code> sont déjà utilisées par Rails.
928
928
  L&#39;élément <code>etiquette</code> à pour <code>options</code> un Hash acceptant les clefs :</p>
@@ -939,7 +939,7 @@ L&#39;élément <code>etiquette</code> à pour <code>options</code> un Hash acce
939
939
  <span class='id identifier rubyid_etiquette'>etiquette</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>label 2</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:danger</span>
940
940
  </code></pre>
941
941
 
942
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Etiquette.html">doc</a></p>
942
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Etiquette.html">doc</a></p>
943
943
 
944
944
  <h3>Row</h3>
945
945
 
@@ -951,7 +951,7 @@ L&#39;élément <code>etiquette</code> à pour <code>options</code> un Hash acce
951
951
  <span class='comment'># =&gt; &lt;div class='row toto'&gt;content&lt;/div&gt;
952
952
  </span></code></pre>
953
953
 
954
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Content.html">doc</a></p>
954
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Content.html">doc</a></p>
955
955
 
956
956
  <h3>Col</h3>
957
957
 
@@ -984,7 +984,7 @@ col.</p>
984
984
  <span class='comment'># =&gt; &lt;div class='col-xs-offset-1 col-md-3 test'&gt;content&lt;/div&gt;
985
985
  </span></code></pre>
986
986
 
987
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Col.html">doc</a></p>
987
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Core/Col.html">doc</a></p>
988
988
 
989
989
  <h3>Grid</h3>
990
990
 
@@ -1053,7 +1053,7 @@ le nombre de colonnes occupées par la vue.</p>
1053
1053
  <span class='kw'>end</span>
1054
1054
  </code></pre>
1055
1055
 
1056
- <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Ux/Grid.html">doc</a></p>
1056
+ <p>Voir la <a href="http://hummel.link/Ui-Bibz/1.2.1/UiBibz/Ui/Ux/Grid.html">doc</a></p>
1057
1057
 
1058
1058
  <h3>Arguments and Values</h3>
1059
1059
 
@@ -1124,6 +1124,7 @@ comme ci-dessous.</p>
1124
1124
  <li><a href="http://hummel.link/Ui-Bibz/1.1.6/index.html">Ui Bibz v1.1.6</a></li>
1125
1125
  <li><a href="http://hummel.link/Ui-Bibz/1.1.7/index.html">Ui Bibz v1.1.7</a></li>
1126
1126
  <li><a href="http://hummel.link/Ui-Bibz/1.2.0/index.html">Ui Bibz v1.2.0</a></li>
1127
+ <li><a href="http://hummel.link/Ui-Bibz/1.2.1/index.html">Ui Bibz v1.2.1</a></li>
1127
1128
  </ul>
1128
1129
 
1129
1130
  <h1>Roadmap</h1>
@@ -1139,7 +1140,7 @@ comme ci-dessous.</p>
1139
1140
  </div></div>
1140
1141
 
1141
1142
  <div id="footer">
1142
- Generated on Mon Sep 21 15:46:14 2015 by
1143
+ Generated on Thu Sep 24 16:49:47 2015 by
1143
1144
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1144
1145
  0.8.7.6 (ruby-1.9.3).
1145
1146
  </div>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Mon Sep 21 15:46:14 2015 by
106
+ Generated on Thu Sep 24 16:49:47 2015 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.7.6 (ruby-1.9.3).
109
109
  </div>
@@ -74,7 +74,7 @@ module UiBibz::Ui::Core
74
74
  end
75
75
 
76
76
  def split_html
77
- content_tag :button, split_content, class: add_classes("btn", button_state, "dropdown-toggle"), type: 'button', "data-toggle" => 'dropdown', "aria-expanded" => false
77
+ content_tag :button, split_content, class: add_classes("btn", button_state, size, "dropdown-toggle"), type: 'button', "data-toggle" => 'dropdown', "aria-expanded" => false
78
78
  end
79
79
 
80
80
  def split_content
@@ -46,7 +46,7 @@ module UiBibz::Ui::Ux
46
46
  [
47
47
  UiBibz::Ui::Core::DropdownLink.new(show_name, url: { controller: @store.controller, action: 'show', id: :id }, glyph: 'eye').render,
48
48
  UiBibz::Ui::Core::DropdownLink.new(edit_name, url:{ controller: @store.controller, action: 'edit', id: :id }, glyph: 'pencil').render,
49
- UiBibz::Ui::Core::DropdownLink.new(delete_name, { glyph: 'trash', url: { controller: @store.controller, action: 'destroy', id: :id }}, data: { confirm: 'Are you sure?', method: :delete }).render
49
+ UiBibz::Ui::Core::DropdownLink.new(delete_name, { glyph: 'trash', url: { controller: @store.controller, action: 'destroy', id: :id }, link_html_options: { data: { confirm: 'Are you sure?', method: :delete }}}).render
50
50
  ]
51
51
  end
52
52
 
@@ -21,7 +21,7 @@ module UiBibz::Ui::Ux
21
21
  end
22
22
 
23
23
  def header_name name
24
- name = name || @column.name.try('titleize')
24
+ name = name || @column.name
25
25
  name || @column.data_index.to_s.try('titleize')
26
26
  end
27
27
 
@@ -1,3 +1,3 @@
1
1
  module UiBibz
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
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: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-21 00:00:00.000000000 Z
11
+ date: 2015-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails