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
data/doc/UiBibz/Ui/Core/Nav.html
CHANGED
@@ -216,7 +216,9 @@ end</code></pre>
|
|
216
216
|
|
217
217
|
|
218
218
|
|
219
|
-
<span class="summary_desc"><div class='inline'
|
219
|
+
<span class="summary_desc"><div class='inline'>
|
220
|
+
<p>Add nav dropdown items See UiBibz::Ui::Core::NavDropdown.</p>
|
221
|
+
</div></span>
|
220
222
|
|
221
223
|
</li>
|
222
224
|
|
@@ -241,7 +243,7 @@ end</code></pre>
|
|
241
243
|
|
242
244
|
|
243
245
|
<span class="summary_desc"><div class='inline'>
|
244
|
-
<p>
|
246
|
+
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
245
247
|
</div></span>
|
246
248
|
|
247
249
|
</li>
|
@@ -264,7 +266,9 @@ end</code></pre>
|
|
264
266
|
|
265
267
|
|
266
268
|
|
267
|
-
<span class="summary_desc"><div class='inline'
|
269
|
+
<span class="summary_desc"><div class='inline'>
|
270
|
+
<p>Add nav link items See UiBibz::Ui::Core::NavLink.</p>
|
271
|
+
</div></span>
|
268
272
|
|
269
273
|
</li>
|
270
274
|
|
@@ -286,7 +290,9 @@ end</code></pre>
|
|
286
290
|
|
287
291
|
|
288
292
|
|
289
|
-
<span class="summary_desc"><div class='inline'
|
293
|
+
<span class="summary_desc"><div class='inline'>
|
294
|
+
<p>Render html tag.</p>
|
295
|
+
</div></span>
|
290
296
|
|
291
297
|
</li>
|
292
298
|
|
@@ -304,7 +310,7 @@ end</code></pre>
|
|
304
310
|
|
305
311
|
|
306
312
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
307
|
-
<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#
|
313
|
+
<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>
|
308
314
|
|
309
315
|
|
310
316
|
|
@@ -332,7 +338,7 @@ end</code></pre>
|
|
332
338
|
</h3><div class="docstring">
|
333
339
|
<div class="discussion">
|
334
340
|
|
335
|
-
<p>
|
341
|
+
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
336
342
|
|
337
343
|
|
338
344
|
</div>
|
@@ -346,13 +352,13 @@ end</code></pre>
|
|
346
352
|
<pre class="lines">
|
347
353
|
|
348
354
|
|
349
|
-
61
|
350
355
|
62
|
351
356
|
63
|
352
|
-
64
|
357
|
+
64
|
358
|
+
65</pre>
|
353
359
|
</td>
|
354
360
|
<td>
|
355
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line
|
361
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line 62</span>
|
356
362
|
|
357
363
|
<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>
|
358
364
|
<span class='kw'>super</span>
|
@@ -379,18 +385,29 @@ end</code></pre>
|
|
379
385
|
|
380
386
|
|
381
387
|
|
382
|
-
</h3><
|
388
|
+
</h3><div class="docstring">
|
389
|
+
<div class="discussion">
|
390
|
+
|
391
|
+
<p>Add nav dropdown items See UiBibz::Ui::Core::NavDropdown</p>
|
392
|
+
|
393
|
+
|
394
|
+
</div>
|
395
|
+
</div>
|
396
|
+
<div class="tags">
|
397
|
+
|
398
|
+
|
399
|
+
</div><table class="source_code">
|
383
400
|
<tr>
|
384
401
|
<td>
|
385
402
|
<pre class="lines">
|
386
403
|
|
387
404
|
|
388
|
-
|
389
|
-
|
390
|
-
|
405
|
+
80
|
406
|
+
81
|
407
|
+
82</pre>
|
391
408
|
</td>
|
392
409
|
<td>
|
393
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line
|
410
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line 80</span>
|
394
411
|
|
395
412
|
<span class='kw'>def</span> <span class='id identifier rubyid_dropdown'>dropdown</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>
|
396
413
|
<span class='ivar'>@items</span> <span class='op'><<</span> <span class='const'>NavDropdown</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</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='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
@@ -409,18 +426,29 @@ end</code></pre>
|
|
409
426
|
|
410
427
|
|
411
428
|
|
412
|
-
</h3><
|
429
|
+
</h3><div class="docstring">
|
430
|
+
<div class="discussion">
|
431
|
+
|
432
|
+
<p>Add nav link items See UiBibz::Ui::Core::NavLink</p>
|
433
|
+
|
434
|
+
|
435
|
+
</div>
|
436
|
+
</div>
|
437
|
+
<div class="tags">
|
438
|
+
|
439
|
+
|
440
|
+
</div><table class="source_code">
|
413
441
|
<tr>
|
414
442
|
<td>
|
415
443
|
<pre class="lines">
|
416
444
|
|
417
445
|
|
418
|
-
|
419
|
-
|
420
|
-
|
446
|
+
74
|
447
|
+
75
|
448
|
+
76</pre>
|
421
449
|
</td>
|
422
450
|
<td>
|
423
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line
|
451
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line 74</span>
|
424
452
|
|
425
453
|
<span class='kw'>def</span> <span class='id identifier rubyid_link'>link</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>
|
426
454
|
<span class='ivar'>@items</span> <span class='op'><<</span> <span class='const'>NavLink</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>nav_type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</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><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
@@ -439,18 +467,29 @@ end</code></pre>
|
|
439
467
|
|
440
468
|
|
441
469
|
|
442
|
-
</h3><
|
470
|
+
</h3><div class="docstring">
|
471
|
+
<div class="discussion">
|
472
|
+
|
473
|
+
<p>Render html tag</p>
|
474
|
+
|
475
|
+
|
476
|
+
</div>
|
477
|
+
</div>
|
478
|
+
<div class="tags">
|
479
|
+
|
480
|
+
|
481
|
+
</div><table class="source_code">
|
443
482
|
<tr>
|
444
483
|
<td>
|
445
484
|
<pre class="lines">
|
446
485
|
|
447
486
|
|
448
|
-
|
449
|
-
|
450
|
-
|
487
|
+
68
|
488
|
+
69
|
489
|
+
70</pre>
|
451
490
|
</td>
|
452
491
|
<td>
|
453
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line
|
492
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/nav.rb', line 68</span>
|
454
493
|
|
455
494
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
456
495
|
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:ul</span><span class='comma'>,</span> <span class='ivar'>@items</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</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='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>nav</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_position'>position</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
@@ -465,7 +504,7 @@ end</code></pre>
|
|
465
504
|
</div>
|
466
505
|
|
467
506
|
<div id="footer">
|
468
|
-
Generated on
|
507
|
+
Generated on Mon Aug 31 14:08:53 2015 by
|
469
508
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
470
509
|
0.8.7.6 (ruby-1.9.3).
|
471
510
|
</div>
|
@@ -144,7 +144,7 @@ arguments in options attribute:</p>
|
|
144
144
|
|
145
145
|
<h4>Signatures</h4>
|
146
146
|
|
147
|
-
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::
|
147
|
+
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::NavDropdown.new(options = nil, html_options = nil).tap do |d|
|
148
148
|
...
|
149
149
|
d.list content = nil, options = nil, html_options = nil, &block
|
150
150
|
d.list content = nil, options = nil, html_options = nil, &block
|
@@ -154,7 +154,7 @@ end</code></pre>
|
|
154
154
|
|
155
155
|
<h4>Examples</h4>
|
156
156
|
|
157
|
-
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>
|
157
|
+
<pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>NavDropdown</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='label'>state:</span> <span class='symbol'>:success</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_tap'>tap</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_d'>d</span><span class='op'>|</span>
|
158
158
|
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span> <span class='id identifier rubyid_link_to'>link_to</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>test</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
159
159
|
<span class='id identifier rubyid_d'>d</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span> <span class='id identifier rubyid_link_to'>link_to</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>test2</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>#</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
160
160
|
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span></code></pre>
|
@@ -210,7 +210,7 @@ end</code></pre>
|
|
210
210
|
|
211
211
|
|
212
212
|
<span class="summary_desc"><div class='inline'>
|
213
|
-
<p>
|
213
|
+
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
214
214
|
</div></span>
|
215
215
|
|
216
216
|
</li>
|
@@ -233,7 +233,9 @@ end</code></pre>
|
|
233
233
|
|
234
234
|
|
235
235
|
|
236
|
-
<span class="summary_desc"><div class='inline'
|
236
|
+
<span class="summary_desc"><div class='inline'>
|
237
|
+
<p>Render html tag.</p>
|
238
|
+
</div></span>
|
237
239
|
|
238
240
|
</li>
|
239
241
|
|
@@ -251,7 +253,7 @@ end</code></pre>
|
|
251
253
|
|
252
254
|
|
253
255
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Dropdown.html" title="UiBibz::Ui::Core::Dropdown (class)">Dropdown</a></span></h3>
|
254
|
-
<p class="inherited"><span class='object_link'><a href="Dropdown.html#
|
256
|
+
<p class="inherited"><span class='object_link'><a href="Dropdown.html#link-instance_method" title="UiBibz::Ui::Core::Dropdown#link (method)">#link</a></span>, <span class='object_link'><a href="Dropdown.html#list-instance_method" title="UiBibz::Ui::Core::Dropdown#list (method)">#list</a></span></p>
|
255
257
|
|
256
258
|
|
257
259
|
|
@@ -262,7 +264,7 @@ end</code></pre>
|
|
262
264
|
|
263
265
|
|
264
266
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
265
|
-
<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#
|
267
|
+
<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>
|
266
268
|
|
267
269
|
|
268
270
|
|
@@ -290,7 +292,7 @@ end</code></pre>
|
|
290
292
|
</h3><div class="docstring">
|
291
293
|
<div class="discussion">
|
292
294
|
|
293
|
-
<p>
|
295
|
+
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
294
296
|
|
295
297
|
|
296
298
|
</div>
|
@@ -304,12 +306,12 @@ end</code></pre>
|
|
304
306
|
<pre class="lines">
|
305
307
|
|
306
308
|
|
307
|
-
46
|
308
309
|
47
|
309
|
-
48
|
310
|
+
48
|
311
|
+
49</pre>
|
310
312
|
</td>
|
311
313
|
<td>
|
312
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb', line
|
314
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb', line 47</span>
|
313
315
|
|
314
316
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_content'>content</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>
|
315
317
|
<span class='kw'>super</span>
|
@@ -335,21 +337,32 @@ end</code></pre>
|
|
335
337
|
|
336
338
|
|
337
339
|
|
338
|
-
</h3><
|
340
|
+
</h3><div class="docstring">
|
341
|
+
<div class="discussion">
|
342
|
+
|
343
|
+
<p>Render html tag</p>
|
344
|
+
|
345
|
+
|
346
|
+
</div>
|
347
|
+
</div>
|
348
|
+
<div class="tags">
|
349
|
+
|
350
|
+
|
351
|
+
</div><table class="source_code">
|
339
352
|
<tr>
|
340
353
|
<td>
|
341
354
|
<pre class="lines">
|
342
355
|
|
343
356
|
|
344
|
-
50
|
345
|
-
51
|
346
357
|
52
|
347
358
|
53
|
348
359
|
54
|
349
|
-
55
|
360
|
+
55
|
361
|
+
56
|
362
|
+
57</pre>
|
350
363
|
</td>
|
351
364
|
<td>
|
352
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb', line
|
365
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb', line 52</span>
|
353
366
|
|
354
367
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
355
368
|
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:li</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='id identifier rubyid_type'>type</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
@@ -367,7 +380,7 @@ end</code></pre>
|
|
367
380
|
</div>
|
368
381
|
|
369
382
|
<div id="footer">
|
370
|
-
Generated on
|
383
|
+
Generated on Mon Aug 31 14:08:55 2015 by
|
371
384
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
372
385
|
0.8.7.6 (ruby-1.9.3).
|
373
386
|
</div>
|
@@ -129,6 +129,8 @@ arguments in options attribute:</p>
|
|
129
129
|
<p><tt>url</tt> - String</p>
|
130
130
|
</li><li>
|
131
131
|
<p><tt>badge</tt> - String</p>
|
132
|
+
</li><li>
|
133
|
+
<p><tt>link_html_options</tt> - Hash</p>
|
132
134
|
</li></ul>
|
133
135
|
|
134
136
|
<h4>Signatures</h4>
|
@@ -141,7 +143,7 @@ arguments in options attribute:</p>
|
|
141
143
|
|
142
144
|
<h4>Examples</h4>
|
143
145
|
|
144
|
-
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::NavLink.new(content, { badge: 15, url: '/', status: :active },{ class: 'test' }).render
|
146
|
+
<pre class="code ruby"><code class="ruby">UiBibz::Ui::Core::NavLink.new(content, { badge: 15, url: '/', status: :active, link_html_options: { class: 'link1' }},{ class: 'test' }).render
|
145
147
|
|
146
148
|
UiBibz::Ui::Core::NavLink.new({glyph: { name: 'eye', size: 3 }, { class: 'test' }) do
|
147
149
|
'Home'
|
@@ -198,7 +200,7 @@ end.render</code></pre>
|
|
198
200
|
|
199
201
|
|
200
202
|
<span class="summary_desc"><div class='inline'>
|
201
|
-
<p>
|
203
|
+
<p>See UiBibz::Ui::Core::Component.initialize.</p>
|
202
204
|
</div></span>
|
203
205
|
|
204
206
|
</li>
|
@@ -221,7 +223,9 @@ end.render</code></pre>
|
|
221
223
|
|
222
224
|
|
223
225
|
|
224
|
-
<span class="summary_desc"><div class='inline'
|
226
|
+
<span class="summary_desc"><div class='inline'>
|
227
|
+
<p>Render html tag.</p>
|
228
|
+
</div></span>
|
225
229
|
|
226
230
|
</li>
|
227
231
|
|
@@ -239,7 +243,7 @@ end.render</code></pre>
|
|
239
243
|
|
240
244
|
|
241
245
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
|
242
|
-
<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#
|
246
|
+
<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>
|
243
247
|
|
244
248
|
|
245
249
|
|
@@ -267,7 +271,7 @@ end.render</code></pre>
|
|
267
271
|
</h3><div class="docstring">
|
268
272
|
<div class="discussion">
|
269
273
|
|
270
|
-
<p>
|
274
|
+
<p>See UiBibz::Ui::Core::Component.initialize</p>
|
271
275
|
|
272
276
|
|
273
277
|
</div>
|
@@ -281,12 +285,12 @@ end.render</code></pre>
|
|
281
285
|
<pre class="lines">
|
282
286
|
|
283
287
|
|
284
|
-
|
285
|
-
|
286
|
-
|
288
|
+
42
|
289
|
+
43
|
290
|
+
44</pre>
|
287
291
|
</td>
|
288
292
|
<td>
|
289
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/nav_link.rb', line
|
293
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/nav_link.rb', line 42</span>
|
290
294
|
|
291
295
|
<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>
|
292
296
|
<span class='kw'>super</span>
|
@@ -312,18 +316,29 @@ end.render</code></pre>
|
|
312
316
|
|
313
317
|
|
314
318
|
|
315
|
-
</h3><
|
319
|
+
</h3><div class="docstring">
|
320
|
+
<div class="discussion">
|
321
|
+
|
322
|
+
<p>Render html tag</p>
|
323
|
+
|
324
|
+
|
325
|
+
</div>
|
326
|
+
</div>
|
327
|
+
<div class="tags">
|
328
|
+
|
329
|
+
|
330
|
+
</div><table class="source_code">
|
316
331
|
<tr>
|
317
332
|
<td>
|
318
333
|
<pre class="lines">
|
319
334
|
|
320
335
|
|
321
|
-
|
322
|
-
|
323
|
-
|
336
|
+
47
|
337
|
+
48
|
338
|
+
49</pre>
|
324
339
|
</td>
|
325
340
|
<td>
|
326
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/nav_link.rb', line
|
341
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/nav_link.rb', line 47</span>
|
327
342
|
|
328
343
|
<span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
|
329
344
|
<span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:li</span><span class='comma'>,</span> <span class='id identifier rubyid_content_htm'>content_htm</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span> <span class='label'>role:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>presentation</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span><span class='rparen'>)</span>
|
@@ -338,7 +353,7 @@ end.render</code></pre>
|
|
338
353
|
</div>
|
339
354
|
|
340
355
|
<div id="footer">
|
341
|
-
Generated on
|
356
|
+
Generated on Mon Aug 31 14:08:54 2015 by
|
342
357
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
343
358
|
0.8.7.6 (ruby-1.9.3).
|
344
359
|
</div>
|