ui_bibz 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +8 -8
  2. data/.yardoc/checksums +49 -46
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/Gemfile.lock +69 -56
  6. data/README.md +156 -61
  7. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +6 -6
  8. data/doc/UiBibz/Concerns/Models/Searchable.html +2 -2
  9. data/doc/UiBibz/Concerns/Models.html +115 -0
  10. data/doc/UiBibz/Concerns.html +115 -0
  11. data/doc/UiBibz/Helpers/MetaHelper.html +75 -9
  12. data/doc/UiBibz/Helpers/UiCoreHelper.html +120 -68
  13. data/doc/UiBibz/Helpers/UiUxHelper.html +2 -2
  14. data/doc/UiBibz/Helpers/UtilsHelper.html +2 -2
  15. data/doc/UiBibz/Helpers.html +115 -0
  16. data/doc/UiBibz/Rails/Engine.html +1 -1
  17. data/doc/UiBibz/Rails.html +1 -1
  18. data/doc/UiBibz/Ui/Base.html +2 -2
  19. data/doc/UiBibz/Ui/Core/Alert.html +26 -13
  20. data/doc/UiBibz/Ui/Core/Bar.html +26 -13
  21. data/doc/UiBibz/Ui/Core/Breadcrumb.html +32 -19
  22. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +26 -13
  23. data/doc/UiBibz/Ui/Core/Button.html +26 -13
  24. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +31 -18
  25. data/doc/UiBibz/Ui/Core/ButtonGroup.html +26 -13
  26. data/doc/UiBibz/Ui/Core/ButtonLink.html +26 -13
  27. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +27 -14
  28. data/doc/UiBibz/Ui/Core/Col.html +26 -13
  29. data/doc/UiBibz/Ui/Core/Component.html +166 -225
  30. data/doc/UiBibz/Ui/Core/Dropdown.html +61 -410
  31. data/doc/UiBibz/Ui/Core/DropdownLink.html +373 -0
  32. data/doc/UiBibz/Ui/Core/DropdownList.html +26 -13
  33. data/doc/UiBibz/Ui/Core/Glyph.html +26 -386
  34. data/doc/UiBibz/Ui/Core/Jumbotron.html +26 -13
  35. data/doc/UiBibz/Ui/Core/Label.html +29 -15
  36. data/doc/UiBibz/Ui/Core/List.html +64 -25
  37. data/doc/UiBibz/Ui/Core/ListGroup.html +47 -21
  38. data/doc/UiBibz/Ui/Core/Nav.html +64 -25
  39. data/doc/UiBibz/Ui/Core/NavDropdown.html +29 -16
  40. data/doc/UiBibz/Ui/Core/NavLink.html +30 -15
  41. data/doc/UiBibz/Ui/Core/Navbar.html +154 -45
  42. data/doc/UiBibz/Ui/Core/NavbarForm.html +58 -38
  43. data/doc/UiBibz/Ui/Core/NavbarNav.html +7 -7
  44. data/doc/UiBibz/Ui/Core/NavbarText.html +26 -13
  45. data/doc/UiBibz/Ui/Core/Panel.html +38 -237
  46. data/doc/UiBibz/Ui/Core/ProgressBar.html +45 -19
  47. data/doc/UiBibz/Ui/Core/Row.html +26 -13
  48. data/doc/UiBibz/Ui/Core/Stars.html +367 -0
  49. data/doc/UiBibz/Ui/Core.html +16 -5
  50. data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
  51. data/doc/UiBibz/Ui/Ux/Actions.html +198 -14
  52. data/doc/UiBibz/Ui/Ux/Column.html +4 -4
  53. data/doc/UiBibz/Ui/Ux/Columns.html +42 -16
  54. data/doc/UiBibz/Ui/Ux/Grid.html +31 -371
  55. data/doc/UiBibz/Ui/Ux/Paginable.html +22 -9
  56. data/doc/UiBibz/Ui/Ux/Searchable.html +22 -9
  57. data/doc/UiBibz/Ui/Ux/Sortable.html +18 -7
  58. data/doc/UiBibz/Ui/Ux/Store.html +160 -56
  59. data/doc/UiBibz/Ui/Ux/Table.html +109 -374
  60. data/doc/UiBibz/Ui/Ux/TableAction.html +2 -2
  61. data/doc/UiBibz/Ui/Ux/TablePagination.html +33 -14
  62. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +30 -15
  63. data/doc/UiBibz/Ui/Ux/TablePanel.html +139 -43
  64. data/doc/UiBibz/Ui/Ux/TableSearchField.html +26 -13
  65. data/doc/UiBibz/Ui/Ux.html +15 -4
  66. data/doc/UiBibz/Ui.html +4 -2
  67. data/doc/UiBibz/Utils/Internationalization.html +1 -1
  68. data/doc/UiBibz/Utils.html +1 -1
  69. data/doc/UiBibz.html +5 -5
  70. data/doc/_index.html +50 -7
  71. data/doc/class_list.html +1 -1
  72. data/doc/file.README.html +155 -63
  73. data/doc/images/stars.png +0 -0
  74. data/doc/index.html +155 -63
  75. data/doc/method_list.html +278 -398
  76. data/doc/top-level-namespace.html +1 -1
  77. data/lib/ui_bibz/concerns/models/searchable.rb +36 -13
  78. data/lib/ui_bibz/helpers/meta_helper.rb +22 -3
  79. data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
  80. data/lib/ui_bibz/ui/core/alert.rb +2 -0
  81. data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +3 -0
  82. data/lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb +2 -0
  83. data/lib/ui_bibz/ui/core/button/button.rb +2 -0
  84. data/lib/ui_bibz/ui/core/button/button_dropdown.rb +6 -4
  85. data/lib/ui_bibz/ui/core/button/button_group.rb +2 -0
  86. data/lib/ui_bibz/ui/core/button/button_link.rb +2 -0
  87. data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +2 -0
  88. data/lib/ui_bibz/ui/core/col.rb +2 -0
  89. data/lib/ui_bibz/ui/core/component.rb +23 -25
  90. data/lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb +57 -0
  91. data/lib/ui_bibz/ui/core/dropdown/components/dropdown_list.rb +2 -0
  92. data/lib/ui_bibz/ui/core/dropdown/dropdown.rb +22 -9
  93. data/lib/ui_bibz/ui/core/glyph.rb +10 -0
  94. data/lib/ui_bibz/ui/core/jumbotron.rb +2 -0
  95. data/lib/ui_bibz/ui/core/label.rb +3 -0
  96. data/lib/ui_bibz/ui/core/list/components/list.rb +4 -0
  97. data/lib/ui_bibz/ui/core/list/list_group.rb +4 -0
  98. data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +4 -2
  99. data/lib/ui_bibz/ui/core/nav/components/nav_link.rb +4 -1
  100. data/lib/ui_bibz/ui/core/nav/components/navbar_form.rb +39 -3
  101. data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +1 -0
  102. data/lib/ui_bibz/ui/core/nav/components/navbar_text.rb +8 -0
  103. data/lib/ui_bibz/ui/core/nav/nav.rb +6 -0
  104. data/lib/ui_bibz/ui/core/nav/navbar.rb +31 -4
  105. data/lib/ui_bibz/ui/core/panel.rb +7 -5
  106. data/lib/ui_bibz/ui/core/progress_bar/components/bar.rb +2 -0
  107. data/lib/ui_bibz/ui/core/progress_bar/progress_bar.rb +4 -0
  108. data/lib/ui_bibz/ui/core/row.rb +2 -0
  109. data/lib/ui_bibz/ui/core/stars.rb +88 -0
  110. data/lib/ui_bibz/ui/ux/grid.rb +4 -0
  111. data/lib/ui_bibz/ui/ux/table/components/actions.rb +17 -2
  112. data/lib/ui_bibz/ui/ux/table/components/column.rb +2 -2
  113. data/lib/ui_bibz/ui/ux/table/components/columns.rb +4 -2
  114. data/lib/ui_bibz/ui/ux/table/components/store.rb +10 -1
  115. data/lib/ui_bibz/ui/ux/table/extensions/actionable.rb +3 -1
  116. data/lib/ui_bibz/ui/ux/table/extensions/paginable.rb +1 -0
  117. data/lib/ui_bibz/ui/ux/table/extensions/searchable.rb +1 -0
  118. data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +8 -2
  119. data/lib/ui_bibz/ui/ux/table/table.rb +19 -8
  120. data/lib/ui_bibz/ui/ux/table/table_pagination.rb +8 -1
  121. data/lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb +10 -2
  122. data/lib/ui_bibz/ui/ux/table/table_panel.rb +28 -13
  123. data/lib/ui_bibz/ui/ux/table/table_search_field.rb +9 -1
  124. data/lib/ui_bibz/version.rb +1 -1
  125. data/lib/ui_bibz.rb +1 -0
  126. data/test/test_helper.rb +5 -0
  127. data/test/ui/dropdown_test.rb +4 -4
  128. data/test/ui/stars_test.rb +42 -0
  129. data/test/ui/table_test.rb +25 -6
  130. data/ui_bibz.gemspec +4 -1
  131. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  132. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  133. data/vendor/assets/fonts/fontawesome-webfont.svg +640 -0
  134. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  135. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  136. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  137. data/vendor/assets/javascripts/bootstrap-datepicker.min.js +8 -0
  138. data/vendor/assets/javascripts/bootstrap-select.min.js +8 -0
  139. data/vendor/assets/javascripts/bootstrap-switch.min.js +22 -0
  140. data/vendor/assets/javascripts/bootstrap.min.js +7 -0
  141. data/vendor/assets/javascripts/jquery-2.1.4.min.js +4 -0
  142. data/vendor/assets/javascripts/ui_bibz.js.coffee +8 -0
  143. data/vendor/assets/stylesheets/bootstrap-datepicker3.min.css +8 -0
  144. data/vendor/assets/stylesheets/bootstrap-select.min.css +6 -0
  145. data/vendor/assets/stylesheets/bootstrap-switch.min.css +22 -0
  146. data/vendor/assets/stylesheets/bootstrap-theme.min.css +5 -0
  147. data/vendor/assets/stylesheets/bootstrap.min.css +5 -0
  148. data/vendor/assets/stylesheets/font-awesome.min.css +4 -0
  149. data/vendor/assets/stylesheets/ui_bibz.sass +23 -0
  150. metadata +71 -2
