ui_bibz 2.0.0.alpha10 → 2.0.0.alpha11
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 +4 -4
- data/Gemfile.lock +9 -7
- data/app/assets/stylesheets/table.sass +2 -0
- data/app/assets/stylesheets/ui_bibz.sass +0 -2
- data/lib/ui_bibz/ui/core/alert.rb +4 -4
- data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +2 -2
- data/lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb +2 -2
- data/lib/ui_bibz/ui/core/button/button.rb +10 -10
- data/lib/ui_bibz/ui/core/button/button_choice.rb +5 -5
- data/lib/ui_bibz/ui/core/button/button_dropdown.rb +3 -3
- data/lib/ui_bibz/ui/core/button/button_group.rb +5 -1
- data/lib/ui_bibz/ui/core/button/button_link.rb +2 -2
- data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +5 -5
- data/lib/ui_bibz/ui/core/card/card.rb +4 -4
- data/lib/ui_bibz/ui/core/card/components/block/card_block_text.rb +1 -1
- data/lib/ui_bibz/ui/core/component.rb +7 -7
- data/lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb +2 -2
- data/lib/ui_bibz/ui/core/dropdown/dropdown.rb +6 -6
- data/lib/ui_bibz/ui/core/glyph.rb +3 -3
- data/lib/ui_bibz/ui/core/input/autocomplete_field.rb +7 -1
- data/lib/ui_bibz/ui/core/input/dropdown_select_field.rb +2 -2
- data/lib/ui_bibz/ui/core/input/formula_field.rb +1 -1
- data/lib/ui_bibz/ui/core/input/multi_select_field.rb +2 -2
- data/lib/ui_bibz/ui/core/input/surround_field.rb +9 -1
- data/lib/ui_bibz/ui/core/input/switch_field.rb +4 -4
- data/lib/ui_bibz/ui/core/label.rb +4 -4
- data/lib/ui_bibz/ui/core/list/components/list.rb +7 -7
- data/lib/ui_bibz/ui/core/list/list_group.rb +5 -5
- data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +2 -2
- data/lib/ui_bibz/ui/core/nav/components/nav_link.rb +3 -3
- data/lib/ui_bibz/ui/core/nav/components/nav_link_link.rb +1 -1
- data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +1 -1
- data/lib/ui_bibz/ui/core/nav/nav.rb +1 -1
- data/lib/ui_bibz/ui/core/nav/navbar.rb +3 -3
- data/lib/ui_bibz/ui/core/progress.rb +5 -5
- data/lib/ui_bibz/ui/core/stars.rb +3 -3
- data/lib/ui_bibz/ui/ux/table/components/actions.rb +4 -0
- data/lib/ui_bibz/ui/ux/table/components/as.rb +8 -4
- data/lib/ui_bibz/ui/ux/table/components/column.rb +17 -16
- data/lib/ui_bibz/ui/ux/table/components/thead.rb +4 -4
- data/lib/ui_bibz/ui/ux/table/table.rb +8 -8
- data/lib/ui_bibz/ui/ux/table/table_card.rb +4 -4
- data/lib/ui_bibz/version.rb +1 -1
- data/test/dummy/db/schema.rb +1 -1
- data/test/ui/breadcrumb_test.rb +2 -2
- data/test/ui/button_test.rb +24 -24
- data/test/ui/card_test.rb +5 -5
- data/test/ui/component_test.rb +2 -2
- data/test/ui/dropdown_test.rb +1 -1
- data/test/ui/input_switch_field_test.rb +3 -3
- data/test/ui/inputs_test.rb +5 -5
- data/test/ui/list_group_test.rb +5 -5
- data/test/ui/nav_test.rb +3 -3
- data/test/ui/stars_test.rb +2 -2
- data/test/ui/table_test.rb +7 -7
- data/test/ui_helper_test.rb +16 -16
- data/ui_bibz.gemspec +2 -2
- metadata +5 -109
- data/doc/UiBibz.html +0 -129
- data/doc/UiBibz/Concerns.html +0 -115
- data/doc/UiBibz/Concerns/Models.html +0 -115
- data/doc/UiBibz/Concerns/Models/Searchable.html +0 -120
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +0 -174
- data/doc/UiBibz/Helpers.html +0 -115
- data/doc/UiBibz/Helpers/MetaHelper.html +0 -273
- data/doc/UiBibz/Helpers/UiCoreHelper.html +0 -1234
- data/doc/UiBibz/Helpers/UiUxHelper.html +0 -463
- data/doc/UiBibz/Helpers/UtilsHelper.html +0 -187
- data/doc/UiBibz/Rails.html +0 -115
- data/doc/UiBibz/Rails/Engine.html +0 -123
- data/doc/UiBibz/Ui.html +0 -119
- data/doc/UiBibz/Ui/Base.html +0 -304
- data/doc/UiBibz/Ui/Core.html +0 -128
- data/doc/UiBibz/Ui/Core/Alert.html +0 -383
- data/doc/UiBibz/Ui/Core/Bar.html +0 -372
- data/doc/UiBibz/Ui/Core/Breadcrumb.html +0 -442
- data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +0 -369
- data/doc/UiBibz/Ui/Core/Button.html +0 -380
- data/doc/UiBibz/Ui/Core/ButtonDropdown.html +0 -401
- data/doc/UiBibz/Ui/Core/ButtonGroup.html +0 -372
- data/doc/UiBibz/Ui/Core/ButtonLink.html +0 -382
- data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +0 -403
- data/doc/UiBibz/Ui/Core/Col.html +0 -373
- data/doc/UiBibz/Ui/Core/Component.html +0 -1087
- data/doc/UiBibz/Ui/Core/Dropdown.html +0 -663
- data/doc/UiBibz/Ui/Core/DropdownDivider.html +0 -301
- data/doc/UiBibz/Ui/Core/DropdownHeader.html +0 -355
- data/doc/UiBibz/Ui/Core/DropdownLink.html +0 -376
- data/doc/UiBibz/Ui/Core/DropdownList.html +0 -382
- data/doc/UiBibz/Ui/Core/Glyph.html +0 -385
- data/doc/UiBibz/Ui/Core/Jumbotron.html +0 -379
- data/doc/UiBibz/Ui/Core/Label.html +0 -379
- data/doc/UiBibz/Ui/Core/List.html +0 -528
- data/doc/UiBibz/Ui/Core/ListGroup.html +0 -474
- data/doc/UiBibz/Ui/Core/Modal.html +0 -543
- data/doc/UiBibz/Ui/Core/ModalBody.html +0 -353
- data/doc/UiBibz/Ui/Core/ModalFooter.html +0 -353
- data/doc/UiBibz/Ui/Core/ModalHeader.html +0 -359
- data/doc/UiBibz/Ui/Core/Nav.html +0 -515
- data/doc/UiBibz/Ui/Core/NavDropdown.html +0 -391
- data/doc/UiBibz/Ui/Core/NavLink.html +0 -364
- data/doc/UiBibz/Ui/Core/Navbar.html +0 -646
- data/doc/UiBibz/Ui/Core/NavbarForm.html +0 -364
- data/doc/UiBibz/Ui/Core/NavbarNav.html +0 -302
- data/doc/UiBibz/Ui/Core/NavbarText.html +0 -355
- data/doc/UiBibz/Ui/Core/Panel.html +0 -617
- data/doc/UiBibz/Ui/Core/ProgressBar.html +0 -462
- data/doc/UiBibz/Ui/Core/Row.html +0 -350
- data/doc/UiBibz/Ui/Core/Stars.html +0 -371
- data/doc/UiBibz/Ui/Ux.html +0 -128
- data/doc/UiBibz/Ui/Ux/Actionable.html +0 -478
- data/doc/UiBibz/Ui/Ux/Actions.html +0 -602
- data/doc/UiBibz/Ui/Ux/Column.html +0 -1249
- data/doc/UiBibz/Ui/Ux/Columns.html +0 -338
- data/doc/UiBibz/Ui/Ux/Grid.html +0 -485
- data/doc/UiBibz/Ui/Ux/Paginable.html +0 -381
- data/doc/UiBibz/Ui/Ux/Searchable.html +0 -376
- data/doc/UiBibz/Ui/Ux/Sortable.html +0 -300
- data/doc/UiBibz/Ui/Ux/Store.html +0 -1176
- data/doc/UiBibz/Ui/Ux/Table.html +0 -694
- data/doc/UiBibz/Ui/Ux/TableAction.html +0 -309
- data/doc/UiBibz/Ui/Ux/TablePagination.html +0 -342
- data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +0 -348
- data/doc/UiBibz/Ui/Ux/TablePanel.html +0 -680
- data/doc/UiBibz/Ui/Ux/TableSearchField.html +0 -304
- data/doc/UiBibz/Utils.html +0 -115
- data/doc/UiBibz/Utils/Internationalization.html +0 -262
- data/doc/_index.html +0 -706
- data/doc/class_list.html +0 -58
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -57
- data/doc/css/style.css +0 -339
- data/doc/file.README.html +0 -1261
- data/doc/file_list.html +0 -60
- data/doc/frames.html +0 -26
- data/doc/images/alert.png +0 -0
- data/doc/images/breadcrumb.png +0 -0
- data/doc/images/button.png +0 -0
- data/doc/images/button_dropdown.png +0 -0
- data/doc/images/button_group.png +0 -0
- data/doc/images/button_link.png +0 -0
- data/doc/images/button_split_dropdown.png +0 -0
- data/doc/images/etiquette.png +0 -0
- data/doc/images/glyph.png +0 -0
- data/doc/images/list.png +0 -0
- data/doc/images/modal.png +0 -0
- data/doc/images/nav.png +0 -0
- data/doc/images/navbar.png +0 -0
- data/doc/images/panel.png +0 -0
- data/doc/images/progress_bar.png +0 -0
- data/doc/images/stars.png +0 -0
- data/doc/images/table.png +0 -0
- data/doc/images/table_pagination_per_page.png +0 -0
- data/doc/images/table_panel.png +0 -0
- data/doc/images/table_search_field.png +0 -0
- data/doc/images/ui-bibz-logo-without-border.gif +0 -0
- data/doc/images/ui-bibz-logo.gif +0 -0
- data/doc/index.html +0 -1261
- data/doc/js/app.js +0 -219
- data/doc/js/full_list.js +0 -181
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1329
- data/doc/top-level-namespace.html +0 -112
@@ -1,602 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: UiBibz::Ui::Ux::Actions
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.6
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
hasFrames = window.top.frames.main ? true : false;
|
19
|
-
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!UiBibz/Ui/Ux/Actions.html";
|
21
|
-
</script>
|
22
|
-
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
|
27
|
-
|
28
|
-
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="header">
|
32
|
-
<div id="menu">
|
33
|
-
|
34
|
-
<a href="../../../_index.html">Index (A)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> » <span class='title'><span class='object_link'><a href="../../Ui.html" title="UiBibz::Ui (module)">Ui</a></span></span> » <span class='title'><span class='object_link'><a href="../Ux.html" title="UiBibz::Ui::Ux (module)">Ux</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">Actions</span>
|
38
|
-
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="search">
|
44
|
-
|
45
|
-
<a class="full_list_link" id="class_list_link"
|
46
|
-
href="../../../class_list.html">
|
47
|
-
Class List
|
48
|
-
</a>
|
49
|
-
|
50
|
-
<a class="full_list_link" id="method_list_link"
|
51
|
-
href="../../../method_list.html">
|
52
|
-
Method List
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../../file_list.html">
|
57
|
-
File List
|
58
|
-
</a>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
<div class="clear"></div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: UiBibz::Ui::Ux::Actions
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
73
|
-
|
74
|
-
<dt class="r1">Inherits:</dt>
|
75
|
-
<dd class="r1">
|
76
|
-
<span class="inheritName">Object</span>
|
77
|
-
|
78
|
-
<ul class="fullTree">
|
79
|
-
<li>Object</li>
|
80
|
-
|
81
|
-
<li class="next">UiBibz::Ui::Ux::Actions</li>
|
82
|
-
|
83
|
-
</ul>
|
84
|
-
<a href="#" class="inheritanceTree">show all</a>
|
85
|
-
|
86
|
-
</dd>
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<dt class="r2 last">Defined in:</dt>
|
97
|
-
<dd class="r2 last">lib/ui_bibz/ui/ux/table/components/actions.rb</dd>
|
98
|
-
|
99
|
-
</dl>
|
100
|
-
<div class="clear"></div>
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<h2>
|
111
|
-
Instance Method Summary
|
112
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
113
|
-
</h2>
|
114
|
-
|
115
|
-
<ul class="summary">
|
116
|
-
|
117
|
-
<li class="public ">
|
118
|
-
<span class="summary_signature">
|
119
|
-
|
120
|
-
<a href="#divider-instance_method" title="#divider (instance method)">- (Object) <strong>divider</strong> </a>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
</span>
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
135
|
-
|
136
|
-
</li>
|
137
|
-
|
138
|
-
|
139
|
-
<li class="public ">
|
140
|
-
<span class="summary_signature">
|
141
|
-
|
142
|
-
<a href="#format-instance_method" title="#format (instance method)">- (Object) <strong>format</strong>(&block) </a>
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
</span>
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
157
|
-
|
158
|
-
</li>
|
159
|
-
|
160
|
-
|
161
|
-
<li class="public ">
|
162
|
-
<span class="summary_signature">
|
163
|
-
|
164
|
-
<a href="#format_action-instance_method" title="#format_action (instance method)">- (Object) <strong>format_action</strong> </a>
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
</span>
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
179
|
-
|
180
|
-
</li>
|
181
|
-
|
182
|
-
|
183
|
-
<li class="public ">
|
184
|
-
<span class="summary_signature">
|
185
|
-
|
186
|
-
<a href="#header-instance_method" title="#header (instance method)">- (Object) <strong>header</strong>(content = nil, options = nil, html_options = nil, &block) </a>
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
</span>
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
201
|
-
|
202
|
-
</li>
|
203
|
-
|
204
|
-
|
205
|
-
<li class="public ">
|
206
|
-
<span class="summary_signature">
|
207
|
-
|
208
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Actions) <strong>initialize</strong>(store) </a>
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
</span>
|
213
|
-
|
214
|
-
|
215
|
-
<span class="note title constructor">constructor</span>
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
<span class="summary_desc"><div class='inline'>
|
225
|
-
<p>A new instance of Actions.</p>
|
226
|
-
</div></span>
|
227
|
-
|
228
|
-
</li>
|
229
|
-
|
230
|
-
|
231
|
-
<li class="public ">
|
232
|
-
<span class="summary_signature">
|
233
|
-
|
234
|
-
<a href="#link-instance_method" title="#link (instance method)">- (Object) <strong>link</strong>(content = nil, options = nil, html_options = nil, &block) </a>
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
</span>
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
<span class="summary_desc"><div class='inline'>
|
249
|
-
<p>Add link action in table.</p>
|
250
|
-
</div></span>
|
251
|
-
|
252
|
-
</li>
|
253
|
-
|
254
|
-
|
255
|
-
<li class="public ">
|
256
|
-
<span class="summary_signature">
|
257
|
-
|
258
|
-
<a href="#list-instance_method" title="#list (instance method)">- (Object) <strong>list</strong> </a>
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
</span>
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
<span class="summary_desc"><div class='inline'>
|
273
|
-
<p>Get all actions.</p>
|
274
|
-
</div></span>
|
275
|
-
|
276
|
-
</li>
|
277
|
-
|
278
|
-
|
279
|
-
<li class="public ">
|
280
|
-
<span class="summary_signature">
|
281
|
-
|
282
|
-
<a href="#reset-instance_method" title="#reset (instance method)">- (Object) <strong>reset</strong> </a>
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
</span>
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
297
|
-
|
298
|
-
</li>
|
299
|
-
|
300
|
-
|
301
|
-
</ul>
|
302
|
-
|
303
|
-
|
304
|
-
<div id="constructor_details" class="method_details_list">
|
305
|
-
<h2>Constructor Details</h2>
|
306
|
-
|
307
|
-
<div class="method_details first">
|
308
|
-
<h3 class="signature first" id="initialize-instance_method">
|
309
|
-
|
310
|
-
- (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Ux::Actions (class)">Actions</a></span></tt>) <strong>initialize</strong>(store)
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
</h3><div class="docstring">
|
317
|
-
<div class="discussion">
|
318
|
-
|
319
|
-
<p>Returns a new instance of Actions</p>
|
320
|
-
|
321
|
-
|
322
|
-
</div>
|
323
|
-
</div>
|
324
|
-
<div class="tags">
|
325
|
-
|
326
|
-
|
327
|
-
</div><table class="source_code">
|
328
|
-
<tr>
|
329
|
-
<td>
|
330
|
-
<pre class="lines">
|
331
|
-
|
332
|
-
|
333
|
-
7
|
334
|
-
8
|
335
|
-
9
|
336
|
-
10
|
337
|
-
11</pre>
|
338
|
-
</td>
|
339
|
-
<td>
|
340
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 7</span>
|
341
|
-
|
342
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_store'>store</span>
|
343
|
-
<span class='ivar'>@store</span> <span class='op'>=</span> <span class='id identifier rubyid_store'>store</span>
|
344
|
-
<span class='ivar'>@actions</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
345
|
-
<span class='ivar'>@action_order</span> <span class='op'>=</span> <span class='op'>-</span><span class='int'>1</span>
|
346
|
-
<span class='kw'>end</span></pre>
|
347
|
-
</td>
|
348
|
-
</tr>
|
349
|
-
</table>
|
350
|
-
</div>
|
351
|
-
|
352
|
-
</div>
|
353
|
-
|
354
|
-
|
355
|
-
<div id="instance_method_details" class="method_details_list">
|
356
|
-
<h2>Instance Method Details</h2>
|
357
|
-
|
358
|
-
|
359
|
-
<div class="method_details first">
|
360
|
-
<h3 class="signature first" id="divider-instance_method">
|
361
|
-
|
362
|
-
- (<tt>Object</tt>) <strong>divider</strong>
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
</h3><table class="source_code">
|
369
|
-
<tr>
|
370
|
-
<td>
|
371
|
-
<pre class="lines">
|
372
|
-
|
373
|
-
|
374
|
-
18
|
375
|
-
19
|
376
|
-
20</pre>
|
377
|
-
</td>
|
378
|
-
<td>
|
379
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 18</span>
|
380
|
-
|
381
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_divider'>divider</span>
|
382
|
-
<span class='ivar'>@actions</span> <span class='op'><<</span> <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'>DropdownDivider</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
|
383
|
-
<span class='kw'>end</span></pre>
|
384
|
-
</td>
|
385
|
-
</tr>
|
386
|
-
</table>
|
387
|
-
</div>
|
388
|
-
|
389
|
-
<div class="method_details ">
|
390
|
-
<h3 class="signature " id="format-instance_method">
|
391
|
-
|
392
|
-
- (<tt>Object</tt>) <strong>format</strong>(&block)
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
</h3><table class="source_code">
|
399
|
-
<tr>
|
400
|
-
<td>
|
401
|
-
<pre class="lines">
|
402
|
-
|
403
|
-
|
404
|
-
30
|
405
|
-
31
|
406
|
-
32</pre>
|
407
|
-
</td>
|
408
|
-
<td>
|
409
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 30</span>
|
410
|
-
|
411
|
-
<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>
|
412
|
-
<span class='ivar'>@format_action</span> <span class='op'>=</span> <span class='id identifier rubyid_block'>block</span>
|
413
|
-
<span class='kw'>end</span></pre>
|
414
|
-
</td>
|
415
|
-
</tr>
|
416
|
-
</table>
|
417
|
-
</div>
|
418
|
-
|
419
|
-
<div class="method_details ">
|
420
|
-
<h3 class="signature " id="format_action-instance_method">
|
421
|
-
|
422
|
-
- (<tt>Object</tt>) <strong>format_action</strong>
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
</h3><table class="source_code">
|
429
|
-
<tr>
|
430
|
-
<td>
|
431
|
-
<pre class="lines">
|
432
|
-
|
433
|
-
|
434
|
-
39
|
435
|
-
40
|
436
|
-
41</pre>
|
437
|
-
</td>
|
438
|
-
<td>
|
439
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 39</span>
|
440
|
-
|
441
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_format_action'>format_action</span>
|
442
|
-
<span class='ivar'>@format_action</span>
|
443
|
-
<span class='kw'>end</span></pre>
|
444
|
-
</td>
|
445
|
-
</tr>
|
446
|
-
</table>
|
447
|
-
</div>
|
448
|
-
|
449
|
-
<div class="method_details ">
|
450
|
-
<h3 class="signature " id="header-instance_method">
|
451
|
-
|
452
|
-
- (<tt>Object</tt>) <strong>header</strong>(content = nil, options = nil, html_options = nil, &block)
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
</h3><table class="source_code">
|
459
|
-
<tr>
|
460
|
-
<td>
|
461
|
-
<pre class="lines">
|
462
|
-
|
463
|
-
|
464
|
-
22
|
465
|
-
23
|
466
|
-
24</pre>
|
467
|
-
</td>
|
468
|
-
<td>
|
469
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 22</span>
|
470
|
-
|
471
|
-
<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>
|
472
|
-
<span class='ivar'>@actions</span> <span class='op'><<</span> <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'>DropdownHeader</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>
|
473
|
-
<span class='kw'>end</span></pre>
|
474
|
-
</td>
|
475
|
-
</tr>
|
476
|
-
</table>
|
477
|
-
</div>
|
478
|
-
|
479
|
-
<div class="method_details ">
|
480
|
-
<h3 class="signature " id="link-instance_method">
|
481
|
-
|
482
|
-
- (<tt>Object</tt>) <strong>link</strong>(content = nil, options = nil, html_options = nil, &block)
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
</h3><div class="docstring">
|
489
|
-
<div class="discussion">
|
490
|
-
|
491
|
-
<p>Add link action in table</p>
|
492
|
-
|
493
|
-
|
494
|
-
</div>
|
495
|
-
</div>
|
496
|
-
<div class="tags">
|
497
|
-
|
498
|
-
|
499
|
-
</div><table class="source_code">
|
500
|
-
<tr>
|
501
|
-
<td>
|
502
|
-
<pre class="lines">
|
503
|
-
|
504
|
-
|
505
|
-
14
|
506
|
-
15
|
507
|
-
16</pre>
|
508
|
-
</td>
|
509
|
-
<td>
|
510
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 14</span>
|
511
|
-
|
512
|
-
<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='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>
|
513
|
-
<span class='ivar'>@actions</span> <span class='op'><<</span> <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'>DropdownLink</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>
|
514
|
-
<span class='kw'>end</span></pre>
|
515
|
-
</td>
|
516
|
-
</tr>
|
517
|
-
</table>
|
518
|
-
</div>
|
519
|
-
|
520
|
-
<div class="method_details ">
|
521
|
-
<h3 class="signature " id="list-instance_method">
|
522
|
-
|
523
|
-
- (<tt>Object</tt>) <strong>list</strong>
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
</h3><div class="docstring">
|
530
|
-
<div class="discussion">
|
531
|
-
|
532
|
-
<p>Get all actions</p>
|
533
|
-
|
534
|
-
|
535
|
-
</div>
|
536
|
-
</div>
|
537
|
-
<div class="tags">
|
538
|
-
|
539
|
-
|
540
|
-
</div><table class="source_code">
|
541
|
-
<tr>
|
542
|
-
<td>
|
543
|
-
<pre class="lines">
|
544
|
-
|
545
|
-
|
546
|
-
35
|
547
|
-
36
|
548
|
-
37</pre>
|
549
|
-
</td>
|
550
|
-
<td>
|
551
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 35</span>
|
552
|
-
|
553
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span>
|
554
|
-
<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>
|
555
|
-
<span class='kw'>end</span></pre>
|
556
|
-
</td>
|
557
|
-
</tr>
|
558
|
-
</table>
|
559
|
-
</div>
|
560
|
-
|
561
|
-
<div class="method_details ">
|
562
|
-
<h3 class="signature " id="reset-instance_method">
|
563
|
-
|
564
|
-
- (<tt>Object</tt>) <strong>reset</strong>
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
</h3><table class="source_code">
|
571
|
-
<tr>
|
572
|
-
<td>
|
573
|
-
<pre class="lines">
|
574
|
-
|
575
|
-
|
576
|
-
26
|
577
|
-
27
|
578
|
-
28</pre>
|
579
|
-
</td>
|
580
|
-
<td>
|
581
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/actions.rb', line 26</span>
|
582
|
-
|
583
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_reset'>reset</span>
|
584
|
-
<span class='ivar'>@actions</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
585
|
-
<span class='kw'>end</span></pre>
|
586
|
-
</td>
|
587
|
-
</tr>
|
588
|
-
</table>
|
589
|
-
</div>
|
590
|
-
|
591
|
-
</div>
|
592
|
-
|
593
|
-
</div>
|
594
|
-
|
595
|
-
<div id="footer">
|
596
|
-
Generated on Mon Oct 19 15:25:16 2015 by
|
597
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
598
|
-
0.8.7.6 (ruby-2.2.3).
|
599
|
-
</div>
|
600
|
-
|
601
|
-
</body>
|
602
|
-
</html>
|