@dev-crew-berlin/enter-js-utils 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +63 -2
  2. package/dist/lib/class-names.d.ts +1 -0
  3. package/dist/lib/class-names.js +13 -0
  4. package/dist/lib/class-names.js.map +1 -0
  5. package/dist/lib/index.d.ts +1 -0
  6. package/dist/lib/index.js +1 -0
  7. package/dist/lib/index.js.map +1 -1
  8. package/dist/lib/theme.js +1 -1
  9. package/dist/models/field-group.d.ts +161 -481
  10. package/dist/models/field-group.js +1 -1
  11. package/dist/models/field-group.js.map +1 -1
  12. package/dist/models/field.d.ts +116 -348
  13. package/dist/models/field.js +5 -5
  14. package/dist/models/field.js.map +1 -1
  15. package/dist/ui/button.d.ts +7 -0
  16. package/dist/ui/button.js +32 -0
  17. package/dist/ui/button.js.map +1 -0
  18. package/dist/ui/button.stories.d.ts +18 -0
  19. package/dist/ui/button.stories.js +38 -0
  20. package/dist/ui/button.stories.js.map +1 -0
  21. package/dist/ui/checkin-count-indicator.d.ts +0 -1
  22. package/dist/ui/checkin-count-indicator.stories.js +1 -1
  23. package/dist/ui/checkin-count-indicator.stories.js.map +1 -1
  24. package/dist/ui/companion-info.d.ts +15 -0
  25. package/dist/ui/companion-info.js +17 -0
  26. package/dist/ui/companion-info.js.map +1 -0
  27. package/dist/ui/companion-info.stories.d.ts +44 -0
  28. package/dist/ui/companion-info.stories.js +61 -0
  29. package/dist/ui/companion-info.stories.js.map +1 -0
  30. package/dist/ui/guest-card.d.ts +16 -0
  31. package/dist/ui/guest-card.js +36 -0
  32. package/dist/ui/guest-card.js.map +1 -0
  33. package/dist/ui/guest-card.stories.d.ts +92 -0
  34. package/dist/ui/guest-card.stories.js +125 -0
  35. package/dist/ui/guest-card.stories.js.map +1 -0
  36. package/dist/ui/tag.d.ts +7 -0
  37. package/dist/ui/tag.js +10 -0
  38. package/dist/ui/tag.js.map +1 -0
  39. package/package.json +1 -1
@@ -1,70 +1,38 @@
1
1
  import { ValidatorReturnType } from 'fefe';
2
2
  declare const staticField: import("fefe").Validator<import("fefe").ObjectResult<{
3
3
  name: import("fefe").Validator<string, import("fefe").LeafError>;
4
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
5
- optional: true;
6
- };
7
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
8
- optional: true;
9
- };
4
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
5
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
10
6
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
11
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
12
- optional: true;
13
- };
14
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
15
- optional: true;
16
- };
7
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
8
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
17
9
  type: import("fefe").Validator<"static", import("fefe").LeafError>;
18
10
  }>, import("fefe").FefeError>;
19
11
  declare const textField: import("fefe").Validator<import("fefe").ObjectResult<{
20
12
  name: import("fefe").Validator<string, import("fefe").LeafError>;
21
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
22
- optional: true;
23
- };
24
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
25
- optional: true;
26
- };
13
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
14
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
27
15
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
28
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
29
- optional: true;
30
- };
31
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
32
- optional: true;
33
- };
16
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
17
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
34
18
  type: import("fefe").Validator<"text", import("fefe").LeafError>;
35
19
  }>, import("fefe").FefeError>;
36
20
  declare const emailField: import("fefe").Validator<import("fefe").ObjectResult<{
37
21
  name: import("fefe").Validator<string, import("fefe").LeafError>;
38
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
39
- optional: true;
40
- };
41
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
42
- optional: true;
43
- };
22
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
23
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
44
24
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
45
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
46
- optional: true;
47
- };
48
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
49
- optional: true;
50
- };
25
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
26
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
51
27
  type: import("fefe").Validator<"email", import("fefe").LeafError>;