@@ -199,7 +199,7 @@ end</code></pre>
199
199
 
200
200
 
201
201
  <span class="summary_desc"><div class='inline'>
202
- <p>A new instance of NavbarNav.</p>
202
+ <p>See UiBibz::Ui::Core::Component.initialize.</p>
203
203
  </div></span>
204
204
 
205
205
  </li>
@@ -229,7 +229,7 @@ end</code></pre>
229
229
 
230
230
 
231
231
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
232
- <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#options_in_html_options-instance_method" title="UiBibz::Ui::Core::Component#options_in_html_options (method)">#options_in_html_options</a></span>, <span class='object_link'><a href="Component.html#render-instance_method" title="UiBibz::Ui::Core::Component#render (method)">#render</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span>, <span class='object_link'><a href="Component.html#states-instance_method" title="UiBibz::Ui::Core::Component#states (method)">#states</a></span>, <span class='object_link'><a href="Component.html#status-instance_method" title="UiBibz::Ui::Core::Component#status (method)">#status</a></span></p>
232
+ <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#render-instance_method" title="UiBibz::Ui::Core::Component#render (method)">#render</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span></p>
233
233
 
234
234
 
235
235
 
@@ -257,7 +257,7 @@ end</code></pre>
257
257
  </h3><div class="docstring">
