konstruo 1.0.0

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.
Files changed (126) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +22 -0
  4. data/.tool-versions +1 -0
  5. data/CHANGELOG.md +21 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +35 -0
  8. data/Rakefile +10 -0
  9. data/lib/konstruo/mapper.rb +120 -0
  10. data/lib/konstruo/version.rb +6 -0
  11. data/lib/konstruo.rb +18 -0
  12. data/sorbet/config +4 -0
  13. data/sorbet/rbi/annotations/.gitattributes +1 -0
  14. data/sorbet/rbi/annotations/actionmailer.rbi +10 -0
  15. data/sorbet/rbi/annotations/actionpack.rbi +430 -0
  16. data/sorbet/rbi/annotations/actionview.rbi +75 -0
  17. data/sorbet/rbi/annotations/activejob.rbi +44 -0
  18. data/sorbet/rbi/annotations/activemodel.rbi +89 -0
  19. data/sorbet/rbi/annotations/activerecord.rbi +92 -0
  20. data/sorbet/rbi/annotations/activesupport.rbi +454 -0
  21. data/sorbet/rbi/annotations/globalid.rbi +30 -0
  22. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  23. data/sorbet/rbi/annotations/railties.rbi +61 -0
  24. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  25. data/sorbet/rbi/dsl/.gitattributes +1 -0
  26. data/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
  27. data/sorbet/rbi/gems/.gitattributes +1 -0
  28. data/sorbet/rbi/gems/actioncable@7.2.1.rbi +3096 -0
  29. data/sorbet/rbi/gems/actionmailbox@7.2.1.rbi +1832 -0
  30. data/sorbet/rbi/gems/actionmailer@7.2.1.rbi +2664 -0
  31. data/sorbet/rbi/gems/actionpack@7.2.1.rbi +20536 -0
  32. data/sorbet/rbi/gems/actiontext@7.2.1.rbi +1697 -0
  33. data/sorbet/rbi/gems/actionview@7.2.1.rbi +15752 -0
  34. data/sorbet/rbi/gems/activejob@7.2.1.rbi +2828 -0
  35. data/sorbet/rbi/gems/activemodel@7.2.1.rbi +6762 -0
  36. data/sorbet/rbi/gems/activerecord@7.2.1.rbi +41433 -0
  37. data/sorbet/rbi/gems/activestorage@7.2.1.rbi +3247 -0
  38. data/sorbet/rbi/gems/activesupport@7.2.1.rbi +21142 -0
  39. data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
  40. data/sorbet/rbi/gems/base64@0.2.0.rbi +509 -0
  41. data/sorbet/rbi/gems/bigdecimal@3.1.8.rbi +78 -0
  42. data/sorbet/rbi/gems/builder@3.3.0.rbi +9 -0
  43. data/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi +11645 -0
  44. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +9 -0
  45. data/sorbet/rbi/gems/crass@1.0.6.rbi +623 -0
  46. data/sorbet/rbi/gems/dashbrains-rubocop-config@1.0.4.rbi +9 -0
  47. data/sorbet/rbi/gems/date@3.3.4.rbi +75 -0
  48. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +1131 -0
  49. data/sorbet/rbi/gems/drb@2.2.1.rbi +1347 -0
  50. data/sorbet/rbi/gems/erubi@1.13.0.rbi +150 -0
  51. data/sorbet/rbi/gems/globalid@1.2.1.rbi +749 -0
  52. data/sorbet/rbi/gems/i18n@1.14.5.rbi +2359 -0
  53. data/sorbet/rbi/gems/io-console@0.7.2.rbi +9 -0
  54. data/sorbet/rbi/gems/json@2.7.2.rbi +1562 -0
  55. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
  56. data/sorbet/rbi/gems/logger@1.6.1.rbi +920 -0
  57. data/sorbet/rbi/gems/loofah@2.22.0.rbi +1081 -0
  58. data/sorbet/rbi/gems/mail@2.8.1.rbi +8658 -0
  59. data/sorbet/rbi/gems/marcel@1.0.4.rbi +239 -0
  60. data/sorbet/rbi/gems/mini_mime@1.1.5.rbi +173 -0
  61. data/sorbet/rbi/gems/minitest@5.25.1.rbi +1546 -0
  62. data/sorbet/rbi/gems/net-imap@0.4.16.rbi +10845 -0
  63. data/sorbet/rbi/gems/net-pop@0.1.2.rbi +927 -0
  64. data/sorbet/rbi/gems/net-protocol@0.2.2.rbi +292 -0
  65. data/sorbet/rbi/gems/net-smtp@0.5.0.rbi +1228 -0
  66. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  67. data/sorbet/rbi/gems/nio4r@2.7.3.rbi +293 -0
  68. data/sorbet/rbi/gems/nokogiri@1.16.7.rbi +7311 -0
  69. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  70. data/sorbet/rbi/gems/parser@3.3.5.0.rbi +5519 -0
  71. data/sorbet/rbi/gems/prism@1.0.0.rbi +35493 -0
  72. data/sorbet/rbi/gems/psych@5.1.2.rbi +1769 -0
  73. data/sorbet/rbi/gems/racc@1.8.1.rbi +162 -0
  74. data/sorbet/rbi/gems/rack-session@2.0.0.rbi +727 -0
  75. data/sorbet/rbi/gems/rack-test@2.1.0.rbi +747 -0
  76. data/sorbet/rbi/gems/rack@3.1.7.rbi +4902 -0
  77. data/sorbet/rbi/gems/rackup@2.1.0.rbi +390 -0
  78. data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +758 -0
  79. data/sorbet/rbi/gems/rails-html-sanitizer@1.6.0.rbi +785 -0
  80. data/sorbet/rbi/gems/rails@7.2.1.rbi +9 -0
  81. data/sorbet/rbi/gems/railties@7.2.1.rbi +3824 -0
  82. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  83. data/sorbet/rbi/gems/rake@13.2.1.rbi +3046 -0
  84. data/sorbet/rbi/gems/rbi@0.2.0.rbi +4105 -0
  85. data/sorbet/rbi/gems/rdoc@6.7.0.rbi +12721 -0
  86. data/sorbet/rbi/gems/regexp_parser@2.9.2.rbi +3772 -0
  87. data/sorbet/rbi/gems/reline@0.5.10.rbi +9 -0
  88. data/sorbet/rbi/gems/rspec-core@3.13.1.rbi +11012 -0
  89. data/sorbet/rbi/gems/rspec-expectations@3.13.3.rbi +8183 -0
  90. data/sorbet/rbi/gems/rspec-mocks@3.13.1.rbi +5341 -0
  91. data/sorbet/rbi/gems/rspec-support@3.13.1.rbi +1630 -0
  92. data/sorbet/rbi/gems/rspec@3.13.0.rbi +83 -0
  93. data/sorbet/rbi/gems/rubocop-ast@1.32.3.rbi +7446 -0
  94. data/sorbet/rbi/gems/rubocop-capybara@2.21.0.rbi +9 -0
  95. data/sorbet/rbi/gems/rubocop-factory_bot@2.26.1.rbi +9 -0
  96. data/sorbet/rbi/gems/rubocop-graphql@1.5.4.rbi +9 -0
  97. data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +9 -0
  98. data/sorbet/rbi/gems/rubocop-performance@1.21.1.rbi +9 -0
  99. data/sorbet/rbi/gems/rubocop-rails@2.26.1.rbi +9 -0
  100. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +329 -0
  101. data/sorbet/rbi/gems/rubocop-rspec@3.0.5.rbi +9 -0
  102. data/sorbet/rbi/gems/rubocop-rspec_rails@2.30.0.rbi +9 -0
  103. data/sorbet/rbi/gems/rubocop-sorbet@0.8.5.rbi +9 -0
  104. data/sorbet/rbi/gems/rubocop@1.66.1.rbi +58268 -0
  105. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  106. data/sorbet/rbi/gems/securerandom@0.3.1.rbi +396 -0
  107. data/sorbet/rbi/gems/spoom@1.4.2.rbi +4932 -0
  108. data/sorbet/rbi/gems/stringio@3.1.1.rbi +9 -0
  109. data/sorbet/rbi/gems/tapioca@0.16.2.rbi +3581 -0
  110. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  111. data/sorbet/rbi/gems/timeout@0.4.1.rbi +149 -0
  112. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5918 -0
  113. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +66 -0
  114. data/sorbet/rbi/gems/useragent@0.16.10.rbi +9 -0
  115. data/sorbet/rbi/gems/webrick@1.8.1.rbi +2607 -0
  116. data/sorbet/rbi/gems/websocket-driver@0.7.6.rbi +993 -0
  117. data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +121 -0
  118. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  119. data/sorbet/rbi/gems/yard@0.9.37.rbi +18570 -0
  120. data/sorbet/rbi/gems/zeitwerk@2.6.18.rbi +1051 -0
  121. data/sorbet/rbi/todo.rbi +6 -0
  122. data/sorbet/tapioca/config.yml +13 -0
  123. data/sorbet/tapioca/require.rb +9 -0
  124. data/tasks/bundle_update.rake +14 -0
  125. data/tasks/sorbet.rake +26 -0
  126. metadata +216 -0
