packwerk 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +29 -20
  3. data/.github/workflows/cla.yml +22 -0
  4. data/.rubocop.yml +48 -19
  5. data/Gemfile +7 -2
  6. data/Gemfile.lock +201 -175
  7. data/README.md +1 -1
  8. data/RESOLVING_VIOLATIONS.md +81 -0
  9. data/Rakefile +1 -1
  10. data/USAGE.md +14 -5
  11. data/bin/m +1 -1
  12. data/bin/rake +1 -1
  13. data/bin/rubocop +1 -1
  14. data/bin/srb +1 -1
  15. data/bin/tapioca +1 -1
  16. data/gemfiles/Gemfile-rails-6-0 +1 -1
  17. data/gemfiles/Gemfile-rails-6-1 +22 -0
  18. data/lib/packwerk/application_validator.rb +7 -6
  19. data/lib/packwerk/association_inspector.rb +17 -15
  20. data/lib/packwerk/cache.rb +36 -29
  21. data/lib/packwerk/cli.rb +5 -6
  22. data/lib/packwerk/const_node_inspector.rb +8 -7
  23. data/lib/packwerk/constant_name_inspector.rb +2 -2
  24. data/lib/packwerk/deprecated_references.rb +34 -19
  25. data/lib/packwerk/file_processor.rb +14 -14
  26. data/lib/packwerk/files_for_processing.rb +27 -31
  27. data/lib/packwerk/formatters/offenses_formatter.rb +3 -3
  28. data/lib/packwerk/formatters/progress_formatter.rb +2 -2
  29. data/lib/packwerk/node.rb +1 -294
  30. data/lib/packwerk/node_helpers.rb +335 -0
  31. data/lib/packwerk/node_processor.rb +6 -5
  32. data/lib/packwerk/node_processor_factory.rb +3 -3
  33. data/lib/packwerk/node_visitor.rb +1 -1
  34. data/lib/packwerk/offense_collection.rb +6 -3
  35. data/lib/packwerk/offenses_formatter.rb +2 -2
  36. data/lib/packwerk/package.rb +3 -0
  37. data/lib/packwerk/package_set.rb +2 -0
  38. data/lib/packwerk/parse_run.rb +15 -13
  39. data/lib/packwerk/parsed_constant_definitions.rb +23 -20
  40. data/lib/packwerk/parsers/erb.rb +3 -3
  41. data/lib/packwerk/reference_checking/checkers/checker.rb +16 -3
  42. data/lib/packwerk/reference_checking/checkers/dependency_checker.rb +16 -0
  43. data/lib/packwerk/reference_checking/checkers/privacy_checker.rb +18 -0
  44. data/lib/packwerk/reference_checking/reference_checker.rb +3 -1
  45. data/lib/packwerk/reference_extractor.rb +51 -48
  46. data/lib/packwerk/reference_offense.rb +3 -27
  47. data/lib/packwerk/run_context.rb +3 -3
  48. data/lib/packwerk/spring_command.rb +1 -1
  49. data/lib/packwerk/version.rb +1 -1
  50. data/lib/packwerk.rb +1 -0
  51. data/packwerk.gemspec +4 -12
  52. data/sorbet/rbi/gems/actioncable@7.0.3.1.rbi +2754 -0
  53. data/sorbet/rbi/gems/actionmailbox@7.0.3.1.rbi +1496 -0
  54. data/sorbet/rbi/gems/actionmailer@7.0.3.1.rbi +2362 -0
  55. data/sorbet/rbi/gems/actionpack@7.0.3.1.rbi +19397 -0
  56. data/sorbet/rbi/gems/actiontext@7.0.3.1.rbi +1569 -0
  57. data/sorbet/rbi/gems/actionview@7.0.3.1.rbi +14907 -0
  58. data/sorbet/rbi/gems/activejob@7.0.3.1.rbi +2553 -0
  59. data/sorbet/rbi/gems/activemodel@7.0.3.1.rbi +5999 -0
  60. data/sorbet/rbi/gems/activerecord@7.0.3.1.rbi +37832 -0
  61. data/sorbet/rbi/gems/activestorage@7.0.3.1.rbi +2321 -0
  62. data/sorbet/rbi/gems/activesupport@7.0.3.1.rbi +18818 -0
  63. data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +11722 -0
  64. data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +90 -0
  65. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1079 -0
  66. data/sorbet/rbi/gems/digest@3.1.0.rbi +189 -0
  67. data/sorbet/rbi/gems/erubi@1.11.0.rbi +140 -0
  68. data/sorbet/rbi/gems/globalid@1.0.0.rbi +572 -0
  69. data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
  70. data/sorbet/rbi/gems/json@2.6.2.rbi +1548 -0
  71. data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +8 -0
  72. data/sorbet/rbi/gems/loofah@2.18.0.rbi +877 -0
  73. data/sorbet/rbi/gems/m@1.6.0.rbi +257 -0
  74. data/sorbet/rbi/gems/marcel@1.0.2.rbi +220 -0
  75. data/sorbet/rbi/gems/mini_mime@1.1.2.rbi +170 -0
  76. data/sorbet/rbi/gems/mini_portile2@2.8.0.rbi +8 -0
  77. data/sorbet/rbi/gems/minitest-focus@1.3.1.rbi +104 -0
  78. data/sorbet/rbi/gems/minitest@5.16.2.rbi +2136 -0
  79. data/sorbet/rbi/gems/mocha@1.14.0.rbi +4177 -0
  80. data/sorbet/rbi/gems/net-imap@0.2.3.rbi +2147 -0
  81. data/sorbet/rbi/gems/net-pop@0.1.1.rbi +926 -0
  82. data/sorbet/rbi/gems/net-protocol@0.1.3.rbi +11 -0
  83. data/sorbet/rbi/gems/net-smtp@0.3.1.rbi +1108 -0
  84. data/sorbet/rbi/gems/netrc@0.11.0.rbi +153 -0
  85. data/sorbet/rbi/gems/nio4r@2.5.8.rbi +292 -0
  86. data/sorbet/rbi/gems/nokogiri@1.13.8.rbi +6478 -0
  87. data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
  88. data/sorbet/rbi/gems/parser@3.1.2.1.rbi +9029 -0
  89. data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +8 -0
  90. data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
  91. data/sorbet/rbi/gems/racc@1.6.0.rbi +152 -0
  92. data/sorbet/rbi/gems/rack-test@2.0.2.rbi +953 -0
  93. data/sorbet/rbi/gems/rack@2.2.4.rbi +5636 -0
  94. data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +688 -0
  95. data/sorbet/rbi/gems/rails@7.0.3.1.rbi +8 -0
  96. data/sorbet/rbi/gems/railties@7.0.3.1.rbi +3507 -0
  97. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +392 -0
  98. data/sorbet/rbi/gems/rake@13.0.6.rbi +2924 -0
  99. data/sorbet/rbi/gems/rbi@0.0.15.rbi +3007 -0
  100. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +3383 -0
  101. data/sorbet/rbi/gems/rexml@3.2.5.rbi +4714 -0
  102. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +6961 -0
  103. data/sorbet/rbi/gems/rubocop-performance@1.14.3.rbi +2986 -0
  104. data/sorbet/rbi/gems/{rubocop-shopify@2.0.1.rbi → rubocop-shopify@2.9.0.rbi} +4 -4
  105. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +992 -0
  106. data/sorbet/rbi/gems/rubocop@1.34.1.rbi +51820 -0
  107. data/sorbet/rbi/gems/ruby-lsp@0.2.1.rbi +11 -0
  108. data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +474 -0
  109. data/sorbet/rbi/gems/spoom@1.1.11.rbi +2181 -0
  110. data/sorbet/rbi/gems/spring@4.0.0.rbi +411 -0
  111. data/sorbet/rbi/gems/strscan@3.0.4.rbi +8 -0
  112. data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +8 -0
  113. data/sorbet/rbi/gems/tapioca@0.9.2.rbi +3181 -0
  114. data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
  115. data/sorbet/rbi/gems/timeout@0.3.0.rbi +142 -0
  116. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +5896 -0
  117. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +48 -0
  118. data/sorbet/rbi/gems/unparser@0.6.5.rbi +4529 -0
  119. data/sorbet/rbi/gems/webrick@1.7.0.rbi +2582 -0
  120. data/sorbet/rbi/gems/websocket-driver@0.7.5.rbi +993 -0
  121. data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +388 -0
  122. data/sorbet/rbi/gems/yard@0.9.28.rbi +18242 -0
  123. data/sorbet/rbi/gems/zeitwerk@2.6.0.rbi +867 -0
  124. data/sorbet/rbi/shims/psych.rbi +5 -0
  125. data/sorbet/tapioca/require.rb +2 -3
  126. metadata +88 -157
  127. data/.github/probots.yml +0 -2
  128. data/library.yml +0 -6
  129. data/service.yml +0 -1
  130. data/sorbet/rbi/gems/actioncable@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -860
  131. data/sorbet/rbi/gems/actionmailbox@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -568
  132. data/sorbet/rbi/gems/actionmailer@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -587
  133. data/sorbet/rbi/gems/actionpack@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -5314
  134. data/sorbet/rbi/gems/actiontext@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -699
  135. data/sorbet/rbi/gems/actionview@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -2515
  136. data/sorbet/rbi/gems/activejob@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -624
  137. data/sorbet/rbi/gems/activemodel@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -1248
  138. data/sorbet/rbi/gems/activerecord@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -8363
  139. data/sorbet/rbi/gems/activestorage@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -876
  140. data/sorbet/rbi/gems/activesupport@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -3987
  141. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -40
  142. data/sorbet/rbi/gems/commander@4.5.2.rbi +0 -8
  143. data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +0 -1969
  144. data/sorbet/rbi/gems/constant_resolver@0.1.5.rbi +0 -26
  145. data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -41
  146. data/sorbet/rbi/gems/globalid@0.4.2.rbi +0 -178
  147. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  148. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -600
  149. data/sorbet/rbi/gems/loofah@2.9.0.rbi +0 -274
  150. data/sorbet/rbi/gems/m@1.5.1.rbi +0 -108
  151. data/sorbet/rbi/gems/marcel@1.0.0.rbi +0 -70
  152. data/sorbet/rbi/gems/mini_mime@1.0.3.rbi +0 -71
  153. data/sorbet/rbi/gems/minitest-focus@1.2.1.rbi +0 -8
  154. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -544
  155. data/sorbet/rbi/gems/mocha@1.12.0.rbi +0 -953
  156. data/sorbet/rbi/gems/nio4r@2.5.7.rbi +0 -90
  157. data/sorbet/rbi/gems/nokogiri@1.11.2.rbi +0 -1647
  158. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -117
  159. data/sorbet/rbi/gems/parlour@6.0.0.rbi +0 -1272
  160. data/sorbet/rbi/gems/parser@3.0.0.0.rbi +0 -1745
  161. data/sorbet/rbi/gems/pry@0.14.0.rbi +0 -8
  162. data/sorbet/rbi/gems/psych@3.3.2.rbi +0 -24
  163. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -57
  164. data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -335
  165. data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1718
  166. data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -213
  167. data/sorbet/rbi/gems/rails@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -8
  168. data/sorbet/rbi/gems/railties@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi +0 -880
  169. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -155
  170. data/sorbet/rbi/gems/rake@13.0.3.rbi +0 -837
  171. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -8
  172. data/sorbet/rbi/gems/rexml@3.2.4.rbi +0 -8
  173. data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +0 -8
  174. data/sorbet/rbi/gems/rubocop-performance@1.10.2.rbi +0 -8
  175. data/sorbet/rbi/gems/rubocop-sorbet@0.6.1.rbi +0 -8
  176. data/sorbet/rbi/gems/rubocop@1.12.0.rbi +0 -8
  177. data/sorbet/rbi/gems/smart_properties@1.15.0.rbi +0 -168
  178. data/sorbet/rbi/gems/spoom@1.1.0.rbi +0 -1061
  179. data/sorbet/rbi/gems/spring@2.1.1.rbi +0 -160
  180. data/sorbet/rbi/gems/sprockets-rails@3.2.2.rbi +0 -451
  181. data/sorbet/rbi/gems/sprockets@4.0.2.rbi +0 -1133
  182. data/sorbet/rbi/gems/tapioca@0.4.19.rbi +0 -603
  183. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -893
  184. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -566
  185. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -8
  186. data/sorbet/rbi/gems/websocket-driver@0.7.3.rbi +0 -438
  187. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -177