258
258
  <div class="discussion">
259
259
 
260
- <p>Returns a new instance of NavbarNav</p>
260
+ <p>See UiBibz::Ui::Core::Component.initialize</p>
261
261
 
262
262
 
263
263
  </div>
@@ -271,12 +271,12 @@ end</code></pre>
271
271
  <pre class="lines">
272
272
 
273
273
 
274
- 41
275
274
  42
276
- 43</pre>
275
+ 43
276
+ 44</pre>
277
277
  </td>
278
278
  <td>
279
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_nav.rb', line 41</span>
279
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_nav.rb', line 42</span>
280
280
 
281
281
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
282
282
  <span class='kw'>super</span>
@@ -292,7 +292,7 @@ end</code></pre>
292
292
  </div>
293
293
 
294
294
  <div id="footer">
295
- Generated on Wed Jul 8 15:00:18 2015 by
295
+ Generated on Mon Aug 31 14:08:54 2015 by
296
296
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
297
297
  0.8.7.6 (ruby-1.9.3).
298
298
  </div>
@@ -192,7 +192,7 @@ end.render</code></pre>
192
192
 
193
193
 
194
194
  <span class="summary_desc"><div class='inline'>
195
- <p>A new instance of NavbarText.</p>
195
+ <p>See UiBibz::Ui::Core::Component.initialize.</p>
196
196
  </div></span>