52
28
  }>, import("fefe").FefeError>;
53
29
  declare const numberField: import("fefe").Validator<import("fefe").ObjectResult<{
54
30
  name: import("fefe").Validator<string, import("fefe").LeafError>;
55
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
56
- optional: true;
57
- };
58
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
59
- optional: true;
60
- };
31
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
32
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
61
33
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
62
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
63
- optional: true;
64
- };
65
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
66
- optional: true;
67
- };
34
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
35
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
68
36
  type: import("fefe").Validator<"number", import("fefe").LeafError>;
69
37
  }>, import("fefe").FefeError>;
70
38
  declare const checkboxField: import("fefe").Validator<import("fefe").ObjectResult<{
@@ -75,37 +43,21 @@ declare const checkboxField: import("fefe").Validator<import("fefe").ObjectResul
75
43
  };
76
44
  }>[], import("fefe").FefeError>;
77
45
  name: import("fefe").Validator<string, import("fefe").LeafError>;
78
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
79
- optional: true;
80
- };
81
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
82
- optional: true;
83
- };
46
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
47
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
84
48
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
85
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
86
- optional: true;
87
- };
88
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
89
- optional: true;
90
- };
49
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
50
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
91
51
  type: import("fefe").Validator<"check", import("fefe").LeafError>;
92
52
  }>, import("fefe").FefeError>;
93
53
  declare const singleCheckboxField: import("fefe").Validator<import("fefe").ObjectResult<{
94
54
  value: import("fefe").Validator<number, import("fefe").FefeError>;
95
55
  name: import("fefe").Validator<string, import("fefe").LeafError>;
96
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
97
- optional: true;
98
- };
99
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
100
- optional: true;
101
- };
56
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
57
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
102
58
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
103
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
104
- optional: true;
105
- };
106
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
107
- optional: true;
108
- };
59
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
60
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
109
61
  type: import("fefe").Validator<"checkbox", import("fefe").LeafError>;
110
62
  }>, import("fefe").FefeError>;
111
63
  declare const radioField: import("fefe").Validator<import("fefe").ObjectResult<{
@@ -116,19 +68,11 @@ declare const radioField: import("fefe").Validator<import("fefe").ObjectResult<{
116
68
  };
117
69
  }>[], import("fefe").FefeError>;
118
70
  name: import("fefe").Validator<string, import("fefe").LeafError>;
119
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
120
- optional: true;
121
- };
122
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
123
- optional: true;
124
- };
71
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
72
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
125
73
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
126
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
127
- optional: true;
128
- };
129
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
130
- optional: true;
131
- };
74
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
75
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
132
76
  type: import("fefe").Validator<"radio", import("fefe").LeafError>;
133
77
  }>, import("fefe").FefeError>;
134
78
  declare const singleRadioField: import("fefe").Validator<import("fefe").ObjectResult<{
@@ -136,19 +80,11 @@ declare const singleRadioField: import("fefe").Validator<import("fefe").ObjectRe
136
80
  optional: true;
137
81
  };
138
82
  name: import("fefe").Validator<string, import("fefe").LeafError>;
139
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
140
- optional: true;
141
- };
142
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
143
- optional: true;
144
- };
83
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
84
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
145
85
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
146
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
147
- optional: true;
148
- };
149
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
150
- optional: true;
151
- };
86
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
87
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
152
88
  type: import("fefe").Validator<"radiobutton", import("fefe").LeafError>;
153
89
  }>, import("fefe").FefeError>;
154
90
  declare const selectField: import("fefe").Validator<import("fefe").ObjectResult<{
@@ -159,100 +95,52 @@ declare const selectField: import("fefe").Validator<import("fefe").ObjectResult<
159
95
  };
160
96
  }>[], import("fefe").FefeError>;
161
97
  name: import("fefe").Validator<string, import("fefe").LeafError>;
162
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
163
- optional: true;
164
- };
165
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
166
- optional: true;
167
- };
98
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
99
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
168
100
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
169
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
170
- optional: true;
171
- };
172
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
173
- optional: true;
174
- };
101
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
102
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
175
103
  type: import("fefe").Validator<"dropdown", import("fefe").LeafError>;
