@verifiedinc-public/shared-ui-elements 6.8.2 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/components/chart/index.mjs +1 -1
  2. package/dist/components/form/AddressInput/hook.d.ts +1 -3
  3. package/dist/components/form/AddressInput/index.d.ts +1 -1
  4. package/dist/components/form/NewOneClickForm/core/declarations.d.ts +4 -0
  5. package/dist/components/form/NewOneClickForm/core/fields/address.d.ts +185 -0
  6. package/dist/components/form/NewOneClickForm/core/fields/birthDate.d.ts +21 -0
  7. package/dist/components/form/NewOneClickForm/core/fields/constants.d.ts +6 -0
  8. package/dist/components/form/NewOneClickForm/core/fields/driversLicense.d.ts +291 -0
  9. package/dist/components/form/NewOneClickForm/core/fields/fullName.d.ts +94 -0
  10. package/dist/components/form/NewOneClickForm/core/fields/index.d.ts +563 -0
  11. package/dist/components/form/NewOneClickForm/core/fields/phone.d.ts +20 -0
  12. package/dist/components/form/NewOneClickForm/core/fields/sex.d.ts +29 -0
  13. package/dist/components/form/NewOneClickForm/core/fields/ssn.d.ts +21 -0
  14. package/dist/components/form/NewOneClickForm/core/fields/types.d.ts +62 -0
  15. package/dist/components/form/NewOneClickForm/core/form/form.d.ts +9 -0
  16. package/dist/components/form/NewOneClickForm/core/form/formBuilder.d.ts +11 -0
  17. package/dist/components/form/NewOneClickForm/core/form/formField.d.ts +50 -0
  18. package/dist/components/form/NewOneClickForm/core/form/formFieldBuilder.d.ts +14 -0
  19. package/dist/components/form/NewOneClickForm/core/form/index.d.ts +4 -0
  20. package/dist/components/form/NewOneClickForm/core/form/utils.d.ts +7 -0
  21. package/dist/components/form/NewOneClickForm/core/formats/address.format.d.ts +8 -0
  22. package/dist/components/form/NewOneClickForm/core/formats/date.format.d.ts +1 -0
  23. package/dist/components/form/NewOneClickForm/core/formats/index.d.ts +4 -0
  24. package/dist/components/form/NewOneClickForm/core/formats/ssn.format.d.ts +1 -0
  25. package/dist/components/form/NewOneClickForm/core/formats/state.format.d.ts +1 -0
  26. package/dist/components/form/NewOneClickForm/core/mappers/create-patch.map.d.ts +6 -0
  27. package/dist/components/form/NewOneClickForm/core/mappers/index.d.ts +2 -0
  28. package/dist/components/form/NewOneClickForm/core/mappers/share.map.d.ts +4 -0
  29. package/dist/components/form/NewOneClickForm/core/shared/us-states.d.ts +73 -0
  30. package/dist/components/form/NewOneClickForm/core/validations/address/address.schema.d.ts +37 -0
  31. package/dist/components/form/NewOneClickForm/core/validations/address/city.schema.d.ts +7 -0
  32. package/dist/components/form/NewOneClickForm/core/validations/address/country.schema.d.ts +7 -0
  33. package/dist/components/form/NewOneClickForm/core/validations/address/index.d.ts +7 -0
  34. package/dist/components/form/NewOneClickForm/core/validations/address/line1.schema.d.ts +7 -0
  35. package/dist/components/form/NewOneClickForm/core/validations/address/line2.schema.d.ts +6 -0
  36. package/dist/components/form/NewOneClickForm/core/validations/address/state.schema.d.ts +7 -0
  37. package/dist/components/form/NewOneClickForm/core/validations/address/zipcode.schema.d.ts +7 -0
  38. package/dist/components/form/NewOneClickForm/core/validations/driversLicense/driversLicense.schema.d.ts +69 -0
  39. package/dist/components/form/NewOneClickForm/core/validations/driversLicense/index.d.ts +1 -0
  40. package/dist/components/form/NewOneClickForm/core/validations/index.d.ts +4 -0
  41. package/dist/components/form/NewOneClickForm/core/validations/name/first.schema.d.ts +6 -0
  42. package/dist/components/form/NewOneClickForm/core/validations/name/fullName.schema.d.ts +14 -0
  43. package/dist/components/form/NewOneClickForm/core/validations/name/index.d.ts +4 -0
  44. package/dist/components/form/NewOneClickForm/core/validations/name/last.schema.d.ts +6 -0
  45. package/dist/components/form/NewOneClickForm/core/validations/name/middle.schema.d.ts +6 -0
  46. package/dist/components/form/NewOneClickForm/core/validations/other/birthDate.schema.d.ts +2 -0
  47. package/dist/components/form/NewOneClickForm/core/validations/other/date.schema.d.ts +6 -0
  48. package/dist/components/form/NewOneClickForm/core/validations/other/documentNumber.schema.d.ts +6 -0
  49. package/dist/components/form/NewOneClickForm/core/validations/other/index.d.ts +6 -0
  50. package/dist/components/form/NewOneClickForm/core/validations/other/phone.schema.d.ts +6 -0
  51. package/dist/components/form/NewOneClickForm/core/validations/other/sex.schema.d.ts +19 -0
  52. package/dist/components/form/NewOneClickForm/core/validations/other/ssn.schema.d.ts +6 -0
  53. package/dist/components/form/NewOneClickForm/index.d.ts +3 -0
  54. package/dist/components/form/NewOneClickForm/react/core/field.hook.d.ts +83 -0
  55. package/dist/components/form/NewOneClickForm/react/core/form.context.d.ts +25 -0
  56. package/dist/components/form/NewOneClickForm/react/index.d.ts +3 -0
  57. package/dist/components/form/NewOneClickForm/react/ui/fields/input/address.field.d.ts +3 -0
  58. package/dist/components/form/NewOneClickForm/react/ui/fields/input/clear-field-adornment.d.ts +8 -0
  59. package/dist/components/form/NewOneClickForm/react/ui/fields/input/date.field.d.ts +3 -0
  60. package/dist/components/form/NewOneClickForm/react/ui/fields/input/field.d.ts +1 -0
  61. package/dist/components/form/NewOneClickForm/react/ui/fields/input/label.d.ts +3 -0
  62. package/dist/components/form/NewOneClickForm/react/ui/fields/input/select.field.d.ts +3 -0
  63. package/dist/components/form/NewOneClickForm/react/ui/fields/input/ssn.field.d.ts +3 -0
  64. package/dist/components/form/NewOneClickForm/react/ui/fields/input/text.field.d.ts +3 -0
  65. package/dist/components/form/NewOneClickForm/react/ui/fields/readonly/field.d.ts +1 -0
  66. package/dist/components/form/NewOneClickForm/react/ui/fields/readonly/multi.field.d.ts +3 -0
  67. package/dist/components/form/NewOneClickForm/react/ui/fields/readonly/single.field.d.ts +3 -0
  68. package/dist/components/form/NewOneClickForm/react/ui/fields/shared.d.ts +17 -0
  69. package/dist/components/form/NewOneClickForm/react/ui/fields/style.d.ts +28 -0
  70. package/dist/components/form/NewOneClickForm/react/ui/form-content.d.ts +9 -0
  71. package/dist/components/form/NewOneClickForm/react/ui/form.context.d.ts +29 -0
  72. package/dist/components/form/NewOneClickForm/react/ui/form.d.ts +17 -0
  73. package/dist/components/form/NewOneClickForm/react/ui/index.d.ts +1 -0
  74. package/dist/components/form/NewOneClickForm/types.d.ts +14 -0
  75. package/dist/components/index.mjs +1 -1
  76. package/dist/index.mjs +1 -1
  77. package/dist/shared/ContentWithLoader-DZt02ZR9.mjs +155 -0
  78. package/dist/shared/{SignupBigNumbers-Bfd44o0C.mjs → SignupBigNumbers-D7VQsFhd.mjs} +1 -1
  79. package/dist/shared/makeGoogleFont-Dj4rOqZX.mjs +1 -0
  80. package/dist/shared/{omitProperty-CgN5EPAy.mjs → omitProperty-Dw6AqKH-.mjs} +1 -1
  81. package/dist/shared/uuidColor-IahzMgLw.mjs +20 -0
  82. package/dist/utils/index.mjs +1 -1
  83. package/dist/utils/ssn.d.ts +1 -0
  84. package/dist/utils/string/index.mjs +1 -1
  85. package/package.json +2 -2
  86. package/dist/shared/ContentWithLoader-DRXoEKwC.mjs +0 -155
  87. package/dist/shared/makeGoogleFont-DJFPTTVt.mjs +0 -1
  88. package/dist/shared/toSentenceCase-C6ZGgmg7.mjs +0 -1
  89. package/dist/shared/uuidColor-DxkgIjlu.mjs +0 -20