197
197
 
198
198
  </li>
@@ -215,7 +215,9 @@ end.render</code></pre>
215
215
 
216
216
 
217
217
 
218
- <span class="summary_desc"><div class='inline'></div></span>
218
+ <span class="summary_desc"><div class='inline'>
219
+ <p>Render html tag.</p>
220
+ </div></span>
219
221
 
220
222
  </li>
221
223
 
@@ -233,7 +235,7 @@ end.render</code></pre>
233
235
 
234
236
 
235
237
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
236
- <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#options_in_html_options-instance_method" title="UiBibz::Ui::Core::Component#options_in_html_options (method)">#options_in_html_options</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span>, <span class='object_link'><a href="Component.html#states-instance_method" title="UiBibz::Ui::Core::Component#states (method)">#states</a></span>, <span class='object_link'><a href="Component.html#status-instance_method" title="UiBibz::Ui::Core::Component#status (method)">#status</a></span></p>
238
+ <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span></p>
237
239
 
238
240
 
239
241
 
@@ -261,7 +263,7 @@ end.render</code></pre>
261
263
  </h3><div class="docstring">
262
264
  <div class="discussion">
263
265
 
264
- <p>Returns a new instance of NavbarText</p>
266
+ <p>See UiBibz::Ui::Core::Component.initialize</p>
265
267
 
266
268
 
267
269
  </div>
@@ -275,12 +277,12 @@ end.render</code></pre>
275
277
  <pre class="lines">
276
278
 
277
279
 
278
- 36
279
280
  37
280
- 38</pre>
281
+ 38
282
+ 39</pre>
281
283
  </td>
282
284
  <td>
283
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_text.rb', line 36</span>
285
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_text.rb', line 37</span>
284
286
 
285
287
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
286
288
  <span class='kw'>super</span>
@@ -306,18 +308,29 @@ end.render</code></pre>
306
308
 
307
309
 
308
310
 
309
- </h3><table class="source_code">
311
+ </h3><div class="docstring">
312
+ <div class="discussion">
313
+
314
+ <p>Render html tag</p>
315
+
316
+
317
+ </div>
318
+ </div>
319
+ <div class="tags">
320
+
321
+
322
+ </div><table class="source_code">
310
323
  <tr>
311
324
  <td>
312
325
  <pre class="lines">
313
326
 
314
327
 
315
- 40
316
- 41
317
- 42</pre>
328
+ 42
329
+ 43
330
+ 44</pre>
318
331
  </td>
319
332
  <td>
320
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_text.rb', line 40</span>
333
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_text.rb', line 42</span>
321
334
 
322
335
  <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
323
336
  <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:ul</span><span class='comma'>,</span> <span class='ivar'>@content</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>navbar-text</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_position'>position</span><span class='rbracket'>]</span><span class='rparen'>)</span>
@@ -332,7 +345,7 @@ end.render</code></pre>
332
345
  </div>
333
346
 
334
347
  <div id="footer">
335
- Generated on Wed Jul 8 15:00:18 2015 by
348
+ Generated on Mon Aug 31 14:08:55 2015 by
336
349
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
337
350
  0.8.7.6 (ruby-1.9.3).
338
351
  </div>
@@ -240,31 +240,9 @@ arguments in options attribute:</p>
240
240
 
241
241
 
242
242
  <span class="summary_desc"><div class='inline'>
243
- <p>Body is a component element.</p>
243
+ <p>Add Body which is a component.</p>
244
244
  </div></span>
245
245
 
246
- </li>
247
-
248
-
249
- <li class="protected ">
250
- <span class="summary_signature">
251
-
252
- <a href="#body_html-instance_method" title="#body_html (instance method)">- (Object) <strong>body_html</strong> </a>
253
-
254
-
255
-
256
- </span>
257
-
258
-
259
-
260
- <span class="note title protected">protected</span>
261
-
262
-
263
-
264
-
265
-
266
- <span class="summary_desc"><div class='inline'></div></span>
267
-
268
246
  </li>
269
247
 
270
248
 