176
104
  }>, import("fefe").FefeError>;
177
105
  export declare const field: import("fefe").Validator<import("fefe").ObjectResult<{
178
106
  name: import("fefe").Validator<string, import("fefe").LeafError>;
179
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
180
- optional: true;
181
- };
182
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
183
- optional: true;
184
- };
107
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
108
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
185
109
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
186
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
187
- optional: true;
188
- };
189
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
190
- optional: true;
191
- };
110
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
111
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
192
112
  type: import("fefe").Validator<"static", import("fefe").LeafError>;
193
113
  }> | import("fefe").ObjectResult<{
194
114
  name: import("fefe").Validator<string, import("fefe").LeafError>;
195
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
196
- optional: true;
197
- };
198
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
199
- optional: true;
200
- };
115
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
116
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
201
117
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
202
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
203
- optional: true;
204
- };
205
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
206
- optional: true;
207
- };
118
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
119
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
208
120
  type: import("fefe").Validator<"text", import("fefe").LeafError>;
209
121
  }> | import("fefe").ObjectResult<{
210
122
  name: import("fefe").Validator<string, import("fefe").LeafError>;
211
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
212
- optional: true;
213
- };
214
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
215
- optional: true;
216
- };
123
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
124
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
217
125
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
218
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
219
- optional: true;
220
- };
221
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
222
- optional: true;
223
- };
126
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
127
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
224
128
  type: import("fefe").Validator<"longtext", import("fefe").LeafError>;
225
129
  }> | import("fefe").ObjectResult<{
226
130
  name: import("fefe").Validator<string, import("fefe").LeafError>;
227
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
228
- optional: true;
229
- };
230
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
231
- optional: true;
232
- };
131
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
132
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
233
133
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
234
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
235
- optional: true;
236
- };
237
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
238
- optional: true;
239
- };
134
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
135
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
240
136
  type: import("fefe").Validator<"email", import("fefe").LeafError>;
241
137
  }> | import("fefe").ObjectResult<{
242
138
  name: import("fefe").Validator<string, import("fefe").LeafError>;
243
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
244
- optional: true;
245
- };
246
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
247
- optional: true;
248
- };
139
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
140
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
249
141
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
250
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
251
- optional: true;
252
- };
253
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
254
- optional: true;
255
- };
142
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
143
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
256
144
  type: import("fefe").Validator<"number", import("fefe").LeafError>;
257
145
  }> | import("fefe").ObjectResult<{
258
146
  items: import("fefe").Validator<import("fefe").ObjectResult<{
@@ -262,36 +150,20 @@ export declare const field: import("fefe").Validator<import("fefe").ObjectResult
262
150
  };
263
151
  }>[], import("fefe").FefeError>;
264
152
  name: import("fefe").Validator<string, import("fefe").LeafError>;
265
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
266
- optional: true;
267
- };
268
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
269
- optional: true;
270
- };
153
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
154
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
271
155
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
272
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
273
- optional: true;
274
- };
275
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
276
- optional: true;
277
- };
156
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
157
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
278
158
  type: import("fefe").Validator<"check", import("fefe").LeafError>;
279
159
  }> | import("fefe").ObjectResult<{
280
160
  value: import("fefe").Validator<number, import("fefe").FefeError>;
281
161
  name: import("fefe").Validator<string, import("fefe").LeafError>;
282
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
283
- optional: true;
284
- };
285
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
286
- optional: true;
287
- };
162
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
163
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
288
164
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
289
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
290
- optional: true;
291
- };
292
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
293
- optional: true;
294
- };
165
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
166
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
295
167
  type: import("fefe").Validator<"checkbox", import("fefe").LeafError>;
296
168
  }> | import("fefe").ObjectResult<{
297
169
  items: import("fefe").Validator<import("fefe").ObjectResult<{
@@ -301,38 +173,22 @@ export declare const field: import("fefe").Validator<import("fefe").ObjectResult
301
173
  };
302
174
  }>[], import("fefe").FefeError>;
