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.html
CHANGED
@@ -79,20 +79,31 @@
|
|
79
79
|
|
80
80
|
|
81
81
|
<dt class="r1 last">Defined in:</dt>
|
82
|
-
<dd class="r1 last">lib/ui_bibz
|
83
|
-
lib/ui_bibz/ui/core/row.rb,<br /> lib/ui_bibz/ui/core/alert.rb,<br /> lib/ui_bibz/ui/core/label.rb,<br /> lib/ui_bibz/ui/core/
|
82
|
+
<dd class="r1 last">lib/ui_bibz.rb<span class="defines">,<br />
|
83
|
+
lib/ui_bibz/ui/core/col.rb,<br /> lib/ui_bibz/ui/core/row.rb,<br /> lib/ui_bibz/ui/core/alert.rb,<br /> lib/ui_bibz/ui/core/label.rb,<br /> lib/ui_bibz/ui/core/glyph.rb,<br /> lib/ui_bibz/ui/core/stars.rb,<br /> lib/ui_bibz/ui/core/panel.rb,<br /> lib/ui_bibz/ui/core/nav/nav.rb,<br /> lib/ui_bibz/ui/core/component.rb,<br /> lib/ui_bibz/ui/core/jumbotron.rb,<br /> lib/ui_bibz/ui/core/nav/navbar.rb,<br /> lib/ui_bibz/ui/core/button/button.rb,<br /> lib/ui_bibz/ui/core/list/list_group.rb,<br /> lib/ui_bibz/ui/core/dropdown/dropdown.rb,<br /> lib/ui_bibz/ui/core/button/button_link.rb,<br /> lib/ui_bibz/ui/core/button/button_group.rb,<br /> lib/ui_bibz/ui/core/list/components/list.rb,<br /> lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb,<br /> lib/ui_bibz/ui/core/button/button_dropdown.rb,<br /> lib/ui_bibz/ui/core/nav/components/nav_link.rb,<br /> lib/ui_bibz/ui/core/nav/components/navbar_nav.rb,<br /> lib/ui_bibz/ui/core/progress_bar/progress_bar.rb,<br /> lib/ui_bibz/ui/core/nav/components/navbar_form.rb,<br /> lib/ui_bibz/ui/core/nav/components/navbar_text.rb,<br /> lib/ui_bibz/ui/core/progress_bar/components/bar.rb,<br /> lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb,<br /> lib/ui_bibz/ui/core/button/button_split_dropdown.rb,<br /> lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb,<br /> lib/ui_bibz/ui/core/dropdown/components/dropdown_list.rb,<br /> lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb</span>
|
84
84
|
</dd>
|
85
85
|
|
86
86
|
</dl>
|
87
87
|
<div class="clear"></div>
|
88
88
|
|
89
|
-
<h2>
|
89
|
+
<h2>Overview</h2><div class="docstring">
|
90
|
+
<div class="discussion">
|
91
|
+
|
92
|
+
<p>Core</p>
|
93
|
+
|
94
|
+
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
<div class="tags">
|
98
|
+
|
99
|
+
|
100
|
+
</div><h2>Defined Under Namespace</h2>
|
90
101
|
<p class="children">
|
91
102
|
|
92
103
|
|
93
104
|
|
94
105
|
|
95
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Core/Alert.html" title="UiBibz::Ui::Core::Alert (class)">Alert</a></span>, <span class='object_link'><a href="Core/Bar.html" title="UiBibz::Ui::Core::Bar (class)">Bar</a></span>, <span class='object_link'><a href="Core/Breadcrumb.html" title="UiBibz::Ui::Core::Breadcrumb (class)">Breadcrumb</a></span>, <span class='object_link'><a href="Core/BreadcrumbLink.html" title="UiBibz::Ui::Core::BreadcrumbLink (class)">BreadcrumbLink</a></span>, <span class='object_link'><a href="Core/Button.html" title="UiBibz::Ui::Core::Button (class)">Button</a></span>, <span class='object_link'><a href="Core/ButtonDropdown.html" title="UiBibz::Ui::Core::ButtonDropdown (class)">ButtonDropdown</a></span>, <span class='object_link'><a href="Core/ButtonGroup.html" title="UiBibz::Ui::Core::ButtonGroup (class)">ButtonGroup</a></span>, <span class='object_link'><a href="Core/ButtonLink.html" title="UiBibz::Ui::Core::ButtonLink (class)">ButtonLink</a></span>, <span class='object_link'><a href="Core/ButtonSplitDropdown.html" title="UiBibz::Ui::Core::ButtonSplitDropdown (class)">ButtonSplitDropdown</a></span>, <span class='object_link'><a href="Core/Col.html" title="UiBibz::Ui::Core::Col (class)">Col</a></span>, <span class='object_link'><a href="Core/Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span>, <span class='object_link'><a href="Core/Dropdown.html" title="UiBibz::Ui::Core::Dropdown (class)">Dropdown</a></span>, <span class='object_link'><a href="Core/DropdownList.html" title="UiBibz::Ui::Core::DropdownList (class)">DropdownList</a></span>, <span class='object_link'><a href="Core/Glyph.html" title="UiBibz::Ui::Core::Glyph (class)">Glyph</a></span>, <span class='object_link'><a href="Core/Jumbotron.html" title="UiBibz::Ui::Core::Jumbotron (class)">Jumbotron</a></span>, <span class='object_link'><a href="Core/Label.html" title="UiBibz::Ui::Core::Label (class)">Label</a></span>, <span class='object_link'><a href="Core/List.html" title="UiBibz::Ui::Core::List (class)">List</a></span>, <span class='object_link'><a href="Core/ListGroup.html" title="UiBibz::Ui::Core::ListGroup (class)">ListGroup</a></span>, <span class='object_link'><a href="Core/Nav.html" title="UiBibz::Ui::Core::Nav (class)">Nav</a></span>, <span class='object_link'><a href="Core/NavDropdown.html" title="UiBibz::Ui::Core::NavDropdown (class)">NavDropdown</a></span>, <span class='object_link'><a href="Core/NavLink.html" title="UiBibz::Ui::Core::NavLink (class)">NavLink</a></span>, <span class='object_link'><a href="Core/Navbar.html" title="UiBibz::Ui::Core::Navbar (class)">Navbar</a></span>, <span class='object_link'><a href="Core/NavbarForm.html" title="UiBibz::Ui::Core::NavbarForm (class)">NavbarForm</a></span>, <span class='object_link'><a href="Core/NavbarNav.html" title="UiBibz::Ui::Core::NavbarNav (class)">NavbarNav</a></span>, <span class='object_link'><a href="Core/NavbarText.html" title="UiBibz::Ui::Core::NavbarText (class)">NavbarText</a></span>, <span class='object_link'><a href="Core/Panel.html" title="UiBibz::Ui::Core::Panel (class)">Panel</a></span>, <span class='object_link'><a href="Core/ProgressBar.html" title="UiBibz::Ui::Core::ProgressBar (class)">ProgressBar</a></span>, <span class='object_link'><a href="Core/Row.html" title="UiBibz::Ui::Core::Row (class)">Row</a></span>
|
106
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Core/Alert.html" title="UiBibz::Ui::Core::Alert (class)">Alert</a></span>, <span class='object_link'><a href="Core/Bar.html" title="UiBibz::Ui::Core::Bar (class)">Bar</a></span>, <span class='object_link'><a href="Core/Breadcrumb.html" title="UiBibz::Ui::Core::Breadcrumb (class)">Breadcrumb</a></span>, <span class='object_link'><a href="Core/BreadcrumbLink.html" title="UiBibz::Ui::Core::BreadcrumbLink (class)">BreadcrumbLink</a></span>, <span class='object_link'><a href="Core/Button.html" title="UiBibz::Ui::Core::Button (class)">Button</a></span>, <span class='object_link'><a href="Core/ButtonDropdown.html" title="UiBibz::Ui::Core::ButtonDropdown (class)">ButtonDropdown</a></span>, <span class='object_link'><a href="Core/ButtonGroup.html" title="UiBibz::Ui::Core::ButtonGroup (class)">ButtonGroup</a></span>, <span class='object_link'><a href="Core/ButtonLink.html" title="UiBibz::Ui::Core::ButtonLink (class)">ButtonLink</a></span>, <span class='object_link'><a href="Core/ButtonSplitDropdown.html" title="UiBibz::Ui::Core::ButtonSplitDropdown (class)">ButtonSplitDropdown</a></span>, <span class='object_link'><a href="Core/Col.html" title="UiBibz::Ui::Core::Col (class)">Col</a></span>, <span class='object_link'><a href="Core/Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span>, <span class='object_link'><a href="Core/Dropdown.html" title="UiBibz::Ui::Core::Dropdown (class)">Dropdown</a></span>, <span class='object_link'><a href="Core/DropdownLink.html" title="UiBibz::Ui::Core::DropdownLink (class)">DropdownLink</a></span>, <span class='object_link'><a href="Core/DropdownList.html" title="UiBibz::Ui::Core::DropdownList (class)">DropdownList</a></span>, <span class='object_link'><a href="Core/Glyph.html" title="UiBibz::Ui::Core::Glyph (class)">Glyph</a></span>, <span class='object_link'><a href="Core/Jumbotron.html" title="UiBibz::Ui::Core::Jumbotron (class)">Jumbotron</a></span>, <span class='object_link'><a href="Core/Label.html" title="UiBibz::Ui::Core::Label (class)">Label</a></span>, <span class='object_link'><a href="Core/List.html" title="UiBibz::Ui::Core::List (class)">List</a></span>, <span class='object_link'><a href="Core/ListGroup.html" title="UiBibz::Ui::Core::ListGroup (class)">ListGroup</a></span>, <span class='object_link'><a href="Core/Nav.html" title="UiBibz::Ui::Core::Nav (class)">Nav</a></span>, <span class='object_link'><a href="Core/NavDropdown.html" title="UiBibz::Ui::Core::NavDropdown (class)">NavDropdown</a></span>, <span class='object_link'><a href="Core/NavLink.html" title="UiBibz::Ui::Core::NavLink (class)">NavLink</a></span>, <span class='object_link'><a href="Core/Navbar.html" title="UiBibz::Ui::Core::Navbar (class)">Navbar</a></span>, <span class='object_link'><a href="Core/NavbarForm.html" title="UiBibz::Ui::Core::NavbarForm (class)">NavbarForm</a></span>, <span class='object_link'><a href="Core/NavbarNav.html" title="UiBibz::Ui::Core::NavbarNav (class)">NavbarNav</a></span>, <span class='object_link'><a href="Core/NavbarText.html" title="UiBibz::Ui::Core::NavbarText (class)">NavbarText</a></span>, <span class='object_link'><a href="Core/Panel.html" title="UiBibz::Ui::Core::Panel (class)">Panel</a></span>, <span class='object_link'><a href="Core/ProgressBar.html" title="UiBibz::Ui::Core::ProgressBar (class)">ProgressBar</a></span>, <span class='object_link'><a href="Core/Row.html" title="UiBibz::Ui::Core::Row (class)">Row</a></span>, <span class='object_link'><a href="Core/Stars.html" title="UiBibz::Ui::Core::Stars (class)">Stars</a></span>
|
96
107
|
|
97
108
|
|
98
109
|
</p>
|
@@ -108,7 +119,7 @@
|
|
108
119
|
</div>
|
109
120
|
|
110
121
|
<div id="footer">
|
111
|
-
Generated on
|
122
|
+
Generated on Mon Aug 31 14:08:52 2015 by
|
112
123
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
113
124
|
0.8.7.6 (ruby-1.9.3).
|
114
125
|
</div>
|
@@ -469,7 +469,7 @@
|
|
469
469
|
</div>
|
470
470
|
|
471
471
|
<div id="footer">
|
472
|
-
Generated on
|
472
|
+
Generated on Mon Aug 31 14:08:54 2015 by
|
473
473
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
474
474
|
0.8.7.6 (ruby-1.9.3).
|
475
475
|
</div>
|
@@ -131,6 +131,52 @@
|
|
131
131
|
|
132
132
|
|
133
133
|
|
134
|
+
<span class="summary_desc"><div class='inline'>
|
135
|
+
<p>Add action in table.</p>
|
136
|
+
</div></span>
|
137
|
+
|
138
|
+
</li>
|
139
|
+
|
140
|
+
|
141
|
+
<li class="public ">
|
142
|
+
<span class="summary_signature">
|
143
|
+
|
144
|
+
<a href="#format-instance_method" title="#format (instance method)">- (Object) <strong>format</strong>(&block) </a>
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
</span>
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
159
|
+
|
160
|
+
</li>
|
161
|
+
|
162
|
+
|
163
|
+
<li class="public ">
|
164
|
+
<span class="summary_signature">
|
165
|
+
|
166
|
+
<a href="#format_action-instance_method" title="#format_action (instance method)">- (Object) <strong>format_action</strong> </a>
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
</span>
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
134
180
|
<span class="summary_desc"><div class='inline'></div></span>
|
135
181
|
|
136
182
|
</li>
|
@@ -179,6 +225,30 @@
|
|
179
225
|
|
180
226
|
|
181
227
|
|
228
|
+
<span class="summary_desc"><div class='inline'>
|
229
|
+
<p>Get all actions.</p>
|
230
|
+
</div></span>
|
231
|
+
|
232
|
+
</li>
|
233
|
+
|
234
|
+
|
235
|
+
<li class="public ">
|
236
|
+
<span class="summary_signature">
|
237
|
+
|
238
|
+
<a href="#reset-instance_method" title="#reset (instance method)">- (Object) <strong>reset</strong> </a>
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
</span>
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
182
252
|
<span class="summary_desc"><div class='inline'></div></span>
|
183
253
|
|
184
254
|
</li>
|
@@ -219,14 +289,16 @@
|
|
219
289
|
5
|
220
290
|
6
|
221
291
|
7
|
222
|
-
8
|
292
|
+
8
|
293
|
+
9</pre>
|
223
294
|
</td>
|
224
295
|
<td>
|
225
296
|
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 5</span>
|
226
297
|
|
227
298
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_store'>store</span>
|
228
|
-
<span class='ivar'>@store</span>
|
229
|
-
<span class='ivar'>@actions</span>
|
299
|
+
<span class='ivar'>@store</span> <span class='op'>=</span> <span class='id identifier rubyid_store'>store</span>
|
300
|
+
<span class='ivar'>@actions</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
301
|
+
<span class='ivar'>@action_order</span> <span class='op'>=</span> <span class='op'>-</span><span class='int'>1</span>
|
230
302
|
<span class='kw'>end</span></pre>
|
231
303
|
</td>
|
232
304
|
</tr>
|
@@ -249,18 +321,29 @@
|
|
249
321
|
|
250
322
|
|
251
323
|
|
252
|
-
</h3><
|
324
|
+
</h3><div class="docstring">
|
325
|
+
<div class="discussion">
|
326
|
+
|
327
|
+
<p>Add action in table</p>
|
328
|
+
|
329
|
+
|
330
|
+
</div>
|
331
|
+
</div>
|
332
|
+
<div class="tags">
|
333
|
+
|
334
|
+
|
335
|
+
</div><table class="source_code">
|
253
336
|
<tr>
|
254
337
|
<td>
|
255
338
|
<pre class="lines">
|
256
339
|
|
257
340
|
|
258
|
-
|
259
|
-
|
260
|
-
|
341
|
+
12
|
342
|
+
13
|
343
|
+
14</pre>
|
261
344
|
</td>
|
262
345
|
<td>
|
263
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line
|
346
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 12</span>
|
264
347
|
|
265
348
|
<span class='kw'>def</span> <span class='id identifier rubyid_action'>action</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>
|
266
349
|
<span class='ivar'>@actions</span> <span class='op'><<</span> <span class='const'>TableAction</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='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>
|
@@ -268,6 +351,66 @@
|
|
268
351
|
</td>
|
269
352
|
</tr>
|
270
353
|
</table>
|
354
|
+
</div>
|
355
|
+
|
356
|
+
<div class="method_details ">
|
357
|
+
<h3 class="signature " id="format-instance_method">
|
358
|
+
|
359
|
+
- (<tt>Object</tt>) <strong>format</strong>(&block)
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
</h3><table class="source_code">
|
366
|
+
<tr>
|
367
|
+
<td>
|
368
|
+
<pre class="lines">
|
369
|
+
|
370
|
+
|
371
|
+
20
|
372
|
+
21
|
373
|
+
22</pre>
|
374
|
+
</td>
|
375
|
+
<td>
|
376
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 20</span>
|
377
|
+
|
378
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_format'>format</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
379
|
+
<span class='ivar'>@format_action</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
380
|
+
<span class='kw'>end</span></pre>
|
381
|
+
</td>
|
382
|
+
</tr>
|
383
|
+
</table>
|
384
|
+
</div>
|
385
|
+
|
386
|
+
<div class="method_details ">
|
387
|
+
<h3 class="signature " id="format_action-instance_method">
|
388
|
+
|
389
|
+
- (<tt>Object</tt>) <strong>format_action</strong>
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
</h3><table class="source_code">
|
396
|
+
<tr>
|
397
|
+
<td>
|
398
|
+
<pre class="lines">
|
399
|
+
|
400
|
+
|
401
|
+
29
|
402
|
+
30
|
403
|
+
31</pre>
|
404
|
+
</td>
|
405
|
+
<td>
|
406
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 29</span>
|
407
|
+
|
408
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_format_action'>format_action</span>
|
409
|
+
<span class='ivar'>@format_action</span>
|
410
|
+
<span class='kw'>end</span></pre>
|
411
|
+
</td>
|
412
|
+
</tr>
|
413
|
+
</table>
|
271
414
|
</div>
|
272
415
|
|
273
416
|
<div class="method_details ">
|
@@ -279,18 +422,29 @@
|
|
279
422
|
|
280
423
|
|
281
424
|
|
282
|
-
</h3><
|
425
|
+
</h3><div class="docstring">
|
426
|
+
<div class="discussion">
|
427
|
+
|
428
|
+
<p>Get all actions</p>
|
429
|
+
|
430
|
+
|
431
|
+
</div>
|
432
|
+
</div>
|
433
|
+
<div class="tags">
|
434
|
+
|
435
|
+
|
436
|
+
</div><table class="source_code">
|
283
437
|
<tr>
|
284
438
|
<td>
|
285
439
|
<pre class="lines">
|
286
440
|
|
287
441
|
|
288
|
-
|
289
|
-
|
290
|
-
|
442
|
+
25
|
443
|
+
26
|
444
|
+
27</pre>
|
291
445
|
</td>
|
292
446
|
<td>
|
293
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line
|
447
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 25</span>
|
294
448
|
|
295
449
|
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span>
|
296
450
|
<span class='ivar'>@actions</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='id identifier rubyid_defaults_actions'>defaults_actions</span> <span class='op'>:</span> <span class='ivar'>@actions</span>
|
@@ -298,6 +452,36 @@
|
|
298
452
|
</td>
|
299
453
|
</tr>
|
300
454
|
</table>
|
455
|
+
</div>
|
456
|
+
|
457
|
+
<div class="method_details ">
|
458
|
+
<h3 class="signature " id="reset-instance_method">
|
459
|
+
|
460
|
+
- (<tt>Object</tt>) <strong>reset</strong>
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
</h3><table class="source_code">
|
467
|
+
<tr>
|
468
|
+
<td>
|
469
|
+
<pre class="lines">
|
470
|
+
|
471
|
+
|
472
|
+
16
|
473
|
+
17
|
474
|
+
18</pre>
|
475
|
+
</td>
|
476
|
+
<td>
|
477
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 16</span>
|
478
|
+
|
479
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_reset'>reset</span>
|
480
|
+
<span class='ivar'>@actions</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
481
|
+
<span class='kw'>end</span></pre>
|
482
|
+
</td>
|
483
|
+
</tr>
|
484
|
+
</table>
|
301
485
|
</div>
|
302
486
|
|
303
487
|
</div>
|
@@ -305,7 +489,7 @@
|
|
305
489
|
</div>
|
306
490
|
|
307
491
|
<div id="footer">
|
308
|
-
Generated on
|
492
|
+
Generated on Mon Aug 31 14:08:54 2015 by
|
309
493
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
310
494
|
0.8.7.6 (ruby-1.9.3).
|
311
495
|
</div>
|
@@ -508,7 +508,7 @@
|
|
508
508
|
|
509
509
|
|
510
510
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Core/Component.html" title="UiBibz::Ui::Core::Component (class)">Core::Component</a></span></h3>
|
511
|
-
<p class="inherited"><span class='object_link'><a href="../Core/Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="../Core/Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="../Core/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="../Core/Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="../Core/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="../Core/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="../Core/Component.html#
|
511
|
+
<p class="inherited"><span class='object_link'><a href="../Core/Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="../Core/Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="../Core/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="../Core/Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="../Core/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="../Core/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="../Core/Component.html#render-instance_method" title="UiBibz::Ui::Core::Component#render (method)">#render</a></span>, <span class='object_link'><a href="../Core/Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span></p>
|
512
512
|
|
513
513
|
|
514
514
|
|
@@ -570,10 +570,10 @@
|
|
570
570
|
|
571
571
|
<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>
|
572
572
|
<span class='kw'>super</span>
|
573
|
-
<span class='ivar'>@
|
573
|
+
<span class='ivar'>@data_index</span> <span class='op'>=</span> <span class='ivar'>@content</span>
|
574
|
+
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span>
|
574
575
|
<span class='ivar'>@link</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:link</span><span class='rbracket'>]</span> <span class='comment'># for show or edit action
|
575
576
|
</span> <span class='ivar'>@order</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:order</span><span class='rbracket'>]</span>
|
576
|
-
<span class='ivar'>@data_index</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:data_index</span><span class='rbracket'>]</span>
|
577
577
|
<span class='ivar'>@date_format</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:date_format</span><span class='rbracket'>]</span>
|
578
578
|
<span class='ivar'>@sort</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:sort</span><span class='rbracket'>]</span>
|
579
579
|
<span class='ivar'>@custom_sort</span> <span class='op'>=</span> <span class='ivar'>@options</span><span class='lbracket'>[</span><span class='symbol'>:custom_sort</span><span class='rbracket'>]</span>
|
@@ -1168,7 +1168,7 @@
|
|
1168
1168
|
</div>
|
1169
1169
|
|
1170
1170
|
<div id="footer">
|
1171
|
-
Generated on
|
1171
|
+
Generated on Mon Aug 31 14:08:54 2015 by
|
1172
1172
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1173
1173
|
0.8.7.6 (ruby-1.9.3).
|
1174
1174
|
</div>
|
@@ -117,7 +117,7 @@
|
|
117
117
|
<li class="public ">
|
118
118
|
<span class="summary_signature">
|
119
119
|
|
120
|
-
<a href="#column-instance_method" title="#column (instance method)">- (Object) <strong>column</strong>(
|
120
|
+
<a href="#column-instance_method" title="#column (instance method)">- (Object) <strong>column</strong>(data_index = nil, options = nil, html_options = nil, &block) </a>
|
121
121
|
|
122
122
|
|
123
123
|
|
@@ -131,7 +131,9 @@
|
|
131
131
|
|
132
132
|
|
133
133
|
|
134
|
-
<span class="summary_desc"><div class='inline'
|
134
|
+
<span class="summary_desc"><div class='inline'>
|
135
|
+
<p>Add column in table.</p>
|
136
|
+
</div></span>
|
135
137
|
|
136
138
|
</li>
|
137
139
|
|
@@ -179,7 +181,9 @@
|
|
179
181
|
|
180
182
|
|
181
183
|
|
182
|
-
<span class="summary_desc"><div class='inline'
|
184
|
+
<span class="summary_desc"><div class='inline'>
|
185
|
+
<p>Get all columns.</p>
|
186
|
+
</div></span>
|
183
187
|
|
184
188
|
</li>
|
185
189
|
|
@@ -241,27 +245,38 @@
|
|
241
245
|
<div class="method_details first">
|
242
246
|
<h3 class="signature first" id="column-instance_method">
|
243
247
|
|
244
|
-
- (<tt>Object</tt>) <strong>column</strong>(
|
248
|
+
- (<tt>Object</tt>) <strong>column</strong>(data_index = nil, options = nil, html_options = nil, &block)
|
245
249
|
|
246
250
|
|
247
251
|
|
248
252
|
|
249
253
|
|
250
|
-
</h3><
|
254
|
+
</h3><div class="docstring">
|
255
|
+
<div class="discussion">
|
256
|
+
|
257
|
+
<p>Add column in table</p>
|
258
|
+
|
259
|
+
|
260
|
+
</div>
|
261
|
+
</div>
|
262
|
+
<div class="tags">
|
263
|
+
|
264
|
+
|
265
|
+
</div><table class="source_code">
|
251
266
|
<tr>
|
252
267
|
<td>
|
253
268
|
<pre class="lines">
|
254
269
|
|
255
270
|
|
256
|
-
8
|
257
271
|
9
|
258
|
-
10
|
272
|
+
10
|
273
|
+
11</pre>
|
259
274
|
</td>
|
260
275
|
<td>
|
261
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/columns.rb', line
|
276
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/columns.rb', line 9</span>
|
262
277
|
|
263
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_column'>column</span> <span class='id identifier
|
264
|
-
<span class='ivar'>@columns</span> <span class='op'><<</span> <span class='const'>Column</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier
|
278
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_column'>column</span> <span class='id identifier rubyid_data_index'>data_index</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>
|
279
|
+
<span class='ivar'>@columns</span> <span class='op'><<</span> <span class='const'>Column</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_data_index'>data_index</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><span class='rparen'>)</span>
|
265
280
|
<span class='kw'>end</span></pre>
|
266
281
|
</td>
|
267
282
|
</tr>
|
@@ -277,18 +292,29 @@
|
|
277
292
|
|
278
293
|
|
279
294
|
|
280
|
-
</h3><
|
295
|
+
</h3><div class="docstring">
|
296
|
+
<div class="discussion">
|
297
|
+
|
298
|
+
<p>Get all columns</p>
|
299
|
+
|
300
|
+
|
301
|
+
</div>
|
302
|
+
</div>
|
303
|
+
<div class="tags">
|
304
|
+
|
305
|
+
|
306
|
+
</div><table class="source_code">
|
281
307
|
<tr>
|
282
308
|
<td>
|
283
309
|
<pre class="lines">
|
284
310
|
|
285
311
|
|
286
|
-
|
287
|
-
|
288
|
-
|
312
|
+
14
|
313
|
+
15
|
314
|
+
16</pre>
|
289
315
|
</td>
|
290
316
|
<td>
|
291
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/columns.rb', line
|
317
|
+
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/columns.rb', line 14</span>
|
292
318
|
|
293
319
|
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span>
|
294
320
|
<span class='ivar'>@columns</span>
|
@@ -303,7 +329,7 @@
|
|
303
329
|
</div>
|
304
330
|
|
305
331
|
<div id="footer">
|
306
|
-
Generated on
|
332
|
+
Generated on Mon Aug 31 14:08:54 2015 by
|
307
333
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
308
334
|
0.8.7.6 (ruby-1.9.3).
|
309
335
|
</div>
|