@@ -286,31 +264,9 @@ arguments in options attribute:</p>
286
264
 
287
265
 
288
266
  <span class="summary_desc"><div class='inline'>
289
- <p>Footer is a component element.</p>
267
+ <p>Add Footer which is a component.</p>
290
268
  </div></span>
291
269
 
292
- </li>
293
-
294
-
295
- <li class="protected ">
296
- <span class="summary_signature">
297
-
298
- <a href="#footer_html-instance_method" title="#footer_html (instance method)">- (Object) <strong>footer_html</strong> </a>
299
-
300
-
301
-
302
- </span>
303
-
304
-
305
-
306
- <span class="note title protected">protected</span>
307
-
308
-
309
-
310
-
311
-
312
- <span class="summary_desc"><div class='inline'></div></span>
313
-
314
270
  </li>
315
271
 
316
272
 
@@ -332,31 +288,9 @@ arguments in options attribute:</p>
332
288
 
333
289
 
334
290
  <span class="summary_desc"><div class='inline'>
335
- <p>Header is a component element.</p>
291
+ <p>Add Header which is a component.</p>
336
292
  </div></span>
337
293
 
338
- </li>
339
-
340
-
341
- <li class="protected ">
342
- <span class="summary_signature">
343
-
344
- <a href="#header_html-instance_method" title="#header_html (instance method)">- (Object) <strong>header_html</strong> </a>
345
-
346
-
347
-
348
- </span>
349
-
350
-
351
-
352
- <span class="note title protected">protected</span>
353
-
354
-
355
-
356
-
357
-
358
- <span class="summary_desc"><div class='inline'></div></span>
359
-
360
294
  </li>
361
295
 
362
296
 
@@ -380,7 +314,7 @@ arguments in options attribute:</p>
380
314
 
381
315
 
382
316
  <span class="summary_desc"><div class='inline'>
383
- <p>A new instance of Panel.</p>
317
+ <p>See UiBibz::Ui::Core::Component.initialize.</p>
384
318
  </div></span>
385
319
 
386
320
  </li>
@@ -403,29 +337,9 @@ arguments in options attribute:</p>
403
337
 
404
338
 
405
339
 
406
- <span class="summary_desc"><div class='inline'></div></span>
407
-
408
- </li>
409
-
410
-
411
- <li class="public ">
412
- <span class="summary_signature">
413
-
414
- <a href="#state-instance_method" title="#state (instance method)">- (Object) <strong>state</strong> </a>
415
-
416
-
417
-
418
- </span>
419
-
420
-
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
- <span class="summary_desc"><div class='inline'></div></span>
340
+ <span class="summary_desc"><div class='inline'>
341
+ <p>Render html tag.</p>
342
+ </div></span>
429
343
 
430
344
  </li>
431
345
 
@@ -443,7 +357,7 @@ arguments in options attribute:</p>
443
357
 
444
358
 
445
359
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
446
- <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#options_in_html_options-instance_method" title="UiBibz::Ui::Core::Component#options_in_html_options (method)">#options_in_html_options</a></span>, <span class='object_link'><a href="Component.html#states-instance_method" title="UiBibz::Ui::Core::Component#states (method)">#states</a></span>, <span class='object_link'><a href="Component.html#status-instance_method" title="UiBibz::Ui::Core::Component#status (method)">#status</a></span></p>
360
+ <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span></p>
447
361
 
448
362
 
449
363
 
@@ -471,7 +385,7 @@ arguments in options attribute:</p>
471
385
  </h3><div class="docstring">
472
386
  <div class="discussion">
473
387
 
474
- <p>Returns a new instance of Panel</p>
388
+ <p>See UiBibz::Ui::Core::Component.initialize</p>
475
389
 
476
390
 
477
391
  </div>
@@ -485,12 +399,12 @@ arguments in options attribute:</p>
485
399
  <pre class="lines">
486
400
 
487
401
 
488
- 81
489
402
  82
490
- 83</pre>
403
+ 83
404
+ 84</pre>
491
405
  </td>
492
406
  <td>
493
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 81</span>
407
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 82</span>
494
408
 
495
409
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
496
410
  <span class='kw'>super</span>
@@ -519,7 +433,7 @@ arguments in options attribute:</p>
519
433
  </h3><div class="docstring">
520
434
  <div class="discussion">
