phlex-rails 1.1.2 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +4 -6
- data/Gemfile +3 -5
- data/lib/generators/phlex/component/USAGE +1 -1
- data/lib/generators/phlex/component/templates/component.rb.erb +1 -1
- data/lib/generators/phlex/install/install_generator.rb +1 -2
- data/lib/generators/phlex/install/templates/application_layout.rb +1 -1
- data/lib/generators/phlex/view/templates/view.rb.erb +1 -1
- data/lib/phlex/rails/csv.rb +16 -0
- data/lib/phlex/rails/fragment_finder.rb +28 -0
- data/lib/phlex/rails/helper_macros.rb +11 -31
- data/lib/phlex/rails/helpers/action_cable_meta_tag.rb +11 -0
- data/lib/phlex/rails/helpers/action_name.rb +10 -0
- data/lib/phlex/rails/helpers/asset_path.rb +15 -0
- data/lib/phlex/rails/helpers/asset_url.rb +8 -0
- data/lib/phlex/rails/helpers/audio_path.rb +8 -0
- data/lib/phlex/rails/helpers/audio_tag.rb +9 -0
- data/lib/phlex/rails/helpers/audio_url.rb +8 -0
- data/lib/phlex/rails/helpers/auto_discovery_link_tag.rb +9 -0
- data/lib/phlex/rails/helpers/build_tag_values.rb +8 -0
- data/lib/phlex/rails/helpers/button_tag.rb +9 -0
- data/lib/phlex/rails/helpers/button_to.rb +9 -0
- data/lib/phlex/rails/helpers/check_box.rb +9 -0
- data/lib/phlex/rails/helpers/check_box_tag.rb +9 -0
- data/lib/phlex/rails/helpers/class_names.rb +8 -0
- data/lib/phlex/rails/helpers/collection_check_boxes.rb +10 -0
- data/lib/phlex/rails/helpers/collection_radio_buttons.rb +10 -0
- data/lib/phlex/rails/helpers/collection_select.rb +9 -0
- data/lib/phlex/rails/helpers/color_field.rb +9 -0
- data/lib/phlex/rails/helpers/color_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/compute_asset_extname.rb +8 -0
- data/lib/phlex/rails/helpers/compute_asset_host.rb +8 -0
- data/lib/phlex/rails/helpers/compute_asset_path.rb +8 -0
- data/lib/phlex/rails/helpers/content_for.rb +11 -0
- data/lib/phlex/rails/helpers/content_tag.rb +9 -0
- data/lib/phlex/rails/helpers/controller_name.rb +8 -0
- data/lib/phlex/rails/helpers/controller_path.rb +8 -0
- data/lib/phlex/rails/helpers/csp_meta_tag.rb +9 -0
- data/lib/phlex/rails/helpers/csrf_meta_tags.rb +9 -0
- data/lib/phlex/rails/helpers/current_cycle.rb +8 -0
- data/lib/phlex/rails/helpers/current_page.rb +8 -0
- data/lib/phlex/rails/helpers/cycle.rb +8 -0
- data/lib/phlex/rails/helpers/date_field.rb +9 -0
- data/lib/phlex/rails/helpers/date_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/date_select.rb +9 -0
- data/lib/phlex/rails/helpers/datetime_field.rb +9 -0
- data/lib/phlex/rails/helpers/datetime_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/datetime_local_field.rb +9 -0
- data/lib/phlex/rails/helpers/datetime_local_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/datetime_select.rb +9 -0
- data/lib/phlex/rails/helpers/debug.rb +9 -0
- data/lib/phlex/rails/helpers/default_url_options.rb +8 -0
- data/lib/phlex/rails/helpers/distance_of_time_in_words.rb +8 -0
- data/lib/phlex/rails/helpers/distance_of_time_in_words_to_now.rb +8 -0
- data/lib/phlex/rails/helpers/dom_class.rb +8 -0
- data/lib/phlex/rails/helpers/dom_id.rb +8 -0
- data/lib/phlex/rails/helpers/email_field.rb +9 -0
- data/lib/phlex/rails/helpers/email_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/error_message.rb +8 -0
- data/lib/phlex/rails/helpers/error_wrapping.rb +9 -0
- data/lib/phlex/rails/helpers/escape_once.rb +8 -0
- data/lib/phlex/rails/helpers/excerpt.rb +8 -0
- data/lib/phlex/rails/helpers/favicon_link_tag.rb +9 -0
- data/lib/phlex/rails/helpers/field_id.rb +8 -0
- data/lib/phlex/rails/helpers/field_name.rb +8 -0
- data/lib/phlex/rails/helpers/field_set_tag.rb +9 -0
- data/lib/phlex/rails/helpers/fields.rb +10 -0
- data/lib/phlex/rails/helpers/fields_for.rb +10 -0
- data/lib/phlex/rails/helpers/file_field.rb +9 -0
- data/lib/phlex/rails/helpers/file_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/flash.rb +8 -0
- data/lib/phlex/rails/helpers/font_path.rb +8 -0
- data/lib/phlex/rails/helpers/font_url.rb +8 -0
- data/lib/phlex/rails/helpers/form_for.rb +10 -0
- data/lib/phlex/rails/helpers/form_tag.rb +9 -0
- data/lib/phlex/rails/helpers/form_with.rb +10 -0
- data/lib/phlex/rails/helpers/grouped_collection_select.rb +9 -0
- data/lib/phlex/rails/helpers/grouped_options_for_select.rb +9 -0
- data/lib/phlex/rails/helpers/hidden_field.rb +9 -0
- data/lib/phlex/rails/helpers/hidden_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/highlight.rb +9 -0
- data/lib/phlex/rails/helpers/image_path.rb +8 -0
- data/lib/phlex/rails/helpers/image_submit_tag.rb +9 -0
- data/lib/phlex/rails/helpers/image_tag.rb +9 -0
- data/lib/phlex/rails/helpers/image_url.rb +8 -0
- data/lib/phlex/rails/helpers/javascript_import_module_tag.rb +9 -0
- data/lib/phlex/rails/helpers/javascript_importmap_tags.rb +9 -0
- data/lib/phlex/rails/helpers/javascript_include_tag.rb +9 -0
- data/lib/phlex/rails/helpers/javascript_path.rb +8 -0
- data/lib/phlex/rails/helpers/javascript_tag.rb +9 -0
- data/lib/phlex/rails/helpers/javascript_url.rb +8 -0
- data/lib/phlex/rails/helpers/l.rb +8 -0
- data/lib/phlex/rails/helpers/label.rb +8 -0
- data/lib/phlex/rails/helpers/label_tag.rb +9 -0
- data/lib/phlex/rails/helpers/link_to.rb +9 -0
- data/lib/phlex/rails/helpers/link_to_if.rb +9 -0
- data/lib/phlex/rails/helpers/link_to_unless.rb +9 -0
- data/lib/phlex/rails/helpers/link_to_unless_current.rb +9 -0
- data/lib/phlex/rails/helpers/localize.rb +8 -0
- data/lib/phlex/rails/helpers/mail_to.rb +9 -0
- data/lib/phlex/rails/helpers/month_field.rb +9 -0
- data/lib/phlex/rails/helpers/month_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/number_field.rb +9 -0
- data/lib/phlex/rails/helpers/number_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/number_to_currency.rb +8 -0
- data/lib/phlex/rails/helpers/number_to_human.rb +8 -0
- data/lib/phlex/rails/helpers/number_to_human_size.rb +8 -0
- data/lib/phlex/rails/helpers/number_to_percentage.rb +8 -0
- data/lib/phlex/rails/helpers/number_to_phone.rb +8 -0
- data/lib/phlex/rails/helpers/number_with_delimiter.rb +8 -0
- data/lib/phlex/rails/helpers/number_with_precision.rb +8 -0
- data/lib/phlex/rails/helpers/object.rb +8 -0
- data/lib/phlex/rails/helpers/option_groups_from_collection_for_select.rb +9 -0
- data/lib/phlex/rails/helpers/options_for_select.rb +9 -0
- data/lib/phlex/rails/helpers/options_from_collection_for_select.rb +9 -0
- data/lib/phlex/rails/helpers/password_field.rb +9 -0
- data/lib/phlex/rails/helpers/password_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/path_to_asset.rb +8 -0
- data/lib/phlex/rails/helpers/path_to_audio.rb +8 -0
- data/lib/phlex/rails/helpers/path_to_font.rb +8 -0
- data/lib/phlex/rails/helpers/path_to_image.rb +8 -0
- data/lib/phlex/rails/helpers/path_to_javascript.rb +8 -0
- data/lib/phlex/rails/helpers/path_to_stylesheet.rb +8 -0
- data/lib/phlex/rails/helpers/path_to_video.rb +8 -0
- data/lib/phlex/rails/helpers/phone_field.rb +9 -0
- data/lib/phlex/rails/helpers/phone_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/phone_to.rb +9 -0
- data/lib/phlex/rails/helpers/pluralize.rb +9 -0
- data/lib/phlex/rails/helpers/preload_link_tag.rb +9 -0
- data/lib/phlex/rails/helpers/provide.rb +8 -0
- data/lib/phlex/rails/helpers/public_compute_asset_path.rb +8 -0
- data/lib/phlex/rails/helpers/radio_button.rb +9 -0
- data/lib/phlex/rails/helpers/radio_button_tag.rb +9 -0
- data/lib/phlex/rails/helpers/range_field.rb +9 -0
- data/lib/phlex/rails/helpers/range_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/request.rb +8 -0
- data/lib/phlex/rails/helpers/reset_cycle.rb +8 -0
- data/lib/phlex/rails/helpers/rich_text_area.rb +9 -0
- data/lib/phlex/rails/helpers/sanitize.rb +8 -0
- data/lib/phlex/rails/helpers/sanitize_css.rb +8 -0
- data/lib/phlex/rails/helpers/search_field.rb +9 -0
- data/lib/phlex/rails/helpers/search_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/select.rb +9 -0
- data/lib/phlex/rails/helpers/select_date.rb +9 -0
- data/lib/phlex/rails/helpers/select_datetime.rb +9 -0
- data/lib/phlex/rails/helpers/select_day.rb +9 -0
- data/lib/phlex/rails/helpers/select_hour.rb +9 -0
- data/lib/phlex/rails/helpers/select_minute.rb +9 -0
- data/lib/phlex/rails/helpers/select_month.rb +9 -0
- data/lib/phlex/rails/helpers/select_second.rb +9 -0
- data/lib/phlex/rails/helpers/select_tag.rb +9 -0
- data/lib/phlex/rails/helpers/select_time.rb +9 -0
- data/lib/phlex/rails/helpers/select_year.rb +9 -0
- data/lib/phlex/rails/helpers/simple_format.rb +9 -0
- data/lib/phlex/rails/helpers/sms_to.rb +9 -0
- data/lib/phlex/rails/helpers/strip_links.rb +8 -0
- data/lib/phlex/rails/helpers/strip_tags.rb +8 -0
- data/lib/phlex/rails/helpers/stylesheet_link_tag.rb +9 -0
- data/lib/phlex/rails/helpers/stylesheet_path.rb +8 -0
- data/lib/phlex/rails/helpers/stylesheet_url.rb +8 -0
- data/lib/phlex/rails/helpers/submit_tag.rb +9 -0
- data/lib/phlex/rails/helpers/t.rb +3 -0
- data/lib/phlex/rails/helpers/telephone_field.rb +9 -0
- data/lib/phlex/rails/helpers/telephone_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/text_area.rb +9 -0
- data/lib/phlex/rails/helpers/text_area_tag.rb +9 -0
- data/lib/phlex/rails/helpers/text_field.rb +9 -0
- data/lib/phlex/rails/helpers/text_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/time_ago_in_words.rb +8 -0
- data/lib/phlex/rails/helpers/time_field.rb +9 -0
- data/lib/phlex/rails/helpers/time_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/time_select.rb +9 -0
- data/lib/phlex/rails/helpers/time_tag.rb +9 -0
- data/lib/phlex/rails/helpers/time_zone_options_for_select.rb +9 -0
- data/lib/phlex/rails/helpers/time_zone_select.rb +9 -0
- data/lib/phlex/rails/helpers/token_list.rb +8 -0
- data/lib/phlex/rails/helpers/translate.rb +25 -0
- data/lib/phlex/rails/helpers/truncate.rb +8 -0
- data/lib/phlex/rails/helpers/turbo_frame_tag.rb +8 -0
- data/lib/phlex/rails/helpers/turbo_include_tags.rb +8 -0
- data/lib/phlex/rails/helpers/turbo_refresh_method_tag.rb +8 -0
- data/lib/phlex/rails/helpers/turbo_refresh_scroll_tag.rb +8 -0
- data/lib/phlex/rails/helpers/turbo_refreshes_with.rb +9 -0
- data/lib/phlex/rails/helpers/turbo_stream_from.rb +8 -0
- data/lib/phlex/rails/helpers/url_field.rb +9 -0
- data/lib/phlex/rails/helpers/url_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/url_for.rb +8 -0
- data/lib/phlex/rails/helpers/url_options.rb +8 -0
- data/lib/phlex/rails/helpers/url_to_asset.rb +8 -0
- data/lib/phlex/rails/helpers/url_to_audio.rb +8 -0
- data/lib/phlex/rails/helpers/url_to_font.rb +8 -0
- data/lib/phlex/rails/helpers/url_to_image.rb +8 -0
- data/lib/phlex/rails/helpers/url_to_javascript.rb +8 -0
- data/lib/phlex/rails/helpers/url_to_stylesheet.rb +8 -0
- data/lib/phlex/rails/helpers/url_to_video.rb +8 -0
- data/lib/phlex/rails/helpers/utf8_enforcer_tag.rb +9 -0
- data/lib/phlex/rails/helpers/video_path.rb +8 -0
- data/lib/phlex/rails/helpers/video_tag.rb +9 -0
- data/lib/phlex/rails/helpers/video_url.rb +8 -0
- data/lib/phlex/rails/helpers/week_field.rb +9 -0
- data/lib/phlex/rails/helpers/week_field_tag.rb +9 -0
- data/lib/phlex/rails/helpers/weekday_options_for_select.rb +9 -0
- data/lib/phlex/rails/helpers/weekday_select.rb +9 -0
- data/lib/phlex/rails/helpers/with_output_buffer.rb +9 -0
- data/lib/phlex/rails/helpers/word_wrap.rb +8 -0
- data/lib/phlex/rails/helpers.rb +243 -1458
- data/lib/phlex/rails/html/method_missing.rb +13 -0
- data/lib/phlex/rails/html.rb +11 -0
- data/lib/phlex/rails/layout.rb +33 -22
- data/lib/phlex/rails/{sgml/overrides.rb → sgml.rb} +31 -17
- data/lib/phlex/rails/streaming.rb +95 -7
- data/lib/phlex/rails/version.rb +1 -1
- data/lib/phlex/rails.rb +25 -22
- metadata +202 -29
- data/CONTRIBUTING.md +0 -23
- data/lib/generators/phlex/controller/USAGE +0 -10
- data/lib/generators/phlex/controller/controller_generator.rb +0 -74
- data/lib/generators/phlex/controller/templates/controller.rb.erb +0 -14
- data/lib/generators/phlex/controller/templates/view.rb.erb +0 -9
- data/lib/generators/rspec/view/templates/view_spec.rb.erb +0 -10
- data/lib/generators/rspec/view/view_generator.rb +0 -14
- data/lib/generators/test_unit/templates/view_test.rb.erb +0 -15
- data/lib/generators/test_unit/view_generator.rb +0 -12
- data/lib/phlex/rails/html/format.rb +0 -8
- data/lib/phlex/rails/sgml/class_methods.rb +0 -13
data/lib/phlex/rails/helpers.rb
CHANGED
@@ -1,1463 +1,248 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Phlex::Rails::Helpers
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
# @!method cycle(...)
|
249
|
-
define_value_helper :cycle
|
250
|
-
end
|
251
|
-
|
252
|
-
module DateField
|
253
|
-
extend Phlex::Rails::HelperMacros
|
254
|
-
|
255
|
-
# @!method date_field(...)
|
256
|
-
# @return [nil]
|
257
|
-
define_output_helper :date_field
|
258
|
-
end
|
259
|
-
|
260
|
-
module DateFieldTag
|
261
|
-
extend Phlex::Rails::HelperMacros
|
262
|
-
|
263
|
-
# @!method date_field_tag(...)
|
264
|
-
# @return [nil]
|
265
|
-
define_output_helper :date_field_tag
|
266
|
-
end
|
267
|
-
|
268
|
-
module DateSelect
|
269
|
-
extend Phlex::Rails::HelperMacros
|
270
|
-
|
271
|
-
# @!method date_select(...)
|
272
|
-
# @return [nil]
|
273
|
-
define_output_helper :date_select
|
274
|
-
end
|
275
|
-
|
276
|
-
module DateTimeField
|
277
|
-
extend Phlex::Rails::HelperMacros
|
278
|
-
|
279
|
-
# @!method datetime_field(...)
|
280
|
-
# @return [nil]
|
281
|
-
define_output_helper :datetime_field
|
282
|
-
end
|
283
|
-
|
284
|
-
module DateTimeFieldTag
|
285
|
-
extend Phlex::Rails::HelperMacros
|
286
|
-
|
287
|
-
# @!method datetime_field_tag(...)
|
288
|
-
# @return [nil]
|
289
|
-
define_output_helper :datetime_field_tag
|
290
|
-
end
|
291
|
-
|
292
|
-
module DateTimeLocalField
|
293
|
-
extend Phlex::Rails::HelperMacros
|
294
|
-
|
295
|
-
# @!method datetime_local_field(...)
|
296
|
-
# @return [nil]
|
297
|
-
define_output_helper :datetime_local_field
|
298
|
-
end
|
299
|
-
|
300
|
-
module DateTimeLocalFieldTag
|
301
|
-
extend Phlex::Rails::HelperMacros
|
302
|
-
|
303
|
-
# @!method datetime_local_field_tag(...)
|
304
|
-
# @return [nil]
|
305
|
-
define_output_helper :datetime_local_field_tag
|
306
|
-
end
|
307
|
-
|
308
|
-
module DateTimeSelect
|
309
|
-
extend Phlex::Rails::HelperMacros
|
310
|
-
|
311
|
-
# @!method datetime_select(...)
|
312
|
-
# @return [nil]
|
313
|
-
define_output_helper :datetime_select
|
314
|
-
end
|
315
|
-
|
316
|
-
module Debug
|
317
|
-
extend Phlex::Rails::HelperMacros
|
318
|
-
|
319
|
-
# @!method debug(...)
|
320
|
-
# @return [nil]
|
321
|
-
define_output_helper :debug
|
322
|
-
end
|
323
|
-
|
324
|
-
module DefaultURLOptions
|
325
|
-
extend Phlex::Rails::HelperMacros
|
326
|
-
|
327
|
-
# @!method default_url_options(...)
|
328
|
-
define_value_helper :default_url_options
|
329
|
-
end
|
330
|
-
|
331
|
-
module DistanceOfTimeInWords
|
332
|
-
extend Phlex::Rails::HelperMacros
|
333
|
-
|
334
|
-
# @!method distance_of_time_in_words(...)
|
335
|
-
define_value_helper :distance_of_time_in_words
|
336
|
-
end
|
337
|
-
|
338
|
-
module DistanceOfTimeInWordsToNow
|
339
|
-
extend Phlex::Rails::HelperMacros
|
340
|
-
|
341
|
-
# @!method distance_of_time_in_words_to_now(...)
|
342
|
-
define_value_helper :distance_of_time_in_words_to_now
|
343
|
-
end
|
344
|
-
|
345
|
-
module DOMClass
|
346
|
-
extend Phlex::Rails::HelperMacros
|
347
|
-
|
348
|
-
# @!method dom_class(...)
|
349
|
-
define_value_helper :dom_class
|
350
|
-
end
|
351
|
-
|
352
|
-
module DOMID
|
353
|
-
extend Phlex::Rails::HelperMacros
|
354
|
-
|
355
|
-
# @!method dom_id(...)
|
356
|
-
define_value_helper :dom_id
|
357
|
-
end
|
358
|
-
|
359
|
-
module EmailField
|
360
|
-
extend Phlex::Rails::HelperMacros
|
361
|
-
|
362
|
-
# @!method email_field(...)
|
363
|
-
# @return [nil]
|
364
|
-
define_output_helper :email_field
|
365
|
-
end
|
366
|
-
|
367
|
-
module EmailFieldTag
|
368
|
-
extend Phlex::Rails::HelperMacros
|
369
|
-
|
370
|
-
# @!method email_field_tag(...)
|
371
|
-
# @return [nil]
|
372
|
-
define_output_helper :email_field_tag
|
373
|
-
end
|
374
|
-
|
375
|
-
module ErrorMessage
|
376
|
-
extend Phlex::Rails::HelperMacros
|
377
|
-
|
378
|
-
# @!method error_message(...)
|
379
|
-
define_value_helper :error_message
|
380
|
-
end
|
381
|
-
|
382
|
-
module ErrorWrapping
|
383
|
-
extend Phlex::Rails::HelperMacros
|
384
|
-
|
385
|
-
# @!method error_wrapping(...)
|
386
|
-
# @return [nil]
|
387
|
-
define_output_helper :error_wrapping
|
388
|
-
end
|
389
|
-
|
390
|
-
module EscapeOnce
|
391
|
-
extend Phlex::Rails::HelperMacros
|
392
|
-
|
393
|
-
# @!method escape_once(...)
|
394
|
-
define_value_helper :escape_once
|
395
|
-
end
|
396
|
-
|
397
|
-
module Excerpt
|
398
|
-
extend Phlex::Rails::HelperMacros
|
399
|
-
|
400
|
-
# @!method excerpt(...)
|
401
|
-
define_value_helper :excerpt
|
402
|
-
end
|
403
|
-
|
404
|
-
module FaviconLinkTag
|
405
|
-
extend Phlex::Rails::HelperMacros
|
406
|
-
|
407
|
-
# @!method favicon_link_tag(...)
|
408
|
-
# @return [nil]
|
409
|
-
define_output_helper :favicon_link_tag
|
410
|
-
end
|
411
|
-
|
412
|
-
module FieldID
|
413
|
-
extend Phlex::Rails::HelperMacros
|
414
|
-
|
415
|
-
# @!method field_id(...)
|
416
|
-
define_value_helper :field_id
|
417
|
-
end
|
418
|
-
|
419
|
-
module FieldName
|
420
|
-
extend Phlex::Rails::HelperMacros
|
421
|
-
|
422
|
-
# @!method field_name(...)
|
423
|
-
define_value_helper :field_name
|
424
|
-
end
|
425
|
-
|
426
|
-
module Fields
|
427
|
-
extend Phlex::Rails::HelperMacros
|
428
|
-
|
429
|
-
# @!method fields(...)
|
430
|
-
# @yield [builder]
|
431
|
-
# @yieldparam builder [Phlex::Rails::BufferedFormBuilder]
|
432
|
-
define_builder_yielding_helper :fields, Phlex::Rails::BufferedFormBuilder
|
433
|
-
end
|
434
|
-
|
435
|
-
module FieldSetTag
|
436
|
-
extend Phlex::Rails::HelperMacros
|
437
|
-
|
438
|
-
# @!method field_set_tag(...)
|
439
|
-
# @return [nil]
|
440
|
-
define_output_helper_with_capture_block :field_set_tag
|
441
|
-
end
|
442
|
-
|
443
|
-
module FieldsFor
|
444
|
-
extend Phlex::Rails::HelperMacros
|
445
|
-
|
446
|
-
# @!method fields_for(...)
|
447
|
-
# @yield [builder]
|
448
|
-
# @yieldparam builder [Phlex::Rails::BufferedFormBuilder]
|
449
|
-
define_builder_yielding_helper :fields_for, Phlex::Rails::BufferedFormBuilder
|
450
|
-
end
|
451
|
-
|
452
|
-
module FileField
|
453
|
-
extend Phlex::Rails::HelperMacros
|
454
|
-
|
455
|
-
# @!method file_field(...)
|
456
|
-
# @return [nil]
|
457
|
-
define_output_helper :file_field
|
458
|
-
end
|
459
|
-
|
460
|
-
module FileFieldTag
|
461
|
-
extend Phlex::Rails::HelperMacros
|
462
|
-
|
463
|
-
# @!method file_field_tag(...)
|
464
|
-
# @return [nil]
|
465
|
-
define_output_helper :file_field_tag
|
466
|
-
end
|
467
|
-
|
468
|
-
module Flash
|
469
|
-
extend Phlex::Rails::HelperMacros
|
470
|
-
|
471
|
-
# @!method flash(...)
|
472
|
-
define_value_helper :flash
|
473
|
-
end
|
474
|
-
|
475
|
-
module FontPath
|
476
|
-
extend Phlex::Rails::HelperMacros
|
477
|
-
|
478
|
-
# @!method font_path(...)
|
479
|
-
define_value_helper :font_path
|
480
|
-
end
|
481
|
-
|
482
|
-
module FontURL
|
483
|
-
extend Phlex::Rails::HelperMacros
|
484
|
-
|
485
|
-
# @!method font_url(...)
|
486
|
-
define_value_helper :font_url
|
487
|
-
end
|
488
|
-
|
489
|
-
module FormFor
|
490
|
-
extend Phlex::Rails::HelperMacros
|
491
|
-
|
492
|
-
# @!method form_for(...)
|
493
|
-
# @yield [builder]
|
494
|
-
# @yieldparam builder [Phlex::Rails::BufferedFormBuilder]
|
495
|
-
define_builder_yielding_helper :form_for, Phlex::Rails::BufferedFormBuilder
|
496
|
-
end
|
497
|
-
|
498
|
-
module FormTag
|
499
|
-
extend Phlex::Rails::HelperMacros
|
500
|
-
|
501
|
-
# @!method form_tag(...)
|
502
|
-
# @return [nil]
|
503
|
-
define_output_helper_with_capture_block :form_tag
|
504
|
-
end
|
505
|
-
|
506
|
-
module FormWith
|
507
|
-
extend Phlex::Rails::HelperMacros
|
508
|
-
|
509
|
-
# @!method form_with(...)
|
510
|
-
# @yield [builder]
|
511
|
-
# @yieldparam builder [Phlex::Rails::BufferedFormBuilder]
|
512
|
-
define_builder_yielding_helper :form_with, Phlex::Rails::BufferedFormBuilder
|
513
|
-
end
|
514
|
-
|
515
|
-
module GroupedCollectionSelect
|
516
|
-
extend Phlex::Rails::HelperMacros
|
517
|
-
|
518
|
-
# @!method grouped_collection_select(...)
|
519
|
-
# @return [nil]
|
520
|
-
define_output_helper :grouped_collection_select
|
521
|
-
end
|
522
|
-
|
523
|
-
module GroupedOptionsForSelect
|
524
|
-
extend Phlex::Rails::HelperMacros
|
525
|
-
|
526
|
-
# @!method grouped_options_for_select(...)
|
527
|
-
# @return [nil]
|
528
|
-
define_output_helper :grouped_options_for_select
|
529
|
-
end
|
530
|
-
|
531
|
-
module HiddenField
|
532
|
-
extend Phlex::Rails::HelperMacros
|
533
|
-
|
534
|
-
# @!method hidden_field(...)
|
535
|
-
# @return [nil]
|
536
|
-
define_output_helper :hidden_field
|
537
|
-
end
|
538
|
-
|
539
|
-
module HiddenFieldTag
|
540
|
-
extend Phlex::Rails::HelperMacros
|
541
|
-
|
542
|
-
# @!method hidden_field_tag(...)
|
543
|
-
# @return [nil]
|
544
|
-
define_output_helper :hidden_field_tag
|
545
|
-
end
|
546
|
-
|
547
|
-
module Highlight
|
548
|
-
extend Phlex::Rails::HelperMacros
|
549
|
-
|
550
|
-
# @!method highlight(...)
|
551
|
-
# @return [nil]
|
552
|
-
define_output_helper :highlight
|
553
|
-
end
|
554
|
-
|
555
|
-
module ImagePath
|
556
|
-
extend Phlex::Rails::HelperMacros
|
557
|
-
|
558
|
-
# @!method image_path(...)
|
559
|
-
define_value_helper :image_path
|
560
|
-
end
|
561
|
-
|
562
|
-
module ImageSubmitTag
|
563
|
-
extend Phlex::Rails::HelperMacros
|
564
|
-
|
565
|
-
# @!method image_submit_tag(...)
|
566
|
-
# @return [nil]
|
567
|
-
define_output_helper :image_submit_tag
|
568
|
-
end
|
569
|
-
|
570
|
-
module ImageTag
|
571
|
-
extend Phlex::Rails::HelperMacros
|
572
|
-
|
573
|
-
# @!method image_tag(...)
|
574
|
-
# @return [nil]
|
575
|
-
define_output_helper :image_tag
|
576
|
-
end
|
577
|
-
|
578
|
-
module ImageURL
|
579
|
-
extend Phlex::Rails::HelperMacros
|
580
|
-
|
581
|
-
# @!method image_url(...)
|
582
|
-
define_value_helper :image_url
|
583
|
-
end
|
584
|
-
|
585
|
-
module JavaScriptImportModuleTag
|
586
|
-
extend Phlex::Rails::HelperMacros
|
587
|
-
|
588
|
-
# @!method javascript_import_module_tag(...)
|
589
|
-
# @return [nil]
|
590
|
-
define_output_helper :javascript_import_module_tag
|
591
|
-
end
|
592
|
-
|
593
|
-
module JavaScriptImportMapTags
|
594
|
-
extend Phlex::Rails::HelperMacros
|
595
|
-
|
596
|
-
# @!method javascript_importmap_tags(...)
|
597
|
-
# @return [nil]
|
598
|
-
define_output_helper :javascript_importmap_tags
|
599
|
-
end
|
600
|
-
|
601
|
-
module JavaScriptIncludeTag
|
602
|
-
extend Phlex::Rails::HelperMacros
|
603
|
-
|
604
|
-
# @!method javascript_include_tag(...)
|
605
|
-
# @return [nil]
|
606
|
-
define_output_helper :javascript_include_tag
|
607
|
-
end
|
608
|
-
|
609
|
-
module JavaScriptPath
|
610
|
-
extend Phlex::Rails::HelperMacros
|
611
|
-
|
612
|
-
# @!method javascript_path(...)
|
613
|
-
define_value_helper :javascript_path
|
614
|
-
end
|
615
|
-
|
616
|
-
module JavaScriptTag
|
617
|
-
extend Phlex::Rails::HelperMacros
|
618
|
-
|
619
|
-
# @!method javascript_tag(...)
|
620
|
-
# @return [nil]
|
621
|
-
define_output_helper_with_capture_block :javascript_tag
|
622
|
-
end
|
623
|
-
|
624
|
-
module JavaScriptURL
|
625
|
-
extend Phlex::Rails::HelperMacros
|
626
|
-
|
627
|
-
# @!method javascript_url(...)
|
628
|
-
define_value_helper :javascript_url
|
629
|
-
end
|
630
|
-
|
631
|
-
module L
|
632
|
-
extend Phlex::Rails::HelperMacros
|
633
|
-
|
634
|
-
# @!method l(...)
|
635
|
-
define_value_helper :l
|
636
|
-
end
|
637
|
-
|
638
|
-
module Label
|
639
|
-
extend Phlex::Rails::HelperMacros
|
640
|
-
|
641
|
-
# @!method label(...)
|
642
|
-
define_builder_yielding_helper :label, Phlex::Rails::BufferedLabelBuilder
|
643
|
-
end
|
644
|
-
|
645
|
-
module LabelTag
|
646
|
-
extend Phlex::Rails::HelperMacros
|
647
|
-
|
648
|
-
# @!method label_tag(...)
|
649
|
-
# @return [nil]
|
650
|
-
define_output_helper_with_capture_block :label_tag
|
651
|
-
end
|
652
|
-
|
653
|
-
module LinkTo
|
654
|
-
extend Phlex::Rails::HelperMacros
|
655
|
-
|
656
|
-
# @!method link_to(...)
|
657
|
-
# @return [nil]
|
658
|
-
define_output_helper_with_capture_block :link_to
|
659
|
-
end
|
660
|
-
|
661
|
-
module LinkIf
|
662
|
-
extend Phlex::Rails::HelperMacros
|
663
|
-
|
664
|
-
# @!method link_to_if(...)
|
665
|
-
# @return [nil]
|
666
|
-
define_output_helper_with_capture_block :link_to_if
|
667
|
-
end
|
668
|
-
|
669
|
-
module LinkToUnless
|
670
|
-
extend Phlex::Rails::HelperMacros
|
671
|
-
|
672
|
-
# @!method link_to_unless(...)
|
673
|
-
# @return [nil]
|
674
|
-
define_output_helper_with_capture_block :link_to_unless
|
675
|
-
end
|
676
|
-
|
677
|
-
module LinkToUnlessCurrent
|
678
|
-
extend Phlex::Rails::HelperMacros
|
679
|
-
|
680
|
-
# @!method link_to_unless_current(...)
|
681
|
-
# @return [nil]
|
682
|
-
define_output_helper_with_capture_block :link_to_unless_current
|
683
|
-
end
|
684
|
-
|
685
|
-
module Localize
|
686
|
-
extend Phlex::Rails::HelperMacros
|
687
|
-
|
688
|
-
# @!method localize(...)
|
689
|
-
define_value_helper :localize
|
690
|
-
end
|
691
|
-
|
692
|
-
module MailTo
|
693
|
-
extend Phlex::Rails::HelperMacros
|
694
|
-
|
695
|
-
# @!method mail_to(...)
|
696
|
-
# @return [nil]
|
697
|
-
define_output_helper_with_capture_block :mail_to
|
698
|
-
end
|
699
|
-
|
700
|
-
module MonthField
|
701
|
-
extend Phlex::Rails::HelperMacros
|
702
|
-
|
703
|
-
# @!method month_field(...)
|
704
|
-
# @return [nil]
|
705
|
-
define_output_helper :month_field
|
706
|
-
end
|
707
|
-
|
708
|
-
module MonthFieldTag
|
709
|
-
extend Phlex::Rails::HelperMacros
|
710
|
-
|
711
|
-
# @!method month_field_tag(...)
|
712
|
-
# @return [nil]
|
713
|
-
define_output_helper :month_field_tag
|
714
|
-
end
|
715
|
-
|
716
|
-
module NumberField
|
717
|
-
extend Phlex::Rails::HelperMacros
|
718
|
-
|
719
|
-
# @!method number_field(...)
|
720
|
-
# @return [nil]
|
721
|
-
define_output_helper :number_field
|
722
|
-
end
|
723
|
-
|
724
|
-
module NumberFieldTag
|
725
|
-
extend Phlex::Rails::HelperMacros
|
726
|
-
|
727
|
-
# @!method number_field_tag(...)
|
728
|
-
# @return [nil]
|
729
|
-
define_output_helper :number_field_tag
|
730
|
-
end
|
731
|
-
|
732
|
-
module NumberToCurrency
|
733
|
-
extend Phlex::Rails::HelperMacros
|
734
|
-
|
735
|
-
# @!method number_to_currency(...)
|
736
|
-
define_value_helper :number_to_currency
|
737
|
-
end
|
738
|
-
|
739
|
-
module NumberToHuman
|
740
|
-
extend Phlex::Rails::HelperMacros
|
741
|
-
|
742
|
-
# @!method number_to_human(...)
|
743
|
-
define_value_helper :number_to_human
|
744
|
-
end
|
745
|
-
|
746
|
-
module NumberToHumanSize
|
747
|
-
extend Phlex::Rails::HelperMacros
|
748
|
-
|
749
|
-
# @!method number_to_human_size(...)
|
750
|
-
define_value_helper :number_to_human_size
|
751
|
-
end
|
752
|
-
|
753
|
-
module NumberToPercentage
|
754
|
-
extend Phlex::Rails::HelperMacros
|
755
|
-
|
756
|
-
# @!method number_to_percentage(...)
|
757
|
-
define_value_helper :number_to_percentage
|
758
|
-
end
|
759
|
-
|
760
|
-
module NumberToPhone
|
761
|
-
extend Phlex::Rails::HelperMacros
|
762
|
-
|
763
|
-
# @!method number_to_phone(...)
|
764
|
-
define_value_helper :number_to_phone
|
765
|
-
end
|
766
|
-
|
767
|
-
module NumberWithDelimiter
|
768
|
-
extend Phlex::Rails::HelperMacros
|
769
|
-
|
770
|
-
# @!method number_with_delimiter(...)
|
771
|
-
define_value_helper :number_with_delimiter
|
772
|
-
end
|
773
|
-
|
774
|
-
module NumberWithPrecision
|
775
|
-
extend Phlex::Rails::HelperMacros
|
776
|
-
|
777
|
-
# @!method number_with_precision(...)
|
778
|
-
define_value_helper :number_with_precision
|
779
|
-
end
|
780
|
-
|
781
|
-
module Object
|
782
|
-
extend Phlex::Rails::HelperMacros
|
783
|
-
|
784
|
-
# @!method object(...)
|
785
|
-
define_value_helper :object
|
786
|
-
end
|
787
|
-
|
788
|
-
module OptionGroupsFromCollectionForSelect
|
789
|
-
extend Phlex::Rails::HelperMacros
|
790
|
-
|
791
|
-
# @!method option_groups_from_collection_for_select(...)
|
792
|
-
# @return [nil]
|
793
|
-
define_output_helper :option_groups_from_collection_for_select
|
794
|
-
end
|
795
|
-
|
796
|
-
module OptionsForSelect
|
797
|
-
extend Phlex::Rails::HelperMacros
|
798
|
-
|
799
|
-
# @!method options_for_select(...)
|
800
|
-
# @return [nil]
|
801
|
-
define_output_helper :options_for_select
|
802
|
-
end
|
803
|
-
|
804
|
-
module OptionsFromCollectionForSelect
|
805
|
-
extend Phlex::Rails::HelperMacros
|
806
|
-
|
807
|
-
# @!method options_from_collection_for_select(...)
|
808
|
-
# @return [nil]
|
809
|
-
define_output_helper :options_from_collection_for_select
|
810
|
-
end
|
811
|
-
|
812
|
-
module PasswordField
|
813
|
-
extend Phlex::Rails::HelperMacros
|
814
|
-
|
815
|
-
# @!method password_field(...)
|
816
|
-
# @return [nil]
|
817
|
-
define_output_helper :password_field
|
818
|
-
end
|
819
|
-
|
820
|
-
module PasswordFieldTag
|
821
|
-
extend Phlex::Rails::HelperMacros
|
822
|
-
|
823
|
-
# @!method password_field_tag(...)
|
824
|
-
# @return [nil]
|
825
|
-
define_output_helper :password_field_tag
|
826
|
-
end
|
827
|
-
|
828
|
-
module PathToAsset
|
829
|
-
extend Phlex::Rails::HelperMacros
|
830
|
-
|
831
|
-
# @!method path_to_asset(...)
|
832
|
-
define_value_helper :path_to_asset
|
833
|
-
end
|
834
|
-
|
835
|
-
module PathToAudio
|
836
|
-
extend Phlex::Rails::HelperMacros
|
837
|
-
|
838
|
-
# @!method path_to_audio(...)
|
839
|
-
define_value_helper :path_to_audio
|
840
|
-
end
|
841
|
-
|
842
|
-
module PathToFont
|
843
|
-
extend Phlex::Rails::HelperMacros
|
844
|
-
|
845
|
-
# @!method path_to_font(...)
|
846
|
-
define_value_helper :path_to_font
|
847
|
-
end
|
848
|
-
|
849
|
-
module PathToImage
|
850
|
-
extend Phlex::Rails::HelperMacros
|
851
|
-
|
852
|
-
# @!method path_to_image(...)
|
853
|
-
define_value_helper :path_to_image
|
854
|
-
end
|
855
|
-
|
856
|
-
module PathToJavaScript
|
857
|
-
extend Phlex::Rails::HelperMacros
|
858
|
-
|
859
|
-
# @!method path_to_javascript(...)
|
860
|
-
define_value_helper :path_to_javascript
|
861
|
-
end
|
862
|
-
|
863
|
-
module PathToStyleSheet
|
864
|
-
extend Phlex::Rails::HelperMacros
|
865
|
-
|
866
|
-
# @!method path_to_stylesheet(...)
|
867
|
-
define_value_helper :path_to_stylesheet
|
868
|
-
end
|
869
|
-
|
870
|
-
module PathToVideo
|
871
|
-
extend Phlex::Rails::HelperMacros
|
872
|
-
|
873
|
-
# @!method path_to_video(...)
|
874
|
-
define_value_helper :path_to_video
|
875
|
-
end
|
876
|
-
|
877
|
-
module PhoneField
|
878
|
-
extend Phlex::Rails::HelperMacros
|
879
|
-
|
880
|
-
# @!method phone_field(...)
|
881
|
-
# @return [nil]
|
882
|
-
define_output_helper :phone_field
|
883
|
-
end
|
884
|
-
|
885
|
-
module PhoneFieldTag
|
886
|
-
extend Phlex::Rails::HelperMacros
|
887
|
-
|
888
|
-
# @!method phone_field_tag(...)
|
889
|
-
# @return [nil]
|
890
|
-
define_output_helper :phone_field_tag
|
891
|
-
end
|
892
|
-
|
893
|
-
module Pluralize
|
894
|
-
extend Phlex::Rails::HelperMacros
|
895
|
-
|
896
|
-
# @!method pluralize(...)
|
897
|
-
# @return [String]
|
898
|
-
define_value_helper :pluralize
|
899
|
-
end
|
900
|
-
|
901
|
-
module PreloadLinkTag
|
902
|
-
extend Phlex::Rails::HelperMacros
|
903
|
-
|
904
|
-
# @!method preload_link_tag(...)
|
905
|
-
# @return [nil]
|
906
|
-
define_output_helper :preload_link_tag
|
907
|
-
end
|
908
|
-
|
909
|
-
module PhoneTo
|
910
|
-
extend Phlex::Rails::HelperMacros
|
911
|
-
|
912
|
-
# @!method phone_to(...)
|
913
|
-
# @return [nil]
|
914
|
-
define_output_helper_with_capture_block :phone_to
|
915
|
-
end
|
916
|
-
|
917
|
-
module Provide
|
918
|
-
extend Phlex::Rails::HelperMacros
|
919
|
-
|
920
|
-
# @!method provide(...)
|
921
|
-
define_value_helper_with_capture_block :provide
|
922
|
-
end
|
923
|
-
|
924
|
-
module PublicComputeAssetPath
|
925
|
-
extend Phlex::Rails::HelperMacros
|
926
|
-
|
927
|
-
# @!method public_compute_asset_path(...)
|
928
|
-
define_value_helper :public_compute_asset_path
|
929
|
-
end
|
930
|
-
|
931
|
-
module RadioButton
|
932
|
-
extend Phlex::Rails::HelperMacros
|
933
|
-
|
934
|
-
# @!method radio_button(...)
|
935
|
-
# @return [nil]
|
936
|
-
define_output_helper :radio_button
|
937
|
-
end
|
938
|
-
|
939
|
-
module RadioButtonTag
|
940
|
-
extend Phlex::Rails::HelperMacros
|
941
|
-
|
942
|
-
# @!method radio_button_tag(...)
|
943
|
-
# @return [nil]
|
944
|
-
define_output_helper :radio_button_tag
|
945
|
-
end
|
946
|
-
|
947
|
-
module RangeField
|
948
|
-
extend Phlex::Rails::HelperMacros
|
949
|
-
|
950
|
-
# @!method range_field(...)
|
951
|
-
# @return [nil]
|
952
|
-
define_output_helper :range_field
|
953
|
-
end
|
954
|
-
|
955
|
-
module RangeFieldTag
|
956
|
-
extend Phlex::Rails::HelperMacros
|
957
|
-
|
958
|
-
# @!method range_field_tag(...)
|
959
|
-
# @return [nil]
|
960
|
-
define_output_helper :range_field_tag
|
961
|
-
end
|
962
|
-
|
963
|
-
module ResetCycle
|
964
|
-
extend Phlex::Rails::HelperMacros
|
965
|
-
|
966
|
-
# @!method reset_cycle(...)
|
967
|
-
define_value_helper :reset_cycle
|
968
|
-
end
|
969
|
-
|
970
|
-
module RichTextArea
|
971
|
-
extend Phlex::Rails::HelperMacros
|
972
|
-
|
973
|
-
# @!method rich_text_area(...)
|
974
|
-
# @return [nil]
|
975
|
-
define_output_helper :rich_text_area
|
976
|
-
end
|
977
|
-
|
978
|
-
module Sanitize
|
979
|
-
extend Phlex::Rails::HelperMacros
|
980
|
-
|
981
|
-
# @!method sanitize(...)
|
982
|
-
define_value_helper :sanitize
|
983
|
-
end
|
984
|
-
|
985
|
-
module SanitizeCss
|
986
|
-
extend Phlex::Rails::HelperMacros
|
987
|
-
|
988
|
-
# @!method sanitize_css(...)
|
989
|
-
define_value_helper :sanitize_css
|
990
|
-
end
|
991
|
-
|
992
|
-
module SearchField
|
993
|
-
extend Phlex::Rails::HelperMacros
|
994
|
-
|
995
|
-
# @!method search_field(...)
|
996
|
-
# @return [nil]
|
997
|
-
define_output_helper :search_field
|
998
|
-
end
|
999
|
-
|
1000
|
-
module SearchFieldTag
|
1001
|
-
extend Phlex::Rails::HelperMacros
|
1002
|
-
|
1003
|
-
# @!method search_field_tag(...)
|
1004
|
-
# @return [nil]
|
1005
|
-
define_output_helper :search_field_tag
|
1006
|
-
end
|
1007
|
-
|
1008
|
-
module Select
|
1009
|
-
extend Phlex::Rails::HelperMacros
|
1010
|
-
|
1011
|
-
# @!method select(...)
|
1012
|
-
# @return [nil]
|
1013
|
-
define_output_helper :select
|
1014
|
-
end
|
1015
|
-
|
1016
|
-
module SelectTag
|
1017
|
-
extend Phlex::Rails::HelperMacros
|
1018
|
-
|
1019
|
-
# @!method select_tag(...)
|
1020
|
-
# @return [nil]
|
1021
|
-
define_output_helper :select_tag
|
1022
|
-
end
|
1023
|
-
|
1024
|
-
module SelectDate
|
1025
|
-
extend Phlex::Rails::HelperMacros
|
1026
|
-
|
1027
|
-
# @!method select_date(...)
|
1028
|
-
# @return [nil]
|
1029
|
-
define_output_helper :select_date
|
1030
|
-
end
|
1031
|
-
|
1032
|
-
module SelectDateTime
|
1033
|
-
extend Phlex::Rails::HelperMacros
|
1034
|
-
|
1035
|
-
# @!method select_datetime(...)
|
1036
|
-
# @return [nil]
|
1037
|
-
define_output_helper :select_datetime
|
1038
|
-
end
|
1039
|
-
|
1040
|
-
module SelectDay
|
1041
|
-
extend Phlex::Rails::HelperMacros
|
1042
|
-
|
1043
|
-
# @!method select_day(...)
|
1044
|
-
# @return [nil]
|
1045
|
-
define_output_helper :select_day
|
1046
|
-
end
|
1047
|
-
|
1048
|
-
module SelectHour
|
1049
|
-
extend Phlex::Rails::HelperMacros
|
1050
|
-
|
1051
|
-
# @!method select_hour(...)
|
1052
|
-
# @return [nil]
|
1053
|
-
define_output_helper :select_hour
|
1054
|
-
end
|
1055
|
-
|
1056
|
-
module SelectMinute
|
1057
|
-
extend Phlex::Rails::HelperMacros
|
1058
|
-
|
1059
|
-
# @!method select_minute(...)
|
1060
|
-
# @return [nil]
|
1061
|
-
define_output_helper :select_minute
|
1062
|
-
end
|
1063
|
-
|
1064
|
-
module SelectMonth
|
1065
|
-
extend Phlex::Rails::HelperMacros
|
1066
|
-
|
1067
|
-
# @!method select_month(...)
|
1068
|
-
# @return [nil]
|
1069
|
-
define_output_helper :select_month
|
1070
|
-
end
|
1071
|
-
|
1072
|
-
module SelectSecond
|
1073
|
-
extend Phlex::Rails::HelperMacros
|
1074
|
-
|
1075
|
-
# @!method select_second(...)
|
1076
|
-
# @return [nil]
|
1077
|
-
define_output_helper :select_second
|
1078
|
-
end
|
1079
|
-
|
1080
|
-
module SelectTime
|
1081
|
-
extend Phlex::Rails::HelperMacros
|
1082
|
-
|
1083
|
-
# @!method select_time(...)
|
1084
|
-
# @return [nil]
|
1085
|
-
define_output_helper :select_time
|
1086
|
-
end
|
1087
|
-
|
1088
|
-
module SelectYear
|
1089
|
-
extend Phlex::Rails::HelperMacros
|
1090
|
-
|
1091
|
-
# @!method select_year(...)
|
1092
|
-
# @return [nil]
|
1093
|
-
define_output_helper :select_year
|
1094
|
-
end
|
1095
|
-
|
1096
|
-
module SimpleFormat
|
1097
|
-
extend Phlex::Rails::HelperMacros
|
1098
|
-
|
1099
|
-
# @!method simple_format(...)
|
1100
|
-
# @return [nil]
|
1101
|
-
define_output_helper :simple_format
|
1102
|
-
end
|
1103
|
-
|
1104
|
-
module SMSTo
|
1105
|
-
extend Phlex::Rails::HelperMacros
|
1106
|
-
|
1107
|
-
# @!method sms_to(...)
|
1108
|
-
# @return [nil]
|
1109
|
-
define_output_helper_with_capture_block :sms_to
|
1110
|
-
end
|
1111
|
-
|
1112
|
-
module StripLinks
|
1113
|
-
extend Phlex::Rails::HelperMacros
|
1114
|
-
|
1115
|
-
# @!method strip_links(...)
|
1116
|
-
define_value_helper :strip_links
|
1117
|
-
end
|
1118
|
-
|
1119
|
-
module StripTags
|
1120
|
-
extend Phlex::Rails::HelperMacros
|
1121
|
-
|
1122
|
-
# @!method strip_tags(...)
|
1123
|
-
define_value_helper :strip_tags
|
1124
|
-
end
|
1125
|
-
|
1126
|
-
module StyleSheetLinkTag
|
1127
|
-
extend Phlex::Rails::HelperMacros
|
1128
|
-
|
1129
|
-
# @!method stylesheet_link_tag(...)
|
1130
|
-
# @return [nil]
|
1131
|
-
define_output_helper :stylesheet_link_tag
|
1132
|
-
end
|
1133
|
-
|
1134
|
-
module StyleSheetPath
|
1135
|
-
extend Phlex::Rails::HelperMacros
|
1136
|
-
|
1137
|
-
# @!method stylesheet_path(...)
|
1138
|
-
define_value_helper :stylesheet_path
|
1139
|
-
end
|
1140
|
-
|
1141
|
-
module StyleSheetURL
|
1142
|
-
extend Phlex::Rails::HelperMacros
|
1143
|
-
|
1144
|
-
# @!method stylesheet_url(...)
|
1145
|
-
define_value_helper :stylesheet_url
|
1146
|
-
end
|
1147
|
-
|
1148
|
-
module SubmitTag
|
1149
|
-
extend Phlex::Rails::HelperMacros
|
1150
|
-
|
1151
|
-
# @!method submit_tag(...)
|
1152
|
-
# @return [nil]
|
1153
|
-
define_output_helper :submit_tag
|
1154
|
-
end
|
1155
|
-
|
1156
|
-
module T
|
1157
|
-
extend Phlex::Rails::HelperMacros
|
1158
|
-
|
1159
|
-
# @!method t(...)
|
1160
|
-
define_value_helper :t
|
1161
|
-
end
|
1162
|
-
|
1163
|
-
module TelephoneField
|
1164
|
-
extend Phlex::Rails::HelperMacros
|
1165
|
-
|
1166
|
-
# @!method telephone_field(...)
|
1167
|
-
# @return [nil]
|
1168
|
-
define_output_helper :telephone_field
|
1169
|
-
end
|
1170
|
-
|
1171
|
-
module TelephoneFieldTag
|
1172
|
-
extend Phlex::Rails::HelperMacros
|
1173
|
-
|
1174
|
-
# @!method telephone_field_tag(...)
|
1175
|
-
# @return [nil]
|
1176
|
-
define_output_helper :telephone_field_tag
|
1177
|
-
end
|
1178
|
-
|
1179
|
-
module TextArea
|
1180
|
-
extend Phlex::Rails::HelperMacros
|
1181
|
-
|
1182
|
-
# @!method text_area(...)
|
1183
|
-
# @return [nil]
|
1184
|
-
define_output_helper :text_area
|
1185
|
-
end
|
1186
|
-
|
1187
|
-
module TextAreaTag
|
1188
|
-
extend Phlex::Rails::HelperMacros
|
1189
|
-
|
1190
|
-
# @!method text_area_tag(...)
|
1191
|
-
# @return [nil]
|
1192
|
-
define_output_helper :text_area_tag
|
1193
|
-
end
|
1194
|
-
|
1195
|
-
module TextField
|
1196
|
-
extend Phlex::Rails::HelperMacros
|
1197
|
-
|
1198
|
-
# @!method text_field(...)
|
1199
|
-
# @return [nil]
|
1200
|
-
define_output_helper :text_field
|
1201
|
-
end
|
1202
|
-
|
1203
|
-
module TextFieldTag
|
1204
|
-
extend Phlex::Rails::HelperMacros
|
1205
|
-
|
1206
|
-
# @!method text_field_tag(...)
|
1207
|
-
# @return [nil]
|
1208
|
-
define_output_helper :text_field_tag
|
1209
|
-
end
|
1210
|
-
|
1211
|
-
module TimeAgoInWords
|
1212
|
-
extend Phlex::Rails::HelperMacros
|
1213
|
-
|
1214
|
-
# @!method time_ago_in_words(...)
|
1215
|
-
define_value_helper :time_ago_in_words
|
1216
|
-
end
|
1217
|
-
|
1218
|
-
module TimeField
|
1219
|
-
extend Phlex::Rails::HelperMacros
|
1220
|
-
|
1221
|
-
# @!method time_field(...)
|
1222
|
-
# @return [nil]
|
1223
|
-
define_output_helper :time_field
|
1224
|
-
end
|
1225
|
-
|
1226
|
-
module TimeFieldTag
|
1227
|
-
extend Phlex::Rails::HelperMacros
|
1228
|
-
|
1229
|
-
# @!method time_field_tag(...)
|
1230
|
-
# @return [nil]
|
1231
|
-
define_output_helper :time_field_tag
|
1232
|
-
end
|
1233
|
-
|
1234
|
-
module TimeSelect
|
1235
|
-
extend Phlex::Rails::HelperMacros
|
1236
|
-
|
1237
|
-
# @!method time_select(...)
|
1238
|
-
# @return [nil]
|
1239
|
-
define_output_helper :time_select
|
1240
|
-
end
|
1241
|
-
|
1242
|
-
module TimeTag
|
1243
|
-
extend Phlex::Rails::HelperMacros
|
1244
|
-
|
1245
|
-
# @!method time_tag(...)
|
1246
|
-
# @return [nil]
|
1247
|
-
define_output_helper :time_tag
|
1248
|
-
end
|
1249
|
-
|
1250
|
-
module TimeZoneOptionsForSelect
|
1251
|
-
extend Phlex::Rails::HelperMacros
|
1252
|
-
|
1253
|
-
# @!method time_zone_options_for_select(...)
|
1254
|
-
# @return [nil]
|
1255
|
-
define_output_helper :time_zone_options_for_select
|
1256
|
-
end
|
1257
|
-
|
1258
|
-
module TimeZoneSelect
|
1259
|
-
extend Phlex::Rails::HelperMacros
|
1260
|
-
|
1261
|
-
# @!method time_zone_select(...)
|
1262
|
-
# @return [nil]
|
1263
|
-
define_output_helper :time_zone_select
|
1264
|
-
end
|
1265
|
-
|
1266
|
-
module TokenList
|
1267
|
-
extend Phlex::Rails::HelperMacros
|
1268
|
-
|
1269
|
-
# @!method token_list(...)
|
1270
|
-
define_value_helper :token_list
|
1271
|
-
end
|
1272
|
-
|
1273
|
-
module Translate
|
1274
|
-
extend Phlex::Rails::HelperMacros
|
1275
|
-
|
1276
|
-
# @!method translate(...)
|
1277
|
-
define_value_helper :translate
|
1278
|
-
end
|
1279
|
-
|
1280
|
-
module Truncate
|
1281
|
-
extend Phlex::Rails::HelperMacros
|
1282
|
-
|
1283
|
-
# @!method truncate(...)
|
1284
|
-
define_value_helper :truncate
|
1285
|
-
end
|
1286
|
-
|
1287
|
-
module TurboFrameTag
|
1288
|
-
extend Phlex::Rails::HelperMacros
|
1289
|
-
|
1290
|
-
# @!method turbo_frame_tag(...)
|
1291
|
-
define_output_helper_with_capture_block :turbo_frame_tag
|
1292
|
-
end
|
1293
|
-
|
1294
|
-
module TurboIncludeTags
|
1295
|
-
extend Phlex::Rails::HelperMacros
|
1296
|
-
|
1297
|
-
# @!method turbo_include_tags(...)
|
1298
|
-
define_output_helper :turbo_include_tags
|
1299
|
-
end
|
1300
|
-
|
1301
|
-
module TurboStreamFrom
|
1302
|
-
extend Phlex::Rails::HelperMacros
|
1303
|
-
|
1304
|
-
# @!method turbo_stream_from(...)
|
1305
|
-
define_output_helper :turbo_stream_from
|
1306
|
-
end
|
1307
|
-
|
1308
|
-
module URLField
|
1309
|
-
extend Phlex::Rails::HelperMacros
|
1310
|
-
|
1311
|
-
# @!method url_field(...)
|
1312
|
-
# @return [nil]
|
1313
|
-
define_output_helper :url_field
|
1314
|
-
end
|
1315
|
-
|
1316
|
-
module URLFieldTag
|
1317
|
-
extend Phlex::Rails::HelperMacros
|
1318
|
-
|
1319
|
-
# @!method url_field_tag(...)
|
1320
|
-
# @return [nil]
|
1321
|
-
define_output_helper :url_field_tag
|
1322
|
-
end
|
1323
|
-
|
1324
|
-
module URLFor
|
1325
|
-
extend Phlex::Rails::HelperMacros
|
1326
|
-
|
1327
|
-
# @!method url_for(...)
|
1328
|
-
define_value_helper :url_for
|
1329
|
-
end
|
1330
|
-
|
1331
|
-
module URLOptions
|
1332
|
-
extend Phlex::Rails::HelperMacros
|
1333
|
-
|
1334
|
-
# @!method url_options(...)
|
1335
|
-
define_value_helper :url_options
|
1336
|
-
end
|
1337
|
-
|
1338
|
-
module URLToAsset
|
1339
|
-
extend Phlex::Rails::HelperMacros
|
1340
|
-
|
1341
|
-
# @!method url_to_asset(...)
|
1342
|
-
define_value_helper :url_to_asset
|
1343
|
-
end
|
1344
|
-
|
1345
|
-
module URLToAudio
|
1346
|
-
extend Phlex::Rails::HelperMacros
|
1347
|
-
|
1348
|
-
# @!method url_to_audio(...)
|
1349
|
-
define_value_helper :url_to_audio
|
1350
|
-
end
|
1351
|
-
|
1352
|
-
module URLToFont
|
1353
|
-
extend Phlex::Rails::HelperMacros
|
1354
|
-
|
1355
|
-
# @!method url_to_font(...)
|
1356
|
-
define_value_helper :url_to_font
|
1357
|
-
end
|
1358
|
-
|
1359
|
-
module URLToImage
|
1360
|
-
extend Phlex::Rails::HelperMacros
|
1361
|
-
|
1362
|
-
# @!method url_to_image(...)
|
1363
|
-
define_value_helper :url_to_image
|
1364
|
-
end
|
1365
|
-
|
1366
|
-
module URLToJavaScript
|
1367
|
-
extend Phlex::Rails::HelperMacros
|
1368
|
-
|
1369
|
-
# @!method url_to_javascript(...)
|
1370
|
-
define_value_helper :url_to_javascript
|
1371
|
-
end
|
1372
|
-
|
1373
|
-
module URLToStyleSheet
|
1374
|
-
extend Phlex::Rails::HelperMacros
|
1375
|
-
|
1376
|
-
# @!method url_to_stylesheet(...)
|
1377
|
-
define_value_helper :url_to_stylesheet
|
1378
|
-
end
|
1379
|
-
|
1380
|
-
module URLToVideo
|
1381
|
-
extend Phlex::Rails::HelperMacros
|
1382
|
-
|
1383
|
-
# @!method url_to_video(...)
|
1384
|
-
define_value_helper :url_to_video
|
1385
|
-
end
|
1386
|
-
|
1387
|
-
module UTF8EnforcerTag
|
1388
|
-
extend Phlex::Rails::HelperMacros
|
1389
|
-
|
1390
|
-
# @!method utf8_enforcer_tag(...)
|
1391
|
-
# @return [nil]
|
1392
|
-
define_output_helper :utf8_enforcer_tag
|
1393
|
-
end
|
1394
|
-
|
1395
|
-
module VideoPath
|
1396
|
-
extend Phlex::Rails::HelperMacros
|
1397
|
-
|
1398
|
-
# @!method video_path(...)
|
1399
|
-
define_value_helper :video_path
|
1400
|
-
end
|
1401
|
-
|
1402
|
-
module VideoTag
|
1403
|
-
extend Phlex::Rails::HelperMacros
|
1404
|
-
|
1405
|
-
# @!method video_tag(...)
|
1406
|
-
# @return [nil]
|
1407
|
-
define_output_helper :video_tag
|
1408
|
-
end
|
1409
|
-
|
1410
|
-
module VideoURL
|
1411
|
-
extend Phlex::Rails::HelperMacros
|
1412
|
-
|
1413
|
-
# @!method video_url(...)
|
1414
|
-
define_value_helper :video_url
|
1415
|
-
end
|
1416
|
-
|
1417
|
-
module WeekField
|
1418
|
-
extend Phlex::Rails::HelperMacros
|
1419
|
-
|
1420
|
-
# @!method week_field(...)
|
1421
|
-
# @return [nil]
|
1422
|
-
define_output_helper :week_field
|
1423
|
-
end
|
1424
|
-
|
1425
|
-
module WeekFieldTag
|
1426
|
-
extend Phlex::Rails::HelperMacros
|
1427
|
-
|
1428
|
-
# @!method week_field_tag(...)
|
1429
|
-
# @return [nil]
|
1430
|
-
define_output_helper :week_field_tag
|
1431
|
-
end
|
1432
|
-
|
1433
|
-
module WeekdayOptionsForSelect
|
1434
|
-
extend Phlex::Rails::HelperMacros
|
1435
|
-
|
1436
|
-
# @!method weekday_options_for_select(...)
|
1437
|
-
# @return [nil]
|
1438
|
-
define_output_helper :weekday_options_for_select
|
1439
|
-
end
|
1440
|
-
|
1441
|
-
module WeekdaySelect
|
1442
|
-
extend Phlex::Rails::HelperMacros
|
1443
|
-
|
1444
|
-
# @!method weekday_select(...)
|
1445
|
-
# @return [nil]
|
1446
|
-
define_output_helper :weekday_select
|
1447
|
-
end
|
1448
|
-
|
1449
|
-
module WithOutputBuffer
|
1450
|
-
extend Phlex::Rails::HelperMacros
|
1451
|
-
|
1452
|
-
# @!method with_output_buffer(...)
|
1453
|
-
# @return [nil]
|
1454
|
-
define_output_helper_with_capture_block :with_output_buffer
|
1455
|
-
end
|
1456
|
-
|
1457
|
-
module WordWrap
|
1458
|
-
extend Phlex::Rails::HelperMacros
|
1459
|
-
|
1460
|
-
# @!method word_wrap(...)
|
1461
|
-
define_value_helper :word_wrap
|
4
|
+
autoload :ActionCableMetaTag, "phlex/rails/helpers/action_cable_meta_tag"
|
5
|
+
autoload :ActionName, "phlex/rails/helpers/action_name"
|
6
|
+
autoload :AssetPath, "phlex/rails/helpers/asset_path"
|
7
|
+
autoload :AssetURL, "phlex/rails/helpers/asset_url"
|
8
|
+
autoload :AudioPath, "phlex/rails/helpers/audio_path"
|
9
|
+
autoload :AudioTag, "phlex/rails/helpers/audio_tag"
|
10
|
+
autoload :AudioURL, "phlex/rails/helpers/audio_url"
|
11
|
+
autoload :AutoDiscoveryLinkTag, "phlex/rails/helpers/auto_discovery_link_tag"
|
12
|
+
autoload :BuildTagValues, "phlex/rails/helpers/build_tag_values"
|
13
|
+
autoload :ButtonTag, "phlex/rails/helpers/button_tag"
|
14
|
+
autoload :ButtonTo, "phlex/rails/helpers/button_to"
|
15
|
+
autoload :CSPMetaTag, "phlex/rails/helpers/csp_meta_tag"
|
16
|
+
autoload :CSRFMetaTags, "phlex/rails/helpers/csrf_meta_tags"
|
17
|
+
autoload :CheckBox, "phlex/rails/helpers/check_box"
|
18
|
+
autoload :CheckBoxTag, "phlex/rails/helpers/check_box_tag"
|
19
|
+
autoload :ClassNames, "phlex/rails/helpers/class_names"
|
20
|
+
autoload :CollectionCheckBoxes, "phlex/rails/helpers/collection_check_boxes"
|
21
|
+
autoload :CollectionRadioButtons, "phlex/rails/helpers/collection_radio_buttons"
|
22
|
+
autoload :CollectionSelect, "phlex/rails/helpers/collection_select"
|
23
|
+
autoload :ColorField, "phlex/rails/helpers/color_field"
|
24
|
+
autoload :ColorFieldTag, "phlex/rails/helpers/color_field_tag"
|
25
|
+
autoload :ComputeAssetExtname, "phlex/rails/helpers/compute_asset_extname"
|
26
|
+
autoload :ComputeAssetHost, "phlex/rails/helpers/compute_asset_host"
|
27
|
+
autoload :ComputeAssetPath, "phlex/rails/helpers/compute_asset_path"
|
28
|
+
autoload :ContentFor, "phlex/rails/helpers/content_for"
|
29
|
+
autoload :ContentTag, "phlex/rails/helpers/content_tag"
|
30
|
+
autoload :ControllerName, "phlex/rails/helpers/controller_name"
|
31
|
+
autoload :ControllerPath, "phlex/rails/helpers/controller_path"
|
32
|
+
autoload :CurrentCycle, "phlex/rails/helpers/current_cycle"
|
33
|
+
autoload :CurrentPage, "phlex/rails/helpers/current_page"
|
34
|
+
autoload :Cycle, "phlex/rails/helpers/cycle"
|
35
|
+
autoload :DOMClass, "phlex/rails/helpers/dom_class"
|
36
|
+
autoload :DOMID, "phlex/rails/helpers/dom_id"
|
37
|
+
autoload :DateField, "phlex/rails/helpers/date_field"
|
38
|
+
autoload :DateFieldTag, "phlex/rails/helpers/date_field_tag"
|
39
|
+
autoload :DateSelect, "phlex/rails/helpers/date_select"
|
40
|
+
autoload :DatetimeField, "phlex/rails/helpers/datetime_field"
|
41
|
+
autoload :DatetimeFieldTag, "phlex/rails/helpers/datetime_field_tag"
|
42
|
+
autoload :DatetimeLocalField, "phlex/rails/helpers/datetime_local_field"
|
43
|
+
autoload :DatetimeLocalFieldTag, "phlex/rails/helpers/datetime_local_field_tag"
|
44
|
+
autoload :DatetimeSelect, "phlex/rails/helpers/datetime_select"
|
45
|
+
autoload :Debug, "phlex/rails/helpers/debug"
|
46
|
+
autoload :DefaultURLOptions, "phlex/rails/helpers/default_url_options"
|
47
|
+
autoload :DistanceOfTimeInWords, "phlex/rails/helpers/distance_of_time_in_words"
|
48
|
+
autoload :DistanceOfTimeInWordsToNow, "phlex/rails/helpers/distance_of_time_in_words_to_now"
|
49
|
+
autoload :EmailField, "phlex/rails/helpers/email_field"
|
50
|
+
autoload :EmailFieldTag, "phlex/rails/helpers/email_field_tag"
|
51
|
+
autoload :ErrorMessage, "phlex/rails/helpers/error_message"
|
52
|
+
autoload :ErrorWrapping, "phlex/rails/helpers/error_wrapping"
|
53
|
+
autoload :EscapeOnce, "phlex/rails/helpers/escape_once"
|
54
|
+
autoload :Excerpt, "phlex/rails/helpers/excerpt"
|
55
|
+
autoload :FaviconLinkTag, "phlex/rails/helpers/favicon_link_tag"
|
56
|
+
autoload :FieldID, "phlex/rails/helpers/field_id"
|
57
|
+
autoload :FieldName, "phlex/rails/helpers/field_name"
|
58
|
+
autoload :FieldSetTag, "phlex/rails/helpers/field_set_tag"
|
59
|
+
autoload :Fields, "phlex/rails/helpers/fields"
|
60
|
+
autoload :FieldsFor, "phlex/rails/helpers/fields_for"
|
61
|
+
autoload :FileField, "phlex/rails/helpers/file_field"
|
62
|
+
autoload :FileFieldTag, "phlex/rails/helpers/file_field_tag"
|
63
|
+
autoload :Flash, "phlex/rails/helpers/flash"
|
64
|
+
autoload :FontPath, "phlex/rails/helpers/font_path"
|
65
|
+
autoload :FontURL, "phlex/rails/helpers/font_url"
|
66
|
+
autoload :FormFor, "phlex/rails/helpers/form_for"
|
67
|
+
autoload :FormTag, "phlex/rails/helpers/form_tag"
|
68
|
+
autoload :FormWith, "phlex/rails/helpers/form_with"
|
69
|
+
autoload :GroupedCollectionSelect, "phlex/rails/helpers/grouped_collection_select"
|
70
|
+
autoload :GroupedOptionsForSelect, "phlex/rails/helpers/grouped_options_for_select"
|
71
|
+
autoload :HiddenField, "phlex/rails/helpers/hidden_field"
|
72
|
+
autoload :HiddenFieldTag, "phlex/rails/helpers/hidden_field_tag"
|
73
|
+
autoload :Highlight, "phlex/rails/helpers/highlight"
|
74
|
+
autoload :ImagePath, "phlex/rails/helpers/image_path"
|
75
|
+
autoload :ImageSubmitTag, "phlex/rails/helpers/image_submit_tag"
|
76
|
+
autoload :ImageTag, "phlex/rails/helpers/image_tag"
|
77
|
+
autoload :ImageURL, "phlex/rails/helpers/image_url"
|
78
|
+
autoload :JavascriptImportModuleTag, "phlex/rails/helpers/javascript_import_module_tag"
|
79
|
+
autoload :JavascriptImportmapTags, "phlex/rails/helpers/javascript_importmap_tags"
|
80
|
+
autoload :JavascriptIncludeTag, "phlex/rails/helpers/javascript_include_tag"
|
81
|
+
autoload :JavascriptPath, "phlex/rails/helpers/javascript_path"
|
82
|
+
autoload :JavascriptTag, "phlex/rails/helpers/javascript_tag"
|
83
|
+
autoload :JavascriptURL, "phlex/rails/helpers/javascript_url"
|
84
|
+
autoload :L, "phlex/rails/helpers/l"
|
85
|
+
autoload :Label, "phlex/rails/helpers/label"
|
86
|
+
autoload :LabelTag, "phlex/rails/helpers/label_tag"
|
87
|
+
autoload :LinkIf, "phlex/rails/helpers/link_to_if"
|
88
|
+
autoload :LinkTo, "phlex/rails/helpers/link_to"
|
89
|
+
autoload :LinkToIf, "phlex/rails/helpers/link_to_if"
|
90
|
+
autoload :LinkToUnless, "phlex/rails/helpers/link_to_unless"
|
91
|
+
autoload :LinkToUnlessCurrent, "phlex/rails/helpers/link_to_unless_current"
|
92
|
+
autoload :Localize, "phlex/rails/helpers/localize"
|
93
|
+
autoload :MailTo, "phlex/rails/helpers/mail_to"
|
94
|
+
autoload :MonthField, "phlex/rails/helpers/month_field"
|
95
|
+
autoload :MonthFieldTag, "phlex/rails/helpers/month_field_tag"
|
96
|
+
autoload :NumberField, "phlex/rails/helpers/number_field"
|
97
|
+
autoload :NumberFieldTag, "phlex/rails/helpers/number_field_tag"
|
98
|
+
autoload :NumberToCurrency, "phlex/rails/helpers/number_to_currency"
|
99
|
+
autoload :NumberToHuman, "phlex/rails/helpers/number_to_human"
|
100
|
+
autoload :NumberToHumanSize, "phlex/rails/helpers/number_to_human_size"
|
101
|
+
autoload :NumberToPercentage, "phlex/rails/helpers/number_to_percentage"
|
102
|
+
autoload :NumberToPhone, "phlex/rails/helpers/number_to_phone"
|
103
|
+
autoload :NumberWithDelimiter, "phlex/rails/helpers/number_with_delimiter"
|
104
|
+
autoload :NumberWithPrecision, "phlex/rails/helpers/number_with_precision"
|
105
|
+
autoload :Object, "phlex/rails/helpers/object"
|
106
|
+
autoload :OptionGroupsFromCollectionForSelect, "phlex/rails/helpers/option_groups_from_collection_for_select"
|
107
|
+
autoload :OptionsForSelect, "phlex/rails/helpers/options_for_select"
|
108
|
+
autoload :OptionsFromCollectionForSelect, "phlex/rails/helpers/options_from_collection_for_select"
|
109
|
+
autoload :PasswordField, "phlex/rails/helpers/password_field"
|
110
|
+
autoload :PasswordFieldTag, "phlex/rails/helpers/password_field_tag"
|
111
|
+
autoload :PathToAsset, "phlex/rails/helpers/path_to_asset"
|
112
|
+
autoload :PathToAudio, "phlex/rails/helpers/path_to_audio"
|
113
|
+
autoload :PathToFont, "phlex/rails/helpers/path_to_font"
|
114
|
+
autoload :PathToImage, "phlex/rails/helpers/path_to_image"
|
115
|
+
autoload :PathToJavascript, "phlex/rails/helpers/path_to_javascript"
|
116
|
+
autoload :PathToStylesheet, "phlex/rails/helpers/path_to_stylesheet"
|
117
|
+
autoload :PathToVideo, "phlex/rails/helpers/path_to_video"
|
118
|
+
autoload :PhoneField, "phlex/rails/helpers/phone_field"
|
119
|
+
autoload :PhoneFieldTag, "phlex/rails/helpers/phone_field_tag"
|
120
|
+
autoload :PhoneTo, "phlex/rails/helpers/phone_to"
|
121
|
+
autoload :Pluralize, "phlex/rails/helpers/pluralize"
|
122
|
+
autoload :PreloadLinkTag, "phlex/rails/helpers/preload_link_tag"
|
123
|
+
autoload :Provide, "phlex/rails/helpers/provide"
|
124
|
+
autoload :PublicComputeAssetPath, "phlex/rails/helpers/public_compute_asset_path"
|
125
|
+
autoload :RadioButton, "phlex/rails/helpers/radio_button"
|
126
|
+
autoload :RadioButtonTag, "phlex/rails/helpers/radio_button_tag"
|
127
|
+
autoload :RangeField, "phlex/rails/helpers/range_field"
|
128
|
+
autoload :RangeFieldTag, "phlex/rails/helpers/range_field_tag"
|
129
|
+
autoload :Request, "phlex/rails/helpers/request"
|
130
|
+
autoload :ResetCycle, "phlex/rails/helpers/reset_cycle"
|
131
|
+
autoload :RichTextArea, "phlex/rails/helpers/rich_text_area"
|
132
|
+
autoload :Routes, "phlex/rails/helpers/routes"
|
133
|
+
autoload :SMSTo, "phlex/rails/helpers/sms_to"
|
134
|
+
autoload :Sanitize, "phlex/rails/helpers/sanitize"
|
135
|
+
autoload :SanitizeCSS, "phlex/rails/helpers/sanitize_css"
|
136
|
+
autoload :SearchField, "phlex/rails/helpers/search_field"
|
137
|
+
autoload :SearchFieldTag, "phlex/rails/helpers/search_field_tag"
|
138
|
+
autoload :Select, "phlex/rails/helpers/select"
|
139
|
+
autoload :SelectDate, "phlex/rails/helpers/select_date"
|
140
|
+
autoload :SelectDatetime, "phlex/rails/helpers/select_datetime"
|
141
|
+
autoload :SelectDay, "phlex/rails/helpers/select_day"
|
142
|
+
autoload :SelectHour, "phlex/rails/helpers/select_hour"
|
143
|
+
autoload :SelectMinute, "phlex/rails/helpers/select_minute"
|
144
|
+
autoload :SelectMonth, "phlex/rails/helpers/select_month"
|
145
|
+
autoload :SelectSecond, "phlex/rails/helpers/select_second"
|
146
|
+
autoload :SelectTag, "phlex/rails/helpers/select_tag"
|
147
|
+
autoload :SelectTime, "phlex/rails/helpers/select_time"
|
148
|
+
autoload :SelectYear, "phlex/rails/helpers/select_year"
|
149
|
+
autoload :SimpleFormat, "phlex/rails/helpers/simple_format"
|
150
|
+
autoload :StripLinks, "phlex/rails/helpers/strip_links"
|
151
|
+
autoload :StripTags, "phlex/rails/helpers/strip_tags"
|
152
|
+
autoload :StylesheetLinkTag, "phlex/rails/helpers/stylesheet_link_tag"
|
153
|
+
autoload :StylesheetPath, "phlex/rails/helpers/stylesheet_path"
|
154
|
+
autoload :StylesheetURL, "phlex/rails/helpers/stylesheet_url"
|
155
|
+
autoload :SubmitTag, "phlex/rails/helpers/submit_tag"
|
156
|
+
autoload :T, "phlex/rails/helpers/t"
|
157
|
+
autoload :Tag, "phlex/rails/helpers/tag"
|
158
|
+
autoload :TelephoneField, "phlex/rails/helpers/telephone_field"
|
159
|
+
autoload :TelephoneFieldTag, "phlex/rails/helpers/telephone_field_tag"
|
160
|
+
autoload :TextArea, "phlex/rails/helpers/text_area"
|
161
|
+
autoload :TextAreaTag, "phlex/rails/helpers/text_area_tag"
|
162
|
+
autoload :TextField, "phlex/rails/helpers/text_field"
|
163
|
+
autoload :TextFieldTag, "phlex/rails/helpers/text_field_tag"
|
164
|
+
autoload :TimeAgoInWords, "phlex/rails/helpers/time_ago_in_words"
|
165
|
+
autoload :TimeField, "phlex/rails/helpers/time_field"
|
166
|
+
autoload :TimeFieldTag, "phlex/rails/helpers/time_field_tag"
|
167
|
+
autoload :TimeSelect, "phlex/rails/helpers/time_select"
|
168
|
+
autoload :TimeTag, "phlex/rails/helpers/time_tag"
|
169
|
+
autoload :TimeZoneOptionsForSelect, "phlex/rails/helpers/time_zone_options_for_select"
|
170
|
+
autoload :TimeZoneSelect, "phlex/rails/helpers/time_zone_select"
|
171
|
+
autoload :TokenList, "phlex/rails/helpers/token_list"
|
172
|
+
autoload :Translate, "phlex/rails/helpers/translate"
|
173
|
+
autoload :Truncate, "phlex/rails/helpers/truncate"
|
174
|
+
autoload :TurboFrameTag, "phlex/rails/helpers/turbo_frame_tag"
|
175
|
+
autoload :TurboIncludeTags, "phlex/rails/helpers/turbo_include_tags"
|
176
|
+
autoload :TurboRefreshMethodTag, "phlex/rails/helpers/turbo_refresh_method_tag"
|
177
|
+
autoload :TurboRefreshScrollTag, "phlex/rails/helpers/turbo_refresh_scroll_tag"
|
178
|
+
autoload :TurboRefreshesWith, "phlex/rails/helpers/turbo_refreshes_with"
|
179
|
+
autoload :TurboStream, "phlex/rails/helpers/turbo_stream"
|
180
|
+
autoload :TurboStreamFrom, "phlex/rails/helpers/turbo_stream_from"
|
181
|
+
autoload :URLField, "phlex/rails/helpers/url_field"
|
182
|
+
autoload :URLFieldTag, "phlex/rails/helpers/url_field_tag"
|
183
|
+
autoload :URLFor, "phlex/rails/helpers/url_for"
|
184
|
+
autoload :URLOptions, "phlex/rails/helpers/url_options"
|
185
|
+
autoload :URLToAsset, "phlex/rails/helpers/url_to_asset"
|
186
|
+
autoload :URLToAudio, "phlex/rails/helpers/url_to_audio"
|
187
|
+
autoload :URLToFont, "phlex/rails/helpers/url_to_font"
|
188
|
+
autoload :URLToImage, "phlex/rails/helpers/url_to_image"
|
189
|
+
autoload :URLToJavascript, "phlex/rails/helpers/url_to_javascript"
|
190
|
+
autoload :URLToStylesheet, "phlex/rails/helpers/url_to_stylesheet"
|
191
|
+
autoload :URLToVideo, "phlex/rails/helpers/url_to_video"
|
192
|
+
autoload :UTF8EnforcerTag, "phlex/rails/helpers/utf8_enforcer_tag"
|
193
|
+
autoload :VideoPath, "phlex/rails/helpers/video_path"
|
194
|
+
autoload :VideoTag, "phlex/rails/helpers/video_tag"
|
195
|
+
autoload :VideoURL, "phlex/rails/helpers/video_url"
|
196
|
+
autoload :WeekField, "phlex/rails/helpers/week_field"
|
197
|
+
autoload :WeekFieldTag, "phlex/rails/helpers/week_field_tag"
|
198
|
+
autoload :WeekdayOptionsForSelect, "phlex/rails/helpers/weekday_options_for_select"
|
199
|
+
autoload :WeekdaySelect, "phlex/rails/helpers/weekday_select"
|
200
|
+
autoload :WithOutputBuffer, "phlex/rails/helpers/with_output_buffer"
|
201
|
+
autoload :WordWrap, "phlex/rails/helpers/word_wrap"
|
202
|
+
|
203
|
+
DEPRECATED = {
|
204
|
+
Checkbox: :CheckBox,
|
205
|
+
CheckboxTag: :CheckBoxTag,
|
206
|
+
CollectionCheckboxes: :CollectionCheckBoxes,
|
207
|
+
DateTimeField: :DatetimeField,
|
208
|
+
PathToJavaScript: :PathToJavascript,
|
209
|
+
DateTimeFieldTag: :DatetimeFieldTag,
|
210
|
+
DateTimeLocalField: :DatetimeLocalField,
|
211
|
+
DateTimeLocalFieldTag: :DatetimeLocalFieldTag,
|
212
|
+
DateTimeSelect: :DatetimeSelect,
|
213
|
+
JavaScriptImportModuleTag: :JavascriptImportModuleTag,
|
214
|
+
JavaScriptImportMapTags: :JavascriptImportmapTags,
|
215
|
+
JavaScriptIncludeTag: :JavascriptIncludeTag,
|
216
|
+
JavaScriptPath: :JavascriptPath,
|
217
|
+
JavaScriptTag: :JavascriptTag,
|
218
|
+
JavaScriptURL: :JavascriptURL,
|
219
|
+
LinkIf: :LinkToIf,
|
220
|
+
PathToStyleSheet: :PathToStylesheet,
|
221
|
+
SanitizeCss: :SanitizeCSS,
|
222
|
+
SelectDateTime: :SelectDatetime,
|
223
|
+
StyleSheetLinkTag: :StylesheetLinkTag,
|
224
|
+
StyleSheetPath: :StylesheetPath,
|
225
|
+
StyleSheetURL: :StylesheetURL,
|
226
|
+
URLToJavaScript: :URLToJavascript,
|
227
|
+
URLToStyleSheet: :URLToStylesheet
|
228
|
+
}
|
229
|
+
|
230
|
+
def self.const_missing(name)
|
231
|
+
if (helper_module_name = DEPRECATED[name])
|
232
|
+
message = "`Phlex::Rails::Helpers::#{name}` is deprecated. Please use `Phlex::Rails::Helpers::#{helper_module_name}` instead."
|
233
|
+
|
234
|
+
if name.to_s.downcase == helper_module_name.to_s.downcase
|
235
|
+
message << " Note the casing of the module name has changed to match the helper method."
|
236
|
+
end
|
237
|
+
|
238
|
+
Phlex::Rails::Deprecation.warn(message)
|
239
|
+
|
240
|
+
helper_module = const_get(helper_module_name)
|
241
|
+
const_set(name, helper_module)
|
242
|
+
|
243
|
+
helper_module
|
244
|
+
else
|
245
|
+
super
|
246
|
+
end
|
1462
247
|
end
|
1463
248
|
end
|