303
175
  name: import("fefe").Validator<string, import("fefe").LeafError>;
304
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
305
- optional: true;
306
- };
307
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
308
- optional: true;
309
- };
176
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
177
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
310
178
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
311
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
312
- optional: true;
313
- };
314
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
315
- optional: true;
316
- };
179
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
180
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
317
181
  type: import("fefe").Validator<"radio", import("fefe").LeafError>;
318
182
  }> | import("fefe").ObjectResult<{
319
183
  itemval: import("fefe").Validator<string, import("fefe").FefeError> & {
320
184
  optional: true;
321
185
  };
322
186
  name: import("fefe").Validator<string, import("fefe").LeafError>;
323
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
324
- optional: true;
325
- };
326
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
327
- optional: true;
328
- };
187
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
188
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
329
189
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
330
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
331
- optional: true;
332
- };
333
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
334
- optional: true;
335
- };
190
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
191
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
336
192
  type: import("fefe").Validator<"radiobutton", import("fefe").LeafError>;
337
193
  }> | import("fefe").ObjectResult<{
338
194
  items: import("fefe").Validator<import("fefe").ObjectResult<{
@@ -342,100 +198,52 @@ export declare const field: import("fefe").Validator<import("fefe").ObjectResult
342
198
  };
343
199
  }>[], import("fefe").FefeError>;
344
200
  name: import("fefe").Validator<string, import("fefe").LeafError>;
345
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
346
- optional: true;
347
- };
348
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
349
- optional: true;
350
- };
201
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
202
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
351
203
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
352
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
353
- optional: true;
354
- };
355
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
356
- optional: true;
357
- };
204
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
205
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
358
206
  type: import("fefe").Validator<"dropdown", import("fefe").LeafError>;
359
207
  }>, import("fefe").LeafError>;
360
208
  export declare const parseField: import("../lib").APIValidator<import("fefe").ObjectResult<{
361
209
  name: import("fefe").Validator<string, import("fefe").LeafError>;
362
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
363
- optional: true;
364
- };
365
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
366
- optional: true;
367
- };
210
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
211
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
368
212
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
369
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
370
- optional: true;
371
- };
372
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
373
- optional: true;
374
- };
213
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
214
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
375
215
  type: import("fefe").Validator<"static", import("fefe").LeafError>;
376
216
  }> | import("fefe").ObjectResult<{
377
217
  name: import("fefe").Validator<string, import("fefe").LeafError>;
378
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
379
- optional: true;
380
- };
381
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
382
- optional: true;
383
- };
218
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
219
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
384
220
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
385
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
386
- optional: true;
387
- };
388
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
389
- optional: true;
390
- };
221
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
222
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
391
223
  type: import("fefe").Validator<"text", import("fefe").LeafError>;
392
224
  }> | import("fefe").ObjectResult<{
393
225
  name: import("fefe").Validator<string, import("fefe").LeafError>;
394
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
395
- optional: true;
396
- };
397
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
398
- optional: true;
399
- };
226
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
227
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
400
228
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
401
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
402
- optional: true;
403
- };
404
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
405
- optional: true;
406
- };
229
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
230
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
407
231
  type: import("fefe").Validator<"longtext", import("fefe").LeafError>;
408
232
  }> | import("fefe").ObjectResult<{
409
233
  name: import("fefe").Validator<string, import("fefe").LeafError>;
410
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
411
- optional: true;
412
- };
413
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
414
- optional: true;
415
- };
234
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
235
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
416
236
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
417
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
418
- optional: true;
419
- };
420
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
421
- optional: true;
422
- };
237
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
238
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
423
239
  type: import("fefe").Validator<"email", import("fefe").LeafError>;
424
240
  }> | import("fefe").ObjectResult<{
425
241
  name: import("fefe").Validator<string, import("fefe").LeafError>;
426
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
427
- optional: true;
428
- };
429
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
430
- optional: true;
431
- };
242
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
243
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
432
244
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
433
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
434
- optional: true;
435
- };
436
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
437
- optional: true;
438
- };
245
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
246
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
439
247
  type: import("fefe").Validator<"number", import("fefe").LeafError>;