521
435
 
522
- <p>Body is a component element</p>
436
+ <p>Add Body which is a component</p>
523
437
 
524
438
 
525
439
  </div>
@@ -533,12 +447,12 @@ arguments in options attribute:</p>
533
447
  <pre class="lines">
534
448
 
535
449
 
536
- 91
537
450
  92
538
- 93</pre>
451
+ 93
452
+ 94</pre>
539
453
  </td>
540
454
  <td>
541
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 91</span>
455
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 92</span>
542
456
 
543
457
  <span class='kw'>def</span> <span class='id identifier rubyid_body'>body</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
544
458
  <span class='ivar'>@body</span> <span class='op'>=</span> <span class='const'>Component</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
@@ -546,38 +460,6 @@ arguments in options attribute:</p>
546
460
  </td>
547
461
  </tr>
548
462
  </table>
549
- </div>
550
-
551
- <div class="method_details ">
552
- <h3 class="signature " id="body_html-instance_method">
553
-
554
- - (<tt>Object</tt>) <strong>body_html</strong> <span class="extras">(protected)</span>
555
-
556
-
557
-
558
-
559
-
560
- </h3><table class="source_code">
561
- <tr>
562
- <td>
563
- <pre class="lines">
564
-
565
-
566
- 119
567
- 120
568
- 121
569
- 122</pre>
570
- </td>
571
- <td>
572
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 119</span>
573
-
574
- <span class='kw'>def</span> <span class='id identifier rubyid_body_html'>body_html</span>
575
- <span class='ivar'>@body</span> <span class='op'>=</span> <span class='const'>Component</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='ivar'>@content</span> <span class='kw'>unless</span> <span class='ivar'>@content</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
576
- <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='ivar'>@body</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span><span class='comma'>,</span> <span class='ivar'>@body</span><span class='period'>.</span><span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>panel-body</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
577
- <span class='kw'>end</span></pre>
578
- </td>
579
- </tr>
580
- </table>
581
463
  </div>
582
464
 
583
465
  <div class="method_details ">
@@ -592,7 +474,7 @@ arguments in options attribute:</p>
592
474
  </h3><div class="docstring">
593
475
  <div class="discussion">
594
476
 
595
- <p>Footer is a component element</p>
477
+ <p>Add Footer which is a component</p>
596
478
 
597
479
 
598
480
  </div>
@@ -606,12 +488,12 @@ arguments in options attribute:</p>
606
488
  <pre class="lines">
607
489
 
608
490
 
609
- 96
610
491
  97
611
- 98</pre>
492
+ 98
493
+ 99</pre>
612
494
  </td>
613
495
  <td>
614
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 96</span>
496
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 97</span>
615
497
 
616
498
  <span class='kw'>def</span> <span class='id identifier rubyid_footer'>footer</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
617
499
  <span class='ivar'>@footer</span> <span class='op'>=</span> <span class='const'>Component</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
@@ -619,36 +501,6 @@ arguments in options attribute:</p>
619
501
  </td>
620
502
  </tr>
621
503
  </table>
622
- </div>
623
-
624
- <div class="method_details ">
625
- <h3 class="signature " id="footer_html-instance_method">
626
-
627
- - (<tt>Object</tt>) <strong>footer_html</strong> <span class="extras">(protected)</span>
628
-
629
-
630
-
631
-
632
-
633
- </h3><table class="source_code">
634
- <tr>
635
- <td>
636
- <pre class="lines">
637
-
638
-
639
- 124
640
- 125
641
- 126</pre>
642
- </td>
643
- <td>
644
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 124</span>
645
-
646
- <span class='kw'>def</span> <span class='id identifier rubyid_footer_html'>footer_html</span>
647
- <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='ivar'>@footer</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span><span class='comma'>,</span> <span class='ivar'>@footer</span><span class='period'>.</span><span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>panel-footer</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
648
- <span class='kw'>end</span></pre>
649
- </td>
650
- </tr>
651
- </table>
652
504
  </div>
653
505
 
654
506
  <div class="method_details ">
@@ -663,7 +515,7 @@ arguments in options attribute:</p>
663
515
  </h3><div class="docstring">
664
516
  <div class="discussion">
665
517
 
666
- <p>Header is a component element</p>
518
+ <p>Add Header which is a component</p>
667
519
 