@@ -0,0 +1,563 @@
1
+ export * from './constants';
2
+ export type * from './types';
3
+ export declare const fields: {
4
+ fullName: {
5
+ key: string;
6
+ characteristics: {
7
+ inputType: "composite";
8
+ label: string;
9
+ defaultOrder: readonly ["firstName", "middleName", "lastName"];
10
+ };
11
+ children: {
12
+ firstName: {
13
+ key: string;
14
+ characteristics: {
15
+ inputType: "text";
16
+ label: string;
17
+ placeholder: string;
18
+ };
19
+ zodSchema: import('zod').ZodString;
20
+ };
21
+ lastName: {
22
+ key: string;
23
+ characteristics: {
24
+ inputType: "text";
25
+ label: string;
26
+ placeholder: string;
27
+ };
28
+ zodSchema: import('zod').ZodString;
29
+ };
30
+ middleName: {
31
+ key: string;
32
+ characteristics: {
33
+ inputType: "text";
34
+ label: string;
35
+ placeholder: string;
36
+ };
37
+ zodSchema: import('zod').ZodString;
38
+ };
39
+ };
40
+ zodSchema: import('zod').ZodObject<{
41
+ firstName: import('zod').ZodString;
42
+ lastName: import('zod').ZodString;
43
+ middleName: import('zod').ZodString;
44
+ }, "strip", import('zod').ZodTypeAny, {
45
+ firstName: string;
46
+ lastName: string;
47
+ middleName: string;
48
+ }, {
49
+ firstName: string;
50
+ lastName: string;
51
+ middleName: string;
52
+ }>;
53
+ };
54
+ firstName: {
55
+ key: string;
56
+ characteristics: {
57
+ inputType: "text";
58
+ label: string;
59
+ placeholder: string;
60
+ };
61
+ zodSchema: import('zod').ZodString;
62
+ };
63
+ lastName: {
64
+ key: string;
65
+ characteristics: {
66
+ inputType: "text";
67
+ label: string;
68
+ placeholder: string;
69
+ };
70
+ zodSchema: import('zod').ZodString;
71
+ };
72
+ middleName: {
73
+ key: string;
74
+ characteristics: {
75
+ inputType: "text";
76
+ label: string;
77
+ placeholder: string;
78
+ };
79
+ zodSchema: import('zod').ZodString;
80
+ };
81
+ address: {
82
+ key: string;
83
+ characteristics: {
84
+ inputType: "composite";
85
+ label: string;
86
+ defaultOrder: readonly ["line1", "line2", "city", "state", "country", "zipCode"];
87
+ };
88
+ children: {
89
+ line1: {
90
+ key: string;
91
+ characteristics: {
92
+ inputType: "text";
93
+ label: string;
94
+ placeholder: string;
95
+ };
96
+ zodSchema: import('zod').ZodString;
97
+ };
98
+ line2: {
99
+ key: string;
100
+ characteristics: {
101
+ inputType: "text";
102
+ label: string;
103
+ placeholder: string;
104
+ };
105
+ zodSchema: import('zod').ZodString;
106
+ };
107
+ city: {
108
+ key: string;
109
+ characteristics: {
110
+ inputType: "text";
111
+ label: string;
112
+ placeholder: string;
113
+ };
114
+ zodSchema: import('zod').ZodString;
115
+ };
116
+ state: {
117
+ key: string;
118
+ characteristics: {
119
+ inputType: "text";
120
+ label: string;
121
+ placeholder: string;
122
+ };
123
+ zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
124
+ };
125
+ country: {
126
+ key: string;
127
+ characteristics: {
128
+ inputType: "text";
129
+ label: string;
130
+ placeholder: string;
131
+ };
132
+ zodSchema: import('zod').ZodEffects<import('zod').ZodString, "US", string>;
133
+ };
134
+ zipCode: {
135
+ key: string;
136
+ characteristics: {
137
+ inputType: "text";
138
+ label: string;
139
+ placeholder: string;
140
+ };
141
+ zodSchema: import('zod').ZodString;
142
+ };
143
+ };
144
+ zodSchema: import('zod').ZodEffects<import('zod').ZodObject<{
145
+ line1: import('zod').ZodOptional<import('zod').ZodString>;
146
+ line2: import('zod').ZodOptional<import('zod').ZodString>;
147
+ city: import('zod').ZodOptional<import('zod').ZodString>;
148
+ state: import('zod').ZodOptional<import('zod').ZodEnum<[string, ...string[]]>>;
149
+ country: import('zod').ZodOptional<import('zod').ZodEffects<import('zod').ZodString, "US", string>>;
150
+ zipCode: import('zod').ZodOptional<import('zod').ZodString>;
151
+ }, "strip", import('zod').ZodTypeAny, {
152
+ country?: "US" | undefined;
153
+ state?: string | undefined;
154
+ line1?: string | undefined;
155
+ line2?: string | undefined;
156
+ city?: string | undefined;
157
+ zipCode?: string | undefined;
158
+ }, {
159
+ country?: string | undefined;
160
+ state?: string | undefined;
161
+ line1?: string | undefined;
162
+ line2?: string | undefined;
163
+ city?: string | undefined;
164
+ zipCode?: string | undefined;
165
+ }>, {
166
+ country?: "US" | undefined;
167
+ state?: string | undefined;
168
+ line1?: string | undefined;
169
+ line2?: string | undefined;
170
+ city?: string | undefined;
171
+ zipCode?: string | undefined;
172
+ }, {
173
+ country?: string | undefined;
174
+ state?: string | undefined;
175
+ line1?: string | undefined;
176
+ line2?: string | undefined;
177
+ city?: string | undefined;
178
+ zipCode?: string | undefined;
179
+ }>;
180
+ format: (value: {
181
+ line1?: string;
182
+ line2?: string;
183
+ city?: string;
184
+ state?: string;
185
+ country?: string;
186
+ zipCode?: string;
187
+ }) => string | null;
188
+ };
189
+ line1: {
190
+ key: string;
191
+ characteristics: {
192
+ inputType: "text";
193
+ label: string;
194
+ placeholder: string;
195
+ };
196
+ zodSchema: import('zod').ZodString;
197
+ };
198
+ line2: {
199
+ key: string;
200
+ characteristics: {
201
+ inputType: "text";
202
+ label: string;
203
+ placeholder: string;
204
+ };
205
+ zodSchema: import('zod').ZodString;
206
+ };
207
+ city: {
208
+ key: string;
209
+ characteristics: {
210
+ inputType: "text";
211
+ label: string;
212
+ placeholder: string;
213
+ };
214
+ zodSchema: import('zod').ZodString;
215
+ };
216
+ state: {
217
+ key: string;
218
+ characteristics: {
219
+ inputType: "text";
220
+ label: string;
221
+ placeholder: string;
222
+ };
223
+ zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
224
+ };
225
+ country: {
226
+ key: string;
227
+ characteristics: {
228
+ inputType: "text";
229
+ label: string;
230
+ placeholder: string;
231
+ };
232
+ zodSchema: import('zod').ZodEffects<import('zod').ZodString, "US", string>;
233
+ };
234
+ zipCode: {
235
+ key: string;
236
+ characteristics: {
237
+ inputType: "text";
238
+ label: string;
239
+ placeholder: string;
240
+ };
241
+ zodSchema: import('zod').ZodString;
242
+ };
243
+ driversLicense: {
244
+ key: string;
245
+ characteristics: {
246
+ inputType: "composite";
247
+ label: string;
248
+ defaultOrder: readonly ["documentNumber", "issuanceState", "issuanceDate", "expirationDate", "address"];
249
+ };
250
+ children: {
251
+ documentNumber: {
252
+ key: string;
253
+ characteristics: {
254
+ inputType: "text";
255
+ label: string;
256
+ placeholder: string;
257
+ };
258
+ zodSchema: import('zod').ZodString;
259
+ };
260
+ issuanceState: {
261
+ key: string;
262
+ characteristics: {
263
+ inputType: "select";
264
+ label: string;
265
+ placeholder: string;
266
+ options: {
267
+ value: import('../shared/us-states').USStateCode;
268
+ label: import('../shared/us-states').USStateName;
269
+ }[];
270
+ };
271
+ zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
272
+ format: (value: string) => "Alabama" | "Alaska" | "American Samoa" | "Arizona" | "Arkansas" | "California" | "Colorado" | "Connecticut" | "Delaware" | "District Of Columbia" | "Federated States Of Micronesia" | "Florida" | "Georgia" | "Guam" | "Hawaii" | "Idaho" | "Illinois" | "Indiana" | "Iowa" | "Kansas" | "Kentucky" | "Louisiana" | "Maine" | "Marshall Islands" | "Maryland" | "Massachusetts" | "Michigan" | "Minnesota" | "Mississippi" | "Missouri" | "Montana" | "Nebraska" | "Nevada" | "New Hampshire" | "New Jersey" | "New Mexico" | "New York" | "North Carolina" | "North Dakota" | "Northern Mariana Islands" | "Ohio" | "Oklahoma" | "Oregon" | "Palau" | "Pennsylvania" | "Puerto Rico" | "Rhode Island" | "South Carolina" | "South Dakota" | "Tennessee" | "Texas" | "Utah" | "Vermont" | "Virgin Islands" | "Virginia" | "Washington" | "West Virginia" | "Wisconsin" | "Wyoming";
273
+ };
274
+ issuanceDate: {
275
+ key: string;
276
+ characteristics: {
277
+ inputType: "date";
278
+ label: string;
279
+ placeholder: string;
280
+ };
281
+ zodSchema: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
282
+ format: (value: string) => string;
283
+ };
284
+ expirationDate: {
285
+ key: string;
286
+ characteristics: {
287
+ inputType: "date";
288
+ label: string;
289
+ placeholder: string;
290
+ };
291
+ zodSchema: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
292
+ format: (value: string) => string;
293
+ };
294
+ address: {
295
+ key: string;
296
+ characteristics: {
297
+ inputType: "composite";
298
+ label: string;
299
+ defaultOrder: readonly ["line1", "line2", "city", "state", "country", "zipCode"];
300
+ };
301
+ children: {
302
+ line1: {
303
+ key: string;
304
+ characteristics: {
305
+ inputType: "text";
306
+ label: string;
307
+ placeholder: string;
308
+ };
309
+ zodSchema: import('zod').ZodString;
310
+ };
311
+ line2: {
312
+ key: string;
313
+ characteristics: {
314
+ inputType: "text";
315
+ label: string;
316
+ placeholder: string;
317
+ };
318
+ zodSchema: import('zod').ZodString;
319
+ };
320
+ city: {
321
+ key: string;
322
+ characteristics: {
323
+ inputType: "text";
324
+ label: string;
325
+ placeholder: string;
326
+ };
327
+ zodSchema: import('zod').ZodString;
328
+ };
329
+ state: {
330
+ key: string;
331
+ characteristics: {
332
+ inputType: "text";
333
+ label: string;
334
+ placeholder: string;
335
+ };
336
+ zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
337
+ };
338
+ country: {
339
+ key: string;
340
+ characteristics: {
341
+ inputType: "text";
342
+ label: string;
343
+ placeholder: string;
344
+ };
345
+ zodSchema: import('zod').ZodEffects<import('zod').ZodString, "US", string>;
346
+ };
347
+ zipCode: {
348
+ key: string;
349
+ characteristics: {
350
+ inputType: "text";
351
+ label: string;
352
+ placeholder: string;
353
+ };
354
+ zodSchema: import('zod').ZodString;
355
+ };
356
+ };
357
+ zodSchema: import('zod').ZodEffects<import('zod').ZodObject<{
358
+ line1: import('zod').ZodOptional<import('zod').ZodString>;
359
+ line2: import('zod').ZodOptional<import('zod').ZodString>;
360
+ city: import('zod').ZodOptional<import('zod').ZodString>;
361
+ state: import('zod').ZodOptional<import('zod').ZodEnum<[string, ...string[]]>>;
362
+ country: import('zod').ZodOptional<import('zod').ZodEffects<import('zod').ZodString, "US", string>>;
363
+ zipCode: import('zod').ZodOptional<import('zod').ZodString>;
364
+ }, "strip", import('zod').ZodTypeAny, {
365
+ country?: "US" | undefined;
366
+ state?: string | undefined;
367
+ line1?: string | undefined;
368
+ line2?: string | undefined;
369
+ city?: string | undefined;
370
+ zipCode?: string | undefined;
371
+ }, {
372
+ country?: string | undefined;
373
+ state?: string | undefined;
374
+ line1?: string | undefined;
375
+ line2?: string | undefined;
376
+ city?: string | undefined;
377
+ zipCode?: string | undefined;
378
+ }>, {
379
+ country?: "US" | undefined;
380
+ state?: string | undefined;
381
+ line1?: string | undefined;
382
+ line2?: string | undefined;
383
+ city?: string | undefined;
384
+ zipCode?: string | undefined;
385
+ }, {
386
+ country?: string | undefined;
387
+ state?: string | undefined;
388
+ line1?: string | undefined;
389
+ line2?: string | undefined;
390
+ city?: string | undefined;
391
+ zipCode?: string | undefined;
392
+ }>;
393
+ format: (value: {
394
+ line1?: string;
395
+ line2?: string;
396
+ city?: string;
397
+ state?: string;
398
+ country?: string;
399
+ zipCode?: string;
400
+ }) => string | null;
401
+ };
402
+ };
403
+ zodSchema: import('zod').ZodObject<{
404
+ documentNumber: import('zod').ZodString;
405
+ issuanceState: import('zod').ZodEnum<[string, ...string[]]>;
406
+ issuanceDate: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
407
+ expirationDate: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
408
+ address: import('zod').ZodEffects<import('zod').ZodObject<{
409
+ line1: import('zod').ZodOptional<import('zod').ZodString>;
410
+ line2: import('zod').ZodOptional<import('zod').ZodString>;
411
+ city: import('zod').ZodOptional<import('zod').ZodString>;
412
+ state: import('zod').ZodOptional<import('zod').ZodEnum<[string, ...string[]]>>;
413
+ country: import('zod').ZodOptional<import('zod').ZodEffects<import('zod').ZodString, "US", string>>;
414
+ zipCode: import('zod').ZodOptional<import('zod').ZodString>;
415
+ }, "strip", import('zod').ZodTypeAny, {
416
+ country?: "US" | undefined;
417
+ state?: string | undefined;
418
+ line1?: string | undefined;
419
+ line2?: string | undefined;
420
+ city?: string | undefined;
421
+ zipCode?: string | undefined;
422
+ }, {
423
+ country?: string | undefined;
424
+ state?: string | undefined;
425
+ line1?: string | undefined;
426
+ line2?: string | undefined;
427
+ city?: string | undefined;
428
+ zipCode?: string | undefined;
429
+ }>, {
430
+ country?: "US" | undefined;
431
+ state?: string | undefined;
432
+ line1?: string | undefined;
433
+ line2?: string | undefined;
434
+ city?: string | undefined;
435
+ zipCode?: string | undefined;
436
+ }, {
437
+ country?: string | undefined;
438
+ state?: string | undefined;
439
+ line1?: string | undefined;
440
+ line2?: string | undefined;
441
+ city?: string | undefined;
442
+ zipCode?: string | undefined;
443
+ }>;
444
+ }, "strip", import('zod').ZodTypeAny, {
445
+ address: {
446
+ country?: "US" | undefined;
447
+ state?: string | undefined;
448
+ line1?: string | undefined;
449
+ line2?: string | undefined;
450
+ city?: string | undefined;
451
+ zipCode?: string | undefined;
452
+ };
453
+ documentNumber: string;
454
+ issuanceState: string;
455
+ issuanceDate: string;
456
+ expirationDate: string;
457
+ }, {
458
+ address: {
459
+ country?: string | undefined;
460
+ state?: string | undefined;
461
+ line1?: string | undefined;
462
+ line2?: string | undefined;
463
+ city?: string | undefined;
464
+ zipCode?: string | undefined;
465
+ };
466
+ documentNumber: string;
467
+ issuanceState: string;
468
+ issuanceDate: string;
469
+ expirationDate: string;
470
+ }>;
471
+ };
472
+ documentNumber: {
473
+ key: string;
474
+ characteristics: {
475
+ inputType: "text";
476
+ label: string;
477
+ placeholder: string;
478
+ };
479
+ zodSchema: import('zod').ZodString;
480
+ };
481
+ issuanceState: {
482
+ key: string;
483
+ characteristics: {
484
+ inputType: "select";
485
+ label: string;
486
+ placeholder: string;
487
+ options: {
488
+ value: import('../shared/us-states').USStateCode;
489
+ label: import('../shared/us-states').USStateName;
490
+ }[];
491
+ };
492
+ zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
493
+ format: (value: string) => "Alabama" | "Alaska" | "American Samoa" | "Arizona" | "Arkansas" | "California" | "Colorado" | "Connecticut" | "Delaware" | "District Of Columbia" | "Federated States Of Micronesia" | "Florida" | "Georgia" | "Guam" | "Hawaii" | "Idaho" | "Illinois" | "Indiana" | "Iowa" | "Kansas" | "Kentucky" | "Louisiana" | "Maine" | "Marshall Islands" | "Maryland" | "Massachusetts" | "Michigan" | "Minnesota" | "Mississippi" | "Missouri" | "Montana" | "Nebraska" | "Nevada" | "New Hampshire" | "New Jersey" | "New Mexico" | "New York" | "North Carolina" | "North Dakota" | "Northern Mariana Islands" | "Ohio" | "Oklahoma" | "Oregon" | "Palau" | "Pennsylvania" | "Puerto Rico" | "Rhode Island" | "South Carolina" | "South Dakota" | "Tennessee" | "Texas" | "Utah" | "Vermont" | "Virgin Islands" | "Virginia" | "Washington" | "West Virginia" | "Wisconsin" | "Wyoming";
494
+ };
495
+ issuanceDate: {
496
+ key: string;
497
+ characteristics: {
498
+ inputType: "date";
499
+ label: string;
500
+ placeholder: string;
501
+ };
502
+ zodSchema: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
503
+ format: (value: string) => string;
504
+ };
505
+ expirationDate: {
506
+ key: string;
507
+ characteristics: {
508
+ inputType: "date";
509
+ label: string;
510
+ placeholder: string;
511
+ };
512
+ zodSchema: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>;
513
+ format: (value: string) => string;
514
+ };
515
+ ssn: {
516
+ key: string;
517
+ characteristics: {
518
+ inputType: "text";
519
+ label: string;
520
+ placeholder: string;
521
+ };
522
+ zodSchema: import('zod').ZodEffects<import('zod').ZodString, string, string>;
523
+ format: (value: string) => string;
524
+ };
525
+ phone: {
526
+ key: string;
527
+ characteristics: {
528
+ inputType: "text";
529
+ label: string;
530
+ placeholder: string;
531
+ };
532
+ zodSchema: import('zod').ZodEffects<import('zod').ZodString, string, string>;
533
+ };
534
+ sex: {
535
+ key: string;
536
+ characteristics: {
537
+ inputType: "select";
538
+ label: string;
539
+ options: readonly [{
540
+ readonly label: "Male";
541
+ readonly value: "Male";
542
+ }, {
543
+ readonly label: "Female";
544
+ readonly value: "Female";
545
+ }, {
546
+ readonly label: "Non-Binary";
547
+ readonly value: "Non-Binary";
548
+ }];
549
+ };
550
+ zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
551
+ };
552
+ birthDate: {
553
+ key: string;
554
+ characteristics: {
555
+ inputType: "date";
556
+ label: string;
557
+ placeholder: string;
558
+ };
559
+ zodSchema: import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodEffects<import('zod').ZodString, string, string>, string, string>, string, string>;
560
+ format: (value: string) => string;
561
+ };
562
+ };
563
+ export declare const credentialKeys: { [K in keyof typeof fields]: K; };
@@ -0,0 +1,20 @@
1
+ import { TextFieldDefinition, ExtractedFieldValueType } from './types';
2
+ declare const phoneKey = "phone";
3
+ export declare const phone: {
4
+ key: string;
5
+ characteristics: {
6
+ inputType: "text";
7
+ label: string;
8
+ placeholder: string;
9
+ };
10
+ zodSchema: import('zod').ZodEffects<import('zod').ZodString, string, string>;
11
+ };
12
+ declare module '../declarations' {
13
+ interface FieldSchemaDefinitions {
14
+ phone: TextFieldDefinition<typeof phoneKey>;
15
+ }
16
+ interface FieldValueDefinitions {
17
+ phone: ExtractedFieldValueType<typeof phone>;
18
+ }
19
+ }
20
+ export {};
@@ -0,0 +1,29 @@
1
+ import { SelectFieldDefinition, ExtractedFieldValueType } from './types';
2
+ declare const sexKey = "sex";
3
+ export declare const sex: {
4
+ key: string;
5
+ characteristics: {
6
+ inputType: "select";
7
+ label: string;
8
+ options: readonly [{
9
+ readonly label: "Male";
10
+ readonly value: "Male";
11
+ }, {
12
+ readonly label: "Female";
13
+ readonly value: "Female";
14
+ }, {
15
+ readonly label: "Non-Binary";
16
+ readonly value: "Non-Binary";
17
+ }];
18
+ };
19
+ zodSchema: import('zod').ZodEnum<[string, ...string[]]>;
20
+ };
21
+ declare module '../declarations' {
22
+ interface FieldSchemaDefinitions {
23
+ sex: SelectFieldDefinition<typeof sexKey>;
24
+ }
25
+ interface FieldValueDefinitions {
26
+ sex: ExtractedFieldValueType<typeof sex>;
27
+ }
28
+ }
29
+ export {};
@@ -0,0 +1,21 @@
1
+ import { TextFieldDefinition, ExtractedFieldValueType } from './types';
2
+ declare const ssnKey = "ssn";
3
+ export declare const ssn: {
4
+ key: string;
5
+ characteristics: {
6
+ inputType: "text";
7
+ label: string;
8
+ placeholder: string;
9
+ };
10
+ zodSchema: import('zod').ZodEffects<import('zod').ZodString, string, string>;
11
+ format: (value: string) => string;
12
+ };
13
+ declare module '../declarations' {
14
+ interface FieldSchemaDefinitions {
15
+ ssn: TextFieldDefinition<typeof ssnKey>;
16
+ }
17
+ interface FieldValueDefinitions {
18
+ ssn: ExtractedFieldValueType<typeof ssn>;
19
+ }
20
+ }
21
+ export {};