440
248
  }> | import("fefe").ObjectResult<{
441
249
  items: import("fefe").Validator<import("fefe").ObjectResult<{
@@ -445,36 +253,20 @@ export declare const parseField: import("../lib").APIValidator<import("fefe").Ob
445
253
  };
446
254
  }>[], import("fefe").FefeError>;
447
255
  name: import("fefe").Validator<string, import("fefe").LeafError>;
448
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
449
- optional: true;
450
- };
451
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
452
- optional: true;
453
- };
256
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
257
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
454
258
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
455
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
456
- optional: true;
457
- };
458
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
459
- optional: true;
460
- };
259
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
260
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
461
261
  type: import("fefe").Validator<"check", import("fefe").LeafError>;
462
262
  }> | import("fefe").ObjectResult<{
463
263
  value: import("fefe").Validator<number, import("fefe").FefeError>;
464
264
  name: import("fefe").Validator<string, import("fefe").LeafError>;
465
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
466
- optional: true;
467
- };
468
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
469
- optional: true;
470
- };
265
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
266
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
471
267
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
472
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
473
- optional: true;
474
- };
475
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
476
- optional: true;
477
- };
268
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
269
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
478
270
  type: import("fefe").Validator<"checkbox", import("fefe").LeafError>;
479
271
  }> | import("fefe").ObjectResult<{
480
272
  items: import("fefe").Validator<import("fefe").ObjectResult<{
@@ -484,38 +276,22 @@ export declare const parseField: import("../lib").APIValidator<import("fefe").Ob
484
276
  };
485
277
  }>[], import("fefe").FefeError>;
486
278
  name: import("fefe").Validator<string, import("fefe").LeafError>;
487
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
488
- optional: true;
489
- };
490
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
491
- optional: true;
492
- };
279
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
280
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
493
281
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
494
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
495
- optional: true;
496
- };
497
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
498
- optional: true;
499
- };
282
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
283
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
500
284
  type: import("fefe").Validator<"radio", import("fefe").LeafError>;
501
285
  }> | import("fefe").ObjectResult<{
502
286
  itemval: import("fefe").Validator<string, import("fefe").FefeError> & {
503
287
  optional: true;
504
288
  };
505
289
  name: import("fefe").Validator<string, import("fefe").LeafError>;
506
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
507
- optional: true;
508
- };
509
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
510
- optional: true;
511
- };
290
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
291
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
512
292
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
513
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
514
- optional: true;
515
- };
516
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
517
- optional: true;
518
- };
293
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
294
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
519
295
  type: import("fefe").Validator<"radiobutton", import("fefe").LeafError>;
520
296
  }> | import("fefe").ObjectResult<{
521
297
  items: import("fefe").Validator<import("fefe").ObjectResult<{
@@ -525,19 +301,11 @@ export declare const parseField: import("../lib").APIValidator<import("fefe").Ob
525
301
  };
526
302
  }>[], import("fefe").FefeError>;
527
303
  name: import("fefe").Validator<string, import("fefe").LeafError>;
528
- title: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
529
- optional: true;
530
- };
531
- info: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").FefeError> & {
532
- optional: true;
533
- };
304
+ title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
305
+ info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
534
306
  required: import("fefe").Validator<boolean, import("fefe").FefeError>;
535
- if: import("fefe").Validator<string, import("fefe").FefeError> & {
536
- optional: true;
537
- };
538
- class: import("fefe").Validator<string, import("fefe").FefeError> & {
539
- optional: true;
540
- };
307
+ if: import("fefe").Validator<string | null, import("fefe").FefeError>;
308
+ class: import("fefe").Validator<string | null, import("fefe").FefeError>;
541
309
  type: import("fefe").Validator<"dropdown", import("fefe").LeafError>;
542
310
  }>>;
543
311
  export declare type StaticField = ValidatorReturnType<typeof staticField>;