@goodhood-web/nebenan-base 3.4.0-development.47 → 3.4.0-development.49

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 (86) hide show
  1. package/index.d.ts +2 -1
  2. package/index.js +101 -102
  3. package/index.mjs +16645 -13919
  4. package/lib/Forms/DynamicForm/DynamicForm.d.ts +1 -1
  5. package/lib/Forms/Fields/CodeField/CodeField.d.ts +3 -0
  6. package/lib/Forms/Fields/CodeField/CodeField.types.d.ts +9 -0
  7. package/lib/Forms/Fields/FormButton/FormButtonProps.d.ts +16 -0
  8. package/lib/Forms/Fields/FormCodeField.d.ts +5 -0
  9. package/lib/Forms/Fields/FormContentCreatorTile.d.ts +6 -0
  10. package/lib/Forms/Fields/FormGenderSelector.d.ts +5 -0
  11. package/lib/Forms/Fields/FormHeader/FormHeader.d.ts +3 -0
  12. package/lib/Forms/Fields/FormHeader/FormHeader.types.d.ts +10 -0
  13. package/lib/Forms/Fields/FormHeader/components/PhoneNumber.d.ts +4 -0
  14. package/lib/Forms/Fields/FormNameAbbreviation.d.ts +7 -0
  15. package/lib/Forms/Fields/FormPasswordField.d.ts +5 -0
  16. package/lib/Forms/Fields/FormPhoneInput.d.ts +5 -0
  17. package/lib/Forms/Fields/FormSelectInput.d.ts +12 -0
  18. package/lib/Forms/Fields/FormTextInput.d.ts +1 -1
  19. package/lib/Forms/Fields/GenderSelector/GenderSelector.d.ts +3 -0
  20. package/lib/Forms/Fields/GenderSelector/GenderSelector.types.d.ts +19 -0
  21. package/lib/Forms/Fields/GenderSelector/GenderSelector.utils.d.ts +4 -0
  22. package/lib/Forms/Fields/NameAbbreviation/NameAbbreviation.d.ts +3 -0
  23. package/lib/Forms/Fields/NameAbbreviation/NameAbbreviation.types.d.ts +11 -0
  24. package/lib/Forms/Fields/PasswordField/PasswordField.d.ts +3 -0
  25. package/lib/Forms/Fields/PasswordField/PasswordField.types.d.ts +16 -0
  26. package/lib/Forms/Fields/PasswordField/utils.d.ts +1 -0
  27. package/lib/Forms/Fields/PhoneInput/PhoneInput.d.ts +3 -0
  28. package/lib/Forms/Fields/PhoneInput/PhoneInput.types.d.ts +16 -0
  29. package/lib/Forms/Fields/PhoneInput/util.d.ts +153 -0
  30. package/lib/Forms/Fields/SelectInput/SelectInput.d.ts +3 -0
  31. package/lib/Forms/Fields/SelectInput/SelectInput.types.d.ts +31 -0
  32. package/lib/Forms/Fields/SelectInput/components/Input/Input.d.ts +3 -0
  33. package/lib/Forms/Fields/SelectInput/components/Input/Input.type.d.ts +5 -0
  34. package/lib/Forms/Fields/SelectInput/components/OptionsList/OptionsList.d.ts +3 -0
  35. package/lib/Forms/Fields/SelectInput/components/OptionsList/OptionsList.types.d.ts +11 -0
  36. package/lib/Forms/Fields/SelectInput/utils.d.ts +4 -0
  37. package/lib/Forms/Fields/index.d.ts +3 -1
  38. package/lib/Forms/Fields/utils.d.ts +1 -0
  39. package/lib/Forms/Form/Form.d.ts +1 -1
  40. package/lib/Forms/Form/Form.types.d.ts +12 -3
  41. package/lib/Forms/Form/utils/parseApiErrors.d.ts +5 -0
  42. package/lib/Forms/Form/utils/utils.d.ts +4 -0
  43. package/lib/Forms/Form.store.d.ts +7 -0
  44. package/lib/Forms/GridForm/GridForm.d.ts +1 -1
  45. package/lib/Forms/Wizard/Wizard.d.ts +1 -1
  46. package/lib/Forms/Wizard/Wizard.types.d.ts +70 -4
  47. package/lib/Forms/Wizard/WizardContext.d.ts +8 -1
  48. package/lib/Forms/Wizard/useWizard.d.ts +6 -1
  49. package/lib/Grids/Grid/Grid.types.d.ts +6 -5
  50. package/lib/Grids/Grid/GridItem/GridItem.d.ts +1 -1
  51. package/lib/Grids/Grid/GridItem/GridItem.types.d.ts +1 -0
  52. package/lib/MobileLayout/MobileLayout.types.d.ts +1 -0
  53. package/lib/Registration/Registration.d.ts +3 -0
  54. package/lib/Registration/Registration.store.d.ts +4 -0
  55. package/lib/Registration/Registration.types.d.ts +17 -0
  56. package/lib/Registration/RegistrationCard/RegistrationCard.d.ts +9 -0
  57. package/lib/Registration/RegistrationFieldMappings/RegistrationFieldMappings.d.ts +3 -0
  58. package/lib/Registration/RegistrationForm/FieldMappings/FieldMappings.d.ts +3 -0
  59. package/lib/Registration/RegistrationForm/RegistrationForm.d.ts +3 -0
  60. package/lib/Registration/RegistrationForm/RegistrationForm.types.d.ts +5 -0
  61. package/lib/Registration/RegistrationForm/Steps/Address.d.ts +2 -0
  62. package/lib/Registration/RegistrationForm/Steps/Email.d.ts +3 -0
  63. package/lib/Registration/RegistrationForm/Steps/Name.d.ts +2 -0
  64. package/lib/Registration/RegistrationForm/Steps/index.d.ts +4 -0
  65. package/lib/Registration/RegistrationForm/network.d.ts +4 -0
  66. package/lib/Registration/VerificationForm/FieldMappings/FieldMappings.d.ts +3 -0
  67. package/lib/Registration/VerificationForm/Steps/Gps.d.ts +3 -0
  68. package/lib/Registration/VerificationForm/Steps/InviteCode.d.ts +3 -0
  69. package/lib/Registration/VerificationForm/Steps/Methods.d.ts +3 -0
  70. package/lib/Registration/VerificationForm/Steps/PostalCode.d.ts +3 -0
  71. package/lib/Registration/VerificationForm/Steps/PostalCodeRequested.d.ts +2 -0
  72. package/lib/Registration/VerificationForm/Steps/Sms.d.ts +3 -0
  73. package/lib/Registration/VerificationForm/Steps/SmsCode.d.ts +3 -0
  74. package/lib/Registration/VerificationForm/Steps/index.d.ts +7 -0
  75. package/lib/Registration/VerificationForm/VerificationForm.d.ts +3 -0
  76. package/lib/Registration/VerificationForm/VerificationForm.types.d.ts +10 -0
  77. package/lib/Registration/VerificationForm/data.d.ts +553 -0
  78. package/lib/Registration/VerificationForm/network.d.ts +7 -0
  79. package/lib/Registration/VerificationForm/utils.d.ts +67 -0
  80. package/lib/Registration/components/MandatoryEmailConfirmation/MandatoryEmailConfirmation.d.ts +3 -0
  81. package/lib/Registration/components/MandatoryEmailConfirmation/MandatoryEmailConfirmation.types.d.ts +3 -0
  82. package/lib/Registration/components/MandatoryEmailConfirmation/utils.d.ts +4 -0
  83. package/lib/Registration/components/SuccessScreen/SuccessScreen.d.ts +2 -0
  84. package/lib/Registration/utils.d.ts +2 -0
  85. package/package.json +1 -1
  86. package/style.css +1 -1
