ui_bibz 1.1.0 → 1.1.1
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 +8 -8
- data/.yardoc/checksums +49 -46
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +69 -56
- data/README.md +156 -61
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +6 -6
- data/doc/UiBibz/Concerns/Models/Searchable.html +2 -2
- data/doc/UiBibz/Concerns/Models.html +115 -0
- data/doc/UiBibz/Concerns.html +115 -0
- data/doc/UiBibz/Helpers/MetaHelper.html +75 -9
- data/doc/UiBibz/Helpers/UiCoreHelper.html +120 -68
- data/doc/UiBibz/Helpers/UiUxHelper.html +2 -2
- data/doc/UiBibz/Helpers/UtilsHelper.html +2 -2
- data/doc/UiBibz/Helpers.html +115 -0
- data/doc/UiBibz/Rails/Engine.html +1 -1
- data/doc/UiBibz/Rails.html +1 -1
- data/doc/UiBibz/Ui/Base.html +2 -2
- data/doc/UiBibz/Ui/Core/Alert.html +26 -13
- data/doc/UiBibz/Ui/Core/Bar.html +26 -13
- data/doc/UiBibz/Ui/Core/Breadcrumb.html +32 -19
- data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +26 -13
- data/doc/UiBibz/Ui/Core/Button.html +26 -13
- data/doc/UiBibz/Ui/Core/ButtonDropdown.html +31 -18
- data/doc/UiBibz/Ui/Core/ButtonGroup.html +26 -13
- data/doc/UiBibz/Ui/Core/ButtonLink.html +26 -13
- data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +27 -14
- data/doc/UiBibz/Ui/Core/Col.html +26 -13
- data/doc/UiBibz/Ui/Core/Component.html +166 -225
- data/doc/UiBibz/Ui/Core/Dropdown.html +61 -410
- data/doc/UiBibz/Ui/Core/DropdownLink.html +373 -0
- data/doc/UiBibz/Ui/Core/DropdownList.html +26 -13
- data/doc/UiBibz/Ui/Core/Glyph.html +26 -386
- data/doc/UiBibz/Ui/Core/Jumbotron.html +26 -13
- data/doc/UiBibz/Ui/Core/Label.html +29 -15
- data/doc/UiBibz/Ui/Core/List.html +64 -25
- data/doc/UiBibz/Ui/Core/ListGroup.html +47 -21
- data/doc/UiBibz/Ui/Core/Nav.html +64 -25
- data/doc/UiBibz/Ui/Core/NavDropdown.html +29 -16
- data/doc/UiBibz/Ui/Core/NavLink.html +30 -15
- data/doc/UiBibz/Ui/Core/Navbar.html +154 -45
- data/doc/UiBibz/Ui/Core/NavbarForm.html +58 -38
- data/doc/UiBibz/Ui/Core/NavbarNav.html +7 -7
- data/doc/UiBibz/Ui/Core/NavbarText.html +26 -13
- data/doc/UiBibz/Ui/Core/Panel.html +38 -237
- data/doc/UiBibz/Ui/Core/ProgressBar.html +45 -19
- data/doc/UiBibz/Ui/Core/Row.html +26 -13
- data/doc/UiBibz/Ui/Core/Stars.html +367 -0
- data/doc/UiBibz/Ui/Core.html +16 -5
- data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Actions.html +198 -14
- data/doc/UiBibz/Ui/Ux/Column.html +4 -4
- data/doc/UiBibz/Ui/Ux/Columns.html +42 -16
- data/doc/UiBibz/Ui/Ux/Grid.html +31 -371
- data/doc/UiBibz/Ui/Ux/Paginable.html +22 -9
- data/doc/UiBibz/Ui/Ux/Searchable.html +22 -9
- data/doc/UiBibz/Ui/Ux/Sortable.html +18 -7
- data/doc/UiBibz/Ui/Ux/Store.html +160 -56
- data/doc/UiBibz/Ui/Ux/Table.html +109 -374
- data/doc/UiBibz/Ui/Ux/TableAction.html +2 -2
- data/doc/UiBibz/Ui/Ux/TablePagination.html +33 -14
- data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +30 -15
- data/doc/UiBibz/Ui/Ux/TablePanel.html +139 -43
- data/doc/UiBibz/Ui/Ux/TableSearchField.html +26 -13
- data/doc/UiBibz/Ui/Ux.html +15 -4
- data/doc/UiBibz/Ui.html +4 -2
- data/doc/UiBibz/Utils/Internationalization.html +1 -1
- data/doc/UiBibz/Utils.html +1 -1
- data/doc/UiBibz.html +5 -5
- data/doc/_index.html +50 -7
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +155 -63
- data/doc/images/stars.png +0 -0
- data/doc/index.html +155 -63
- data/doc/method_list.html +278 -398
- data/doc/top-level-namespace.html +1 -1
- data/lib/ui_bibz/concerns/models/searchable.rb +36 -13
- data/lib/ui_bibz/helpers/meta_helper.rb +22 -3
- data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
- data/lib/ui_bibz/ui/core/alert.rb +2 -0
- data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +3 -0
- data/lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button_dropdown.rb +6 -4
- data/lib/ui_bibz/ui/core/button/button_group.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button_link.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +2 -0
- data/lib/ui_bibz/ui/core/col.rb +2 -0
- data/lib/ui_bibz/ui/core/component.rb +23 -25
- data/lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb +57 -0
- data/lib/ui_bibz/ui/core/dropdown/components/dropdown_list.rb +2 -0
- data/lib/ui_bibz/ui/core/dropdown/dropdown.rb +22 -9
- data/lib/ui_bibz/ui/core/glyph.rb +10 -0
- data/lib/ui_bibz/ui/core/jumbotron.rb +2 -0
- data/lib/ui_bibz/ui/core/label.rb +3 -0
- data/lib/ui_bibz/ui/core/list/components/list.rb +4 -0
- data/lib/ui_bibz/ui/core/list/list_group.rb +4 -0
- data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +4 -2
- data/lib/ui_bibz/ui/core/nav/components/nav_link.rb +4 -1
- data/lib/ui_bibz/ui/core/nav/components/navbar_form.rb +39 -3
- data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +1 -0
- data/lib/ui_bibz/ui/core/nav/components/navbar_text.rb +8 -0
- data/lib/ui_bibz/ui/core/nav/nav.rb +6 -0
- data/lib/ui_bibz/ui/core/nav/navbar.rb +31 -4
- data/lib/ui_bibz/ui/core/panel.rb +7 -5
- data/lib/ui_bibz/ui/core/progress_bar/components/bar.rb +2 -0
- data/lib/ui_bibz/ui/core/progress_bar/progress_bar.rb +4 -0
- data/lib/ui_bibz/ui/core/row.rb +2 -0
- data/lib/ui_bibz/ui/core/stars.rb +88 -0
- data/lib/ui_bibz/ui/ux/grid.rb +4 -0
- data/lib/ui_bibz/ui/ux/table/components/actions.rb +17 -2
- data/lib/ui_bibz/ui/ux/table/components/column.rb +2 -2
- data/lib/ui_bibz/ui/ux/table/components/columns.rb +4 -2
- data/lib/ui_bibz/ui/ux/table/components/store.rb +10 -1
- data/lib/ui_bibz/ui/ux/table/extensions/actionable.rb +3 -1
- data/lib/ui_bibz/ui/ux/table/extensions/paginable.rb +1 -0
- data/lib/ui_bibz/ui/ux/table/extensions/searchable.rb +1 -0
- data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +8 -2
- data/lib/ui_bibz/ui/ux/table/table.rb +19 -8
- data/lib/ui_bibz/ui/ux/table/table_pagination.rb +8 -1
- data/lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb +10 -2
- data/lib/ui_bibz/ui/ux/table/table_panel.rb +28 -13
- data/lib/ui_bibz/ui/ux/table/table_search_field.rb +9 -1
- data/lib/ui_bibz/version.rb +1 -1
- data/lib/ui_bibz.rb +1 -0
- data/test/test_helper.rb +5 -0
- data/test/ui/dropdown_test.rb +4 -4
- data/test/ui/stars_test.rb +42 -0
- data/test/ui/table_test.rb +25 -6
- data/ui_bibz.gemspec +4 -1
- data/vendor/assets/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +640 -0
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/javascripts/bootstrap-datepicker.min.js +8 -0
- data/vendor/assets/javascripts/bootstrap-select.min.js +8 -0
- data/vendor/assets/javascripts/bootstrap-switch.min.js +22 -0
- data/vendor/assets/javascripts/bootstrap.min.js +7 -0
- data/vendor/assets/javascripts/jquery-2.1.4.min.js +4 -0
- data/vendor/assets/javascripts/ui_bibz.js.coffee +8 -0
- data/vendor/assets/stylesheets/bootstrap-datepicker3.min.css +8 -0
- data/vendor/assets/stylesheets/bootstrap-select.min.css +6 -0
- data/vendor/assets/stylesheets/bootstrap-switch.min.css +22 -0
- data/vendor/assets/stylesheets/bootstrap-theme.min.css +5 -0
- data/vendor/assets/stylesheets/bootstrap.min.css +5 -0
- data/vendor/assets/stylesheets/font-awesome.min.css +4 -0
- data/vendor/assets/stylesheets/ui_bibz.sass +23 -0
- metadata +71 -2
@@ -108,7 +108,8 @@
|
|
108
108
|
|
109
109
|
<p>Create a label</p>
|
110
110
|
|
111
|
-
<p>This element is an extend of UiBibz::Ui::Core::Component
|
111
|
+
<p>This element is an extend of UiBibz::Ui::Core::Component. The helper use
|
112
|
+
‘etiquette’ method to avoid conflict with Rails.</p>
|
112
113
|
|
113
114
|
<h4>Attributes</h4>
|
114
115
|
<ul><li>
|
@@ -212,7 +213,7 @@ arguments in options attribute:</p>
|
|
212
213
|
|
213
214
|
|
214
215
|
<span class="summary_desc"><div class='inline'>
|
215
|
-
<p>
|
216
|
+
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
216
217
|
</div></span>
|
217
218
|
|
218
219
|
</li>
|
@@ -235,7 +236,9 @@ arguments in options attribute:</p>
|
|
235
236
|
|
236
237
|
|
237
238
|
|
238
|
-
<span class="summary_desc"><div class='inline'
|
239
|
+
<span class="summary_desc"><div class='inline'>
|
240
|
+
<p>Render html tag.</p>
|
241
|
+
</div></span>
|
239
242
|
|
240
243
|
</li>
|
241
244
|
|
@@ -253,7 +256,7 @@ arguments in options attribute:</p>
|
|
253
256
|
|
254
257
|
|
255
258
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
256
|
-
<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
|
259
|
+
<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>
|
257
260
|
|
258
261
|
|
259
262
|
|
@@ -281,7 +284,7 @@ arguments in options attribute:</p>
|
|
281
284
|
</h3><div class="docstring">
|
282
285
|
<div class="discussion">
|
283
286
|
|
284
|
-
<p>
|
287
|
+
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
285
288
|
|
286
289
|
|
287
290
|
</div>
|
@@ -295,12 +298,12 @@ arguments in options attribute:</p>
|
|
295
298
|
<pre class="lines">
|
296
299
|
|
297
300
|
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
+
52
|
302
|
+
53
|
303
|
+
54</pre>
|
301
304
|
</td>
|
302
305
|
<td>
|
303
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/label.rb', line
|
306
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/label.rb', line 52</span>
|
304
307
|
|
305
308
|
<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'>&</span><span class='id identifier rubyid_block'>block</span>
|
306
309
|
<span class='kw'>super</span>
|
@@ -326,18 +329,29 @@ arguments in options attribute:</p>
|
|
326
329
|
|
327
330
|
|
328
331
|
|
329
|
-
</h3><
|
332
|
+
</h3><div class="docstring">
|
333
|
+
<div class="discussion">
|
334
|
+
|
335
|
+
<p>Render html tag</p>
|
336
|
+
|
337
|
+
|
338
|
+
</div>
|
339
|
+
</div>
|
340
|
+
<div class="tags">
|
341
|
+
|
342
|
+
|
343
|
+
</div><table class="source_code">
|
330
344
|
<tr>
|
331
345
|
<td>
|
332
346
|
<pre class="lines">
|
333
347
|
|
334
348
|
|
335
|
-
|
336
|
-
|
337
|
-
|
349
|
+
57
|
350
|
+
58
|
351
|
+
59</pre>
|
338
352
|
</td>
|
339
353
|
<td>
|
340
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/label.rb', line
|
354
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/label.rb', line 57</span>
|
341
355
|
|
342
356
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
343
357
|
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:span</span><span class='comma'>,</span> <span class='id identifier rubyid_glyph_and_content_html'>glyph_and_content_html</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'>'</span><span class='tstring_content'>label</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
@@ -352,7 +366,7 @@ arguments in options attribute:</p>
|
|
352
366
|
</div>
|
353
367
|
|
354
368
|
<div id="footer">
|
355
|
-
Generated on
|
369
|
+
Generated on Mon Aug 31 14:08:52 2015 by
|
356
370
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
357
371
|
0.8.7.6 (ruby-1.9.3).
|
358
372
|
</div>
|
@@ -220,7 +220,9 @@ arguments in options attribute:</p>
|
|
220
220
|
|
221
221
|
|
222
222
|
|
223
|
-
<span class="summary_desc"><div class='inline'
|
223
|
+
<span class="summary_desc"><div class='inline'>
|
224
|
+
<p>Add body which is a component.</p>
|
225
|
+
</div></span>
|
224
226
|
|
225
227
|
</li>
|
226
228
|
|
@@ -242,7 +244,9 @@ arguments in options attribute:</p>
|
|
242
244
|
|
243
245
|
|
244
246
|
|
245
|
-
<span class="summary_desc"><div class='inline'
|
247
|
+
<span class="summary_desc"><div class='inline'>
|
248
|
+
<p>Add header which is a component.</p>
|
249
|
+
</div></span>
|
246
250
|
|
247
251
|
</li>
|
248
252
|
|
@@ -267,7 +271,7 @@ arguments in options attribute:</p>
|
|
267
271
|
|
268
272
|
|
269
273
|
<span class="summary_desc"><div class='inline'>
|
270
|
-
<p>
|
274
|
+
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
271
275
|
</div></span>
|
272
276
|
|
273
277
|
</li>
|
@@ -290,7 +294,9 @@ arguments in options attribute:</p>
|
|
290
294
|
|
291
295
|
|
292
296
|
|
293
|
-
<span class="summary_desc"><div class='inline'
|
297
|
+
<span class="summary_desc"><div class='inline'>
|
298
|
+
<p>Render html tag.</p>
|
299
|
+
</div></span>
|
294
300
|
|
295
301
|
</li>
|
296
302
|
|
@@ -308,7 +314,7 @@ arguments in options attribute:</p>
|
|
308
314
|
|
309
315
|
|
310
316
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
311
|
-
<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
|
317
|
+
<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>
|
312
318
|
|
313
319
|
|
314
320
|
|
@@ -336,7 +342,7 @@ arguments in options attribute:</p>
|
|
336
342
|
</h3><div class="docstring">
|
337
343
|
<div class="discussion">
|
338
344
|
|
339
|
-
<p>
|
345
|
+
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
340
346
|
|
341
347
|
|
342
348
|
</div>
|
@@ -350,12 +356,12 @@ arguments in options attribute:</p>
|
|
350
356
|
<pre class="lines">
|
351
357
|
|
352
358
|
|
353
|
-
58
|
354
359
|
59
|
355
|
-
60
|
360
|
+
60
|
361
|
+
61</pre>
|
356
362
|
</td>
|
357
363
|
<td>
|
358
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/components/list.rb', line
|
364
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/components/list.rb', line 59</span>
|
359
365
|
|
360
366
|
<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'>&</span><span class='id identifier rubyid_block'>block</span>
|
361
367
|
<span class='kw'>super</span>
|
@@ -381,18 +387,29 @@ arguments in options attribute:</p>
|
|
381
387
|
|
382
388
|
|
383
389
|
|
384
|
-
</h3><
|
390
|
+
</h3><div class="docstring">
|
391
|
+
<div class="discussion">
|
392
|
+
|
393
|
+
<p>Add body which is a component</p>
|
394
|
+
|
395
|
+
|
396
|
+
</div>
|
397
|
+
</div>
|
398
|
+
<div class="tags">
|
399
|
+
|
400
|
+
|
401
|
+
</div><table class="source_code">
|
385
402
|
<tr>
|
386
403
|
<td>
|
387
404
|
<pre class="lines">
|
388
405
|
|
389
406
|
|
390
|
-
|
391
|
-
|
392
|
-
|
407
|
+
79
|
408
|
+
80
|
409
|
+
81</pre>
|
393
410
|
</td>
|
394
411
|
<td>
|
395
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/components/list.rb', line
|
412
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/components/list.rb', line 79</span>
|
396
413
|
|
397
414
|
<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'>&</span><span class='id identifier rubyid_block'>block</span>
|
398
415
|
<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'>&</span><span class='id identifier rubyid_block'>block</span>
|
@@ -411,18 +428,29 @@ arguments in options attribute:</p>
|
|
411
428
|
|
412
429
|
|
413
430
|
|
414
|
-
</h3><
|
431
|
+
</h3><div class="docstring">
|
432
|
+
<div class="discussion">
|
433
|
+
|
434
|
+
<p>Add header which is a component</p>
|
435
|
+
|
436
|
+
|
437
|
+
</div>
|
438
|
+
</div>
|
439
|
+
<div class="tags">
|
440
|
+
|
441
|
+
|
442
|
+
</div><table class="source_code">
|
415
443
|
<tr>
|
416
444
|
<td>
|
417
445
|
<pre class="lines">
|
418
446
|
|
419
447
|
|
420
|
-
|
421
|
-
|
422
|
-
|
448
|
+
74
|
449
|
+
75
|
450
|
+
76</pre>
|
423
451
|
</td>
|
424
452
|
<td>
|
425
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/components/list.rb', line
|
453
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/components/list.rb', line 74</span>
|
426
454
|
|
427
455
|
<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'>&</span><span class='id identifier rubyid_block'>block</span>
|
428
456
|
<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'>&</span><span class='id identifier rubyid_block'>block</span>
|
@@ -441,23 +469,34 @@ arguments in options attribute:</p>
|
|
441
469
|
|
442
470
|
|
443
471
|
|
444
|
-
</h3><
|
472
|
+
</h3><div class="docstring">
|
473
|
+
<div class="discussion">
|
474
|
+
|
475
|
+
<p>Render html tag</p>
|
476
|
+
|
477
|
+
|
478
|
+
</div>
|
479
|
+
</div>
|
480
|
+
<div class="tags">
|
481
|
+
|
482
|
+
|
483
|
+
</div><table class="source_code">
|
445
484
|
<tr>
|
446
485
|
<td>
|
447
486
|
<pre class="lines">
|
448
487
|
|
449
488
|
|
450
|
-
62
|
451
|
-
63
|
452
489
|
64
|
453
490
|
65
|
454
491
|
66
|
455
492
|
67
|
456
493
|
68
|
457
|
-
69
|
494
|
+
69
|
495
|
+
70
|
496
|
+
71</pre>
|
458
497
|
</td>
|
459
498
|
<td>
|
460
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/components/list.rb', line
|
499
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/components/list.rb', line 64</span>
|
461
500
|
|
462
501
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
463
502
|
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='id identifier rubyid_tag'>tag</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'>'</span><span class='tstring_content'>list-group-item</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span> <span class='kw'>do</span>
|
@@ -477,7 +516,7 @@ arguments in options attribute:</p>
|
|
477
516
|
</div>
|
478
517
|
|
479
518
|
<div id="footer">
|
480
|
-
Generated on
|
519
|
+
Generated on Mon Aug 31 14:08:54 2015 by
|
481
520
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
482
521
|
0.8.7.6 (ruby-1.9.3).
|
483
522
|
</div>
|
@@ -229,7 +229,7 @@ end</code></pre>
|
|
229
229
|
|
230
230
|
|
231
231
|
<span class="summary_desc"><div class='inline'>
|
232
|
-
<p>
|
232
|
+
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
233
233
|
</div></span>
|
234
234
|
|
235
235
|
</li>
|
@@ -252,7 +252,9 @@ end</code></pre>
|
|
252
252
|
|
253
253
|
|
254
254
|
|
255
|
-
<span class="summary_desc"><div class='inline'
|
255
|
+
<span class="summary_desc"><div class='inline'>
|
256
|
+
<p>Add group list See UiBibz::Ui::Core::List.</p>
|
257
|
+
</div></span>
|
256
258
|
|
257
259
|
</li>
|
258
260
|
|
@@ -274,7 +276,9 @@ end</code></pre>
|
|
274
276
|
|
275
277
|
|
276
278
|
|
277
|
-
<span class="summary_desc"><div class='inline'
|
279
|
+
<span class="summary_desc"><div class='inline'>
|
280
|
+
<p>Render html tag.</p>
|
281
|
+
</div></span>
|
278
282
|
|
279
283
|
</li>
|
280
284
|
|
@@ -292,7 +296,7 @@ end</code></pre>
|
|
292
296
|
|
293
297
|
|
294
298
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
295
|
-
<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#
|
299
|
+
<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>
|
296
300
|
|
297
301
|
|
298
302
|
|
@@ -320,7 +324,7 @@ end</code></pre>
|
|
320
324
|
</h3><div class="docstring">
|
321
325
|
<div class="discussion">
|
322
326
|
|
323
|
-
<p>
|
327
|
+
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
324
328
|
|
325
329
|
|
326
330
|
</div>
|
@@ -334,13 +338,13 @@ end</code></pre>
|
|
334
338
|
<pre class="lines">
|
335
339
|
|
336
340
|
|
337
|
-
73
|
338
341
|
74
|
339
342
|
75
|
340
|
-
76
|
343
|
+
76
|
344
|
+
77</pre>
|
341
345
|
</td>
|
342
346
|
<td>
|
343
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/list_group.rb', line
|
347
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/list_group.rb', line 74</span>
|
344
348
|
|
345
349
|
<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'>&</span><span class='id identifier rubyid_block'>block</span>
|
346
350
|
<span class='kw'>super</span>
|
@@ -367,25 +371,36 @@ end</code></pre>
|
|
367
371
|
|
368
372
|
|
369
373
|
|
370
|
-
</h3><
|
374
|
+
</h3><div class="docstring">
|
375
|
+
<div class="discussion">
|
376
|
+
|
377
|
+
<p>Add group list See UiBibz::Ui::Core::List</p>
|
378
|
+
|
379
|
+
|
380
|
+
</div>
|
381
|
+
</div>
|
382
|
+
<div class="tags">
|
383
|
+
|
384
|
+
|
385
|
+
</div><table class="source_code">
|
371
386
|
<tr>
|
372
387
|
<td>
|
373
388
|
<pre class="lines">
|
374
389
|
|
375
390
|
|
376
|
-
82
|
377
|
-
83
|
378
|
-
84
|
379
|
-
85
|
380
391
|
86
|
381
392
|
87
|
382
393
|
88
|
383
394
|
89
|
384
395
|
90
|
385
|
-
91
|
396
|
+
91
|
397
|
+
92
|
398
|
+
93
|
399
|
+
94
|
400
|
+
95</pre>
|
386
401
|
</td>
|
387
402
|
<td>
|
388
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/list_group.rb', line
|
403
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/list_group.rb', line 86</span>
|
389
404
|
|
390
405
|
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</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='lbrace'>{</span><span class='rbrace'>}</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'>&</span><span class='id identifier rubyid_block'>block</span>
|
391
406
|
<span class='id identifier rubyid_is_tap'>is_tap</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='lbracket'>[</span><span class='symbol'>:tap</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:tap</span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span><span class='rparen'>)</span>
|
@@ -411,18 +426,29 @@ end</code></pre>
|
|
411
426
|
|
412
427
|
|
413
428
|
|
414
|
-
</h3><
|
429
|
+
</h3><div class="docstring">
|
430
|
+
<div class="discussion">
|
431
|
+
|
432
|
+
<p>Render html tag</p>
|
433
|
+
|
434
|
+
|
435
|
+
</div>
|
436
|
+
</div>
|
437
|
+
<div class="tags">
|
438
|
+
|
439
|
+
|
440
|
+
</div><table class="source_code">
|
415
441
|
<tr>
|
416
442
|
<td>
|
417
443
|
<pre class="lines">
|
418
444
|
|
419
445
|
|
420
|
-
|
421
|
-
|
422
|
-
|
446
|
+
80
|
447
|
+
81
|
448
|
+
82</pre>
|
423
449
|
</td>
|
424
450
|
<td>
|
425
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/list_group.rb', line
|
451
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/list/list_group.rb', line 80</span>
|
426
452
|
|
427
453
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
428
454
|
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='ivar'>@lists</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_html_safe'>html_safe</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'>"</span><span class='tstring_content'>list-group</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
@@ -437,7 +463,7 @@ end</code></pre>
|
|
437
463
|
</div>
|
438
464
|
|
439
465
|
<div id="footer">
|
440
|
-
Generated on
|
466
|
+
Generated on Mon Aug 31 14:08:53 2015 by
|
441
467
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
442
468
|
0.8.7.6 (ruby-1.9.3).
|
443
469
|
</div>
|