@@ -0,0 +1,1569 @@
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
+ # source://actiontext-7.0.3.1/lib/action_text.rb:8
8
+ module ActionText
9
+ extend ::ActiveSupport::Autoload
10
+
11
+ class << self
12
+ # source://railties-7.0.3.1/lib/rails/engine.rb:405
13
+ def railtie_helpers_paths; end
14
+
15
+ # source://railties-7.0.3.1/lib/rails/engine.rb:394
16
+ def railtie_namespace; end
17
+
18
+ # source://railties-7.0.3.1/lib/rails/engine.rb:409
19
+ def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
20
+
21
+ # source://railties-7.0.3.1/lib/rails/engine.rb:397
22
+ def table_name_prefix; end
23
+
24
+ # source://railties-7.0.3.1/lib/rails/engine.rb:401
25
+ def use_relative_model_naming?; end
26
+ end
27
+ end
28
+
29
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:4
30
+ module ActionText::Attachable
31
+ extend ::ActiveSupport::Concern
32
+
33
+ mixes_in_class_methods ::ActionText::Attachable::ClassMethods
34
+
35
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:66
36
+ def as_json(*_arg0); end
37
+
38
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:46
39
+ def attachable_content_type; end
40
+
41
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:50
42
+ def attachable_filename; end
43
+
44
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:54
45
+ def attachable_filesize; end
46
+
47
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:58
48
+ def attachable_metadata; end
49
+
50
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:42
51
+ def attachable_sgid; end
52
+
53
+ # @return [Boolean]
54
+ #
55
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:62
56
+ def previewable_attachable?; end
57
+
58
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:74
59
+ def to_attachable_partial_path; end
60
+
61
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:78
62
+ def to_rich_text_attributes(attributes = T.unsafe(nil)); end
63
+
64
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:70
65
+ def to_trix_content_attachment_partial_path; end
66
+
67
+ class << self
68
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:22
69
+ def from_attachable_sgid(sgid, options = T.unsafe(nil)); end
70
+
71
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:10
72
+ def from_node(node); end
73
+
74
+ private
75
+
76
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:29
77
+ def attachable_from_sgid(sgid); end
78
+ end
79
+ end
80
+
81
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:0
82
+ module ActionText::Attachable::ClassMethods
83
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:37
84
+ def from_attachable_sgid(sgid); end
85
+ end
86
+
87
+ # source://actiontext-7.0.3.1/lib/action_text/attachable.rb:7
88
+ ActionText::Attachable::LOCATOR_NAME = T.let(T.unsafe(nil), String)
89
+
90
+ # source://actiontext-7.0.3.1/lib/action_text.rb:25
91
+ module ActionText::Attachables
92
+ extend ::ActiveSupport::Autoload
93
+ end
94
+
95
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/content_attachment.rb:5
96
+ class ActionText::Attachables::ContentAttachment
97
+ include ::ActiveModel::Validations
98
+ include ::ActiveSupport::Callbacks
99
+ include ::ActiveModel::Validations::HelperMethods
100
+ include ::ActiveModel::Conversion
101
+ include ::ActiveModel::ForbiddenAttributesProtection
102
+ include ::ActiveModel::AttributeAssignment
103
+ include ::ActiveModel::API
104
+ include ::ActiveModel::Model
105
+ extend ::ActiveModel::Validations::ClassMethods
106
+ extend ::ActiveModel::Naming
107
+ extend ::ActiveModel::Callbacks
108
+ extend ::ActiveSupport::Callbacks::ClassMethods
109
+ extend ::ActiveSupport::DescendantsTracker
110
+ extend ::ActiveModel::Translation
111
+ extend ::ActiveModel::Validations::HelperMethods
112
+ extend ::ActiveModel::Conversion::ClassMethods
113
+
114
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
115
+ def __callbacks; end
116
+
117
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
118
+ def __callbacks?; end
119
+
120
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:928
121
+ def _run_validate_callbacks(&block); end
122
+
123
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:940
124
+ def _validate_callbacks; end
125
+
126
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
127
+ def _validators; end
128
+
129
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
130
+ def _validators?; end
131
+
132
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/content_attachment.rb:20
133
+ def attachable_plain_text_representation(caption); end
134
+
135
+ # source://activemodel-7.0.3.1/lib/active_model/naming.rb:244
136
+ def model_name(*_arg0, &_arg1); end
137
+
138
+ # Returns the value of attribute name.
139
+ #
140
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/content_attachment.rb:17
141
+ def name; end
142
+
143
+ # Sets the attribute name
144
+ #
145
+ # @param value the value to set the attribute name to.
146
+ #
147
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/content_attachment.rb:17
148
+ def name=(_arg0); end
149
+
150
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/content_attachment.rb:29
151
+ def to_partial_path; end
152
+
153
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/content_attachment.rb:33
154
+ def to_trix_content_attachment_partial_path; end
155
+
156
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:48
157
+ def validation_context; end
158
+
159
+ private
160
+
161
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:48
162
+ def validation_context=(_arg0); end
163
+
164
+ class << self
165
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
166
+ def __callbacks; end
167
+
168
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
169
+ def __callbacks=(value); end
170
+
171
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
172
+ def __callbacks?; end
173
+
174
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:932
175
+ def _validate_callbacks; end
176
+
177
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:936
178
+ def _validate_callbacks=(value); end
179
+
180
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
181
+ def _validators; end
182
+
183
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
184
+ def _validators=(value); end
185
+
186
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
187
+ def _validators?; end
188
+
189
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/content_attachment.rb:8
190
+ def from_node(node); end
191
+ end
192
+ end
193
+
194
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/missing_attachable.rb:5
195
+ module ActionText::Attachables::MissingAttachable
196
+ extend ::ActiveModel::Naming
197
+
198
+ # source://activemodel-7.0.3.1/lib/active_model/naming.rb:244
199
+ def model_name(*_arg0, &_arg1); end
200
+
201
+ class << self
202
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/missing_attachable.rb:8
203
+ def to_partial_path; end
204
+ end
205
+ end
206
+
207
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:5
208
+ class ActionText::Attachables::RemoteImage
209
+ extend ::ActiveModel::Naming
210
+
211
+ # @return [RemoteImage] a new instance of RemoteImage
212
+ #
213
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:30
214
+ def initialize(attributes = T.unsafe(nil)); end
215
+
216
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:37
217
+ def attachable_plain_text_representation(caption); end
218
+
219
+ # Returns the value of attribute content_type.
220
+ #
221
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:28
222
+ def content_type; end
223
+
224
+ # Returns the value of attribute height.
225
+ #
226
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:28
227
+ def height; end
228
+
229
+ # source://activemodel-7.0.3.1/lib/active_model/naming.rb:244
230
+ def model_name(*_arg0, &_arg1); end
231
+
232
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:41
233
+ def to_partial_path; end
234
+
235
+ # Returns the value of attribute url.
236
+ #
237
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:28
238
+ def url; end
239
+
240
+ # Returns the value of attribute width.
241
+ #
242
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:28
243
+ def width; end
244
+
245
+ class << self
246
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:9
247
+ def from_node(node); end
248
+
249
+ private
250
+
251
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:20
252
+ def attributes_from_node(node); end
253
+
254
+ # @return [Boolean]
255
+ #
256
+ # source://actiontext-7.0.3.1/lib/action_text/attachables/remote_image.rb:16
257
+ def content_type_is_image?(content_type); end
258
+ end
259
+ end
260
+
261
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:6
262
+ class ActionText::Attachment
263
+ include ::ActionText::Attachments::Caching
264
+ include ::ActionText::Attachments::Minification
265
+ include ::ActionText::Attachments::TrixConversion
266
+ extend ::ActionText::Attachments::Minification::ClassMethods
267
+ extend ::ActionText::Attachments::TrixConversion::ClassMethods
268
+
269
+ # @return [Attachment] a new instance of Attachment
270
+ #
271
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:55
272
+ def initialize(node, attachable); end
273
+
274
+ # Returns the value of attribute attachable.
275
+ #
276
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:50
277
+ def attachable; end
278
+
279
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:60
280
+ def caption; end
281
+
282
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:64
283
+ def full_attributes; end
284
+
285
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:88
286
+ def inspect; end
287
+
288
+ # source://activesupport-7.0.3.1/lib/active_support/core_ext/module/delegation.rb:302
289
+ def method_missing(method, *args, &block); end
290
+
291
+ # Returns the value of attribute node.
292
+ #
293
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:50
294
+ def node; end
295
+
296
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:9
297
+ def tag_name; end
298
+
299
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:9
300
+ def tag_name=(val); end
301
+
302
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:80
303
+ def to_html; end
304
+
305
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:52
306
+ def to_param(*_arg0, &_arg1); end
307
+
308
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:72
309
+ def to_plain_text; end
310
+
311
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:84
312
+ def to_s; end
313
+
314
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:68
315
+ def with_full_attributes; end
316
+
317
+ private
318
+
319
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:97
320
+ def attachable_attributes; end
321
+
322
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:93
323
+ def node_attributes; end
324
+
325
+ # source://activesupport-7.0.3.1/lib/active_support/core_ext/module/delegation.rb:294
326
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
327
+
328
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:101
329
+ def sgid_attributes; end
330
+
331
+ class << self
332
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:14
333
+ def fragment_by_canonicalizing_attachments(content); end
334
+
335
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:26
336
+ def from_attachable(attachable, attributes = T.unsafe(nil)); end
337
+
338
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:22
339
+ def from_attachables(attachables); end
340
+
341
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:32
342
+ def from_attributes(attributes, attachable = T.unsafe(nil)); end
343
+
344
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:18
345
+ def from_node(node, attachable = T.unsafe(nil)); end
346
+
347
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:9
348
+ def tag_name; end
349
+
350
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:9
351
+ def tag_name=(val); end
352
+
353
+ private
354
+
355
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:39
356
+ def node_from_attributes(attributes); end
357
+
358
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:45
359
+ def process_attributes(attributes); end
360
+ end
361
+ end
362
+
363
+ # source://actiontext-7.0.3.1/lib/action_text/attachment.rb:11
364
+ ActionText::Attachment::ATTRIBUTES = T.let(T.unsafe(nil), Array)
365
+
366
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:4
367
+ class ActionText::AttachmentGallery
368
+ include ::ActiveModel::Validations
369
+ include ::ActiveSupport::Callbacks
370
+ include ::ActiveModel::Validations::HelperMethods
371
+ include ::ActiveModel::Conversion
372
+ include ::ActiveModel::ForbiddenAttributesProtection
373
+ include ::ActiveModel::AttributeAssignment
374
+ include ::ActiveModel::API
375
+ include ::ActiveModel::Model
376
+ extend ::ActiveModel::Validations::ClassMethods
377
+ extend ::ActiveModel::Naming
378
+ extend ::ActiveModel::Callbacks
379
+ extend ::ActiveSupport::Callbacks::ClassMethods
380
+ extend ::ActiveSupport::DescendantsTracker
381
+ extend ::ActiveModel::Translation
382
+ extend ::ActiveModel::Validations::HelperMethods
383
+ extend ::ActiveModel::Conversion::ClassMethods
384
+
385
+ # @return [AttachmentGallery] a new instance of AttachmentGallery
386
+ #
387
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:52
388
+ def initialize(node); end
389
+
390
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
391
+ def __callbacks; end
392
+
393
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
394
+ def __callbacks?; end
395
+
396
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:928
397
+ def _run_validate_callbacks(&block); end
398
+
399
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:940
400
+ def _validate_callbacks; end
401
+
402
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
403
+ def _validators; end
404
+
405
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
406
+ def _validators?; end
407
+
408
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:56
409
+ def attachments; end
410
+
411
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:66
412
+ def inspect; end
413
+
414
+ # source://activemodel-7.0.3.1/lib/active_model/naming.rb:244
415
+ def model_name(*_arg0, &_arg1); end
416
+
417
+ # Returns the value of attribute node.
418
+ #
419
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:50
420
+ def node; end
421
+
422
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:62
423
+ def size; end
424
+
425
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:48
426
+ def validation_context; end
427
+
428
+ private
429
+
430
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:48
431
+ def validation_context=(_arg0); end
432
+
433
+ class << self
434
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
435
+ def __callbacks; end
436
+
437
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
438
+ def __callbacks=(value); end
439
+
440
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
441
+ def __callbacks?; end
442
+
443
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:932
444
+ def _validate_callbacks; end
445
+
446
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:936
447
+ def _validate_callbacks=(value); end
448
+
449
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
450
+ def _validators; end
451
+
452
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
453
+ def _validators=(value); end
454
+
455
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
456
+ def _validators?; end
457
+
458
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:41
459
+ def attachment_selector; end
460
+
461
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:25
462
+ def find_attachment_gallery_nodes(content); end
463
+
464
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:11
465
+ def fragment_by_canonicalizing_attachment_galleries(content); end
466
+
467
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:17
468
+ def fragment_by_replacing_attachment_gallery_nodes(content); end
469
+
470
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:37
471
+ def from_node(node); end
472
+
473
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:45
474
+ def selector; end
475
+ end
476
+ end
477
+
478
+ # source://actiontext-7.0.3.1/lib/action_text/attachment_gallery.rb:7
479
+ ActionText::AttachmentGallery::TAG_NAME = T.let(T.unsafe(nil), String)
480
+
481
+ # source://actiontext-7.0.3.1/lib/action_text.rb:33
482
+ module ActionText::Attachments
483
+ extend ::ActiveSupport::Autoload
484
+ end
485
+
486
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/caching.rb:5
487
+ module ActionText::Attachments::Caching
488
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/caching.rb:6
489
+ def cache_key(*args); end
490
+
491
+ private
492
+
493
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/caching.rb:11
494
+ def cache_digest; end
495
+ end
496
+
497
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/minification.rb:5
498
+ module ActionText::Attachments::Minification
499
+ extend ::ActiveSupport::Concern
500
+
501
+ mixes_in_class_methods ::ActionText::Attachments::Minification::ClassMethods
502
+ end
503
+
504
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/minification.rb:0
505
+ module ActionText::Attachments::Minification::ClassMethods
506
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/minification.rb:9
507
+ def fragment_by_minifying_attachments(content); end
508
+ end
509
+
510
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/trix_conversion.rb:7
511
+ module ActionText::Attachments::TrixConversion
512
+ extend ::ActiveSupport::Concern
513
+
514
+ mixes_in_class_methods ::ActionText::Attachments::TrixConversion::ClassMethods
515
+
516
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/trix_conversion.rb:22
517
+ def to_trix_attachment(content = T.unsafe(nil)); end
518
+
519
+ private
520
+
521
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/trix_conversion.rb:29
522
+ def trix_attachment_content; end
523
+ end
524
+
525
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/trix_conversion.rb:0
526
+ module ActionText::Attachments::TrixConversion::ClassMethods
527
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/trix_conversion.rb:11
528
+ def fragment_by_converting_trix_attachments(content); end
529
+
530
+ # source://actiontext-7.0.3.1/lib/action_text/attachments/trix_conversion.rb:17
531
+ def from_trix_attachment(trix_attachment); end
532
+ end
533
+
534
+ # source://actiontext-7.0.3.1/lib/action_text/attribute.rb:4
535
+ module ActionText::Attribute
536
+ extend ::ActiveSupport::Concern
537
+
538
+ mixes_in_class_methods ::ActionText::Attribute::ClassMethods
539
+ end
540
+
541
+ # source://actiontext-7.0.3.1/lib/action_text/attribute.rb:0
542
+ module ActionText::Attribute::ClassMethods
543
+ # source://actiontext-7.0.3.1/lib/action_text/attribute.rb:33
544
+ def has_rich_text(name, encrypted: T.unsafe(nil)); end
545
+
546
+ # source://actiontext-7.0.3.1/lib/action_text/attribute.rb:61
547
+ def rich_text_association_names; end
548
+
549
+ # source://actiontext-7.0.3.1/lib/action_text/attribute.rb:57
550
+ def with_all_rich_text; end
551
+ end
552
+
553
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:4
554
+ class ActionText::Content
555
+ include ::ActionText::Serialization
556
+ include ::ActionText::Rendering
557
+ extend ::ActionText::Serialization::ClassMethods
558
+ extend ::ActionText::Rendering::ClassMethods
559
+
560
+ # @return [Content] a new instance of Content
561
+ #
562
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:19
563
+ def initialize(content = T.unsafe(nil), options = T.unsafe(nil)); end
564
+
565
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:106
566
+ def ==(other); end
567
+
568
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:55
569
+ def append_attachables(attachables); end
570
+
571
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:98
572
+ def as_json(*_arg0); end
573
+
574
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:49
575
+ def attachables; end
576
+
577
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:39
578
+ def attachment_galleries; end
579
+
580
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:33
581
+ def attachments; end
582
+
583
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:9
584
+ def blank?(*_arg0, &_arg1); end
585
+
586
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:9
587
+ def empty?(*_arg0, &_arg1); end
588
+
589
+ # Returns the value of attribute fragment.
590
+ #
591
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:7
592
+ def fragment; end
593
+
594
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:45
595
+ def gallery_attachments; end
596
+
597
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:9
598
+ def html_safe(*_arg0, &_arg1); end
599
+
600
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:102
601
+ def inspect; end
602
+
603
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:29
604
+ def links; end
605
+
606
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:9
607
+ def present?(*_arg0, &_arg1); end
608
+
609
+ # source://actiontext-7.0.3.1/lib/action_text/rendering.rb:13
610
+ def render(*_arg0, &_arg1); end
611
+
612
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:67
613
+ def render_attachment_galleries(&block); end
614
+
615
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:60
616
+ def render_attachments(**options, &block); end
617
+
618
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:82
619
+ def to_html; end
620
+
621
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:90
622
+ def to_partial_path; end
623
+
624
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:74
625
+ def to_plain_text; end
626
+
627
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:86
628
+ def to_rendered_html_with_layout; end
629
+
630
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:94
631
+ def to_s; end
632
+
633
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:78
634
+ def to_trix_html; end
635
+
636
+ private
637
+
638
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:121
639
+ def attachment_for_node(node, with_full_attributes: T.unsafe(nil)); end
640
+
641
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:126
642
+ def attachment_gallery_for_node(node); end
643
+
644
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:117
645
+ def attachment_gallery_nodes; end
646
+
647
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:113
648
+ def attachment_nodes; end
649
+
650
+ class << self
651
+ # source://actiontext-7.0.3.1/lib/action_text/rendering.rb:11
652
+ def default_renderer; end
653
+
654
+ # source://actiontext-7.0.3.1/lib/action_text/rendering.rb:11
655
+ def default_renderer=(val); end
656
+
657
+ # source://actiontext-7.0.3.1/lib/action_text/content.rb:12
658
+ def fragment_by_canonicalizing_content(content); end
659
+
660
+ # source://activesupport-7.0.3.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb:48
661
+ def renderer; end
662
+
663
+ # source://activesupport-7.0.3.1/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb:92
664
+ def renderer=(obj); end
665
+ end
666
+ end
667
+
668
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:6
669
+ module ActionText::ContentHelper
670
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:9
671
+ def allowed_attributes; end
672
+
673
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:9
674
+ def allowed_attributes=(val); end
675
+
676
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:8
677
+ def allowed_tags; end
678
+
679
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:8
680
+ def allowed_tags=(val); end
681
+
682
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:38
683
+ def render_action_text_attachment(attachment, locals: T.unsafe(nil)); end
684
+
685
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:21
686
+ def render_action_text_attachments(content); end
687
+
688
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:12
689
+ def render_action_text_content(content); end
690
+
691
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:17
692
+ def sanitize_action_text_content(content); end
693
+
694
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:7
695
+ def sanitizer; end
696
+
697
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:7
698
+ def sanitizer=(val); end
699
+
700
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:10
701
+ def scrubber; end
702
+
703
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:10
704
+ def scrubber=(val); end
705
+
706
+ class << self
707
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:9
708
+ def allowed_attributes; end
709
+
710
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:9
711
+ def allowed_attributes=(val); end
712
+
713
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:8
714
+ def allowed_tags; end
715
+
716
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:8
717
+ def allowed_tags=(val); end
718
+
719
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:7
720
+ def sanitizer; end
721
+
722
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:7
723
+ def sanitizer=(val); end
724
+
725
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:10
726
+ def scrubber; end
727
+
728
+ # source://actiontext-7.0.3.1/app/helpers/action_text/content_helper.rb:10
729
+ def scrubber=(val); end
730
+ end
731
+ end
732
+
733
+ # source://actiontext-7.0.3.1/app/models/action_text/encrypted_rich_text.rb:4
734
+ class ActionText::EncryptedRichText < ::ActionText::RichText
735
+ include ::ActionText::EncryptedRichText::GeneratedAttributeMethods
736
+ include ::ActionText::EncryptedRichText::GeneratedAssociationMethods
737
+
738
+ class << self
739
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
740
+ def __callbacks; end
741
+
742
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
743
+ def _validators; end
744
+
745
+ # source://activerecord-7.0.3.1/lib/active_record/attributes.rb:11
746
+ def attributes_to_define_after_schema_loads; end
747
+
748
+ # source://activerecord-7.0.3.1/lib/active_record/enum.rb:116
749
+ def defined_enums; end
750
+
751
+ # source://activerecord-7.0.3.1/lib/active_record/encryption/encryptable_record.rb:11
752
+ def encrypted_attributes; end
753
+ end
754
+ end
755
+
756
+ # source://actiontext-7.0.3.1/app/models/action_text/encrypted_rich_text.rb:0
757
+ module ActionText::EncryptedRichText::GeneratedAssociationMethods; end
758
+
759
+ # source://actiontext-7.0.3.1/app/models/action_text/encrypted_rich_text.rb:0
760
+ module ActionText::EncryptedRichText::GeneratedAttributeMethods; end
761
+
762
+ # source://actiontext-7.0.3.1/lib/action_text/encryption.rb:4
763
+ module ActionText::Encryption
764
+ # source://actiontext-7.0.3.1/lib/action_text/encryption.rb:12
765
+ def decrypt; end
766
+
767
+ # source://actiontext-7.0.3.1/lib/action_text/encryption.rb:5
768
+ def encrypt; end
769
+
770
+ private
771
+
772
+ # source://actiontext-7.0.3.1/lib/action_text/encryption.rb:24
773
+ def decrypt_rich_texts; end
774
+
775
+ # source://actiontext-7.0.3.1/lib/action_text/encryption.rb:20
776
+ def encrypt_rich_texts; end
777
+
778
+ # source://actiontext-7.0.3.1/lib/action_text/encryption.rb:32
779
+ def encryptable_rich_texts; end
780
+
781
+ # @return [Boolean]
782
+ #
783
+ # source://actiontext-7.0.3.1/lib/action_text/encryption.rb:28
784
+ def has_encrypted_rich_texts?; end
785
+ end
786
+
787
+ # source://actiontext-7.0.3.1/lib/action_text/engine.rb:11
788
+ class ActionText::Engine < ::Rails::Engine; end
789
+
790
+ # Fixtures are a way of organizing data that you want to test against; in
791
+ # short, sample data.
792
+ #
793
+ # To learn more about fixtures, read the
794
+ # {ActiveRecord::FixtureSet}[rdoc-ref:ActiveRecord::FixtureSet] documentation.
795
+ #
796
+ # === YAML
797
+ #
798
+ # Like other Active Record-backed models, ActionText::RichText records inherit
799
+ # from ActiveRecord::Base instances and can therefore be populated by
800
+ # fixtures.
801
+ #
802
+ # Consider an <tt>Article</tt> class:
803
+ #
804
+ # class Article < ApplicationRecord
805
+ # has_rich_text :content
806
+ # end
807
+ #
808
+ # To declare fixture data for the related <tt>content</tt>, first declare fixture
809
+ # data for <tt>Article</tt> instances in <tt>test/fixtures/articles.yml</tt>:
810
+ #
811
+ # first:
812
+ # title: An Article
813
+ #
814
+ # Then declare the ActionText::RichText fixture data in
815
+ # <tt>test/fixtures/action_text/rich_texts.yml</tt>, making sure to declare
816
+ # each entry's <tt>record:</tt> key as a polymorphic relationship:
817
+ #
818
+ # first:
819
+ # record: first (Article)
820
+ # name: content
821
+ # body: <div>Hello, world.</div>
822
+ #
823
+ # When processed, Active Record will insert database records for each fixture
824
+ # entry and will ensure the Action Text relationship is intact.
825
+ #
826
+ # source://actiontext-7.0.3.1/lib/action_text/fixture_set.rb:39
827
+ class ActionText::FixtureSet
828
+ class << self
829
+ # Fixtures support Action Text attachments as part of their <tt>body</tt>
830
+ # HTML.
831
+ #
832
+ # === Examples
833
+ #
834
+ # For example, consider a second <tt>Article</tt> fixture declared in
835
+ # <tt>test/fixtures/articles.yml</tt>:
836
+ #
837
+ # second:
838
+ # title: Another Article
839
+ #
840
+ # You can attach a mention of <tt>articles(:first)</tt> to <tt>second</tt>'s
841
+ # <tt>content</tt> by embedding a call to <tt>ActionText::FixtureSet.attachment</tt>
842
+ # in the <tt>body:</tt> value in <tt>test/fixtures/action_text/rich_texts.yml</tt>:
843
+ #
844
+ # second:
845
+ # record: second (Article)
846
+ # name: content
847
+ # body: <div>Hello, <%= ActionText::FixtureSet.attachment("articles", :first) %></div>
848
+ #
849
+ # source://actiontext-7.0.3.1/lib/action_text/fixture_set.rb:60
850
+ def attachment(fixture_set_name, label, column_type: T.unsafe(nil)); end
851
+ end
852
+ end
853
+
854
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:4
855
+ class ActionText::Fragment
856
+ # @return [Fragment] a new instance of Fragment
857
+ #
858
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:24
859
+ def initialize(source); end
860
+
861
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:28
862
+ def find_all(selector); end
863
+
864
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:37
865
+ def replace(selector); end
866
+
867
+ # Returns the value of attribute source.
868
+ #
869
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:22
870
+ def source; end
871
+
872
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:49
873
+ def to_html; end
874
+
875
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:45
876
+ def to_plain_text; end
877
+
878
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:53
879
+ def to_s; end
880
+
881
+ # @yield [source = self.source.clone]
882
+ #
883
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:32
884
+ def update; end
885
+
886
+ class << self
887
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:17
888
+ def from_html(html); end
889
+
890
+ # source://actiontext-7.0.3.1/lib/action_text/fragment.rb:6
891
+ def wrap(fragment_or_html); end
892
+ end
893
+ end
894
+
895
+ # source://actiontext-7.0.3.1/lib/action_text/html_conversion.rb:4
896
+ module ActionText::HtmlConversion
897
+ extend ::ActionText::HtmlConversion
898
+
899
+ # source://actiontext-7.0.3.1/lib/action_text/html_conversion.rb:15
900
+ def create_element(tag_name, attributes = T.unsafe(nil)); end
901
+
902
+ # source://actiontext-7.0.3.1/lib/action_text/html_conversion.rb:11
903
+ def fragment_for_html(html); end
904
+
905
+ # source://actiontext-7.0.3.1/lib/action_text/html_conversion.rb:7
906
+ def node_to_html(node); end
907
+
908
+ private
909
+
910
+ # source://actiontext-7.0.3.1/lib/action_text/html_conversion.rb:20
911
+ def document; end
912
+ end
913
+
914
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:4
915
+ module ActionText::PlainTextConversion
916
+ extend ::ActionText::PlainTextConversion
917
+
918
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:7
919
+ def node_to_plain_text(node); end
920
+
921
+ private
922
+
923
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:104
924
+ def break_if_nested_list(node, text); end
925
+
926
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:81
927
+ def bullet_for_li_node(node, index); end
928
+
929
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:93
930
+ def indentation_for_li_node(node); end
931
+
932
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:100
933
+ def list_node_depth_for_node(node); end
934
+
935
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:89
936
+ def list_node_name_for_li_node(node); end
937
+
938
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:32
939
+ def plain_text_for_block(node, index = T.unsafe(nil)); end
940
+
941
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:64
942
+ def plain_text_for_blockquote_node(node, index); end
943
+
944
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:48
945
+ def plain_text_for_br_node(node, index); end
946
+
947
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:56
948
+ def plain_text_for_div_node(node, index); end
949
+
950
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:60
951
+ def plain_text_for_figcaption_node(node, index); end
952
+
953
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:32
954
+ def plain_text_for_h1_node(node, index = T.unsafe(nil)); end
955
+
956
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:69
957
+ def plain_text_for_li_node(node, index); end
958
+
959
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:40
960
+ def plain_text_for_list(node, index); end
961
+
962
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:12
963
+ def plain_text_for_node(node, index = T.unsafe(nil)); end
964
+
965
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:20
966
+ def plain_text_for_node_children(node); end
967
+
968
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:40
969
+ def plain_text_for_ol_node(node, index); end
970
+
971
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:32
972
+ def plain_text_for_p_node(node, index = T.unsafe(nil)); end
973
+
974
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:52
975
+ def plain_text_for_text_node(node, index); end
976
+
977
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:40
978
+ def plain_text_for_ul_node(node, index); end
979
+
980
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:28
981
+ def plain_text_method_for_node(node); end
982
+
983
+ # source://actiontext-7.0.3.1/lib/action_text/plain_text_conversion.rb:77
984
+ def remove_trailing_newlines(text); end
985
+ end
986
+
987
+ # source://actiontext-7.0.3.1/app/models/action_text/record.rb:4
988
+ class ActionText::Record < ::ActiveRecord::Base
989
+ include ::ActionText::Record::GeneratedAttributeMethods
990
+ include ::ActionText::Record::GeneratedAssociationMethods
991
+
992
+ class << self
993
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
994
+ def _validators; end
995
+
996
+ # source://activerecord-7.0.3.1/lib/active_record/enum.rb:116
997
+ def defined_enums; end
998
+ end
999
+ end
1000
+
1001
+ # source://actiontext-7.0.3.1/app/models/action_text/record.rb:0
1002
+ module ActionText::Record::GeneratedAssociationMethods; end
1003
+
1004
+ # source://actiontext-7.0.3.1/app/models/action_text/record.rb:0
1005
+ module ActionText::Record::GeneratedAttributeMethods; end
1006
+
1007
+ # source://actiontext-7.0.3.1/lib/action_text/rendering.rb:7
1008
+ module ActionText::Rendering
1009
+ extend ::ActiveSupport::Concern
1010
+
1011
+ mixes_in_class_methods ::ActionText::Rendering::ClassMethods
1012
+ end
1013
+
1014
+ # source://actiontext-7.0.3.1/lib/action_text/rendering.rb:0
1015
+ module ActionText::Rendering::ClassMethods
1016
+ # source://actiontext-7.0.3.1/lib/action_text/rendering.rb:25
1017
+ def render(*args, &block); end
1018
+
1019
+ # source://actiontext-7.0.3.1/lib/action_text/rendering.rb:17
1020
+ def with_renderer(renderer); end
1021
+ end
1022
+
1023
+ # source://actiontext-7.0.3.1/app/models/action_text/rich_text.rb:8
1024
+ class ActionText::RichText < ::ActionText::Record
1025
+ include ::ActionText::RichText::GeneratedAttributeMethods
1026
+ include ::ActionText::RichText::GeneratedAssociationMethods
1027
+
1028
+ # source://activerecord-7.0.3.1/lib/active_record/autosave_association.rb:160
1029
+ def autosave_associated_records_for_record(*args); end
1030
+
1031
+ # source://actiontext-7.0.3.1/app/models/action_text/rich_text.rb:12
1032
+ def nil?(*_arg0, &_arg1); end
1033
+
1034
+ # source://actiontext-7.0.3.1/app/models/action_text/rich_text.rb:12
1035
+ def to_s(*_arg0, &_arg1); end
1036
+
1037
+ class << self
1038
+ # source://activesupport-7.0.3.1/lib/active_support/callbacks.rb:68
1039
+ def __callbacks; end
1040
+
1041
+ # source://activerecord-7.0.3.1/lib/active_record/reflection.rb:11
1042
+ def _reflections; end
1043
+
1044
+ # source://activemodel-7.0.3.1/lib/active_model/validations.rb:52
1045
+ def _validators; end
1046
+
1047
+ # source://activerecord-7.0.3.1/lib/active_record/attributes.rb:11
1048
+ def attributes_to_define_after_schema_loads; end
1049
+
1050
+ # source://activerecord-7.0.3.1/lib/active_record/enum.rb:116
1051
+ def defined_enums; end
1052
+ end
1053
+ end
1054
+
1055
+ # source://actiontext-7.0.3.1/app/models/action_text/rich_text.rb:0
1056
+ module ActionText::RichText::GeneratedAssociationMethods
1057
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/association.rb:103
1058
+ def record; end
1059
+
1060
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/association.rb:111
1061
+ def record=(value); end
1062
+
1063
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/belongs_to.rb:132
1064
+ def record_changed?; end
1065
+
1066
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/belongs_to.rb:136
1067
+ def record_previously_changed?; end
1068
+
1069
+ # source://activerecord-7.0.3.1/lib/active_record/associations/builder/singular_association.rb:19
1070
+ def reload_record; end
1071
+ end
1072
+
1073
+ # source://actiontext-7.0.3.1/app/models/action_text/rich_text.rb:0
1074
+ module ActionText::RichText::GeneratedAttributeMethods; end
1075
+
1076
+ # source://actiontext-7.0.3.1/lib/action_text/serialization.rb:4
1077
+ module ActionText::Serialization
1078
+ extend ::ActiveSupport::Concern
1079
+
1080
+ mixes_in_class_methods ::ActionText::Serialization::ClassMethods
1081
+
1082
+ # source://actiontext-7.0.3.1/lib/action_text/serialization.rb:32
1083
+ def _dump(*_arg0); end
1084
+ end
1085
+
1086
+ # source://actiontext-7.0.3.1/lib/action_text/serialization.rb:0
1087
+ module ActionText::Serialization::ClassMethods
1088
+ # source://actiontext-7.0.3.1/lib/action_text/serialization.rb:8
1089
+ def _load(content); end
1090
+
1091
+ # source://actiontext-7.0.3.1/lib/action_text/serialization.rb:12
1092
+ def dump(content); end
1093
+
1094
+ # source://actiontext-7.0.3.1/lib/action_text/serialization.rb:8
1095
+ def load(content); end
1096
+ end
1097
+
1098
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:7
1099
+ module ActionText::TagHelper
1100
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:24
1101
+ def rich_text_area_tag(name, value = T.unsafe(nil), options = T.unsafe(nil)); end
1102
+
1103
+ class << self
1104
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:8
1105
+ def id; end
1106
+
1107
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:8
1108
+ def id=(val); end
1109
+ end
1110
+ end
1111
+
1112
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:4
1113
+ class ActionText::TrixAttachment
1114
+ # @return [TrixAttachment] a new instance of TrixAttachment
1115
+ #
1116
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:51
1117
+ def initialize(node); end
1118
+
1119
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:55
1120
+ def attributes; end
1121
+
1122
+ # Returns the value of attribute node.
1123
+ #
1124
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:49
1125
+ def node; end
1126
+
1127
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:59
1128
+ def to_html; end
1129
+
1130
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:63
1131
+ def to_s; end
1132
+
1133
+ private
1134
+
1135
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:68
1136
+ def attachment_attributes; end
1137
+
1138
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:72
1139
+ def composed_attributes; end
1140
+
1141
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:80
1142
+ def read_json_attribute(name); end
1143
+
1144
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:76
1145
+ def read_json_object_attribute(name); end
1146
+
1147
+ class << self
1148
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:19
1149
+ def from_attributes(attributes); end
1150
+
1151
+ private
1152
+
1153
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:33
1154
+ def process_attributes(attributes); end
1155
+
1156
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:37
1157
+ def transform_attribute_keys(attributes); end
1158
+
1159
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:41
1160
+ def typecast_attribute_values(attributes); end
1161
+ end
1162
+ end
1163
+
1164
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:9
1165
+ ActionText::TrixAttachment::ATTRIBUTES = T.let(T.unsafe(nil), Array)
1166
+
1167
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:10
1168
+ ActionText::TrixAttachment::ATTRIBUTE_TYPES = T.let(T.unsafe(nil), Hash)
1169
+
1170
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:8
1171
+ ActionText::TrixAttachment::COMPOSED_ATTRIBUTES = T.let(T.unsafe(nil), Array)
1172
+
1173
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:6
1174
+ ActionText::TrixAttachment::SELECTOR = T.let(T.unsafe(nil), String)
1175
+
1176
+ # source://actiontext-7.0.3.1/lib/action_text/trix_attachment.rb:5
1177
+ ActionText::TrixAttachment::TAG_NAME = T.let(T.unsafe(nil), String)
1178
+
1179
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:43
1180
+ module ActionView::Helpers
1181
+ include ::ActionView::Helpers::SanitizeHelper
1182
+ include ::ActionView::Helpers::TextHelper
1183
+ include ::ActionView::Helpers::UrlHelper
1184
+ include ::ActionView::Helpers::SanitizeHelper
1185
+ include ::ActionView::Helpers::TextHelper
1186
+ include ::ActionView::Helpers::FormTagHelper
1187
+ include ::ActionView::Helpers::FormHelper
1188
+ include ::ActionView::Helpers::TranslationHelper
1189
+
1190
+ mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods
1191
+ mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
1192
+
1193
+ class << self
1194
+ # source://actionview-7.0.3.1/lib/action_view/helpers.rb:34
1195
+ def eager_load!; end
1196
+ end
1197
+ end
1198
+
1199
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:84
1200
+ class ActionView::Helpers::FormBuilder
1201
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1696
1202
+ def initialize(object_name, object, template, options); end
1203
+
1204
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2610
1205
+ def button(value = T.unsafe(nil), options = T.unsafe(nil), &block); end
1206
+
1207
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2434
1208
+ def check_box(method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
1209
+
1210
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_options_helper.rb:905
1211
+ def collection_check_boxes(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1212
+
1213
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_options_helper.rb:917
1214
+ def collection_radio_buttons(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1215
+
1216
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_options_helper.rb:857
1217
+ def collection_select(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1218
+
1219
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1220
+ def color_field(method, options = T.unsafe(nil)); end
1221
+
1222
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1223
+ def date_field(method, options = T.unsafe(nil)); end
1224
+
1225
+ # source://actionview-7.0.3.1/lib/action_view/helpers/date_helper.rb:1229
1226
+ def date_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1227
+
1228
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1229
+ def datetime_field(method, options = T.unsafe(nil)); end
1230
+
1231
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1232
+ def datetime_local_field(method, options = T.unsafe(nil)); end
1233
+
1234
+ # source://actionview-7.0.3.1/lib/action_view/helpers/date_helper.rb:1253
1235
+ def datetime_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1236
+
1237
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1238
+ def email_field(method, options = T.unsafe(nil)); end
1239
+
1240
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2631
1241
+ def emitted_hidden_id?; end
1242
+
1243
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1661
1244
+ def field_helpers; end
1245
+
1246
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1661
1247
+ def field_helpers=(_arg0); end
1248
+
1249
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1661
1250
+ def field_helpers?; end
1251
+
1252
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1753
1253
+ def field_id(method, *suffixes, namespace: T.unsafe(nil), index: T.unsafe(nil)); end
1254
+
1255
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1773
1256
+ def field_name(method, *methods, multiple: T.unsafe(nil), index: T.unsafe(nil)); end
1257
+
1258
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2290
1259
+ def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
1260
+
1261
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2253
1262
+ def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end
1263
+
1264
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2517
1265
+ def file_field(method, options = T.unsafe(nil)); end
1266
+
1267
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_options_helper.rb:869
1268
+ 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
1269
+
1270
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2478
1271
+ def hidden_field(method, options = T.unsafe(nil)); end
1272
+
1273
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1733
1274
+ def id; end
1275
+
1276
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1673
1277
+ def index; end
1278
+
1279
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2365
1280
+ def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end
1281
+
1282
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1283
+ def month_field(method, options = T.unsafe(nil)); end
1284
+
1285
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1673
1286
+ def multipart; end
1287
+
1288
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1676
1289
+ def multipart=(multipart); end
1290
+
1291
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1673
1292
+ def multipart?; end
1293
+
1294
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1295
+ def number_field(method, options = T.unsafe(nil)); end
1296
+
1297
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1671
1298
+ def object; end
1299
+
1300
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1671
1301
+ def object=(_arg0); end
1302
+
1303
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1671
1304
+ def object_name; end
1305
+
1306
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1671
1307
+ def object_name=(_arg0); end
1308
+
1309
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1671
1310
+ def options; end
1311
+
1312
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1671
1313
+ def options=(_arg0); end
1314
+
1315
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1316
+ def password_field(method, options = T.unsafe(nil)); end
1317
+
1318
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1319
+ def phone_field(method, options = T.unsafe(nil)); end
1320
+
1321
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2456
1322
+ def radio_button(method, tag_value, options = T.unsafe(nil)); end
1323
+
1324
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1325
+ def range_field(method, options = T.unsafe(nil)); end
1326
+
1327
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:85
1328
+ def rich_text_area(method, options = T.unsafe(nil)); end
1329
+
1330
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1331
+ def search_field(method, options = T.unsafe(nil)); end
1332
+
1333
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_options_helper.rb:845
1334
+ def select(method, choices = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
1335
+
1336
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2549
1337
+ def submit(value = T.unsafe(nil), options = T.unsafe(nil)); end
1338
+
1339
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1340
+ def telephone_field(method, options = T.unsafe(nil)); end
1341
+
1342
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1343
+ def text_area(method, options = T.unsafe(nil)); end
1344
+
1345
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1346
+ def text_field(method, options = T.unsafe(nil)); end
1347
+
1348
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1349
+ def time_field(method, options = T.unsafe(nil)); end
1350
+
1351
+ # source://actionview-7.0.3.1/lib/action_view/helpers/date_helper.rb:1241
1352
+ def time_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1353
+
1354
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_options_helper.rb:881
1355
+ def time_zone_select(method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1356
+
1357
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1692
1358
+ def to_model; end
1359
+
1360
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1688
1361
+ def to_partial_path; end
1362
+
1363
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1364
+ def url_field(method, options = T.unsafe(nil)); end
1365
+
1366
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2002
1367
+ def week_field(method, options = T.unsafe(nil)); end
1368
+
1369
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_options_helper.rb:893
1370
+ def weekday_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
1371
+
1372
+ private
1373
+
1374
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2716
1375
+ def convert_to_legacy_options(options); end
1376
+
1377
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2698
1378
+ def fields_for_nested_model(name, object, fields_options, block); end
1379
+
1380
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2669
1381
+ def fields_for_with_nested_attributes(association_name, association, options, block); end
1382
+
1383
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2665
1384
+ def nested_attributes_association?(association_name); end
1385
+
1386
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2711
1387
+ def nested_child_index(name); end
1388
+
1389
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2636
1390
+ def objectify_options(options); end
1391
+
1392
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:2642
1393
+ def submit_default_value; end
1394
+
1395
+ class << self
1396
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1684
1397
+ def _to_partial_path; end
1398
+
1399
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1661
1400
+ def field_helpers; end
1401
+
1402
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1661
1403
+ def field_helpers=(value); end
1404
+
1405
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1661
1406
+ def field_helpers?; end
1407
+ end
1408
+ end
1409
+
1410
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:57
1411
+ module ActionView::Helpers::FormHelper
1412
+ include ::ActionView::Helpers::UrlHelper
1413
+ include ::ActionView::Helpers::SanitizeHelper
1414
+ include ::ActionView::Helpers::TextHelper
1415
+ include ::ActionView::Helpers::FormTagHelper
1416
+
1417
+ mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods
1418
+ mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
1419
+
1420
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1569
1421
+ def _object_for_form_builder(object); end
1422
+
1423
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1336
1424
+ def check_box(object_name, method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
1425
+
1426
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1366
1427
+ def color_field(object_name, method, options = T.unsafe(nil)); end
1428
+
1429
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1430
1430
+ def date_field(object_name, method, options = T.unsafe(nil)); end
1431
+
1432
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1495
1433
+ def datetime_field(object_name, method, options = T.unsafe(nil)); end
1434
+
1435
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1495
1436
+ def datetime_local_field(object_name, method, options = T.unsafe(nil)); end
1437
+
1438
+ def default_form_builder; end
1439
+ def default_form_builder=(_arg0); end
1440
+
1441
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1549
1442
+ def email_field(object_name, method, options = T.unsafe(nil)); end
1443
+
1444
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1072
1445
+ def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
1446
+
1447
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1021
1448
+ def fields_for(record_name, record_object = T.unsafe(nil), options = T.unsafe(nil), &block); end
1449
+
1450
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1238
1451
+ def file_field(object_name, method, options = T.unsafe(nil)); end
1452
+
1453
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:433
1454
+ def form_for(record, options = T.unsafe(nil), &block); end
1455
+
1456
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:754
1457
+ def form_with(model: T.unsafe(nil), scope: T.unsafe(nil), url: T.unsafe(nil), format: T.unsafe(nil), **options, &block); end
1458
+
1459
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:479
1460
+ def form_with_generates_ids; end
1461
+
1462
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:479
1463
+ def form_with_generates_ids=(val); end
1464
+
1465
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:477
1466
+ def form_with_generates_remote_forms; end
1467
+
1468
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:477
1469
+ def form_with_generates_remote_forms=(val); end
1470
+
1471
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1205
1472
+ def hidden_field(object_name, method, options = T.unsafe(nil)); end
1473
+
1474
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1142
1475
+ def label(object_name, method, content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
1476
+
1477
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1514
1478
+ def month_field(object_name, method, options = T.unsafe(nil)); end
1479
+
1480
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:481
1481
+ def multiple_file_field_include_hidden; end
1482
+
1483
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:481
1484
+ def multiple_file_field_include_hidden=(val); end
1485
+
1486
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1557
1487
+ def number_field(object_name, method, options = T.unsafe(nil)); end
1488
+
1489
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1187
1490
+ def password_field(object_name, method, options = T.unsafe(nil)); end
1491
+
1492
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1398
1493
+ def phone_field(object_name, method, options = T.unsafe(nil)); end
1494
+
1495
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1358
1496
+ def radio_button(object_name, method, tag_value, options = T.unsafe(nil)); end
1497
+
1498
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1565
1499
+ def range_field(object_name, method, options = T.unsafe(nil)); end
1500
+
1501
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:79
1502
+ def rich_text_area(object_name, method, options = T.unsafe(nil)); end
1503
+
1504
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1389
1505
+ def search_field(object_name, method, options = T.unsafe(nil)); end
1506
+
1507
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1398
1508
+ def telephone_field(object_name, method, options = T.unsafe(nil)); end
1509
+
1510
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1268
1511
+ def text_area(object_name, method, options = T.unsafe(nil)); end
1512
+
1513
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1166
1514
+ def text_field(object_name, method, options = T.unsafe(nil)); end
1515
+
1516
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1466
1517
+ def time_field(object_name, method, options = T.unsafe(nil)); end
1518
+
1519
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1540
1520
+ def url_field(object_name, method, options = T.unsafe(nil)); end
1521
+
1522
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1531
1523
+ def week_field(object_name, method, options = T.unsafe(nil)); end
1524
+
1525
+ private
1526
+
1527
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:463
1528
+ def apply_form_for_options!(object, options); end
1529
+
1530
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1603
1531
+ def default_form_builder_class; end
1532
+
1533
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1574
1534
+ 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
1535
+
1536
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:1589
1537
+ def instantiate_builder(record_name, record_object, options); end
1538
+
1539
+ class << self
1540
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:479
1541
+ def form_with_generates_ids; end
1542
+
1543
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:479
1544
+ def form_with_generates_ids=(val); end
1545
+
1546
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:477
1547
+ def form_with_generates_remote_forms; end
1548
+
1549
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:477
1550
+ def form_with_generates_remote_forms=(val); end
1551
+
1552
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:481
1553
+ def multiple_file_field_include_hidden; end
1554
+
1555
+ # source://actionview-7.0.3.1/lib/action_view/helpers/form_helper.rb:481
1556
+ def multiple_file_field_include_hidden=(val); end
1557
+ end
1558
+ end
1559
+
1560
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:44
1561
+ class ActionView::Helpers::Tags::ActionText < ::ActionView::Helpers::Tags::Base
1562
+ include ::ActionView::Helpers::Tags::Placeholderable
1563
+
1564
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:47
1565
+ def dom_id(*_arg0, &_arg1); end
1566
+
1567
+ # source://actiontext-7.0.3.1/app/helpers/action_text/tag_helper.rb:49
1568
+ def render; end
1569
+ end