@@ -0,0 +1,1697 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `actiontext` gem.
5
+ # Please instead update this file by running `bin/tapioca gem actiontext`.
6
+
7
+
8
+ # :markup: markdown
9
+ # :include: ../README.md
10
+ #
11
+ # source://actiontext//lib/action_text/gem_version.rb#5
12
+ module ActionText
13
+ extend ::ActiveSupport::Autoload
14
+
15
+ class << self
16
+ # source://actiontext//lib/action_text/deprecator.rb#6
17
+ def deprecator; end
18
+
19
+ # Returns the currently loaded version of Action Text as a `Gem::Version`.
20
+ #
21
+ # source://actiontext//lib/action_text/gem_version.rb#7
22
+ def gem_version; end
23
+
24
+ # source://actiontext//lib/action_text.rb#47
25
+ def html_document_class; end
26
+
27
+ # source://actiontext//lib/action_text.rb#53
28
+ def html_document_fragment_class; end
29
+
30
+ # source://railties/7.2.1/lib/rails/engine.rb#412
31
+ def railtie_helpers_paths; end
32
+
33
+ # source://railties/7.2.1/lib/rails/engine.rb#395
34
+ def railtie_namespace; end
35
+
36
+ # source://railties/7.2.1/lib/rails/engine.rb#416
37
+ def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
38
+
39
+ # source://railties/7.2.1/lib/rails/engine.rb#401
40
+ def table_name_prefix; end
41
+
42
+ # source://railties/7.2.1/lib/rails/engine.rb#408
43
+ def use_relative_model_naming?; end
44
+
45
+ # Returns the currently loaded version of Action Text as a `Gem::Version`.
46
+ #
47
+ # source://actiontext//lib/action_text/version.rb#9
48
+ def version; end
49
+ end
50
+ end
51
+
52
+ # # Action Text Attachable
53
+ #
54
+ # Include this module to make a record attachable to an ActionText::Content.
55
+ #
56
+ # class Person < ApplicationRecord
57
+ # include ActionText::Attachable
58
+ # end
59
+ #
60
+ # person = Person.create! name: "Javan"
61
+ # html = %Q(<action-text-attachment sgid="#{person.attachable_sgid}"></action-text-attachment>)
62
+ # content = ActionText::Content.new(html)
63
+ # content.attachables # => [person]
64
+ #
65
+ # source://actiontext//lib/action_text/attachable.rb#18
66
+ module ActionText::Attachable
67
+ extend ::ActiveSupport::Concern
68
+
69
+ mixes_in_class_methods ::ActionText::Attachable::ClassMethods
70
+
71
+ # source://actiontext//lib/action_text/attachable.rb#83
72
+ def attachable_content_type; end
73
+
74
+ # source://actiontext//lib/action_text/attachable.rb#87
75
+ def attachable_filename; end
76
+
77
+ # source://actiontext//lib/action_text/attachable.rb#91
78
+ def attachable_filesize; end
79
+
80
+ # source://actiontext//lib/action_text/attachable.rb#95
81
+ def attachable_metadata; end
82
+
83
+ # Returns the Signed Global ID for the attachable. The purpose of the ID is set
84
+ # to 'attachable' so it can't be reused for other purposes.
85
+ #
86
+ # source://actiontext//lib/action_text/attachable.rb#79
87
+ def attachable_sgid; end
88
+
89
+ # @return [Boolean]
90
+ #
91
+ # source://actiontext//lib/action_text/attachable.rb#99
92
+ def previewable_attachable?; end
93
+
94
+ # Returns the path to the partial that is used for rendering the attachable.
95
+ # Defaults to `to_partial_path`.
96
+ #
97
+ # Override to render a different partial:
98
+ #
99
+ # class User < ApplicationRecord
100
+ # def to_attachable_partial_path
101
+ # "users/attachable"
102
+ # end
103
+ # end
104
+ #
105
+ # source://actiontext//lib/action_text/attachable.rb#127
106
+ def to_attachable_partial_path; end
107
+
108
+ # source://actiontext//lib/action_text/attachable.rb#131
109
+ def to_rich_text_attributes(attributes = T.unsafe(nil)); end
110
+
111
+ # Returns the path to the partial that is used for rendering the attachable in
112
+ # Trix. Defaults to `to_partial_path`.
113
+ #
114
+ # Override to render a different partial:
115
+ #
116
+ # class User < ApplicationRecord
117
+ # def to_trix_content_attachment_partial_path
118
+ # "users/trix_content_attachment"
119
+ # end
120
+ # end
121
+ #
122
+ # source://actiontext//lib/action_text/attachable.rb#113
123
+ def to_trix_content_attachment_partial_path; end
124
+
125
+ private
126
+
127
+ # source://actiontext//lib/action_text/attachable.rb#144
128
+ def attribute_names_for_serialization; end
129
+
130
+ # source://actiontext//lib/action_text/attachable.rb#148
131
+ def read_attribute_for_serialization(key); end
132
+
133
+ class << self
134
+ # source://actiontext//lib/action_text/attachable.rb#43
135
+ def from_attachable_sgid(sgid, options = T.unsafe(nil)); end
136
+
137
+ # Extracts the `ActionText::Attachable` from the attachment HTML node:
138
+ #
139
+ # person = Person.create! name: "Javan"
140
+ # html = %Q(<action-text-attachment sgid="#{person.attachable_sgid}"></action-text-attachment>)
141
+ # fragment = ActionText::Fragment.wrap(html)
142
+ # attachment_node = fragment.find_all(ActionText::Attachment.tag_name).first
143
+ # ActionText::Attachable.from_node(attachment_node) # => person
144
+ #
145
+ # source://actiontext//lib/action_text/attachable.rb#31
146
+ def from_node(node); end
147
+
148
+ private
149
+
150
+ # source://actiontext//lib/action_text/attachable.rb#50
151
+ def attachable_from_sgid(sgid); end
152
+ end
153
+ end
154
+
155
+ # source://actiontext//lib/action_text/attachable.rb#0
156
+ module ActionText::Attachable::ClassMethods
157
+ # source://actiontext//lib/action_text/attachable.rb#58
158
+ def from_attachable_sgid(sgid); end
159
+
160
+ # source://actiontext//lib/action_text/attachable.rb#72
161
+ def to_missing_attachable_partial_path; end
162
+ end
163
+
164
+ # source://actiontext//lib/action_text/attachable.rb#21
165
+ ActionText::Attachable::LOCATOR_NAME = T.let(T.unsafe(nil), String)
166
+
167
+ # source://actiontext//lib/action_text.rb#30
168
+ module ActionText::Attachables
169
+ extend ::ActiveSupport::Autoload
170
+ end
171
+
172
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#7
173
+ class ActionText::Attachables::ContentAttachment
174
+ include ::ActiveModel::Validations
175
+ include ::ActiveSupport::Callbacks
176
+ include ::ActiveModel::Validations::HelperMethods
177
+ include ::ActiveModel::Conversion
178
+ include ::ActiveModel::ForbiddenAttributesProtection
179
+ include ::ActiveModel::AttributeAssignment
180
+ include ::ActiveModel::API
181
+ include ::ActiveModel::Access
182
+ include ::ActiveModel::Model
183
+ extend ::ActiveModel::Validations::ClassMethods
184
+ extend ::ActiveModel::Naming
185
+ extend ::ActiveModel::Callbacks
186
+ extend ::ActiveSupport::Callbacks::ClassMethods
187
+ extend ::ActiveSupport::DescendantsTracker
188
+ extend ::ActiveModel::Translation
189
+ extend ::ActiveModel::Validations::HelperMethods
190
+ extend ::ActiveModel::Conversion::ClassMethods
191
+
192
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
193
+ def __callbacks; end
194
+
195
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
196
+ def __callbacks?; end
197
+
198
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
199
+ def _run_validate_callbacks(&block); end
200
+
201
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
202
+ def _validate_callbacks; end
203
+
204
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
205
+ def _validators; end
206
+
207
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
208
+ def _validators?; end
209
+
210
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#20
211
+ def attachable_plain_text_representation(caption); end
212
+
213
+ # Returns the value of attribute content.
214
+ #
215
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#15
216
+ def content; end
217
+
218
+ # Sets the attribute content
219
+ #
220
+ # @param value the value to set the attribute content to.
221
+ #
222
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#15
223
+ def content=(_arg0); end
224
+
225
+ # Returns the value of attribute content_type.
226
+ #
227
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#15
228
+ def content_type; end
229
+
230
+ # Sets the attribute content_type
231
+ #
232
+ # @param value the value to set the attribute content_type to.
233
+ #
234
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#15
235
+ def content_type=(_arg0); end
236
+
237
+ # source://activemodel/7.2.1/lib/active_model/naming.rb#255
238
+ def model_name(&_arg0); end
239
+
240
+ # source://activemodel/7.2.1/lib/active_model/conversion.rb#32
241
+ def param_delimiter=(_arg0); end
242
+
243
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#24
244
+ def to_html; end
245
+
246
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#32
247
+ def to_partial_path; end
248
+
249
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#28
250
+ def to_s; end
251
+
252
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#67
253
+ def validation_context; end
254
+
255
+ private
256
+
257
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#37
258
+ def content_instance; end
259
+
260
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#67
261
+ def validation_context=(_arg0); end
262
+
263
+ class << self
264
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
265
+ def __callbacks; end
266
+
267
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
268
+ def __callbacks=(value); end
269
+
270
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
271
+ def __callbacks?; end
272
+
273
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
274
+ def _validate_callbacks; end
275
+
276
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
277
+ def _validate_callbacks=(value); end
278
+
279
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
280
+ def _validators; end
281
+
282
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
283
+ def _validators=(value); end
284
+
285
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
286
+ def _validators?; end
287
+
288
+ # source://actiontext//lib/action_text/attachables/content_attachment.rb#10
289
+ def from_node(node); end
290
+
291
+ # source://activemodel/7.2.1/lib/active_model/conversion.rb#32
292
+ def param_delimiter; end
293
+
294
+ # source://activemodel/7.2.1/lib/active_model/conversion.rb#32
295
+ def param_delimiter=(value); end
296
+
297
+ # source://activemodel/7.2.1/lib/active_model/conversion.rb#32
298
+ def param_delimiter?; end
299
+ end
300
+ end
301
+
302
+ # source://actiontext//lib/action_text/attachables/missing_attachable.rb#7
303
+ class ActionText::Attachables::MissingAttachable
304
+ extend ::ActiveModel::Naming
305
+
306
+ # @return [MissingAttachable] a new instance of MissingAttachable
307
+ #
308
+ # source://actiontext//lib/action_text/attachables/missing_attachable.rb#12
309
+ def initialize(sgid); end
310
+
311
+ # source://actiontext//lib/action_text/attachables/missing_attachable.rb#24
312
+ def model; end
313
+
314
+ # source://activemodel/7.2.1/lib/active_model/naming.rb#255
315
+ def model_name(&_arg0); end
316
+
317
+ # source://actiontext//lib/action_text/attachables/missing_attachable.rb#16
318
+ def to_partial_path; end
319
+ end
320
+
321
+ # source://actiontext//lib/action_text/attachables/missing_attachable.rb#10
322
+ ActionText::Attachables::MissingAttachable::DEFAULT_PARTIAL_PATH = T.let(T.unsafe(nil), String)
323
+
324
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#7
325
+ class ActionText::Attachables::RemoteImage
326
+ extend ::ActiveModel::Naming
327
+
328
+ # @return [RemoteImage] a new instance of RemoteImage
329
+ #
330
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#32
331
+ def initialize(attributes = T.unsafe(nil)); end
332
+
333
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#39
334
+ def attachable_plain_text_representation(caption); end
335
+
336
+ # Returns the value of attribute content_type.
337
+ #
338
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#30
339
+ def content_type; end
340
+
341
+ # Returns the value of attribute height.
342
+ #
343
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#30
344
+ def height; end
345
+
346
+ # source://activemodel/7.2.1/lib/active_model/naming.rb#255
347
+ def model_name(&_arg0); end
348
+
349
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#43
350
+ def to_partial_path; end
351
+
352
+ # Returns the value of attribute url.
353
+ #
354
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#30
355
+ def url; end
356
+
357
+ # Returns the value of attribute width.
358
+ #
359
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#30
360
+ def width; end
361
+
362
+ class << self
363
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#11
364
+ def from_node(node); end
365
+
366
+ private
367
+
368
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#22
369
+ def attributes_from_node(node); end
370
+
371
+ # @return [Boolean]
372
+ #
373
+ # source://actiontext//lib/action_text/attachables/remote_image.rb#18
374
+ def content_type_is_image?(content_type); end
375
+ end
376
+ end
377
+
378
+ # # Action Text Attachment
379
+ #
380
+ # Attachments serialize attachables to HTML or plain text.
381
+ #
382
+ # class Person < ApplicationRecord
383
+ # include ActionText::Attachable
384
+ # end
385
+ #
386
+ # attachable = Person.create! name: "Javan"
387
+ # attachment = ActionText::Attachment.from_attachable(attachable)
388
+ # attachment.to_html # => "<action-text-attachment sgid=\"BAh7CEk..."
389
+ #
390
+ # source://actiontext//lib/action_text/attachment.rb#19
391
+ class ActionText::Attachment
392
+ include ::ActionText::Attachments::Caching
393
+ include ::ActionText::Attachments::Minification
394
+ include ::ActionText::Attachments::TrixConversion
395
+ extend ::ActionText::Attachments::Minification::ClassMethods
396
+ extend ::ActionText::Attachments::TrixConversion::ClassMethods
397
+
398
+ # @return [Attachment] a new instance of Attachment
399
+ #
400
+ # source://actiontext//lib/action_text/attachment.rb#68
401
+ def initialize(node, attachable); end
402
+
403
+ # Returns the value of attribute attachable.
404
+ #
405
+ # source://actiontext//lib/action_text/attachment.rb#63
406
+ def attachable; end
407
+
408
+ # source://actiontext//lib/action_text/attachment.rb#73
409
+ def caption; end
410
+
411
+ # source://actiontext//lib/action_text/attachment.rb#77
412
+ def full_attributes; end
413
+
414
+ # source://actiontext//lib/action_text/attachment.rb#131
415
+ def inspect; end
416
+
417
+ # source://activesupport/7.2.1/lib/active_support/delegation.rb#187
418
+ def method_missing(method, *_arg1, **_arg2, &_arg3); end
419
+
420
+ # Returns the value of attribute node.
421
+ #
422
+ # source://actiontext//lib/action_text/attachment.rb#63
423
+ def node; end
424
+
425
+ # source://actiontext//lib/action_text/attachment.rb#22
426
+ def tag_name; end
427
+
428
+ # source://actiontext//lib/action_text/attachment.rb#22
429
+ def tag_name=(val); end
430
+
431
+ # Converts the attachment to HTML.
432
+ #
433
+ # attachable = Person.create! name: "Javan"
434
+ # attachment = ActionText::Attachment.from_attachable(attachable)
435
+ # attachment.to_html # => "<action-text-attachment sgid=\"BAh7CEk...
436
+ #
437
+ # source://actiontext//lib/action_text/attachment.rb#123
438
+ def to_html; end
439
+
440
+ # source://actiontext//lib/action_text/attachment.rb#65
441
+ def to_param(*_arg0, **_arg1, &_arg2); end
442
+
443
+ # Converts the attachment to plain text.
444
+ #
445
+ # attachable = ActiveStorage::Blob.find_by filename: "racecar.jpg"
446
+ # attachment = ActionText::Attachment.from_attachable(attachable)
447
+ # attachment.to_plain_text # => "[racecar.jpg]"
448
+ #
449
+ # Use the `caption` when set:
450
+ #
451
+ # attachment = ActionText::Attachment.from_attachable(attachable, caption: "Vroom vroom")
452
+ # attachment.to_plain_text # => "[Vroom vroom]"
453
+ #
454
+ # The presentation can be overridden by implementing the
455
+ # `attachable_plain_text_representation` method:
456
+ #
457
+ # class Person < ApplicationRecord
458
+ # include ActionText::Attachable
459
+ #
460
+ # def attachable_plain_text_representation
461
+ # "[#{name}]"
462
+ # end
463
+ # end
464
+ #
465
+ # attachable = Person.create! name: "Javan"
466
+ # attachment = ActionText::Attachment.from_attachable(attachable)
467
+ # attachment.to_plain_text # => "[Javan]"
468
+ #
469
+ # source://actiontext//lib/action_text/attachment.rb#110
470
+ def to_plain_text; end
471
+
472
+ # source://actiontext//lib/action_text/attachment.rb#127
473
+ def to_s; end
474
+
475
+ # source://actiontext//lib/action_text/attachment.rb#81
476
+ def with_full_attributes; end
477
+
478
+ private
479
+
480
+ # source://actiontext//lib/action_text/attachment.rb#140
481
+ def attachable_attributes; end
482
+
483
+ # source://actiontext//lib/action_text/attachment.rb#136
484
+ def node_attributes; end
485
+
486
+ # source://activesupport/7.2.1/lib/active_support/delegation.rb#179
487
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
488
+
489
+ # source://actiontext//lib/action_text/attachment.rb#144
490
+ def sgid_attributes; end
491
+
492
+ class << self
493
+ # source://actiontext//lib/action_text/attachment.rb#27
494
+ def fragment_by_canonicalizing_attachments(content); end
495
+
496
+ # source://actiontext//lib/action_text/attachment.rb#39
497
+ def from_attachable(attachable, attributes = T.unsafe(nil)); end
498
+
499
+ # source://actiontext//lib/action_text/attachment.rb#35
500
+ def from_attachables(attachables); end
501
+
502
+ # source://actiontext//lib/action_text/attachment.rb#45
503
+ def from_attributes(attributes, attachable = T.unsafe(nil)); end
504
+
505
+ # source://actiontext//lib/action_text/attachment.rb#31
506
+ def from_node(node, attachable = T.unsafe(nil)); end
507
+
508
+ # source://actiontext//lib/action_text/attachment.rb#22
509
+ def tag_name; end
510
+
511
+ # source://actiontext//lib/action_text/attachment.rb#22
512
+ def tag_name=(val); end
513
+
514
+ private
515
+
516
+ # source://actiontext//lib/action_text/attachment.rb#52
517
+ def node_from_attributes(attributes); end
518
+
519
+ # source://actiontext//lib/action_text/attachment.rb#58
520
+ def process_attributes(attributes); end
521
+ end
522
+ end
523
+
524
+ # source://actiontext//lib/action_text/attachment.rb#24
525
+ ActionText::Attachment::ATTRIBUTES = T.let(T.unsafe(nil), Array)
526
+
527
+ # source://actiontext//lib/action_text/attachment_gallery.rb#6
528
+ class ActionText::AttachmentGallery
529
+ include ::ActiveModel::Validations
530
+ include ::ActiveSupport::Callbacks
531
+ include ::ActiveModel::Validations::HelperMethods
532
+ include ::ActiveModel::Conversion
533
+ include ::ActiveModel::ForbiddenAttributesProtection
534
+ include ::ActiveModel::AttributeAssignment
535
+ include ::ActiveModel::API
536
+ include ::ActiveModel::Access
537
+ include ::ActiveModel::Model
538
+ extend ::ActiveModel::Validations::ClassMethods
539
+ extend ::ActiveModel::Naming
540
+ extend ::ActiveModel::Callbacks
541
+ extend ::ActiveSupport::Callbacks::ClassMethods
542
+ extend ::ActiveSupport::DescendantsTracker
543
+ extend ::ActiveModel::Translation
544
+ extend ::ActiveModel::Validations::HelperMethods
545
+ extend ::ActiveModel::Conversion::ClassMethods
546
+
547
+ # @return [AttachmentGallery] a new instance of AttachmentGallery
548
+ #
549
+ # source://actiontext//lib/action_text/attachment_gallery.rb#54
550
+ def initialize(node); end
551
+
552
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
553
+ def __callbacks; end
554
+
555
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
556
+ def __callbacks?; end
557
+
558
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#912
559
+ def _run_validate_callbacks(&block); end
560
+
561
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#924
562
+ def _validate_callbacks; end
563
+
564
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
565
+ def _validators; end
566
+
567
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
568
+ def _validators?; end
569
+
570
+ # source://actiontext//lib/action_text/attachment_gallery.rb#58
571
+ def attachments; end
572
+
573
+ # source://actiontext//lib/action_text/attachment_gallery.rb#68
574
+ def inspect; end
575
+
576
+ # source://activemodel/7.2.1/lib/active_model/naming.rb#255
577
+ def model_name(&_arg0); end
578
+
579
+ # Returns the value of attribute node.
580
+ #
581
+ # source://actiontext//lib/action_text/attachment_gallery.rb#52
582
+ def node; end
583
+
584
+ # source://activemodel/7.2.1/lib/active_model/conversion.rb#32
585
+ def param_delimiter=(_arg0); end
586
+
587
+ # source://actiontext//lib/action_text/attachment_gallery.rb#64
588
+ def size; end
589
+
590
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#67
591
+ def validation_context; end
592
+
593
+ private
594
+
595
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#67
596
+ def validation_context=(_arg0); end
597
+
598
+ class << self
599
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
600
+ def __callbacks; end
601
+
602
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
603
+ def __callbacks=(value); end
604
+
605
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
606
+ def __callbacks?; end
607
+
608
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#916
609
+ def _validate_callbacks; end
610
+
611
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#920
612
+ def _validate_callbacks=(value); end
613
+
614
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
615
+ def _validators; end
616
+
617
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
618
+ def _validators=(value); end
619
+
620
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
621
+ def _validators?; end
622
+
623
+ # source://actiontext//lib/action_text/attachment_gallery.rb#43
624
+ def attachment_selector; end
625
+
626
+ # source://actiontext//lib/action_text/attachment_gallery.rb#27
627
+ def find_attachment_gallery_nodes(content); end
628
+
629
+ # source://actiontext//lib/action_text/attachment_gallery.rb#13
630
+ def fragment_by_canonicalizing_attachment_galleries(content); end
631
+
632
+ # source://actiontext//lib/action_text/attachment_gallery.rb#19
633
+ def fragment_by_replacing_attachment_gallery_nodes(content); end
634
+
635
+ # source://actiontext//lib/action_text/attachment_gallery.rb#39
636
+ def from_node(node); end
637
+
638
+ # source://activemodel/7.2.1/lib/active_model/conversion.rb#32
639
+ def param_delimiter; end
640
+
641
+ # source://activemodel/7.2.1/lib/active_model/conversion.rb#32
642
+ def param_delimiter=(value); end
643
+
644
+ # source://activemodel/7.2.1/lib/active_model/conversion.rb#32
645
+ def param_delimiter?; end
646
+
647
+ # source://actiontext//lib/action_text/attachment_gallery.rb#47
648
+ def selector; end
649
+ end
650
+ end
651
+
652
+ # source://actiontext//lib/action_text/attachment_gallery.rb#9
653
+ ActionText::AttachmentGallery::TAG_NAME = T.let(T.unsafe(nil), String)
654
+
655
+ # source://actiontext//lib/action_text.rb#38
656
+ module ActionText::Attachments
657
+ extend ::ActiveSupport::Autoload
658
+ end
659
+
660
+ # source://actiontext//lib/action_text/attachments/caching.rb#7
661
+ module ActionText::Attachments::Caching
662
+ # source://actiontext//lib/action_text/attachments/caching.rb#8
663
+ def cache_key(*args); end
664
+
665
+ private
666
+
667
+ # source://actiontext//lib/action_text/attachments/caching.rb#13
668
+ def cache_digest; end
669
+ end
670
+
671
+ # source://actiontext//lib/action_text/attachments/minification.rb#7
672
+ module ActionText::Attachments::Minification
673
+ extend ::ActiveSupport::Concern
674
+
675
+ mixes_in_class_methods ::ActionText::Attachments::Minification::ClassMethods
676
+ end
677
+
678
+ # source://actiontext//lib/action_text/attachments/minification.rb#0
679
+ module ActionText::Attachments::Minification::ClassMethods
680
+ # source://actiontext//lib/action_text/attachments/minification.rb#11
681
+ def fragment_by_minifying_attachments(content); end
682
+ end
683
+
684
+ # source://actiontext//lib/action_text/attachments/trix_conversion.rb#9
685
+ module ActionText::Attachments::TrixConversion
686
+ extend ::ActiveSupport::Concern
687
+
688
+ mixes_in_class_methods ::ActionText::Attachments::TrixConversion::ClassMethods
689
+
690
+ # source://actiontext//lib/action_text/attachments/trix_conversion.rb#24
691
+ def to_trix_attachment(content = T.unsafe(nil)); end
692
+
693
+ private
694
+
695
+ # source://actiontext//lib/action_text/attachments/trix_conversion.rb#31
696
+ def trix_attachment_content; end
697
+ end
698
+
699
+ # source://actiontext//lib/action_text/attachments/trix_conversion.rb#0
700
+ module ActionText::Attachments::TrixConversion::ClassMethods
701
+ # source://actiontext//lib/action_text/attachments/trix_conversion.rb#13
702
+ def fragment_by_converting_trix_attachments(content); end
703
+
704
+ # source://actiontext//lib/action_text/attachments/trix_conversion.rb#19
705
+ def from_trix_attachment(trix_attachment); end
706
+ end
707
+
708
+ # source://actiontext//lib/action_text/attribute.rb#6
709
+ module ActionText::Attribute
710
+ extend ::ActiveSupport::Concern
711
+
712
+ mixes_in_class_methods ::ActionText::Attribute::ClassMethods
713
+ end
714
+
715
+ # source://actiontext//lib/action_text/attribute.rb#0
716
+ module ActionText::Attribute::ClassMethods
717
+ # source://actiontext//lib/action_text/attribute.rb#50
718
+ def has_rich_text(name, encrypted: T.unsafe(nil), strict_loading: T.unsafe(nil)); end
719
+
720
+ # source://actiontext//lib/action_text/attribute.rb#80
721
+ def rich_text_association_names; end
722
+
723
+ # source://actiontext//lib/action_text/attribute.rb#75
724
+ def with_all_rich_text; end
725
+ end
726
+
727
+ # # Action Text Content
728
+ #
729
+ # The `ActionText::Content` class wraps an HTML fragment to add support for
730
+ # parsing, rendering and serialization. It can be used to extract links and
731
+ # attachments, convert the fragment to plain text, or serialize the fragment to
732
+ # the database.
733
+ #
734
+ # The ActionText::RichText record serializes the `body` attribute as
735
+ # `ActionText::Content`.
736
+ #
737
+ # class Message < ActiveRecord::Base
738
+ # has_rich_text :content
739
+ # end
740
+ #
741
+ # message = Message.create!(content: "<h1>Funny times!</h1>")
742
+ # body = message.content.body # => #<ActionText::Content "<div class=\"trix-conte...">
743
+ # body.to_s # => "<h1>Funny times!</h1>"
744
+ # body.to_plain_text # => "Funny times!"
745
+ #
746
+ # source://actiontext//lib/action_text/content.rb#24
747
+ class ActionText::Content
748
+ include ::ActionText::ContentHelper
749
+ include ::ActionText::Serialization
750
+ include ::ActionText::Rendering
751
+ extend ::ActionText::Serialization::ClassMethods
752
+ extend ::ActionText::Rendering::ClassMethods
753
+
754
+ # @return [Content] a new instance of Content
755
+ #
756
+ # source://actiontext//lib/action_text/content.rb#40
757
+ def initialize(content = T.unsafe(nil), options = T.unsafe(nil)); end
758
+
759
+ # source://actiontext//lib/action_text/content.rb#169
760
+ def ==(other); end
761
+
762
+ # source://actiontext//lib/action_text/content.rb#93
763
+ def append_attachables(attachables); end
764
+
765
+ # source://actiontext//lib/action_text/content.rb#161
766
+ def as_json(*_arg0); end
767
+
768
+ # Extracts +ActionText::Attachable+s from the HTML fragment:
769
+ #
770
+ # attachable = ActiveStorage::Blob.first
771
+ # html = %Q(<action-text-attachment sgid="#{attachable.attachable_sgid}" caption="Captioned"></action-text-attachment>)
772
+ # content = ActionText::Content.new(html)
773
+ # content.attachables # => [attachable]
774
+ #
775
+ # source://actiontext//lib/action_text/content.rb#87
776
+ def attachables; end
777
+
778
+ # source://actiontext//lib/action_text/content.rb#71
779
+ def attachment_galleries; end
780
+
781
+ # Extracts +ActionText::Attachment+s from the HTML fragment:
782
+ #
783
+ # attachable = ActiveStorage::Blob.first
784
+ # html = %Q(<action-text-attachment sgid="#{attachable.attachable_sgid}" caption="Captioned"></action-text-attachment>)
785
+ # content = ActionText::Content.new(html)
786
+ # content.attachments # => [#<ActionText::Attachment attachable=#<ActiveStorage::Blob...
787
+ #
788
+ # source://actiontext//lib/action_text/content.rb#65
789
+ def attachments; end
790
+
791
+ # source://actiontext//lib/action_text/content.rb#30
792
+ def blank?(*_arg0, **_arg1, &_arg2); end
793
+
794
+ # source://actiontext//lib/action_text/content.rb#29
795
+ def deconstruct(*_arg0, **_arg1, &_arg2); end
796
+
797
+ # source://actiontext//lib/action_text/content.rb#30
798
+ def empty?(*_arg0, **_arg1, &_arg2); end
799
+
800
+ # Returns the value of attribute fragment.
801
+ #
802
+ # source://actiontext//lib/action_text/content.rb#27
803
+ def fragment; end
804
+
805
+ # source://actiontext//lib/action_text/content.rb#77
806
+ def gallery_attachments; end
807
+
808
+ # source://actiontext//lib/action_text/content.rb#30
809
+ def html_safe(*_arg0, **_arg1, &_arg2); end
810
+
811
+ # source://actiontext//lib/action_text/content.rb#165
812
+ def inspect; end
813
+
814
+ # Extracts links from the HTML fragment:
815
+ #
816
+ # html = '<a href="http://example.com/">Example</a>'
817
+ # content = ActionText::Content.new(html)
818
+ # content.links # => ["http://example.com/"]
819
+ #
820
+ # source://actiontext//lib/action_text/content.rb#55
821
+ def links; end
822
+
823
+ # source://actiontext//lib/action_text/content.rb#30
824
+ def present?(*_arg0, **_arg1, &_arg2); end
825
+
826
+ # source://actiontext//lib/action_text/rendering.rb#14
827
+ def render(*_arg0, **_arg1, &_arg2); end
828
+
829
+ # source://actiontext//lib/action_text/content.rb#109
830
+ def render_attachment_galleries(&block); end
831
+
832
+ # source://actiontext//lib/action_text/content.rb#98
833
+ def render_attachments(**options, &block); end
834
+
835
+ # source://actiontext//lib/action_text/content.rb#138
836
+ def to_html; end
837
+
838
+ # source://actiontext//lib/action_text/content.rb#146
839
+ def to_partial_path; end
840
+
841
+ # Returns a plain-text version of the markup contained by the content, with tags
842
+ # removed but HTML entities encoded.
843
+ #
844
+ # content = ActionText::Content.new("<h1>Funny times!</h1>")
845
+ # content.to_plain_text # => "Funny times!"
846
+ #
847
+ # content = ActionText::Content.new("<div onclick='action()'>safe<script>unsafe</script></div>")
848
+ # content.to_plain_text # => "safeunsafe"
849
+ #
850
+ # NOTE: that the returned string is not HTML safe and should not be rendered in
851
+ # browsers.
852
+ #
853
+ # content = ActionText::Content.new("&lt;script&gt;alert()&lt;/script&gt;")
854
+ # content.to_plain_text # => "<script>alert()</script>"
855
+ #
856
+ # source://actiontext//lib/action_text/content.rb#130
857
+ def to_plain_text; end
858
+
859
+ # source://actiontext//lib/action_text/content.rb#142
860
+ def to_rendered_html_with_layout; end
861
+
862
+ # Safely transforms Content into an HTML String.
863
+ #
864
+ # content = ActionText::Content.new(content: "<h1>Funny times!</h1>")
865
+ # content.to_s # => "<h1>Funny times!</h1>"
866
+ #
867
+ # content = ActionText::Content.new("<div onclick='action()'>safe<script>unsafe</script></div>")
868
+ # content.to_s # => "<div>safeunsafe</div>"
869
+ #
870
+ # source://actiontext//lib/action_text/content.rb#157
871
+ def to_s; end
872
+
873
+ # source://actiontext//lib/action_text/content.rb#134
874
+ def to_trix_html; end
875
+
876
+ private
877
+
878
+ # source://actiontext//lib/action_text/content.rb#186
879
+ def attachment_for_node(node, with_full_attributes: T.unsafe(nil)); end
880
+
881
+ # source://actiontext//lib/action_text/content.rb#191
882
+ def attachment_gallery_for_node(node); end
883
+
884
+ # source://actiontext//lib/action_text/content.rb#182
885
+ def attachment_gallery_nodes; end
886
+
887
+ # source://actiontext//lib/action_text/content.rb#178
888
+ def attachment_nodes; end
889
+
890
+ class << self
891
+ # source://actiontext//lib/action_text/content.rb#33
892
+ def fragment_by_canonicalizing_content(content); end
893
+
894
+ # source://activesupport/7.2.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
895
+ def renderer; end
896
+
897
+ # source://activesupport/7.2.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
898
+ def renderer=(obj); end
899
+ end
900
+ end
901
+
902
+ module ActionText::ContentHelper
903
+ def allowed_attributes; end
904
+ def allowed_attributes=(val); end
905
+ def allowed_tags; end
906
+ def allowed_tags=(val); end
907
+ def render_action_text_attachment(attachment, locals: T.unsafe(nil)); end
908
+ def render_action_text_attachments(content); end
909
+ def render_action_text_content(content); end
910
+ def sanitize_action_text_content(content); end
911
+ def sanitize_content_attachment(content_attachment); end
912
+ def sanitizer; end
913
+ def sanitizer=(val); end
914
+ def sanitizer_allowed_attributes; end
915
+ def sanitizer_allowed_tags; end
916
+ def scrubber; end
917
+ def scrubber=(val); end
918
+
919
+ class << self
920
+ def allowed_attributes; end
921
+ def allowed_attributes=(val); end
922
+ def allowed_tags; end
923
+ def allowed_tags=(val); end
924
+ def sanitizer; end
925
+ def sanitizer=(val); end
926
+ def scrubber; end
927
+ def scrubber=(val); end
928
+ end
929
+ end
930
+
931
+ # source://actiontext//lib/action_text/encryption.rb#6
932
+ module ActionText::Encryption
933
+ # source://actiontext//lib/action_text/encryption.rb#14
934
+ def decrypt; end
935
+
936
+ # source://actiontext//lib/action_text/encryption.rb#7
937
+ def encrypt; end
938
+
939
+ private
940
+
941
+ # source://actiontext//lib/action_text/encryption.rb#26
942
+ def decrypt_rich_texts; end
943
+
944
+ # source://actiontext//lib/action_text/encryption.rb#22
945
+ def encrypt_rich_texts; end
946
+
947
+ # source://actiontext//lib/action_text/encryption.rb#34
948
+ def encryptable_rich_texts; end
949
+
950
+ # @return [Boolean]
951
+ #
952
+ # source://actiontext//lib/action_text/encryption.rb#30
953
+ def has_encrypted_rich_texts?; end
954
+ end
955
+
956
+ # source://actiontext//lib/action_text/engine.rb#13
957
+ class ActionText::Engine < ::Rails::Engine
958
+ class << self
959
+ # source://activesupport/7.2.1/lib/active_support/callbacks.rb#70
960
+ def __callbacks; end
961
+ end
962
+ end
963
+
964
+ # # Action Text FixtureSet
965
+ #
966
+ # Fixtures are a way of organizing data that you want to test against; in short,
967
+ # sample data.
968
+ #
969
+ # To learn more about fixtures, read the ActiveRecord::FixtureSet documentation.
970
+ #
971
+ # ### YAML
972
+ #
973
+ # Like other Active Record-backed models, ActionText::RichText records inherit
974
+ # from ActiveRecord::Base instances and can therefore be populated by fixtures.
975
+ #
976
+ # Consider an `Article` class:
977
+ #
978
+ # class Article < ApplicationRecord
979
+ # has_rich_text :content
980
+ # end
981
+ #
982
+ # To declare fixture data for the related `content`, first declare fixture data
983
+ # for `Article` instances in `test/fixtures/articles.yml`:
984
+ #
985
+ # first:
986
+ # title: An Article
987
+ #
988
+ # Then declare the ActionText::RichText fixture data in
989
+ # `test/fixtures/action_text/rich_texts.yml`, making sure to declare each
990
+ # entry's `record:` key as a polymorphic relationship:
991
+ #
992
+ # first:
993
+ # record: first (Article)
994
+ # name: content
995
+ # body: <div>Hello, world.</div>
996
+ #
997
+ # When processed, Active Record will insert database records for each fixture
998
+ # entry and will ensure the Action Text relationship is intact.
999
+ #
1000
+ # source://actiontext//lib/action_text/fixture_set.rb#41
1001
+ class ActionText::FixtureSet
1002
+ class << self
1003
+ # Fixtures support Action Text attachments as part of their `body` HTML.
1004
+ #
1005
+ # ### Examples
1006
+ #
1007
+ # For example, consider a second `Article` fixture declared in
1008
+ # `test/fixtures/articles.yml`:
1009
+ #
1010
+ # second:
1011
+ # title: Another Article
1012
+ #
1013
+ # You can attach a mention of `articles(:first)` to `second`'s `content` by
1014
+ # embedding a call to `ActionText::FixtureSet.attachment` in the `body:` value
1015
+ # in `test/fixtures/action_text/rich_texts.yml`:
1016
+ #
1017
+ # second:
1018
+ # record: second (Article)
1019
+ # name: content
1020
+ # body: <div>Hello, <%= ActionText::FixtureSet.attachment("articles", :first) %></div>
1021
+ #
1022
+ # source://actiontext//lib/action_text/fixture_set.rb#61
1023
+ def attachment(fixture_set_name, label, column_type: T.unsafe(nil)); end
1024
+ end
1025
+ end
1026
+
1027
+ # source://actiontext//lib/action_text/fragment.rb#6
1028
+ class ActionText::Fragment
1029
+ # @return [Fragment] a new instance of Fragment
1030
+ #
1031
+ # source://actiontext//lib/action_text/fragment.rb#28
1032
+ def initialize(source); end
1033
+
1034
+ # source://actiontext//lib/action_text/fragment.rb#26
1035
+ def deconstruct(*_arg0, **_arg1, &_arg2); end
1036
+
1037
+ # source://actiontext//lib/action_text/fragment.rb#32
1038
+ def find_all(selector); end
1039
+
1040
+ # source://actiontext//lib/action_text/fragment.rb#41
1041
+ def replace(selector); end
1042
+
1043
+ # Returns the value of attribute source.
1044
+ #
1045
+ # source://actiontext//lib/action_text/fragment.rb#24
1046
+ def source; end
1047
+
1048
+ # source://actiontext//lib/action_text/fragment.rb#54
1049
+ def to_html; end
1050
+
1051
+ # source://actiontext//lib/action_text/fragment.rb#50
1052
+ def to_plain_text; end
1053
+
1054
+ # source://actiontext//lib/action_text/fragment.rb#58
1055
+ def to_s; end
1056
+
1057
+ # @yield [source = self.source.dup]
1058
+ #
1059
+ # source://actiontext//lib/action_text/fragment.rb#36
1060
+ def update; end
1061
+
1062
+ class << self
1063
+ # source://actiontext//lib/action_text/fragment.rb#19
1064
+ def from_html(html); end
1065
+
1066
+ # source://actiontext//lib/action_text/fragment.rb#8
1067
+ def wrap(fragment_or_html); end
1068
+ end
1069
+ end
1070
+
1071
+ # source://actiontext//lib/action_text/html_conversion.rb#6
1072
+ module ActionText::HtmlConversion
1073
+ extend ::ActionText::HtmlConversion
1074
+
1075
+ # source://actiontext//lib/action_text/html_conversion.rb#17
1076
+ def create_element(tag_name, attributes = T.unsafe(nil)); end
1077
+
1078
+ # source://actiontext//lib/action_text/html_conversion.rb#13
1079
+ def fragment_for_html(html); end
1080
+
1081
+ # source://actiontext//lib/action_text/html_conversion.rb#9
1082
+ def node_to_html(node); end
1083
+
1084
+ private
1085
+
1086
+ # source://actiontext//lib/action_text/html_conversion.rb#22
1087
+ def document; end
1088
+ end
1089
+
1090
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#6
1091
+ module ActionText::PlainTextConversion
1092
+ extend ::ActionText::PlainTextConversion
1093
+
1094
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#9
1095
+ def node_to_plain_text(node); end
1096
+
1097
+ private
1098
+
1099
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#106
1100
+ def break_if_nested_list(node, text); end
1101
+
1102
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#83
1103
+ def bullet_for_li_node(node, index); end
1104
+
1105
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#95
1106
+ def indentation_for_li_node(node); end
1107
+
1108
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#102
1109
+ def list_node_depth_for_node(node); end
1110
+
1111
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#91
1112
+ def list_node_name_for_li_node(node); end
1113
+
1114
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#34
1115
+ def plain_text_for_block(node, index = T.unsafe(nil)); end
1116
+
1117
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#66
1118
+ def plain_text_for_blockquote_node(node, index); end
1119
+
1120
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#50
1121
+ def plain_text_for_br_node(node, index); end
1122
+
1123
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#58
1124
+ def plain_text_for_div_node(node, index); end
1125
+
1126
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#62
1127
+ def plain_text_for_figcaption_node(node, index); end
1128
+
1129
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#34
1130
+ def plain_text_for_h1_node(node, index = T.unsafe(nil)); end
1131
+
1132
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#71
1133
+ def plain_text_for_li_node(node, index); end
1134
+
1135
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#42
1136
+ def plain_text_for_list(node, index); end
1137
+
1138
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#14
1139
+ def plain_text_for_node(node, index = T.unsafe(nil)); end
1140
+
1141
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#22
1142
+ def plain_text_for_node_children(node); end
1143
+
1144
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#42
1145
+ def plain_text_for_ol_node(node, index); end
1146
+
1147
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#34
1148
+ def plain_text_for_p_node(node, index = T.unsafe(nil)); end
1149
+
1150
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#54
1151
+ def plain_text_for_text_node(node, index); end
1152
+
1153
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#42
1154
+ def plain_text_for_ul_node(node, index); end
1155
+
1156
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#30
1157
+ def plain_text_method_for_node(node); end
1158
+
1159
+ # source://actiontext//lib/action_text/plain_text_conversion.rb#79
1160
+ def remove_trailing_newlines(text); end
1161
+ end
1162
+
1163
+ class ActionText::Record < ::ActiveRecord::Base
1164
+ include ::ActionText::Record::GeneratedAttributeMethods
1165
+ include ::ActionText::Record::GeneratedAssociationMethods
1166
+
1167
+ class << self
1168
+ # source://activemodel/7.2.1/lib/active_model/validations.rb#71
1169
+ def _validators; end
1170
+
1171
+ # source://activerecord/7.2.1/lib/active_record/enum.rb#167
1172
+ def defined_enums; end
1173
+ end
1174
+ end
1175
+
1176
+ module ActionText::Record::GeneratedAssociationMethods; end
1177
+ module ActionText::Record::GeneratedAttributeMethods; end
1178
+
1179
+ # source://actiontext//lib/action_text/rendering.rb#9
1180
+ module ActionText::Rendering
1181
+ extend ::ActiveSupport::Concern
1182
+
1183
+ mixes_in_class_methods ::ActionText::Rendering::ClassMethods
1184
+ end
1185
+
1186
+ # source://actiontext//lib/action_text/rendering.rb#0
1187
+ module ActionText::Rendering::ClassMethods
1188
+ # source://actiontext//lib/action_text/rendering.rb#18
1189
+ def action_controller_renderer; end
1190
+
1191
+ # source://actiontext//lib/action_text/rendering.rb#30
1192
+ def render(*args, &block); end
1193
+
1194
+ # source://actiontext//lib/action_text/rendering.rb#22
1195
+ def with_renderer(renderer); end
1196
+ end
1197
+
1198
+ # source://actiontext//lib/action_text/serialization.rb#6
1199
+ module ActionText::Serialization
1200
+ extend ::ActiveSupport::Concern
1201
+
1202
+ mixes_in_class_methods ::ActionText::Serialization::ClassMethods
1203
+
1204
+ # source://actiontext//lib/action_text/serialization.rb#34
1205
+ def _dump(*_arg0); end
1206
+ end
1207
+
1208
+ # source://actiontext//lib/action_text/serialization.rb#0
1209
+ module ActionText::Serialization::ClassMethods
1210
+ # source://actiontext//lib/action_text/serialization.rb#10
1211
+ def _load(content); end
1212
+
1213
+ # source://actiontext//lib/action_text/serialization.rb#14
1214
+ def dump(content); end
1215
+
1216
+ # source://actiontext//lib/action_text/serialization.rb#10
1217
+ def load(content); end
1218
+ end
1219
+
1220
+ module ActionText::TagHelper
1221
+ def rich_text_area_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
1222
+
1223
+ class << self
1224
+ def id; end
1225
+ def id=(val); end
1226
+ end
1227
+ end
1228
+
1229
+ # source://actiontext//lib/action_text/trix_attachment.rb#6
1230
+ class ActionText::TrixAttachment
1231
+ # @return [TrixAttachment] a new instance of TrixAttachment
1232
+ #
1233
+ # source://actiontext//lib/action_text/trix_attachment.rb#53
1234
+ def initialize(node); end
1235
+
1236
+ # source://actiontext//lib/action_text/trix_attachment.rb#57
1237
+ def attributes; end
1238
+
1239
+ # Returns the value of attribute node.
1240
+ #
1241
+ # source://actiontext//lib/action_text/trix_attachment.rb#51
1242
+ def node; end
1243
+
1244
+ # source://actiontext//lib/action_text/trix_attachment.rb#61
1245
+ def to_html; end
1246
+
1247
+ # source://actiontext//lib/action_text/trix_attachment.rb#65
1248
+ def to_s; end
1249
+
1250
+ private
1251
+
1252
+ # source://actiontext//lib/action_text/trix_attachment.rb#70
1253
+ def attachment_attributes; end
1254
+
1255
+ # source://actiontext//lib/action_text/trix_attachment.rb#74
1256
+ def composed_attributes; end
1257
+
1258
+ # source://actiontext//lib/action_text/trix_attachment.rb#82
1259
+ def read_json_attribute(name); end
1260
+
1261
+ # source://actiontext//lib/action_text/trix_attachment.rb#78
1262
+ def read_json_object_attribute(name); end
1263
+
1264
+ class << self
1265
+ # source://actiontext//lib/action_text/trix_attachment.rb#21
1266
+ def from_attributes(attributes); end
1267
+
1268
+ private
1269
+
1270
+ # source://actiontext//lib/action_text/trix_attachment.rb#35
1271
+ def process_attributes(attributes); end
1272
+
1273
+ # source://actiontext//lib/action_text/trix_attachment.rb#39
1274
+ def transform_attribute_keys(attributes); end
1275
+
1276
+ # source://actiontext//lib/action_text/trix_attachment.rb#43
1277
+ def typecast_attribute_values(attributes); end
1278
+ end
1279
+ end
1280
+
1281
+ # source://actiontext//lib/action_text/trix_attachment.rb#11
1282
+ ActionText::TrixAttachment::ATTRIBUTES = T.let(T.unsafe(nil), Array)
1283
+
1284
+ # source://actiontext//lib/action_text/trix_attachment.rb#12
1285
+ ActionText::TrixAttachment::ATTRIBUTE_TYPES = T.let(T.unsafe(nil), Hash)
1286
+
1287
+ # source://actiontext//lib/action_text/trix_attachment.rb#10
1288
+ ActionText::TrixAttachment::COMPOSED_ATTRIBUTES = T.let(T.unsafe(nil), Array)
1289
+
1290
+ # source://actiontext//lib/action_text/trix_attachment.rb#8
1291
+ ActionText::TrixAttachment::SELECTOR = T.let(T.unsafe(nil), String)
1292
+
1293
+ # source://actiontext//lib/action_text/trix_attachment.rb#7
1294
+ ActionText::TrixAttachment::TAG_NAME = T.let(T.unsafe(nil), String)
1295
+
1296
+ # source://actiontext//lib/action_text/gem_version.rb#11
1297
+ module ActionText::VERSION; end
1298
+
1299
+ # source://actiontext//lib/action_text/gem_version.rb#12
1300
+ ActionText::VERSION::MAJOR = T.let(T.unsafe(nil), Integer)
1301
+
1302
+ # source://actiontext//lib/action_text/gem_version.rb#13
1303
+ ActionText::VERSION::MINOR = T.let(T.unsafe(nil), Integer)
1304
+
1305
+ # source://actiontext//lib/action_text/gem_version.rb#15
1306
+ ActionText::VERSION::PRE = T.let(T.unsafe(nil), T.untyped)
1307
+
1308
+ # source://actiontext//lib/action_text/gem_version.rb#17
1309
+ ActionText::VERSION::STRING = T.let(T.unsafe(nil), String)
1310
+
1311
+ # source://actiontext//lib/action_text/gem_version.rb#14
1312
+ ActionText::VERSION::TINY = T.let(T.unsafe(nil), Integer)
1313
+
1314
+ module ActionView::Helpers
1315
+ include ::ActionView::Helpers::SanitizeHelper
1316
+ include ::ActionView::Helpers::TextHelper
1317
+ include ::ActionView::Helpers::UrlHelper
1318
+ include ::ActionView::Helpers::SanitizeHelper
1319
+ include ::ActionView::Helpers::TextHelper
1320
+ include ::ActionView::Helpers::FormTagHelper
1321
+ include ::ActionView::Helpers::FormHelper
1322
+ include ::ActionView::Helpers::TranslationHelper
1323
+
1324
+ mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods
1325
+ mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
1326
+
1327
+ class << self
1328
+ # source://actionview/7.2.1/lib/action_view/helpers.rb#35
1329
+ def eager_load!; end
1330
+ end
1331
+ end
1332
+
1333
+ class ActionView::Helpers::FormBuilder
1334
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1717
1335
+ def initialize(object_name, object, template, options); end
1336
+
1337
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2649
1338
+ def button(value = T.unsafe(nil), options = T.unsafe(nil), &block); end
1339
+
1340
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2474
1341
+ def check_box(method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
1342
+
1343
+ # source://actionview/7.2.1/lib/action_view/helpers/form_options_helper.rb#908
1344
+ def collection_check_boxes(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1345
+
1346
+ # source://actionview/7.2.1/lib/action_view/helpers/form_options_helper.rb#920
1347
+ def collection_radio_buttons(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1348
+
1349
+ # source://actionview/7.2.1/lib/action_view/helpers/form_options_helper.rb#860
1350
+ def collection_select(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1351
+
1352
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2042
1353
+ def color_field(method, options = T.unsafe(nil)); end
1354
+
1355
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2070
1356
+ def date_field(method, options = T.unsafe(nil)); end
1357
+
1358
+ # source://actionview/7.2.1/lib/action_view/helpers/date_helper.rb#1237
1359
+ def date_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1360
+
1361
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2084
1362
+ def datetime_field(method, options = T.unsafe(nil)); end
1363
+
1364
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2091
1365
+ def datetime_local_field(method, options = T.unsafe(nil)); end
1366
+
1367
+ # source://actionview/7.2.1/lib/action_view/helpers/date_helper.rb#1261
1368
+ def datetime_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1369
+
1370
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2119
1371
+ def email_field(method, options = T.unsafe(nil)); end
1372
+
1373
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2670
1374
+ def emitted_hidden_id?; end
1375
+
1376
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1682
1377
+ def field_helpers; end
1378
+
1379
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1682
1380
+ def field_helpers=(_arg0); end
1381
+
1382
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1682
1383
+ def field_helpers?; end
1384
+
1385
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1774
1386
+ def field_id(method, *suffixes, namespace: T.unsafe(nil), index: T.unsafe(nil)); end
1387
+
1388
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1794
1389
+ def field_name(method, *methods, multiple: T.unsafe(nil), index: T.unsafe(nil)); end
1390
+
1391
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2328
1392
+ def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
1393
+
1394
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2290
1395
+ def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end
1396
+
1397
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2557
1398
+ def file_field(method, options = T.unsafe(nil)); end
1399
+
1400
+ # source://actionview/7.2.1/lib/action_view/helpers/form_options_helper.rb#872
1401
+ def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1402
+
1403
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2518
1404
+ def hidden_field(method, options = T.unsafe(nil)); end
1405
+
1406
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1754
1407
+ def id; end
1408
+
1409
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1694
1410
+ def index; end
1411
+
1412
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2405
1413
+ def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end
1414
+
1415
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2098
1416
+ def month_field(method, options = T.unsafe(nil)); end
1417
+
1418
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1694
1419
+ def multipart; end
1420
+
1421
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1697
1422
+ def multipart=(multipart); end
1423
+
1424
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1694
1425
+ def multipart?; end
1426
+
1427
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2126
1428
+ def number_field(method, options = T.unsafe(nil)); end
1429
+
1430
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1692
1431
+ def object; end
1432
+
1433
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1692
1434
+ def object=(_arg0); end
1435
+
1436
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1692
1437
+ def object_name; end
1438
+
1439
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1692
1440
+ def object_name=(_arg0); end
1441
+
1442
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1692
1443
+ def options; end
1444
+
1445
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1692
1446
+ def options=(_arg0); end
1447
+
1448
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2028
1449
+ def password_field(method, options = T.unsafe(nil)); end
1450
+
1451
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2063
1452
+ def phone_field(method, options = T.unsafe(nil)); end
1453
+
1454
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2496
1455
+ def radio_button(method, tag_value, options = T.unsafe(nil)); end
1456
+
1457
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2133
1458
+ def range_field(method, options = T.unsafe(nil)); end
1459
+
1460
+ def rich_text_area(method, options = T.unsafe(nil)); end
1461
+
1462
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2049
1463
+ def search_field(method, options = T.unsafe(nil)); end
1464
+
1465
+ # source://actionview/7.2.1/lib/action_view/helpers/form_options_helper.rb#848
1466
+ def select(method, choices = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1467
+
1468
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2589
1469
+ def submit(value = T.unsafe(nil), options = T.unsafe(nil)); end
1470
+
1471
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2056
1472
+ def telephone_field(method, options = T.unsafe(nil)); end
1473
+
1474
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2035
1475
+ def text_area(method, options = T.unsafe(nil)); end
1476
+
1477
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2021
1478
+ def text_field(method, options = T.unsafe(nil)); end
1479
+
1480
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2077
1481
+ def time_field(method, options = T.unsafe(nil)); end
1482
+
1483
+ # source://actionview/7.2.1/lib/action_view/helpers/date_helper.rb#1249
1484
+ def time_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1485
+
1486
+ # source://actionview/7.2.1/lib/action_view/helpers/form_options_helper.rb#884
1487
+ def time_zone_select(method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1488
+
1489
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1713
1490
+ def to_model; end
1491
+
1492
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1709
1493
+ def to_partial_path; end
1494
+
1495
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2112
1496
+ def url_field(method, options = T.unsafe(nil)); end
1497
+
1498
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2105
1499
+ def week_field(method, options = T.unsafe(nil)); end
1500
+
1501
+ # source://actionview/7.2.1/lib/action_view/helpers/form_options_helper.rb#896
1502
+ def weekday_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1503
+
1504
+ private
1505
+
1506
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2755
1507
+ def convert_to_legacy_options(options); end
1508
+
1509
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2737
1510
+ def fields_for_nested_model(name, object, fields_options, block); end
1511
+
1512
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2708
1513
+ def fields_for_with_nested_attributes(association_name, association, options, block); end
1514
+
1515
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2704
1516
+ def nested_attributes_association?(association_name); end
1517
+
1518
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2750
1519
+ def nested_child_index(name); end
1520
+
1521
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2675
1522
+ def objectify_options(options); end
1523
+
1524
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#2681
1525
+ def submit_default_value; end
1526
+
1527
+ class << self
1528
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1705
1529
+ def _to_partial_path; end
1530
+
1531
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1682
1532
+ def field_helpers; end
1533
+
1534
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1682
1535
+ def field_helpers=(value); end
1536
+
1537
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1682
1538
+ def field_helpers?; end
1539
+ end
1540
+ end
1541
+
1542
+ module ActionView::Helpers::FormHelper
1543
+ include ::ActionView::Helpers::UrlHelper
1544
+ include ::ActionView::Helpers::SanitizeHelper
1545
+ include ::ActionView::Helpers::TextHelper
1546
+ include ::ActionView::Helpers::FormTagHelper
1547
+
1548
+ mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods
1549
+ mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
1550
+
1551
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1588
1552
+ def _object_for_form_builder(object); end
1553
+
1554
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1345
1555
+ def check_box(object_name, method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
1556
+
1557
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1375
1558
+ def color_field(object_name, method, options = T.unsafe(nil)); end
1559
+
1560
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1439
1561
+ def date_field(object_name, method, options = T.unsafe(nil)); end
1562
+
1563
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1512
1564
+ def datetime_field(object_name, method, options = T.unsafe(nil)); end
1565
+
1566
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1512
1567
+ def datetime_local_field(object_name, method, options = T.unsafe(nil)); end
1568
+
1569
+ def default_form_builder; end
1570
+ def default_form_builder=(_arg0); end
1571
+
1572
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1566
1573
+ def email_field(object_name, method, options = T.unsafe(nil)); end
1574
+
1575
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1079
1576
+ def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
1577
+
1578
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1028
1579
+ def fields_for(record_name, record_object = T.unsafe(nil), options = T.unsafe(nil), &block); end
1580
+
1581
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1247
1582
+ def file_field(object_name, method, options = T.unsafe(nil)); end
1583
+
1584
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#435
1585
+ def form_for(record, options = T.unsafe(nil), &block); end
1586
+
1587
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#755
1588
+ def form_with(model: T.unsafe(nil), scope: T.unsafe(nil), url: T.unsafe(nil), format: T.unsafe(nil), **options, &block); end
1589
+
1590
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#481
1591
+ def form_with_generates_ids; end
1592
+
1593
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#481
1594
+ def form_with_generates_ids=(val); end
1595
+
1596
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#479
1597
+ def form_with_generates_remote_forms; end
1598
+
1599
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#479
1600
+ def form_with_generates_remote_forms=(val); end
1601
+
1602
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1214
1603
+ def hidden_field(object_name, method, options = T.unsafe(nil)); end
1604
+
1605
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1151
1606
+ def label(object_name, method, content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
1607
+
1608
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1531
1609
+ def month_field(object_name, method, options = T.unsafe(nil)); end
1610
+
1611
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#483
1612
+ def multiple_file_field_include_hidden; end
1613
+
1614
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#483
1615
+ def multiple_file_field_include_hidden=(val); end
1616
+
1617
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1575
1618
+ def number_field(object_name, method, options = T.unsafe(nil)); end
1619
+
1620
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1196
1621
+ def password_field(object_name, method, options = T.unsafe(nil)); end
1622
+
1623
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1407
1624
+ def phone_field(object_name, method, options = T.unsafe(nil)); end
1625
+
1626
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1367
1627
+ def radio_button(object_name, method, tag_value, options = T.unsafe(nil)); end
1628
+
1629
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1584
1630
+ def range_field(object_name, method, options = T.unsafe(nil)); end
1631
+
1632
+ def rich_text_area(object_name, method, options = T.unsafe(nil)); end
1633
+
1634
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1398
1635
+ def search_field(object_name, method, options = T.unsafe(nil)); end
1636
+
1637
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1407
1638
+ def telephone_field(object_name, method, options = T.unsafe(nil)); end
1639
+
1640
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1277
1641
+ def text_area(object_name, method, options = T.unsafe(nil)); end
1642
+
1643
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1175
1644
+ def text_field(object_name, method, options = T.unsafe(nil)); end
1645
+
1646
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1477
1647
+ def time_field(object_name, method, options = T.unsafe(nil)); end
1648
+
1649
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1557
1650
+ def url_field(object_name, method, options = T.unsafe(nil)); end
1651
+
1652
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1548
1653
+ def week_field(object_name, method, options = T.unsafe(nil)); end
1654
+
1655
+ private
1656
+
1657
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#465
1658
+ def apply_form_for_options!(object, options); end
1659
+
1660
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1622
1661
+ def default_form_builder_class; end
1662
+
1663
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1593
1664
+ def html_options_for_form_with(url_for_options = T.unsafe(nil), model = T.unsafe(nil), html: T.unsafe(nil), local: T.unsafe(nil), skip_enforcing_utf8: T.unsafe(nil), **options); end
1665
+
1666
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#1608
1667
+ def instantiate_builder(record_name, record_object, options); end
1668
+
1669
+ class << self
1670
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#481
1671
+ def form_with_generates_ids; end
1672
+
1673
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#481
1674
+ def form_with_generates_ids=(val); end
1675
+
1676
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#479
1677
+ def form_with_generates_remote_forms; end
1678
+
1679
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#479
1680
+ def form_with_generates_remote_forms=(val); end
1681
+
1682
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#483
1683
+ def multiple_file_field_include_hidden; end
1684
+
1685
+ # source://actionview/7.2.1/lib/action_view/helpers/form_helper.rb#483
1686
+ def multiple_file_field_include_hidden=(val); end
1687
+ end
1688
+ end
1689
+
1690
+ module ActionView::Helpers::Tags; end
1691
+
1692
+ class ActionView::Helpers::Tags::ActionText < ::ActionView::Helpers::Tags::Base
1693
+ include ::ActionView::Helpers::Tags::Placeholderable
1694
+
1695
+ def dom_id(*_arg0, **_arg1, &_arg2); end
1696
+ def render; end
1697
+ end