668
520
 
669
521
  </div>
@@ -677,12 +529,12 @@ arguments in options attribute:</p>
677
529
  <pre class="lines">
678
530
 
679
531
 
680
- 86
681
532
  87
682
- 88</pre>
533
+ 88
534
+ 89</pre>
683
535
  </td>
684
536
  <td>
685
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 86</span>
537
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 87</span>
686
538
 
687
539
  <span class='kw'>def</span> <span class='id identifier rubyid_header'>header</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
688
540
  <span class='ivar'>@header</span> <span class='op'>=</span> <span class='const'>Component</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
@@ -693,60 +545,41 @@ arguments in options attribute:</p>
693
545
  </div>
694
546
 
695
547
  <div class="method_details ">
696
- <h3 class="signature " id="header_html-instance_method">
548
+ <h3 class="signature " id="render-instance_method">
697
549
 
698
- - (<tt>Object</tt>) <strong>header_html</strong> <span class="extras">(protected)</span>
550
+ - (<tt>Object</tt>) <strong>render</strong>
699
551
 
700
552
 
701
553
 
702
554
 
703
555
 
704
- </h3><table class="source_code">
705
- <tr>
706
- <td>
707
- <pre class="lines">
708
-
556
+ </h3><div class="docstring">
557
+ <div class="discussion">
558
+
559
+ <p>Render html tag</p>
709
560
 
710
- 115
711
- 116
712
- 117</pre>
713
- </td>
714
- <td>
715
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 115</span>
716
561
 
717
- <span class='kw'>def</span> <span class='id identifier rubyid_header_html'>header_html</span>
718
- <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='ivar'>@header</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span><span class='comma'>,</span> <span class='ivar'>@header</span><span class='period'>.</span><span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>panel-heading</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
719
- <span class='kw'>end</span></pre>
720
- </td>
721
- </tr>
722
- </table>
562
+ </div>
723
563
  </div>
724
-
725
- <div class="method_details ">
726
- <h3 class="signature " id="render-instance_method">
727
-
728
- - (<tt>Object</tt>) <strong>render</strong>
729
-
730
-
564
+ <div class="tags">
731
565
 
732
566
 
733
-
734
- </h3><table class="source_code">
567
+ </div><table class="source_code">
735
568
  <tr>
736
569
  <td>
737
570
  <pre class="lines">
738
571
 
739
572
 
740
- 100
741
- 101
742
573
  102
743
574
  103
744
575
  104
745
576
  105
746
- 106</pre>
577
+ 106
578
+ 107
579
+ 108</pre>
747
580
  </td>
748
581
  <td>
749
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 100</span>
582
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 102</span>
750
583
 
751
584
  <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
752
585
  <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:div</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>panel</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>do</span>
@@ -758,38 +591,6 @@ arguments in options attribute:</p>
758
591
  </td>
759
592
  </tr>
760
593
  </table>
761
- </div>
762
-
763
- <div class="method_details ">
764
- <h3 class="signature " id="state-instance_method">
765
-
766
- - (<tt>Object</tt>) <strong>state</strong>
767
-
768
-
769
-
770
-
771
-
772
- </h3><table class="source_code">
773
- <tr>
774
- <td>
775
- <pre class="lines">
776
-
777
-
778
- 108
779
- 109
780
- 110
781
- 111</pre>
782
- </td>
783
- <td>
784
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/panel.rb', line 108</span>
785
-
786
- <span class='kw'>def</span> <span class='id identifier rubyid_state'>state</span>
787
- <span class='id identifier rubyid_sym'>sym</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:state</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='symbol'>:default</span>
788
- <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>panel-</span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_states'>states</span><span class='lbracket'>[</span><span class='id identifier rubyid_sym'>sym</span><span class='rbracket'>]</span> <span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
789
- <span class='kw'>end</span></pre>
790
- </td>
791
- </tr>
792
- </table>
793
594
  </div>
794
595
 
795
596
  </div>
@@ -797,7 +598,7 @@ arguments in options attribute:</p>
797
598
  </div>
798
599
 
799
600
  <div id="footer">
800
- Generated on Wed Jul 8 15:00:16 2015 by
601
+ Generated on Mon Aug 31 14:08:53 2015 by
801
602
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
802
603
  0.8.7.6 (ruby-1.9.3).
803
604
  </div>