@@ -0,0 +1,553 @@
1
+ export declare const profile: {
2
+ achievements: never[];
3
+ active_business_profiles_count: number;
4
+ active_organization_profiles_count: number;
5
+ activity_information: {
6
+ created_event_count: number;
7
+ created_message_count: number;
8
+ created_reply_count: number;
9
+ created_thankyou_count: number;
10
+ created_welcome_count: number;
11
+ pending_email_invites_count: number;
12
+ received_reply_count: number;
13
+ received_thankyou_count: number;
14
+ successful_invites_count: number;
15
+ };
16
+ allow_analytics: boolean;
17
+ badges: never[];
18
+ birth_day: null;
19
+ birth_month: null;
20
+ birth_year: null;
21
+ business_profile_ids: never[];
22
+ city: string;
23
+ created_at: string;
24
+ deletion_requested: boolean;
25
+ description: null;
26
+ email: string;
27
+ email_confirmation_required: boolean;
28
+ email_confirmed_at: null;
29
+ external_hood_ids: never[];
30
+ external_neighbours_count: number;
31
+ feature_map: {
32
+ disabled: never[];
33
+ enabled: string[];
34
+ };
35
+ firstname: string;
36
+ has_invoices: boolean;
37
+ hash_id: string;
38
+ hood: {
39
+ activity_count: number;
40
+ area: number[][];
41
+ center: number[];
42
+ city: {
43
+ county: {
44
+ city_ids: number[];
45
+ id: number;
46
+ object_type: string;
47
+ slug: string;
48
+ state: {
49
+ county_ids: number[];
50
+ id: number;
51
+ object_type: string;
52
+ slug: string;
53
+ title: string;
54
+ };
55
+ title: string;
56
+ };
57
+ county_id: number;
58
+ hood_ids: number[];
59
+ id: number;
60
+ object_type: string;
61
+ slug: string;
62
+ title: string;
63
+ };
64
+ created_at: string;
65
+ description: string;
66
+ eligible_users_count: number;
67
+ flags: never[];
68
+ geo_seo_information: {
69
+ city: string;
70
+ city_slug: string;
71
+ country: string;
72
+ county: string;
73
+ district: string;
74
+ district_slug: string;
75
+ state: string;
76
+ zip_code: string;
77
+ };
78
+ id: number;
79
+ is_active: boolean;
80
+ is_hood_open: boolean;
81
+ is_pilot_hood: boolean;
82
+ object_type: string;
83
+ public_tags: {
84
+ interests: string[];
85
+ potentials: string[];
86
+ };
87
+ public_topics: {
88
+ action_counter: number;
89
+ hood_message_category_id: number;
90
+ reply_count: number;
91
+ subject: string;
92
+ thankyous_count: number;
93
+ }[];
94
+ sex_id: number;
95
+ started_at: string;
96
+ subdomain: string;
97
+ title: string;
98
+ users_count: number;
99
+ zoom_level: number;
100
+ };
101
+ hood_access_granted_at: null;
102
+ hood_groups: never[];
103
+ hood_id: number;
104
+ house_group_id: null;
105
+ house_number: string;
106
+ id: number;
107
+ incoming_partner_requests: never[];
108
+ initiator_status: null;
109
+ invite_token: string;
110
+ invite_tracking_token: string;
111
+ invited_by_username: null;
112
+ is_subscribed_supporter: boolean;
113
+ is_super_neighbour: boolean;
114
+ is_supporter: boolean;
115
+ kids: never[];
116
+ last_n_posts: never[];
117
+ lastname: string;
118
+ lastname_abbreviated: boolean;
119
+ linked_hoods: ({
120
+ activity_count: number;
121
+ area: number[][];
122
+ center: number[];
123
+ city: {
124
+ county: {
125
+ city_ids: number[];
126
+ id: number;
127
+ object_type: string;
128
+ slug: string;
129
+ state: {
130
+ county_ids: number[];
131
+ id: number;
132
+ object_type: string;
133
+ slug: string;
134
+ title: string;
135
+ };
136
+ title: string;
137
+ };
138
+ county_id: number;
139
+ hood_ids: number[];
140
+ id: number;
141
+ object_type: string;
142
+ slug: string;
143
+ title: string;
144
+ };
145
+ created_at: string;
146
+ description: null;
147
+ eligible_users_count: number;
148
+ flags: never[];
149
+ geo_seo_information: {
150
+ city: string;
151
+ city_slug: string;
152
+ country: string;
153
+ county: string;
154
+ district: null;
155
+ district_slug: null;
156
+ state: string;
157
+ zip_code: string;
158
+ };
159
+ id: number;
160
+ is_active: boolean;
161
+ is_hood_open: boolean;
162
+ is_pilot_hood: boolean;
163
+ object_type: string;
164
+ public_tags: {
165
+ interests: string[];
166
+ potentials: string[];
167
+ };
168
+ public_topics: {
169
+ action_counter: number;
170
+ hood_message_category_id: number;
171
+ reply_count: number;
172
+ subject: string;
173
+ thankyous_count: number;
174
+ }[];
175
+ sex_id: number;
176
+ started_at: string;
177
+ subdomain: string;
178
+ title: string;
179
+ users_count: number;
180
+ zoom_level: number;
181
+ } | {
182
+ activity_count: number;
183
+ area: number[][];
184
+ center: number[];
185
+ city: {
186
+ county: {
187
+ city_ids: number[];
188
+ id: number;
189
+ object_type: string;
190
+ slug: string;
191
+ state: {
192
+ county_ids: number[];
193
+ id: number;
194
+ object_type: string;
195
+ slug: string;
196
+ title: string;
197
+ };
198
+ title: string;
199
+ };
200
+ county_id: number;
201
+ hood_ids: number[];
202
+ id: number;
203
+ object_type: string;
204
+ slug: string;
205
+ title: string;
206
+ };
207
+ created_at: string;
208
+ description: null;
209
+ eligible_users_count: number;
210
+ flags: never[];
211
+ geo_seo_information: {
212
+ city: string;
213
+ city_slug: string;
214
+ country: string;
215
+ county: string;
216
+ district: string;
217
+ district_slug: string;
218
+ state: string;
219
+ zip_code: string;
220
+ };
221
+ id: number;
222
+ is_active: boolean;
223
+ is_hood_open: boolean;
224
+ is_pilot_hood: boolean;
225
+ object_type: string;
226
+ public_tags: {
227
+ interests: string[];
228
+ potentials: string[];
229
+ };
230
+ public_topics: never[];
231
+ sex_id: number;
232
+ started_at: string;
233
+ subdomain: string;
234
+ title: string;
235
+ users_count: number;
236
+ zoom_level: number;
237
+ } | {
238
+ activity_count: number;
239
+ area: number[][];
240
+ center: number[];
241
+ city: {
242
+ county: {
243
+ city_ids: number[];
244
+ id: number;
245
+ object_type: string;
246
+ slug: string;
247
+ state: {
248
+ county_ids: number[];
249
+ id: number;
250
+ object_type: string;
251
+ slug: string;
252
+ title: string;
253
+ };
254
+ title: string;
255
+ };
256
+ county_id: number;
257
+ hood_ids: number[];
258
+ id: number;
259
+ object_type: string;
260
+ slug: string;
261
+ title: string;
262
+ };
263
+ created_at: string;
264
+ description: null;
265
+ eligible_users_count: number;
266
+ flags: string[];
267
+ geo_seo_information: {
268
+ city: string;
269
+ city_slug: string;
270
+ country: string;
271
+ county: string;
272
+ district: string;
273
+ district_slug: string;
274
+ state: string;
275
+ zip_code: string;
276
+ };
277
+ id: number;
278
+ is_active: boolean;
279
+ is_hood_open: boolean;
280
+ is_pilot_hood: boolean;
281
+ object_type: string;
282
+ public_tags: {
283
+ interests: string[];
284
+ potentials: string[];
285
+ };
286
+ public_topics: {
287
+ action_counter: number;
288
+ hood_message_category_id: number;
289
+ reply_count: number;
290
+ subject: string;
291
+ thankyous_count: number;
292
+ }[];
293
+ sex_id: null;
294
+ started_at: string;
295
+ subdomain: string;
296
+ title: string;
297
+ users_count: number;
298
+ zoom_level: number;
299
+ } | {
300
+ activity_count: number;
301
+ area: number[][];
302
+ center: number[];
303
+ city: {
304
+ county: {
305
+ city_ids: number[];
306
+ id: number;
307
+ object_type: string;
308
+ slug: string;
309
+ state: {
310
+ county_ids: number[];
311
+ id: number;
312
+ object_type: string;
313
+ slug: string;
314
+ title: string;
315
+ };
316
+ title: string;
317
+ };
318
+ county_id: number;
319
+ hood_ids: number[];
320
+ id: number;
321
+ object_type: string;
322
+ slug: string;
323
+ title: string;
324
+ };
325
+ created_at: string;
326
+ description: null;
327
+ eligible_users_count: number;
328
+ flags: never[];
329
+ geo_seo_information: {
330
+ city: string;
331
+ city_slug: string;
332
+ country: string;
333
+ county: string;
334
+ district: string;
335
+ district_slug: string;
336
+ state: string;
337
+ zip_code: string;
338
+ };
339
+ id: number;
340
+ is_active: boolean;
341
+ is_hood_open: boolean;
342
+ is_pilot_hood: boolean;
343
+ object_type: string;
344
+ public_tags: {
345
+ interests: string[];
346
+ potentials: never[];
347
+ };
348
+ public_topics: {
349
+ action_counter: number;
350
+ hood_message_category_id: number;
351
+ reply_count: number;
352
+ subject: string;
353
+ thankyous_count: number;
354
+ }[];
355
+ sex_id: number;
356
+ started_at: string;
357
+ subdomain: string;
358
+ title: string;
359
+ users_count: number;
360
+ zoom_level: number;
361
+ } | {
362
+ activity_count: number;
363
+ area: number[][];
364
+ center: number[];
365
+ city: {
366
+ county: {
367
+ city_ids: number[];
368
+ id: number;
369
+ object_type: string;
370
+ slug: string;
371
+ state: {
372
+ county_ids: number[];
373
+ id: number;
374
+ object_type: string;
375
+ slug: string;
376
+ title: string;
377
+ };
378
+ title: string;
379
+ };
380
+ county_id: number;
381
+ hood_ids: number[];
382
+ id: number;
383
+ object_type: string;
384
+ slug: string;
385
+ title: string;
386
+ };
387
+ created_at: string;
388
+ description: string;
389
+ eligible_users_count: number;
390
+ flags: never[];
391
+ geo_seo_information: {
392
+ city: string;
393
+ city_slug: string;
394
+ country: string;
395
+ county: string;
396
+ district: string;
397
+ district_slug: string;
398
+ state: string;
399
+ zip_code: string;
400
+ };
401
+ id: number;
402
+ is_active: boolean;
403
+ is_hood_open: boolean;
404
+ is_pilot_hood: boolean;
405
+ object_type: string;
406
+ public_tags: {
407
+ interests: string[];
408
+ potentials: string[];
409
+ };
410
+ public_topics: {
411
+ action_counter: number;
412
+ hood_message_category_id: number;
413
+ reply_count: number;
414
+ subject: string;
415
+ thankyous_count: number;
416
+ }[];
417
+ sex_id: number;
418
+ started_at: string;
419
+ subdomain: string;
420
+ title: string;
421
+ users_count: number;
422
+ zoom_level: number;
423
+ })[];
424
+ location: {
425
+ geometry: {
426
+ coordinates: number[];
427
+ type: string;
428
+ };
429
+ properties: {};
430
+ type: string;
431
+ };
432
+ mail_format_id: number;
433
+ missing: {
434
+ address_validated: boolean;
435
+ blocked_by_admin: boolean;
436
+ email_validated: boolean;
437
+ hood_ready: boolean;
438
+ };
439
+ muted_tip_teaser_ids: never[];
440
+ organization_profile_ids: never[];
441
+ participating_tip_teaser_ids: never[];
442
+ partner: null;
443
+ partner_request: null;
444
+ personal_information: {
445
+ in_hood_since: null;
446
+ kid_count: null;
447
+ kids_yes_no: null;
448
+ marital_status: null;
449
+ og_from: null;
450
+ pets_yes_no: null;
451
+ phone_number: null;
452
+ profession: null;
453
+ };
454
+ pets: never[];
455
+ photo_medium_url: null;
456
+ photo_original_url: null;
457
+ photo_thumb_url: null;
458
+ photo_transform_params: {};
459
+ photo_updated_at: null;
460
+ photo_url: null;
461
+ possible_external_hood_ids: number[];
462
+ possible_external_neighbours_count: number;
463
+ ppid: string;
464
+ privacy_open_profile: boolean;
465
+ privacy_show_full_address: boolean;
466
+ privacy_show_year_of_birth: boolean;
467
+ private_badges: never[];
468
+ recommends_business_profile_ids: never[];
469
+ recommends_organization_profile_ids: never[];
470
+ recommends_unclaimed_profile_ids: never[];
471
+ registration_source_addon: null;
472
+ salutation_id: number;
473
+ sex_id: number;
474
+ show_modals: {};
475
+ show_supporter_status: boolean;
476
+ status: {
477
+ address_valid: boolean;
478
+ business_profile_ids: never[];
479
+ core_block_reason: null;
480
+ core_block_until: null;
481
+ details_changed: string;
482
+ email: string;
483
+ has_business: boolean;
484
+ has_organization: boolean;
485
+ hash_id: string;
486
+ hood_active_users_count: string;
487
+ hood_group_ids: never[];
488
+ hood_group_ids_with_pending_membership_request: never[];
489
+ id: number;
490
+ is_address_verified: boolean;
491
+ is_allowed_invite: boolean;
492
+ is_banned: boolean;
493
+ is_document_verification_pending: boolean;
494
+ is_email_verified: boolean;
495
+ is_hood_open: boolean;
496
+ is_hood_suggested: boolean;
497
+ is_hood_suggestion_available_from_user: boolean;
498
+ is_postcard_verification_allowed: boolean;
499
+ is_postcard_verification_pending: boolean;
500
+ is_read_only: boolean;
501
+ is_sofort_ident_allowed: boolean;
502
+ is_verification_pending: boolean;
503
+ is_verification_requested: boolean;
504
+ moderator_at_hood_group_ids: never[];
505
+ muted_hood_message_ids: never[];
506
+ muted_user_ids: never[];
507
+ new_messages_count: number;
508
+ new_notifications_count: number;
509
+ organization_profile_ids: never[];
510
+ popular_tags: {
511
+ context: string;
512
+ count: number;
513
+ name: string;
514
+ }[];
515
+ require_relogin: boolean;
516
+ strange_fields: never[];
517
+ trust_level: number;
518
+ verification_methods: {
519
+ gps: {
520
+ enabled: boolean;
521
+ order_nr: number;
522
+ status: number;
523
+ };
524
+ postcard: {
525
+ enabled: boolean;
526
+ order_nr: number;
527
+ status: number;
528
+ };
529
+ sms: {
530
+ enabled: boolean;
531
+ order_nr: number;
532
+ status: number;
533
+ };
534
+ sofort_ident: {
535
+ enabled: boolean;
536
+ order_nr: null;
537
+ };
538
+ };
539
+ };
540
+ street: string;
541
+ tags: null;
542
+ tip_teasers: never[];
543
+ tracking_id: string;
544
+ tracking_uuid: string;
545
+ unconfirmed_email: null;
546
+ verification_information: {
547
+ verification_method: null;
548
+ verified_by_user_id: null;
549
+ verified_by_username: null;
550
+ };
551
+ wants_push_notifications: boolean;
552
+ zip_code: string;
553
+ };
@@ -0,0 +1,7 @@
1
+ import { VerificationSMSResponse } from '../../../../../api/src/lib/core';
2
+ import { FormField, InferFormData } from '../../Forms';
3
+ import { OnFormSubmitType } from '../../Forms/Form/Form.types';
4
+ export declare const handleSmsCodeRequest: (data: OnFormSubmitType<InferFormData<FormField[]>>, setFormError: (error: string | null) => void, token: string | null) => Promise<boolean>;
5
+ export declare const handleSmsCodeSend: (data: OnFormSubmitType<InferFormData<FormField[]>>, onSubmit: (data: VerificationSMSResponse) => void, setFormError: (error: string | null) => void, token: string | null) => Promise<boolean | undefined>;
6
+ export declare const handleInviteCodeSend: (data: OnFormSubmitType<InferFormData<FormField[]>>, onSubmit: (data: VerificationSMSResponse) => void, setFormError: (error: string | null) => void, token: string | null) => Promise<boolean | undefined>;
7
+ export declare const handlePostalCodeRequest: (fetchProfile: () => void, setFormError: (error: string | null) => void, token: string | null) => Promise<boolean | "postalCodeRequested">;
@@ -0,0 +1,67 @@
1
+ import { VerificationMethods } from '../../../../../api/src/lib/core';
2
+ import { FormField } from '../../Forms';
3
+ export declare const VERIFICATION_POSSIBLE = 0;
4
+ export declare const VERIFICATION_PENDING = 1;
5
+ export declare const VERIFICATION_KEY_CODE = "code";
6
+ export declare const VERIFICATION_KEY_POST = "postcard";
7
+ export declare const VERIFICATION_KEY_GEO = "gps";
8
+ export declare const VERIFICATION_KEY_SMS = "sms";
9
+ export declare const VERIFICATION_METHODS: string[];
10
+ export declare const VERIFICATION_METHODS_FIELDS: {
11
+ code: {
12
+ fieldConfig: {
13
+ description: string;
14
+ headline: string;
15
+ sticker: {
16
+ color: string;
17
+ icon: string;
18
+ size: string;
19
+ };
20
+ };
21
+ id: string;
22
+ type: string;
23
+ };
24
+ gps: {
25
+ fieldConfig: {
26
+ description: string;
27
+ headline: string;
28
+ sticker: {
29
+ color: string;
30
+ icon: string;
31
+ size: string;
32
+ };
33
+ };
34
+ id: string;
35
+ type: string;
36
+ };
37
+ postcard: {
38
+ fieldConfig: {
39
+ description: string;
40
+ headline: string;
41
+ sticker: {
42
+ color: string;
43
+ icon: string;
44
+ size: string;
45
+ };
46
+ };
47
+ id: string;
48
+ type: string;
49
+ };
50
+ sms: {
51
+ fieldConfig: {
52
+ description: string;
53
+ headline: string;
54
+ sticker: {
55
+ color: string;
56
+ icon: string;
57
+ size: string;
58
+ };
59
+ };
60
+ id: string;
61
+ type: string;
62
+ };
63
+ };
64
+ export declare const getVerificationMethods: (verificationMethods: VerificationMethods) => FormField[];
65
+ export declare const isPostcardRequested: (status: {
66
+ is_postcard_verification_pending: boolean;
67
+ }) => boolean;
@@ -0,0 +1,3 @@
1
+ import { MandatoryEmailConfirmationProps } from './MandatoryEmailConfirmation.types';
2
+ declare const MandatoryEmailConfirmation: ({ showSuccessTimer, }: MandatoryEmailConfirmationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default MandatoryEmailConfirmation;
@@ -0,0 +1,3 @@
1
+ export interface MandatoryEmailConfirmationProps {
2
+ showSuccessTimer?: number;
3
+ }
@@ -0,0 +1,4 @@
1
+ import { PrimitiveAtom } from 'jotai';
2
+ import { Data } from '../../../Forms/Form/Form.types';
3
+ export declare const getEmail: (atom: PrimitiveAtom<string>) => string;
4
+ export declare const isReloaded: (atom: PrimitiveAtom<Data>) => boolean;
@@ -0,0 +1,2 @@
1
+ declare const SuccessScreen: () => import("react/jsx-runtime").JSX.Element;
2
+ export default SuccessScreen;
@@ -0,0 +1,2 @@
1
+ import { FormErrorMessageObject } from '../Forms/Form/utils/parseApiErrors';
2
+ export declare const handleErrorMassage: (error: unknown, setFormError: (error: string | null) => void, setFormFieldError?: (errorMassage: FormErrorMessageObject) => void, identifier?: string) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/nebenan-base",
3
- "version": "3.4.0-development.47",
3
+ "version": "3.4.0-development.49",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",