[TASK] Organize TSconfig structure
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Configuration / PageTSconfig / modWizards.ts
1 mod.wizards {
2         newContentElement.wizardItems {
3                 forms.elements {
4                         mailform {
5                                 tt_content_defValues {
6                                         bodytext (
7 enctype = multipart/form-data
8 method = post
9 prefix = tx_form
10                                         )
11                                 }
12                         }
13                 }
14         }
15         form {
16                 defaults {
17                         showTabs = elements, options, form
18                         tabs {
19                                 elements {
20                                         showAccordions = basic, predefined, content
21                                         accordions {
22                                                 basic {
23                                                         showButtons = checkbox, fieldset, fileupload, hidden, password, radio, reset, select, submit, textarea, textline
24                                                 }
25                                                 predefined {
26                                                         showButtons = email, radiogroup, checkboxgroup, name
27                                                 }
28                                                 content {
29                                                         showButtons = header, textblock
30                                                 }
31                                         }
32                                 }
33                                 options {
34                                         showAccordions = legend, label, attributes, options, validation, filters, various
35                                         accordions {
36                                                 attributes {
37                                                         showProperties = accept, acceptcharset, accesskey, action, alt, checked, class, cols, dir, disabled, enctype, id, label, lang, maxlength, method, multiple, name, placeholder, readonly, rows, selected, size, src, style, tabindex, title, type, value
38                                                 }
39                                                 label {
40                                                         showProperties = label
41                                                 }
42                                                 validation {
43                                                         showRules = alphabetic, alphanumeric, between, date, digit, email, equals, fileallowedtypes, filemaximumsize, fileminimumsize, float, greaterthan, inarray, integer, ip, length, lessthan, regexp, required, uri
44                                                         rules {
45                                                                 alphabetic {
46                                                                         showProperties = message, error, breakOnError, showMessage, allowWhiteSpace
47                                                                 }
48                                                                 alphanumeric {
49                                                                         showProperties = message, error, breakOnError, showMessage, allowWhiteSpace
50                                                                 }
51                                                                 between {
52                                                                         showProperties = message, error, breakOnError, showMessage, minimum, maximum, inclusive
53                                                                 }
54                                                                 date {
55                                                                         showProperties = message, error, breakOnError, showMessage, format
56                                                                 }
57                                                                 digit {
58                                                                         showProperties = message, error, breakOnError, showMessage
59                                                                 }
60                                                                 email {
61                                                                         showProperties = message, error, breakOnError, showMessage
62                                                                 }
63                                                                 equals {
64                                                                         showProperties = message, error, breakOnError, showMessage, field
65                                                                 }
66                                                                 fileallowedtypes {
67                                                                         showProperties = message, error, breakOnError, showMessage, types
68                                                                 }
69                                                                 filemaximumsize {
70                                                                         showProperties = message, error, breakOnError, showMessage, maximum
71                                                                 }
72                                                                 fileminimumsize {
73                                                                         showProperties = message, error, breakOnError, showMessage, minimum
74                                                                 }
75                                                                 float {
76                                                                         showProperties = message, error, breakOnError, showMessage
77                                                                 }
78                                                                 greaterthan {
79                                                                         showProperties = message, error, breakOnError, showMessage, minimum
80                                                                 }
81                                                                 inarray {
82                                                                         showProperties = message, error, breakOnError, showMessage, array, strict
83                                                                 }
84                                                                 integer {
85                                                                         showProperties = message, error, breakOnError, showMessage
86                                                                 }
87                                                                 ip {
88                                                                         showProperties = message, error, breakOnError, showMessage
89                                                                 }
90                                                                 length {
91                                                                         showProperties = message, error, breakOnError, showMessage, minimum, maximum
92                                                                 }
93                                                                 lessthan {
94                                                                         showProperties = message, error, breakOnError, showMessage, maximum
95                                                                 }
96                                                                 regexp {
97                                                                         showProperties = message, error, breakOnError, showMessage, expression
98                                                                 }
99                                                                 required {
100                                                                         showProperties = message, error, breakOnError, showMessage
101                                                                 }
102                                                                 uri {
103                                                                         showProperties = message, error, breakOnError, showMessage
104                                                                 }
105                                                         }
106                                                 }
107                                                 filtering {
108                                                         showFilters = alphabetic, alphanumeric, currency, digit, integer, lowercase, regexp, removexss, stripnewlines, titlecase, trim, uppercase
109                                                         filters {
110                                                                 alphabetic {
111                                                                         showProperties = allowWhiteSpace
112                                                                 }
113                                                                 alphanumeric {
114                                                                         showProperties = allowWhiteSpace
115                                                                 }
116                                                                 currency {
117                                                                         showProperties = decimalPoint, thousandSeparator
118                                                                 }
119                                                                 digit {
120                                                                         showProperties =
121                                                                 }
122                                                                 integer {
123                                                                         showProperties =
124                                                                 }
125                                                                 lowercase {
126                                                                         showProperties =
127                                                                 }
128                                                                 regexp {
129                                                                         showProperties = expression
130                                                                 }
131                                                                 removexss {
132                                                                         showProperties =
133                                                                 }
134                                                                 stripnewlines {
135                                                                         showProperties =
136                                                                 }
137                                                                 titlecase {
138                                                                         showProperties =
139                                                                 }
140                                                                 trim {
141                                                                         showProperties = characterList
142                                                                 }
143                                                                 uppercase {
144                                                                         showProperties =
145                                                                 }
146                                                         }
147                                                 }
148                                         }
149                                 }
150                                 form {
151                                         showAccordions = behaviour, prefix, attributes, postProcessor
152                                         accordions {
153                                                 attributes {
154                                                         showProperties = accept, acceptcharset, action, class, dir, enctype, id, lang, method, name, style, title
155                                                 }
156                                                 postProcessor {
157                                                         showPostProcessors = mail, redirect
158                                                         postProcessors {
159                                                                 mail {
160                                                                         showProperties = recipientEmail, senderEmail, subject
161                                                                 }
162                                                                 redirect {
163                                                                         showProperties = destination
164                                                                 }
165                                                         }
166                                                 }
167                                         }
168                                 }
169                         }
170                 }
171                 elements {
172                         button {
173                                 showAccordions = attributes
174                                 accordions {
175                                         attributes {
176                                                 showProperties = value
177                                         }
178                                 }
179                         }
180                         checkbox {
181                                 showAccordions = label, attributes, validation
182                                 accordions {
183                                         attributes {
184                                                 showProperties = name, value
185                                         }
186                                         validation {
187                                                 showRules = required
188                                         }
189                                 }
190                         }
191                         fieldset {
192                                 showAccordions = legend
193                         }
194                         fileupload {
195                                 showAccordions = label, attributes, validation
196                                 accordions {
197                                         attributes {
198                                                 showProperties = name
199                                         }
200                                         validation {
201                                                 showRules = required, fileallowedtypes, filemaximumsize, fileminimumsize
202                                         }
203                                 }
204                         }
205                         hidden {
206                                 showAccordions = attributes
207                                 accordions {
208                                         attributes {
209                                                 showProperties = name, value
210                                         }
211                                 }
212                         }
213                         password {
214                                 showAccordions = label, attributes, validation
215                                 accordions {
216                                         attributes {
217                                                 showProperties = name, placeholder
218                                         }
219                                         validation {
220                                                 showRules = required, equals
221                                         }
222                                 }
223                         }
224                         radio < .checkbox
225                         reset < .button
226                         select {
227                                 showAccordions = label, attributes, options, validation
228                                 accordions {
229                                         attributes {
230                                                 showProperties = name, multiple
231                                         }
232                                         validation {
233                                                 showRules = required
234                                         }
235                                 }
236                         }
237                         submit < .button
238                         textarea {
239                                 showAccordions = label, attributes, validation, filters
240                                 accordions {
241                                         attributes {
242                                                 showProperties = name, placeholder, cols, rows
243                                         }
244                                         filtering {
245                                                 showFilters = alphabetic, alphanumeric, lowercase, regexp, stripnewlines, titlecase, trim, uppercase
246                                         }
247                                         validation {
248                                                 showRules = alphabetic, alphanumeric, length, regexp, required
249                                         }
250                                 }
251                         }
252                         textline {
253                                 showAccordions = label, attributes, validation, filters
254                                 accordions {
255                                         attributes {
256                                                 showProperties = name, placeholder
257                                         }
258                                         validation {
259                                                 showRules = alphabetic, alphanumeric, between, date, digit, email, equals, float, greaterthan, inarray, integer, ip, length, lessthan, regexp, required, uri
260                                         }
261                                         filtering {
262                                                 showFilters = alphabetic, alphanumeric, currency, digit, integer, lowercase, regexp, titlecase, trim, uppercase
263                                         }
264                                 }
265                         }
266                         checkboxgroup {
267                                 showAccordions = legend, options, various, validation
268                                 accordions {
269                                         validation {
270                                                 showRules = required
271                                         }
272                                 }
273                         }
274                         email < .textline
275                         header {
276                                 showAccordions = various
277                         }
278                         textblock {
279                                 showAccordions = various
280                         }
281                         name {
282                                 showAccordions = legend, various
283                         }
284                         radiogroup < .checkboxgroup
285                 }
286         }
287 }