@opencrvs/toolkit 1.8.1-rc.38ac682 → 1.8.1-rc.3a45fd9

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 (40) hide show
  1. package/build.sh +5 -0
  2. package/dist/commons/api/router.d.ts +409 -392
  3. package/dist/commons/conditionals/validate.d.ts +11 -2
  4. package/dist/commons/events/ActionConfig.d.ts +3441 -5805
  5. package/dist/commons/events/ActionDocument.d.ts +1252 -716
  6. package/dist/commons/events/ActionInput.d.ts +626 -600
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +83 -65
  8. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  9. package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
  10. package/dist/commons/events/Draft.d.ts +48 -48
  11. package/dist/commons/events/EventConfig.d.ts +1401 -2663
  12. package/dist/commons/events/EventDocument.d.ts +451 -432
  13. package/dist/commons/events/EventIndex.d.ts +184 -62
  14. package/dist/commons/events/EventMetadata.d.ts +9 -9
  15. package/dist/commons/events/FieldConfig.d.ts +254 -343
  16. package/dist/commons/events/FieldType.d.ts +1 -2
  17. package/dist/commons/events/FieldTypeMapping.d.ts +18 -25
  18. package/dist/commons/events/FieldValue.d.ts +12 -12
  19. package/dist/commons/events/FormConfig.d.ts +1296 -2388
  20. package/dist/commons/events/PageConfig.d.ts +264 -508
  21. package/dist/commons/events/WorkqueueConfig.d.ts +288 -164
  22. package/dist/commons/events/defineConfig.d.ts +129 -309
  23. package/dist/commons/events/event.d.ts +68 -6
  24. package/dist/commons/events/field.d.ts +14 -0
  25. package/dist/commons/events/test.utils.d.ts +12 -12
  26. package/dist/commons/events/utils.d.ts +248 -568
  27. package/dist/commons/notification/UserNotifications.d.ts +543 -0
  28. package/dist/commons/notification/index.d.ts +2 -0
  29. package/dist/conditionals/index.js +3 -2
  30. package/dist/events/index.js +258 -114
  31. package/dist/notification/index.d.ts +2 -0
  32. package/dist/notification/index.d.ts.map +1 -0
  33. package/dist/notification/index.js +5354 -0
  34. package/package.json +1 -1
  35. package/tsconfig.json +3 -2
  36. package/tsconfig.tsbuildinfo +1 -1
  37. package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
  38. package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
  39. package/dist/commons/conditionals/validate.test.d.ts +0 -2
  40. package/dist/commons/events/utils.test.d.ts +0 -2
@@ -2244,16 +2244,62 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2244
2244
  }, {
2245
2245
  type: z.ZodLiteral<"NAME">;
2246
2246
  defaultValue: z.ZodOptional<z.ZodObject<{
2247
- firstname: z.ZodString;
2248
- surname: z.ZodString;
2247
+ firstname: z.ZodOptional<z.ZodString>;
2248
+ middlename: z.ZodOptional<z.ZodString>;
2249
+ surname: z.ZodOptional<z.ZodString>;
2249
2250
  }, "strip", z.ZodTypeAny, {
2250
- firstname: string;
2251
- surname: string;
2251
+ firstname?: string | undefined;
2252
+ surname?: string | undefined;
2253
+ middlename?: string | undefined;
2252
2254
  }, {
2253
- firstname: string;
2254
- surname: string;
2255
+ firstname?: string | undefined;
2256
+ surname?: string | undefined;
2257
+ middlename?: string | undefined;
2255
2258
  }>>;
2256
- configuration: z.ZodOptional<z.ZodObject<{
2259
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
2260
+ name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
2261
+ firstname: z.ZodOptional<z.ZodObject<{
2262
+ required: z.ZodBoolean;
2263
+ }, "strip", z.ZodTypeAny, {
2264
+ required: boolean;
2265
+ }, {
2266
+ required: boolean;
2267
+ }>>;
2268
+ middlename: z.ZodOptional<z.ZodObject<{
2269
+ required: z.ZodBoolean;
2270
+ }, "strip", z.ZodTypeAny, {
2271
+ required: boolean;
2272
+ }, {
2273
+ required: boolean;
2274
+ }>>;
2275
+ surname: z.ZodOptional<z.ZodObject<{
2276
+ required: z.ZodBoolean;
2277
+ }, "strip", z.ZodTypeAny, {
2278
+ required: boolean;
2279
+ }, {
2280
+ required: boolean;
2281
+ }>>;
2282
+ }, "strip", z.ZodTypeAny, {
2283
+ firstname?: {
2284
+ required: boolean;
2285
+ } | undefined;
2286
+ surname?: {
2287
+ required: boolean;
2288
+ } | undefined;
2289
+ middlename?: {
2290
+ required: boolean;
2291
+ } | undefined;
2292
+ }, {
2293
+ firstname?: {
2294
+ required: boolean;
2295
+ } | undefined;
2296
+ surname?: {
2297
+ required: boolean;
2298
+ } | undefined;
2299
+ middlename?: {
2300
+ required: boolean;
2301
+ } | undefined;
2302
+ }>>>;
2257
2303
  maxLength: z.ZodOptional<z.ZodNumber>;
2258
2304
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2259
2305
  id: string;
@@ -2265,15 +2311,35 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2265
2311
  description: string;
2266
2312
  defaultMessage: string;
2267
2313
  }>>;
2268
- includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2269
2314
  searchMode: z.ZodOptional<z.ZodBoolean>;
2270
2315
  }, "strip", z.ZodTypeAny, {
2316
+ name?: {
2317
+ firstname?: {
2318
+ required: boolean;
2319
+ } | undefined;
2320
+ surname?: {
2321
+ required: boolean;
2322
+ } | undefined;
2323
+ middlename?: {
2324
+ required: boolean;
2325
+ } | undefined;
2326
+ } | undefined;
2271
2327
  maxLength?: number | undefined;
2272
2328
  prefix?: TranslationConfig | undefined;
2273
2329
  postfix?: TranslationConfig | undefined;
2274
- includeMiddlename?: boolean | undefined;
2275
2330
  searchMode?: boolean | undefined;
2276
2331
  }, {
2332
+ name?: {
2333
+ firstname?: {
2334
+ required: boolean;
2335
+ } | undefined;
2336
+ surname?: {
2337
+ required: boolean;
2338
+ } | undefined;
2339
+ middlename?: {
2340
+ required: boolean;
2341
+ } | undefined;
2342
+ } | undefined;
2277
2343
  maxLength?: number | undefined;
2278
2344
  prefix?: {
2279
2345
  id: string;
@@ -2285,9 +2351,8 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2285
2351
  description: string;
2286
2352
  defaultMessage: string;
2287
2353
  } | undefined;
2288
- includeMiddlename?: boolean | undefined;
2289
2354
  searchMode?: boolean | undefined;
2290
- }>>;
2355
+ }>>>;
2291
2356
  }>, "strip", z.ZodTypeAny, {
2292
2357
  type: "NAME";
2293
2358
  id: string;
@@ -2316,14 +2381,25 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2316
2381
  hideLabel?: boolean | undefined;
2317
2382
  uncorrectable?: boolean | undefined;
2318
2383
  defaultValue?: {
2319
- firstname: string;
2320
- surname: string;
2321
- } | undefined;
2322
- configuration?: {
2384
+ firstname?: string | undefined;
2385
+ surname?: string | undefined;
2386
+ middlename?: string | undefined;
2387
+ } | undefined;
2388
+ configuration?: {
2389
+ name?: {
2390
+ firstname?: {
2391
+ required: boolean;
2392
+ } | undefined;
2393
+ surname?: {
2394
+ required: boolean;
2395
+ } | undefined;
2396
+ middlename?: {
2397
+ required: boolean;
2398
+ } | undefined;
2399
+ } | undefined;
2323
2400
  maxLength?: number | undefined;
2324
2401
  prefix?: TranslationConfig | undefined;
2325
2402
  postfix?: TranslationConfig | undefined;
2326
- includeMiddlename?: boolean | undefined;
2327
2403
  searchMode?: boolean | undefined;
2328
2404
  } | undefined;
2329
2405
  }, {
@@ -2370,10 +2446,22 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2370
2446
  hideLabel?: boolean | undefined;
2371
2447
  uncorrectable?: boolean | undefined;
2372
2448
  defaultValue?: {
2373
- firstname: string;
2374
- surname: string;
2375
- } | undefined;
2376
- configuration?: {
2449
+ firstname?: string | undefined;
2450
+ surname?: string | undefined;
2451
+ middlename?: string | undefined;
2452
+ } | undefined;
2453
+ configuration?: {
2454
+ name?: {
2455
+ firstname?: {
2456
+ required: boolean;
2457
+ } | undefined;
2458
+ surname?: {
2459
+ required: boolean;
2460
+ } | undefined;
2461
+ middlename?: {
2462
+ required: boolean;
2463
+ } | undefined;
2464
+ } | undefined;
2377
2465
  maxLength?: number | undefined;
2378
2466
  prefix?: {
2379
2467
  id: string;
@@ -2385,7 +2473,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2385
2473
  description: string;
2386
2474
  defaultMessage: string;
2387
2475
  } | undefined;
2388
- includeMiddlename?: boolean | undefined;
2389
2476
  searchMode?: boolean | undefined;
2390
2477
  } | undefined;
2391
2478
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -4421,155 +4508,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
4421
4508
  } | undefined;
4422
4509
  hideLabel?: boolean | undefined;
4423
4510
  uncorrectable?: boolean | undefined;
4424
- }>, z.ZodObject<z.objectUtil.extendShape<{
4425
- id: z.ZodString;
4426
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4427
- id: string;
4428
- description: string;
4429
- defaultMessage: string;
4430
- }>;
4431
- parent: z.ZodOptional<z.ZodObject<{
4432
- $$field: z.ZodString;
4433
- }, "strip", z.ZodTypeAny, {
4434
- $$field: string;
4435
- }, {
4436
- $$field: string;
4437
- }>>;
4438
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4439
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4440
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4441
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4442
- id: string;
4443
- description: string;
4444
- defaultMessage: string;
4445
- }>>;
4446
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4447
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4448
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4449
- id: string;
4450
- description: string;
4451
- defaultMessage: string;
4452
- }>;
4453
- }, "strip", z.ZodTypeAny, {
4454
- message: TranslationConfig;
4455
- validator: import(".").JSONSchema;
4456
- }, {
4457
- message: {
4458
- id: string;
4459
- description: string;
4460
- defaultMessage: string;
4461
- };
4462
- validator: import(".").JSONSchema;
4463
- }>, "many">>>;
4464
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4465
- id: string;
4466
- description: string;
4467
- defaultMessage: string;
4468
- }>>;
4469
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4470
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4471
- }, {
4472
- type: z.ZodLiteral<"PRINT_BUTTON">;
4473
- configuration: z.ZodObject<{
4474
- template: z.ZodString;
4475
- buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4476
- id: string;
4477
- description: string;
4478
- defaultMessage: string;
4479
- }>>;
4480
- }, "strip", z.ZodTypeAny, {
4481
- template: string;
4482
- buttonLabel?: TranslationConfig | undefined;
4483
- }, {
4484
- template: string;
4485
- buttonLabel?: {
4486
- id: string;
4487
- description: string;
4488
- defaultMessage: string;
4489
- } | undefined;
4490
- }>;
4491
- }>, "strip", z.ZodTypeAny, {
4492
- type: "PRINT_BUTTON";
4493
- id: string;
4494
- label: TranslationConfig;
4495
- configuration: {
4496
- template: string;
4497
- buttonLabel?: TranslationConfig | undefined;
4498
- };
4499
- parent?: {
4500
- $$field: string;
4501
- } | undefined;
4502
- validation?: {
4503
- message: TranslationConfig;
4504
- validator: import(".").JSONSchema;
4505
- }[] | undefined;
4506
- required?: boolean | undefined;
4507
- conditionals?: ({
4508
- type: "SHOW";
4509
- conditional: import(".").JSONSchema;
4510
- } | {
4511
- type: "ENABLE";
4512
- conditional: import(".").JSONSchema;
4513
- } | {
4514
- type: "DISPLAY_ON_REVIEW";
4515
- conditional: import(".").JSONSchema;
4516
- })[] | undefined;
4517
- secured?: boolean | undefined;
4518
- placeholder?: TranslationConfig | undefined;
4519
- helperText?: TranslationConfig | undefined;
4520
- hideLabel?: boolean | undefined;
4521
- uncorrectable?: boolean | undefined;
4522
- }, {
4523
- type: "PRINT_BUTTON";
4524
- id: string;
4525
- label: {
4526
- id: string;
4527
- description: string;
4528
- defaultMessage: string;
4529
- };
4530
- configuration: {
4531
- template: string;
4532
- buttonLabel?: {
4533
- id: string;
4534
- description: string;
4535
- defaultMessage: string;
4536
- } | undefined;
4537
- };
4538
- parent?: {
4539
- $$field: string;
4540
- } | undefined;
4541
- validation?: {
4542
- message: {
4543
- id: string;
4544
- description: string;
4545
- defaultMessage: string;
4546
- };
4547
- validator: import(".").JSONSchema;
4548
- }[] | undefined;
4549
- required?: boolean | undefined;
4550
- conditionals?: ({
4551
- type: "SHOW";
4552
- conditional: import(".").JSONSchema;
4553
- } | {
4554
- type: "ENABLE";
4555
- conditional: import(".").JSONSchema;
4556
- } | {
4557
- type: "DISPLAY_ON_REVIEW";
4558
- conditional: import(".").JSONSchema;
4559
- })[] | undefined;
4560
- secured?: boolean | undefined;
4561
- placeholder?: {
4562
- id: string;
4563
- description: string;
4564
- defaultMessage: string;
4565
- } | undefined;
4566
- helperText?: {
4567
- id: string;
4568
- description: string;
4569
- defaultMessage: string;
4570
- } | undefined;
4571
- hideLabel?: boolean | undefined;
4572
- uncorrectable?: boolean | undefined;
4573
4511
  }>]>, "many">;
4574
4512
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
4575
4513
  }, {
@@ -5133,14 +5071,25 @@ export declare const DeclarationFormConfig: z.ZodObject<{
5133
5071
  hideLabel?: boolean | undefined;
5134
5072
  uncorrectable?: boolean | undefined;
5135
5073
  defaultValue?: {
5136
- firstname: string;
5137
- surname: string;
5138
- } | undefined;
5139
- configuration?: {
5074
+ firstname?: string | undefined;
5075
+ surname?: string | undefined;
5076
+ middlename?: string | undefined;
5077
+ } | undefined;
5078
+ configuration?: {
5079
+ name?: {
5080
+ firstname?: {
5081
+ required: boolean;
5082
+ } | undefined;
5083
+ surname?: {
5084
+ required: boolean;
5085
+ } | undefined;
5086
+ middlename?: {
5087
+ required: boolean;
5088
+ } | undefined;
5089
+ } | undefined;
5140
5090
  maxLength?: number | undefined;
5141
5091
  prefix?: TranslationConfig | undefined;
5142
5092
  postfix?: TranslationConfig | undefined;
5143
- includeMiddlename?: boolean | undefined;
5144
5093
  searchMode?: boolean | undefined;
5145
5094
  } | undefined;
5146
5095
  } | {
@@ -5512,37 +5461,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
5512
5461
  helperText?: TranslationConfig | undefined;
5513
5462
  hideLabel?: boolean | undefined;
5514
5463
  uncorrectable?: boolean | undefined;
5515
- } | {
5516
- type: "PRINT_BUTTON";
5517
- id: string;
5518
- label: TranslationConfig;
5519
- configuration: {
5520
- template: string;
5521
- buttonLabel?: TranslationConfig | undefined;
5522
- };
5523
- parent?: {
5524
- $$field: string;
5525
- } | undefined;
5526
- validation?: {
5527
- message: TranslationConfig;
5528
- validator: import(".").JSONSchema;
5529
- }[] | undefined;
5530
- required?: boolean | undefined;
5531
- conditionals?: ({
5532
- type: "SHOW";
5533
- conditional: import(".").JSONSchema;
5534
- } | {
5535
- type: "ENABLE";
5536
- conditional: import(".").JSONSchema;
5537
- } | {
5538
- type: "DISPLAY_ON_REVIEW";
5539
- conditional: import(".").JSONSchema;
5540
- })[] | undefined;
5541
- secured?: boolean | undefined;
5542
- placeholder?: TranslationConfig | undefined;
5543
- helperText?: TranslationConfig | undefined;
5544
- hideLabel?: boolean | undefined;
5545
- uncorrectable?: boolean | undefined;
5546
5464
  })[];
5547
5465
  conditional?: import(".").JSONSchema | undefined;
5548
5466
  }, {
@@ -6439,10 +6357,22 @@ export declare const DeclarationFormConfig: z.ZodObject<{
6439
6357
  hideLabel?: boolean | undefined;
6440
6358
  uncorrectable?: boolean | undefined;
6441
6359
  defaultValue?: {
6442
- firstname: string;
6443
- surname: string;
6444
- } | undefined;
6445
- configuration?: {
6360
+ firstname?: string | undefined;
6361
+ surname?: string | undefined;
6362
+ middlename?: string | undefined;
6363
+ } | undefined;
6364
+ configuration?: {
6365
+ name?: {
6366
+ firstname?: {
6367
+ required: boolean;
6368
+ } | undefined;
6369
+ surname?: {
6370
+ required: boolean;
6371
+ } | undefined;
6372
+ middlename?: {
6373
+ required: boolean;
6374
+ } | undefined;
6375
+ } | undefined;
6446
6376
  maxLength?: number | undefined;
6447
6377
  prefix?: {
6448
6378
  id: string;
@@ -6454,7 +6384,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
6454
6384
  description: string;
6455
6385
  defaultMessage: string;
6456
6386
  } | undefined;
6457
- includeMiddlename?: boolean | undefined;
6458
6387
  searchMode?: boolean | undefined;
6459
6388
  } | undefined;
6460
6389
  } | {
@@ -7018,31 +6947,25 @@ export declare const DeclarationFormConfig: z.ZodObject<{
7018
6947
  } | undefined;
7019
6948
  hideLabel?: boolean | undefined;
7020
6949
  uncorrectable?: boolean | undefined;
7021
- } | {
7022
- type: "PRINT_BUTTON";
6950
+ })[];
6951
+ type?: "FORM" | undefined;
6952
+ conditional?: import(".").JSONSchema | undefined;
6953
+ }>, "many">;
6954
+ }, "strip", z.ZodTypeAny, {
6955
+ label: TranslationConfig;
6956
+ pages: {
6957
+ type: "FORM";
6958
+ id: string;
6959
+ title: TranslationConfig;
6960
+ fields: ({
6961
+ type: "DIVIDER";
7023
6962
  id: string;
7024
- label: {
7025
- id: string;
7026
- description: string;
7027
- defaultMessage: string;
7028
- };
7029
- configuration: {
7030
- template: string;
7031
- buttonLabel?: {
7032
- id: string;
7033
- description: string;
7034
- defaultMessage: string;
7035
- } | undefined;
7036
- };
6963
+ label: TranslationConfig;
7037
6964
  parent?: {
7038
6965
  $$field: string;
7039
6966
  } | undefined;
7040
6967
  validation?: {
7041
- message: {
7042
- id: string;
7043
- description: string;
7044
- defaultMessage: string;
7045
- };
6968
+ message: TranslationConfig;
7046
6969
  validator: import(".").JSONSchema;
7047
6970
  }[] | undefined;
7048
6971
  required?: boolean | undefined;
@@ -7057,30 +6980,12 @@ export declare const DeclarationFormConfig: z.ZodObject<{
7057
6980
  conditional: import(".").JSONSchema;
7058
6981
  })[] | undefined;
7059
6982
  secured?: boolean | undefined;
7060
- placeholder?: {
7061
- id: string;
7062
- description: string;
7063
- defaultMessage: string;
7064
- } | undefined;
7065
- helperText?: {
7066
- id: string;
7067
- description: string;
7068
- defaultMessage: string;
7069
- } | undefined;
6983
+ placeholder?: TranslationConfig | undefined;
6984
+ helperText?: TranslationConfig | undefined;
7070
6985
  hideLabel?: boolean | undefined;
7071
6986
  uncorrectable?: boolean | undefined;
7072
- })[];
7073
- type?: "FORM" | undefined;
7074
- conditional?: import(".").JSONSchema | undefined;
7075
- }>, "many">;
7076
- }, "strip", z.ZodTypeAny, {
7077
- label: TranslationConfig;
7078
- pages: {
7079
- type: "FORM";
7080
- id: string;
7081
- title: TranslationConfig;
7082
- fields: ({
7083
- type: "DIVIDER";
6987
+ } | {
6988
+ type: "TEXT";
7084
6989
  id: string;
7085
6990
  label: TranslationConfig;
7086
6991
  parent?: {
@@ -7106,8 +7011,15 @@ export declare const DeclarationFormConfig: z.ZodObject<{
7106
7011
  helperText?: TranslationConfig | undefined;
7107
7012
  hideLabel?: boolean | undefined;
7108
7013
  uncorrectable?: boolean | undefined;
7014
+ defaultValue?: string | undefined;
7015
+ configuration?: {
7016
+ type?: "text" | "password" | undefined;
7017
+ maxLength?: number | undefined;
7018
+ prefix?: TranslationConfig | undefined;
7019
+ postfix?: TranslationConfig | undefined;
7020
+ } | undefined;
7109
7021
  } | {
7110
- type: "TEXT";
7022
+ type: "NUMBER";
7111
7023
  id: string;
7112
7024
  label: TranslationConfig;
7113
7025
  parent?: {
@@ -7133,49 +7045,15 @@ export declare const DeclarationFormConfig: z.ZodObject<{
7133
7045
  helperText?: TranslationConfig | undefined;
7134
7046
  hideLabel?: boolean | undefined;
7135
7047
  uncorrectable?: boolean | undefined;
7136
- defaultValue?: string | undefined;
7048
+ defaultValue?: number | undefined;
7137
7049
  configuration?: {
7138
- type?: "text" | "password" | undefined;
7139
- maxLength?: number | undefined;
7140
7050
  prefix?: TranslationConfig | undefined;
7141
7051
  postfix?: TranslationConfig | undefined;
7052
+ min?: number | undefined;
7053
+ max?: number | undefined;
7142
7054
  } | undefined;
7143
7055
  } | {
7144
- type: "NUMBER";
7145
- id: string;
7146
- label: TranslationConfig;
7147
- parent?: {
7148
- $$field: string;
7149
- } | undefined;
7150
- validation?: {
7151
- message: TranslationConfig;
7152
- validator: import(".").JSONSchema;
7153
- }[] | undefined;
7154
- required?: boolean | undefined;
7155
- conditionals?: ({
7156
- type: "SHOW";
7157
- conditional: import(".").JSONSchema;
7158
- } | {
7159
- type: "ENABLE";
7160
- conditional: import(".").JSONSchema;
7161
- } | {
7162
- type: "DISPLAY_ON_REVIEW";
7163
- conditional: import(".").JSONSchema;
7164
- })[] | undefined;
7165
- secured?: boolean | undefined;
7166
- placeholder?: TranslationConfig | undefined;
7167
- helperText?: TranslationConfig | undefined;
7168
- hideLabel?: boolean | undefined;
7169
- uncorrectable?: boolean | undefined;
7170
- defaultValue?: number | undefined;
7171
- configuration?: {
7172
- prefix?: TranslationConfig | undefined;
7173
- postfix?: TranslationConfig | undefined;
7174
- min?: number | undefined;
7175
- max?: number | undefined;
7176
- } | undefined;
7177
- } | {
7178
- type: "TEXTAREA";
7056
+ type: "TEXTAREA";
7179
7057
  id: string;
7180
7058
  label: TranslationConfig;
7181
7059
  parent?: {
@@ -7634,14 +7512,25 @@ export declare const DeclarationFormConfig: z.ZodObject<{
7634
7512
  hideLabel?: boolean | undefined;
7635
7513
  uncorrectable?: boolean | undefined;
7636
7514
  defaultValue?: {
7637
- firstname: string;
7638
- surname: string;
7639
- } | undefined;
7640
- configuration?: {
7515
+ firstname?: string | undefined;
7516
+ surname?: string | undefined;
7517
+ middlename?: string | undefined;
7518
+ } | undefined;
7519
+ configuration?: {
7520
+ name?: {
7521
+ firstname?: {
7522
+ required: boolean;
7523
+ } | undefined;
7524
+ surname?: {
7525
+ required: boolean;
7526
+ } | undefined;
7527
+ middlename?: {
7528
+ required: boolean;
7529
+ } | undefined;
7530
+ } | undefined;
7641
7531
  maxLength?: number | undefined;
7642
7532
  prefix?: TranslationConfig | undefined;
7643
7533
  postfix?: TranslationConfig | undefined;
7644
- includeMiddlename?: boolean | undefined;
7645
7534
  searchMode?: boolean | undefined;
7646
7535
  } | undefined;
7647
7536
  } | {
@@ -8013,37 +7902,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
8013
7902
  helperText?: TranslationConfig | undefined;
8014
7903
  hideLabel?: boolean | undefined;
8015
7904
  uncorrectable?: boolean | undefined;
8016
- } | {
8017
- type: "PRINT_BUTTON";
8018
- id: string;
8019
- label: TranslationConfig;
8020
- configuration: {
8021
- template: string;
8022
- buttonLabel?: TranslationConfig | undefined;
8023
- };
8024
- parent?: {
8025
- $$field: string;
8026
- } | undefined;
8027
- validation?: {
8028
- message: TranslationConfig;
8029
- validator: import(".").JSONSchema;
8030
- }[] | undefined;
8031
- required?: boolean | undefined;
8032
- conditionals?: ({
8033
- type: "SHOW";
8034
- conditional: import(".").JSONSchema;
8035
- } | {
8036
- type: "ENABLE";
8037
- conditional: import(".").JSONSchema;
8038
- } | {
8039
- type: "DISPLAY_ON_REVIEW";
8040
- conditional: import(".").JSONSchema;
8041
- })[] | undefined;
8042
- secured?: boolean | undefined;
8043
- placeholder?: TranslationConfig | undefined;
8044
- helperText?: TranslationConfig | undefined;
8045
- hideLabel?: boolean | undefined;
8046
- uncorrectable?: boolean | undefined;
8047
7905
  })[];
8048
7906
  conditional?: import(".").JSONSchema | undefined;
8049
7907
  }[];
@@ -8947,10 +8805,22 @@ export declare const DeclarationFormConfig: z.ZodObject<{
8947
8805
  hideLabel?: boolean | undefined;
8948
8806
  uncorrectable?: boolean | undefined;
8949
8807
  defaultValue?: {
8950
- firstname: string;
8951
- surname: string;
8952
- } | undefined;
8953
- configuration?: {
8808
+ firstname?: string | undefined;
8809
+ surname?: string | undefined;
8810
+ middlename?: string | undefined;
8811
+ } | undefined;
8812
+ configuration?: {
8813
+ name?: {
8814
+ firstname?: {
8815
+ required: boolean;
8816
+ } | undefined;
8817
+ surname?: {
8818
+ required: boolean;
8819
+ } | undefined;
8820
+ middlename?: {
8821
+ required: boolean;
8822
+ } | undefined;
8823
+ } | undefined;
8954
8824
  maxLength?: number | undefined;
8955
8825
  prefix?: {
8956
8826
  id: string;
@@ -8962,7 +8832,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
8962
8832
  description: string;
8963
8833
  defaultMessage: string;
8964
8834
  } | undefined;
8965
- includeMiddlename?: boolean | undefined;
8966
8835
  searchMode?: boolean | undefined;
8967
8836
  } | undefined;
8968
8837
  } | {
@@ -9526,57 +9395,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
9526
9395
  } | undefined;
9527
9396
  hideLabel?: boolean | undefined;
9528
9397
  uncorrectable?: boolean | undefined;
9529
- } | {
9530
- type: "PRINT_BUTTON";
9531
- id: string;
9532
- label: {
9533
- id: string;
9534
- description: string;
9535
- defaultMessage: string;
9536
- };
9537
- configuration: {
9538
- template: string;
9539
- buttonLabel?: {
9540
- id: string;
9541
- description: string;
9542
- defaultMessage: string;
9543
- } | undefined;
9544
- };
9545
- parent?: {
9546
- $$field: string;
9547
- } | undefined;
9548
- validation?: {
9549
- message: {
9550
- id: string;
9551
- description: string;
9552
- defaultMessage: string;
9553
- };
9554
- validator: import(".").JSONSchema;
9555
- }[] | undefined;
9556
- required?: boolean | undefined;
9557
- conditionals?: ({
9558
- type: "SHOW";
9559
- conditional: import(".").JSONSchema;
9560
- } | {
9561
- type: "ENABLE";
9562
- conditional: import(".").JSONSchema;
9563
- } | {
9564
- type: "DISPLAY_ON_REVIEW";
9565
- conditional: import(".").JSONSchema;
9566
- })[] | undefined;
9567
- secured?: boolean | undefined;
9568
- placeholder?: {
9569
- id: string;
9570
- description: string;
9571
- defaultMessage: string;
9572
- } | undefined;
9573
- helperText?: {
9574
- id: string;
9575
- description: string;
9576
- defaultMessage: string;
9577
- } | undefined;
9578
- hideLabel?: boolean | undefined;
9579
- uncorrectable?: boolean | undefined;
9580
9398
  })[];
9581
9399
  type?: "FORM" | undefined;
9582
9400
  conditional?: import(".").JSONSchema | undefined;
@@ -11828,16 +11646,62 @@ export declare const ActionFormConfig: z.ZodObject<{
11828
11646
  }, {
11829
11647
  type: z.ZodLiteral<"NAME">;
11830
11648
  defaultValue: z.ZodOptional<z.ZodObject<{
11831
- firstname: z.ZodString;
11832
- surname: z.ZodString;
11649
+ firstname: z.ZodOptional<z.ZodString>;
11650
+ middlename: z.ZodOptional<z.ZodString>;
11651
+ surname: z.ZodOptional<z.ZodString>;
11833
11652
  }, "strip", z.ZodTypeAny, {
11834
- firstname: string;
11835
- surname: string;
11653
+ firstname?: string | undefined;
11654
+ surname?: string | undefined;
11655
+ middlename?: string | undefined;
11836
11656
  }, {
11837
- firstname: string;
11838
- surname: string;
11657
+ firstname?: string | undefined;
11658
+ surname?: string | undefined;
11659
+ middlename?: string | undefined;
11839
11660
  }>>;
11840
- configuration: z.ZodOptional<z.ZodObject<{
11661
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
11662
+ name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
11663
+ firstname: z.ZodOptional<z.ZodObject<{
11664
+ required: z.ZodBoolean;
11665
+ }, "strip", z.ZodTypeAny, {
11666
+ required: boolean;
11667
+ }, {
11668
+ required: boolean;
11669
+ }>>;
11670
+ middlename: z.ZodOptional<z.ZodObject<{
11671
+ required: z.ZodBoolean;
11672
+ }, "strip", z.ZodTypeAny, {
11673
+ required: boolean;
11674
+ }, {
11675
+ required: boolean;
11676
+ }>>;
11677
+ surname: z.ZodOptional<z.ZodObject<{
11678
+ required: z.ZodBoolean;
11679
+ }, "strip", z.ZodTypeAny, {
11680
+ required: boolean;
11681
+ }, {
11682
+ required: boolean;
11683
+ }>>;
11684
+ }, "strip", z.ZodTypeAny, {
11685
+ firstname?: {
11686
+ required: boolean;
11687
+ } | undefined;
11688
+ surname?: {
11689
+ required: boolean;
11690
+ } | undefined;
11691
+ middlename?: {
11692
+ required: boolean;
11693
+ } | undefined;
11694
+ }, {
11695
+ firstname?: {
11696
+ required: boolean;
11697
+ } | undefined;
11698
+ surname?: {
11699
+ required: boolean;
11700
+ } | undefined;
11701
+ middlename?: {
11702
+ required: boolean;
11703
+ } | undefined;
11704
+ }>>>;
11841
11705
  maxLength: z.ZodOptional<z.ZodNumber>;
11842
11706
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11843
11707
  id: string;
@@ -11849,15 +11713,35 @@ export declare const ActionFormConfig: z.ZodObject<{
11849
11713
  description: string;
11850
11714
  defaultMessage: string;
11851
11715
  }>>;
11852
- includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11853
11716
  searchMode: z.ZodOptional<z.ZodBoolean>;
11854
11717
  }, "strip", z.ZodTypeAny, {
11718
+ name?: {
11719
+ firstname?: {
11720
+ required: boolean;
11721
+ } | undefined;
11722
+ surname?: {
11723
+ required: boolean;
11724
+ } | undefined;
11725
+ middlename?: {
11726
+ required: boolean;
11727
+ } | undefined;
11728
+ } | undefined;
11855
11729
  maxLength?: number | undefined;
11856
11730
  prefix?: TranslationConfig | undefined;
11857
11731
  postfix?: TranslationConfig | undefined;
11858
- includeMiddlename?: boolean | undefined;
11859
11732
  searchMode?: boolean | undefined;
11860
11733
  }, {
11734
+ name?: {
11735
+ firstname?: {
11736
+ required: boolean;
11737
+ } | undefined;
11738
+ surname?: {
11739
+ required: boolean;
11740
+ } | undefined;
11741
+ middlename?: {
11742
+ required: boolean;
11743
+ } | undefined;
11744
+ } | undefined;
11861
11745
  maxLength?: number | undefined;
11862
11746
  prefix?: {
11863
11747
  id: string;
@@ -11869,9 +11753,8 @@ export declare const ActionFormConfig: z.ZodObject<{
11869
11753
  description: string;
11870
11754
  defaultMessage: string;
11871
11755
  } | undefined;
11872
- includeMiddlename?: boolean | undefined;
11873
11756
  searchMode?: boolean | undefined;
11874
- }>>;
11757
+ }>>>;
11875
11758
  }>, "strip", z.ZodTypeAny, {
11876
11759
  type: "NAME";
11877
11760
  id: string;
@@ -11900,14 +11783,25 @@ export declare const ActionFormConfig: z.ZodObject<{
11900
11783
  hideLabel?: boolean | undefined;
11901
11784
  uncorrectable?: boolean | undefined;
11902
11785
  defaultValue?: {
11903
- firstname: string;
11904
- surname: string;
11905
- } | undefined;
11906
- configuration?: {
11786
+ firstname?: string | undefined;
11787
+ surname?: string | undefined;
11788
+ middlename?: string | undefined;
11789
+ } | undefined;
11790
+ configuration?: {
11791
+ name?: {
11792
+ firstname?: {
11793
+ required: boolean;
11794
+ } | undefined;
11795
+ surname?: {
11796
+ required: boolean;
11797
+ } | undefined;
11798
+ middlename?: {
11799
+ required: boolean;
11800
+ } | undefined;
11801
+ } | undefined;
11907
11802
  maxLength?: number | undefined;
11908
11803
  prefix?: TranslationConfig | undefined;
11909
11804
  postfix?: TranslationConfig | undefined;
11910
- includeMiddlename?: boolean | undefined;
11911
11805
  searchMode?: boolean | undefined;
11912
11806
  } | undefined;
11913
11807
  }, {
@@ -11954,10 +11848,22 @@ export declare const ActionFormConfig: z.ZodObject<{
11954
11848
  hideLabel?: boolean | undefined;
11955
11849
  uncorrectable?: boolean | undefined;
11956
11850
  defaultValue?: {
11957
- firstname: string;
11958
- surname: string;
11959
- } | undefined;
11960
- configuration?: {
11851
+ firstname?: string | undefined;
11852
+ surname?: string | undefined;
11853
+ middlename?: string | undefined;
11854
+ } | undefined;
11855
+ configuration?: {
11856
+ name?: {
11857
+ firstname?: {
11858
+ required: boolean;
11859
+ } | undefined;
11860
+ surname?: {
11861
+ required: boolean;
11862
+ } | undefined;
11863
+ middlename?: {
11864
+ required: boolean;
11865
+ } | undefined;
11866
+ } | undefined;
11961
11867
  maxLength?: number | undefined;
11962
11868
  prefix?: {
11963
11869
  id: string;
@@ -11969,7 +11875,6 @@ export declare const ActionFormConfig: z.ZodObject<{
11969
11875
  description: string;
11970
11876
  defaultMessage: string;
11971
11877
  } | undefined;
11972
- includeMiddlename?: boolean | undefined;
11973
11878
  searchMode?: boolean | undefined;
11974
11879
  } | undefined;
11975
11880
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -14005,81 +13910,18 @@ export declare const ActionFormConfig: z.ZodObject<{
14005
13910
  } | undefined;
14006
13911
  hideLabel?: boolean | undefined;
14007
13912
  uncorrectable?: boolean | undefined;
14008
- }>, z.ZodObject<z.objectUtil.extendShape<{
14009
- id: z.ZodString;
14010
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
14011
- id: string;
14012
- description: string;
14013
- defaultMessage: string;
14014
- }>;
14015
- parent: z.ZodOptional<z.ZodObject<{
14016
- $$field: z.ZodString;
14017
- }, "strip", z.ZodTypeAny, {
14018
- $$field: string;
14019
- }, {
14020
- $$field: string;
14021
- }>>;
14022
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
14023
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
14024
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
14025
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
14026
- id: string;
14027
- description: string;
14028
- defaultMessage: string;
14029
- }>>;
14030
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
14031
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
14032
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
14033
- id: string;
14034
- description: string;
14035
- defaultMessage: string;
14036
- }>;
14037
- }, "strip", z.ZodTypeAny, {
14038
- message: TranslationConfig;
14039
- validator: import(".").JSONSchema;
14040
- }, {
14041
- message: {
14042
- id: string;
14043
- description: string;
14044
- defaultMessage: string;
14045
- };
14046
- validator: import(".").JSONSchema;
14047
- }>, "many">>>;
14048
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
14049
- id: string;
14050
- description: string;
14051
- defaultMessage: string;
14052
- }>>;
14053
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
14054
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
14055
- }, {
14056
- type: z.ZodLiteral<"PRINT_BUTTON">;
14057
- configuration: z.ZodObject<{
14058
- template: z.ZodString;
14059
- buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
14060
- id: string;
14061
- description: string;
14062
- defaultMessage: string;
14063
- }>>;
14064
- }, "strip", z.ZodTypeAny, {
14065
- template: string;
14066
- buttonLabel?: TranslationConfig | undefined;
14067
- }, {
14068
- template: string;
14069
- buttonLabel?: {
14070
- id: string;
14071
- description: string;
14072
- defaultMessage: string;
14073
- } | undefined;
14074
- }>;
14075
- }>, "strip", z.ZodTypeAny, {
14076
- type: "PRINT_BUTTON";
13913
+ }>]>, "many">;
13914
+ conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
13915
+ }, {
13916
+ type: z.ZodDefault<z.ZodLiteral<"FORM">>;
13917
+ }>, "strip", z.ZodTypeAny, {
13918
+ type: "FORM";
13919
+ id: string;
13920
+ title: TranslationConfig;
13921
+ fields: ({
13922
+ type: "DIVIDER";
14077
13923
  id: string;
14078
13924
  label: TranslationConfig;
14079
- configuration: {
14080
- template: string;
14081
- buttonLabel?: TranslationConfig | undefined;
14082
- };
14083
13925
  parent?: {
14084
13926
  $$field: string;
14085
13927
  } | undefined;
@@ -14103,94 +13945,8 @@ export declare const ActionFormConfig: z.ZodObject<{
14103
13945
  helperText?: TranslationConfig | undefined;
14104
13946
  hideLabel?: boolean | undefined;
14105
13947
  uncorrectable?: boolean | undefined;
14106
- }, {
14107
- type: "PRINT_BUTTON";
14108
- id: string;
14109
- label: {
14110
- id: string;
14111
- description: string;
14112
- defaultMessage: string;
14113
- };
14114
- configuration: {
14115
- template: string;
14116
- buttonLabel?: {
14117
- id: string;
14118
- description: string;
14119
- defaultMessage: string;
14120
- } | undefined;
14121
- };
14122
- parent?: {
14123
- $$field: string;
14124
- } | undefined;
14125
- validation?: {
14126
- message: {
14127
- id: string;
14128
- description: string;
14129
- defaultMessage: string;
14130
- };
14131
- validator: import(".").JSONSchema;
14132
- }[] | undefined;
14133
- required?: boolean | undefined;
14134
- conditionals?: ({
14135
- type: "SHOW";
14136
- conditional: import(".").JSONSchema;
14137
- } | {
14138
- type: "ENABLE";
14139
- conditional: import(".").JSONSchema;
14140
- } | {
14141
- type: "DISPLAY_ON_REVIEW";
14142
- conditional: import(".").JSONSchema;
14143
- })[] | undefined;
14144
- secured?: boolean | undefined;
14145
- placeholder?: {
14146
- id: string;
14147
- description: string;
14148
- defaultMessage: string;
14149
- } | undefined;
14150
- helperText?: {
14151
- id: string;
14152
- description: string;
14153
- defaultMessage: string;
14154
- } | undefined;
14155
- hideLabel?: boolean | undefined;
14156
- uncorrectable?: boolean | undefined;
14157
- }>]>, "many">;
14158
- conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
14159
- }, {
14160
- type: z.ZodDefault<z.ZodLiteral<"FORM">>;
14161
- }>, "strip", z.ZodTypeAny, {
14162
- type: "FORM";
14163
- id: string;
14164
- title: TranslationConfig;
14165
- fields: ({
14166
- type: "DIVIDER";
14167
- id: string;
14168
- label: TranslationConfig;
14169
- parent?: {
14170
- $$field: string;
14171
- } | undefined;
14172
- validation?: {
14173
- message: TranslationConfig;
14174
- validator: import(".").JSONSchema;
14175
- }[] | undefined;
14176
- required?: boolean | undefined;
14177
- conditionals?: ({
14178
- type: "SHOW";
14179
- conditional: import(".").JSONSchema;
14180
- } | {
14181
- type: "ENABLE";
14182
- conditional: import(".").JSONSchema;
14183
- } | {
14184
- type: "DISPLAY_ON_REVIEW";
14185
- conditional: import(".").JSONSchema;
14186
- })[] | undefined;
14187
- secured?: boolean | undefined;
14188
- placeholder?: TranslationConfig | undefined;
14189
- helperText?: TranslationConfig | undefined;
14190
- hideLabel?: boolean | undefined;
14191
- uncorrectable?: boolean | undefined;
14192
- } | {
14193
- type: "TEXT";
13948
+ } | {
13949
+ type: "TEXT";
14194
13950
  id: string;
14195
13951
  label: TranslationConfig;
14196
13952
  parent?: {
@@ -14717,14 +14473,25 @@ export declare const ActionFormConfig: z.ZodObject<{
14717
14473
  hideLabel?: boolean | undefined;
14718
14474
  uncorrectable?: boolean | undefined;
14719
14475
  defaultValue?: {
14720
- firstname: string;
14721
- surname: string;
14722
- } | undefined;
14723
- configuration?: {
14476
+ firstname?: string | undefined;
14477
+ surname?: string | undefined;
14478
+ middlename?: string | undefined;
14479
+ } | undefined;
14480
+ configuration?: {
14481
+ name?: {
14482
+ firstname?: {
14483
+ required: boolean;
14484
+ } | undefined;
14485
+ surname?: {
14486
+ required: boolean;
14487
+ } | undefined;
14488
+ middlename?: {
14489
+ required: boolean;
14490
+ } | undefined;
14491
+ } | undefined;
14724
14492
  maxLength?: number | undefined;
14725
14493
  prefix?: TranslationConfig | undefined;
14726
14494
  postfix?: TranslationConfig | undefined;
14727
- includeMiddlename?: boolean | undefined;
14728
14495
  searchMode?: boolean | undefined;
14729
14496
  } | undefined;
14730
14497
  } | {
@@ -15096,37 +14863,6 @@ export declare const ActionFormConfig: z.ZodObject<{
15096
14863
  helperText?: TranslationConfig | undefined;
15097
14864
  hideLabel?: boolean | undefined;
15098
14865
  uncorrectable?: boolean | undefined;
15099
- } | {
15100
- type: "PRINT_BUTTON";
15101
- id: string;
15102
- label: TranslationConfig;
15103
- configuration: {
15104
- template: string;
15105
- buttonLabel?: TranslationConfig | undefined;
15106
- };
15107
- parent?: {
15108
- $$field: string;
15109
- } | undefined;
15110
- validation?: {
15111
- message: TranslationConfig;
15112
- validator: import(".").JSONSchema;
15113
- }[] | undefined;
15114
- required?: boolean | undefined;
15115
- conditionals?: ({
15116
- type: "SHOW";
15117
- conditional: import(".").JSONSchema;
15118
- } | {
15119
- type: "ENABLE";
15120
- conditional: import(".").JSONSchema;
15121
- } | {
15122
- type: "DISPLAY_ON_REVIEW";
15123
- conditional: import(".").JSONSchema;
15124
- })[] | undefined;
15125
- secured?: boolean | undefined;
15126
- placeholder?: TranslationConfig | undefined;
15127
- helperText?: TranslationConfig | undefined;
15128
- hideLabel?: boolean | undefined;
15129
- uncorrectable?: boolean | undefined;
15130
14866
  })[];
15131
14867
  conditional?: import(".").JSONSchema | undefined;
15132
14868
  }, {
@@ -16023,10 +15759,22 @@ export declare const ActionFormConfig: z.ZodObject<{
16023
15759
  hideLabel?: boolean | undefined;
16024
15760
  uncorrectable?: boolean | undefined;
16025
15761
  defaultValue?: {
16026
- firstname: string;
16027
- surname: string;
16028
- } | undefined;
16029
- configuration?: {
15762
+ firstname?: string | undefined;
15763
+ surname?: string | undefined;
15764
+ middlename?: string | undefined;
15765
+ } | undefined;
15766
+ configuration?: {
15767
+ name?: {
15768
+ firstname?: {
15769
+ required: boolean;
15770
+ } | undefined;
15771
+ surname?: {
15772
+ required: boolean;
15773
+ } | undefined;
15774
+ middlename?: {
15775
+ required: boolean;
15776
+ } | undefined;
15777
+ } | undefined;
16030
15778
  maxLength?: number | undefined;
16031
15779
  prefix?: {
16032
15780
  id: string;
@@ -16038,7 +15786,6 @@ export declare const ActionFormConfig: z.ZodObject<{
16038
15786
  description: string;
16039
15787
  defaultMessage: string;
16040
15788
  } | undefined;
16041
- includeMiddlename?: boolean | undefined;
16042
15789
  searchMode?: boolean | undefined;
16043
15790
  } | undefined;
16044
15791
  } | {
@@ -16602,57 +16349,6 @@ export declare const ActionFormConfig: z.ZodObject<{
16602
16349
  } | undefined;
16603
16350
  hideLabel?: boolean | undefined;
16604
16351
  uncorrectable?: boolean | undefined;
16605
- } | {
16606
- type: "PRINT_BUTTON";
16607
- id: string;
16608
- label: {
16609
- id: string;
16610
- description: string;
16611
- defaultMessage: string;
16612
- };
16613
- configuration: {
16614
- template: string;
16615
- buttonLabel?: {
16616
- id: string;
16617
- description: string;
16618
- defaultMessage: string;
16619
- } | undefined;
16620
- };
16621
- parent?: {
16622
- $$field: string;
16623
- } | undefined;
16624
- validation?: {
16625
- message: {
16626
- id: string;
16627
- description: string;
16628
- defaultMessage: string;
16629
- };
16630
- validator: import(".").JSONSchema;
16631
- }[] | undefined;
16632
- required?: boolean | undefined;
16633
- conditionals?: ({
16634
- type: "SHOW";
16635
- conditional: import(".").JSONSchema;
16636
- } | {
16637
- type: "ENABLE";
16638
- conditional: import(".").JSONSchema;
16639
- } | {
16640
- type: "DISPLAY_ON_REVIEW";
16641
- conditional: import(".").JSONSchema;
16642
- })[] | undefined;
16643
- secured?: boolean | undefined;
16644
- placeholder?: {
16645
- id: string;
16646
- description: string;
16647
- defaultMessage: string;
16648
- } | undefined;
16649
- helperText?: {
16650
- id: string;
16651
- description: string;
16652
- defaultMessage: string;
16653
- } | undefined;
16654
- hideLabel?: boolean | undefined;
16655
- uncorrectable?: boolean | undefined;
16656
16352
  })[];
16657
16353
  type?: "FORM" | undefined;
16658
16354
  conditional?: import(".").JSONSchema | undefined;
@@ -18894,16 +18590,62 @@ export declare const ActionFormConfig: z.ZodObject<{
18894
18590
  }, {
18895
18591
  type: z.ZodLiteral<"NAME">;
18896
18592
  defaultValue: z.ZodOptional<z.ZodObject<{
18897
- firstname: z.ZodString;
18898
- surname: z.ZodString;
18593
+ firstname: z.ZodOptional<z.ZodString>;
18594
+ middlename: z.ZodOptional<z.ZodString>;
18595
+ surname: z.ZodOptional<z.ZodString>;
18899
18596
  }, "strip", z.ZodTypeAny, {
18900
- firstname: string;
18901
- surname: string;
18597
+ firstname?: string | undefined;
18598
+ surname?: string | undefined;
18599
+ middlename?: string | undefined;
18902
18600
  }, {
18903
- firstname: string;
18904
- surname: string;
18601
+ firstname?: string | undefined;
18602
+ surname?: string | undefined;
18603
+ middlename?: string | undefined;
18905
18604
  }>>;
18906
- configuration: z.ZodOptional<z.ZodObject<{
18605
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
18606
+ name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
18607
+ firstname: z.ZodOptional<z.ZodObject<{
18608
+ required: z.ZodBoolean;
18609
+ }, "strip", z.ZodTypeAny, {
18610
+ required: boolean;
18611
+ }, {
18612
+ required: boolean;
18613
+ }>>;
18614
+ middlename: z.ZodOptional<z.ZodObject<{
18615
+ required: z.ZodBoolean;
18616
+ }, "strip", z.ZodTypeAny, {
18617
+ required: boolean;
18618
+ }, {
18619
+ required: boolean;
18620
+ }>>;
18621
+ surname: z.ZodOptional<z.ZodObject<{
18622
+ required: z.ZodBoolean;
18623
+ }, "strip", z.ZodTypeAny, {
18624
+ required: boolean;
18625
+ }, {
18626
+ required: boolean;
18627
+ }>>;
18628
+ }, "strip", z.ZodTypeAny, {
18629
+ firstname?: {
18630
+ required: boolean;
18631
+ } | undefined;
18632
+ surname?: {
18633
+ required: boolean;
18634
+ } | undefined;
18635
+ middlename?: {
18636
+ required: boolean;
18637
+ } | undefined;
18638
+ }, {
18639
+ firstname?: {
18640
+ required: boolean;
18641
+ } | undefined;
18642
+ surname?: {
18643
+ required: boolean;
18644
+ } | undefined;
18645
+ middlename?: {
18646
+ required: boolean;
18647
+ } | undefined;
18648
+ }>>>;
18907
18649
  maxLength: z.ZodOptional<z.ZodNumber>;
18908
18650
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
18909
18651
  id: string;
@@ -18915,15 +18657,35 @@ export declare const ActionFormConfig: z.ZodObject<{
18915
18657
  description: string;
18916
18658
  defaultMessage: string;
18917
18659
  }>>;
18918
- includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
18919
18660
  searchMode: z.ZodOptional<z.ZodBoolean>;
18920
18661
  }, "strip", z.ZodTypeAny, {
18662
+ name?: {
18663
+ firstname?: {
18664
+ required: boolean;
18665
+ } | undefined;
18666
+ surname?: {
18667
+ required: boolean;
18668
+ } | undefined;
18669
+ middlename?: {
18670
+ required: boolean;
18671
+ } | undefined;
18672
+ } | undefined;
18921
18673
  maxLength?: number | undefined;
18922
18674
  prefix?: TranslationConfig | undefined;
18923
18675
  postfix?: TranslationConfig | undefined;
18924
- includeMiddlename?: boolean | undefined;
18925
18676
  searchMode?: boolean | undefined;
18926
18677
  }, {
18678
+ name?: {
18679
+ firstname?: {
18680
+ required: boolean;
18681
+ } | undefined;
18682
+ surname?: {
18683
+ required: boolean;
18684
+ } | undefined;
18685
+ middlename?: {
18686
+ required: boolean;
18687
+ } | undefined;
18688
+ } | undefined;
18927
18689
  maxLength?: number | undefined;
18928
18690
  prefix?: {
18929
18691
  id: string;
@@ -18935,9 +18697,8 @@ export declare const ActionFormConfig: z.ZodObject<{
18935
18697
  description: string;
18936
18698
  defaultMessage: string;
18937
18699
  } | undefined;
18938
- includeMiddlename?: boolean | undefined;
18939
18700
  searchMode?: boolean | undefined;
18940
- }>>;
18701
+ }>>>;
18941
18702
  }>, "strip", z.ZodTypeAny, {
18942
18703
  type: "NAME";
18943
18704
  id: string;
@@ -18966,14 +18727,25 @@ export declare const ActionFormConfig: z.ZodObject<{
18966
18727
  hideLabel?: boolean | undefined;
18967
18728
  uncorrectable?: boolean | undefined;
18968
18729
  defaultValue?: {
18969
- firstname: string;
18970
- surname: string;
18971
- } | undefined;
18972
- configuration?: {
18730
+ firstname?: string | undefined;
18731
+ surname?: string | undefined;
18732
+ middlename?: string | undefined;
18733
+ } | undefined;
18734
+ configuration?: {
18735
+ name?: {
18736
+ firstname?: {
18737
+ required: boolean;
18738
+ } | undefined;
18739
+ surname?: {
18740
+ required: boolean;
18741
+ } | undefined;
18742
+ middlename?: {
18743
+ required: boolean;
18744
+ } | undefined;
18745
+ } | undefined;
18973
18746
  maxLength?: number | undefined;
18974
18747
  prefix?: TranslationConfig | undefined;
18975
18748
  postfix?: TranslationConfig | undefined;
18976
- includeMiddlename?: boolean | undefined;
18977
18749
  searchMode?: boolean | undefined;
18978
18750
  } | undefined;
18979
18751
  }, {
@@ -19020,10 +18792,22 @@ export declare const ActionFormConfig: z.ZodObject<{
19020
18792
  hideLabel?: boolean | undefined;
19021
18793
  uncorrectable?: boolean | undefined;
19022
18794
  defaultValue?: {
19023
- firstname: string;
19024
- surname: string;
19025
- } | undefined;
19026
- configuration?: {
18795
+ firstname?: string | undefined;
18796
+ surname?: string | undefined;
18797
+ middlename?: string | undefined;
18798
+ } | undefined;
18799
+ configuration?: {
18800
+ name?: {
18801
+ firstname?: {
18802
+ required: boolean;
18803
+ } | undefined;
18804
+ surname?: {
18805
+ required: boolean;
18806
+ } | undefined;
18807
+ middlename?: {
18808
+ required: boolean;
18809
+ } | undefined;
18810
+ } | undefined;
19027
18811
  maxLength?: number | undefined;
19028
18812
  prefix?: {
19029
18813
  id: string;
@@ -19035,7 +18819,6 @@ export declare const ActionFormConfig: z.ZodObject<{
19035
18819
  description: string;
19036
18820
  defaultMessage: string;
19037
18821
  } | undefined;
19038
- includeMiddlename?: boolean | undefined;
19039
18822
  searchMode?: boolean | undefined;
19040
18823
  } | undefined;
19041
18824
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -21071,155 +20854,6 @@ export declare const ActionFormConfig: z.ZodObject<{
21071
20854
  } | undefined;
21072
20855
  hideLabel?: boolean | undefined;
21073
20856
  uncorrectable?: boolean | undefined;
21074
- }>, z.ZodObject<z.objectUtil.extendShape<{
21075
- id: z.ZodString;
21076
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
21077
- id: string;
21078
- description: string;
21079
- defaultMessage: string;
21080
- }>;
21081
- parent: z.ZodOptional<z.ZodObject<{
21082
- $$field: z.ZodString;
21083
- }, "strip", z.ZodTypeAny, {
21084
- $$field: string;
21085
- }, {
21086
- $$field: string;
21087
- }>>;
21088
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
21089
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
21090
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
21091
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
21092
- id: string;
21093
- description: string;
21094
- defaultMessage: string;
21095
- }>>;
21096
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
21097
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
21098
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
21099
- id: string;
21100
- description: string;
21101
- defaultMessage: string;
21102
- }>;
21103
- }, "strip", z.ZodTypeAny, {
21104
- message: TranslationConfig;
21105
- validator: import(".").JSONSchema;
21106
- }, {
21107
- message: {
21108
- id: string;
21109
- description: string;
21110
- defaultMessage: string;
21111
- };
21112
- validator: import(".").JSONSchema;
21113
- }>, "many">>>;
21114
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
21115
- id: string;
21116
- description: string;
21117
- defaultMessage: string;
21118
- }>>;
21119
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
21120
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
21121
- }, {
21122
- type: z.ZodLiteral<"PRINT_BUTTON">;
21123
- configuration: z.ZodObject<{
21124
- template: z.ZodString;
21125
- buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
21126
- id: string;
21127
- description: string;
21128
- defaultMessage: string;
21129
- }>>;
21130
- }, "strip", z.ZodTypeAny, {
21131
- template: string;
21132
- buttonLabel?: TranslationConfig | undefined;
21133
- }, {
21134
- template: string;
21135
- buttonLabel?: {
21136
- id: string;
21137
- description: string;
21138
- defaultMessage: string;
21139
- } | undefined;
21140
- }>;
21141
- }>, "strip", z.ZodTypeAny, {
21142
- type: "PRINT_BUTTON";
21143
- id: string;
21144
- label: TranslationConfig;
21145
- configuration: {
21146
- template: string;
21147
- buttonLabel?: TranslationConfig | undefined;
21148
- };
21149
- parent?: {
21150
- $$field: string;
21151
- } | undefined;
21152
- validation?: {
21153
- message: TranslationConfig;
21154
- validator: import(".").JSONSchema;
21155
- }[] | undefined;
21156
- required?: boolean | undefined;
21157
- conditionals?: ({
21158
- type: "SHOW";
21159
- conditional: import(".").JSONSchema;
21160
- } | {
21161
- type: "ENABLE";
21162
- conditional: import(".").JSONSchema;
21163
- } | {
21164
- type: "DISPLAY_ON_REVIEW";
21165
- conditional: import(".").JSONSchema;
21166
- })[] | undefined;
21167
- secured?: boolean | undefined;
21168
- placeholder?: TranslationConfig | undefined;
21169
- helperText?: TranslationConfig | undefined;
21170
- hideLabel?: boolean | undefined;
21171
- uncorrectable?: boolean | undefined;
21172
- }, {
21173
- type: "PRINT_BUTTON";
21174
- id: string;
21175
- label: {
21176
- id: string;
21177
- description: string;
21178
- defaultMessage: string;
21179
- };
21180
- configuration: {
21181
- template: string;
21182
- buttonLabel?: {
21183
- id: string;
21184
- description: string;
21185
- defaultMessage: string;
21186
- } | undefined;
21187
- };
21188
- parent?: {
21189
- $$field: string;
21190
- } | undefined;
21191
- validation?: {
21192
- message: {
21193
- id: string;
21194
- description: string;
21195
- defaultMessage: string;
21196
- };
21197
- validator: import(".").JSONSchema;
21198
- }[] | undefined;
21199
- required?: boolean | undefined;
21200
- conditionals?: ({
21201
- type: "SHOW";
21202
- conditional: import(".").JSONSchema;
21203
- } | {
21204
- type: "ENABLE";
21205
- conditional: import(".").JSONSchema;
21206
- } | {
21207
- type: "DISPLAY_ON_REVIEW";
21208
- conditional: import(".").JSONSchema;
21209
- })[] | undefined;
21210
- secured?: boolean | undefined;
21211
- placeholder?: {
21212
- id: string;
21213
- description: string;
21214
- defaultMessage: string;
21215
- } | undefined;
21216
- helperText?: {
21217
- id: string;
21218
- description: string;
21219
- defaultMessage: string;
21220
- } | undefined;
21221
- hideLabel?: boolean | undefined;
21222
- uncorrectable?: boolean | undefined;
21223
20857
  }>]>, "many">;
21224
20858
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
21225
20859
  }, {
@@ -21909,14 +21543,25 @@ export declare const ActionFormConfig: z.ZodObject<{
21909
21543
  hideLabel?: boolean | undefined;
21910
21544
  uncorrectable?: boolean | undefined;
21911
21545
  defaultValue?: {
21912
- firstname: string;
21913
- surname: string;
21914
- } | undefined;
21915
- configuration?: {
21546
+ firstname?: string | undefined;
21547
+ surname?: string | undefined;
21548
+ middlename?: string | undefined;
21549
+ } | undefined;
21550
+ configuration?: {
21551
+ name?: {
21552
+ firstname?: {
21553
+ required: boolean;
21554
+ } | undefined;
21555
+ surname?: {
21556
+ required: boolean;
21557
+ } | undefined;
21558
+ middlename?: {
21559
+ required: boolean;
21560
+ } | undefined;
21561
+ } | undefined;
21916
21562
  maxLength?: number | undefined;
21917
21563
  prefix?: TranslationConfig | undefined;
21918
21564
  postfix?: TranslationConfig | undefined;
21919
- includeMiddlename?: boolean | undefined;
21920
21565
  searchMode?: boolean | undefined;
21921
21566
  } | undefined;
21922
21567
  } | {
@@ -22288,37 +21933,6 @@ export declare const ActionFormConfig: z.ZodObject<{
22288
21933
  helperText?: TranslationConfig | undefined;
22289
21934
  hideLabel?: boolean | undefined;
22290
21935
  uncorrectable?: boolean | undefined;
22291
- } | {
22292
- type: "PRINT_BUTTON";
22293
- id: string;
22294
- label: TranslationConfig;
22295
- configuration: {
22296
- template: string;
22297
- buttonLabel?: TranslationConfig | undefined;
22298
- };
22299
- parent?: {
22300
- $$field: string;
22301
- } | undefined;
22302
- validation?: {
22303
- message: TranslationConfig;
22304
- validator: import(".").JSONSchema;
22305
- }[] | undefined;
22306
- required?: boolean | undefined;
22307
- conditionals?: ({
22308
- type: "SHOW";
22309
- conditional: import(".").JSONSchema;
22310
- } | {
22311
- type: "ENABLE";
22312
- conditional: import(".").JSONSchema;
22313
- } | {
22314
- type: "DISPLAY_ON_REVIEW";
22315
- conditional: import(".").JSONSchema;
22316
- })[] | undefined;
22317
- secured?: boolean | undefined;
22318
- placeholder?: TranslationConfig | undefined;
22319
- helperText?: TranslationConfig | undefined;
22320
- hideLabel?: boolean | undefined;
22321
- uncorrectable?: boolean | undefined;
22322
21936
  })[];
22323
21937
  conditional?: import(".").JSONSchema | undefined;
22324
21938
  }, {
@@ -23244,10 +22858,22 @@ export declare const ActionFormConfig: z.ZodObject<{
23244
22858
  hideLabel?: boolean | undefined;
23245
22859
  uncorrectable?: boolean | undefined;
23246
22860
  defaultValue?: {
23247
- firstname: string;
23248
- surname: string;
23249
- } | undefined;
23250
- configuration?: {
22861
+ firstname?: string | undefined;
22862
+ surname?: string | undefined;
22863
+ middlename?: string | undefined;
22864
+ } | undefined;
22865
+ configuration?: {
22866
+ name?: {
22867
+ firstname?: {
22868
+ required: boolean;
22869
+ } | undefined;
22870
+ surname?: {
22871
+ required: boolean;
22872
+ } | undefined;
22873
+ middlename?: {
22874
+ required: boolean;
22875
+ } | undefined;
22876
+ } | undefined;
23251
22877
  maxLength?: number | undefined;
23252
22878
  prefix?: {
23253
22879
  id: string;
@@ -23259,7 +22885,6 @@ export declare const ActionFormConfig: z.ZodObject<{
23259
22885
  description: string;
23260
22886
  defaultMessage: string;
23261
22887
  } | undefined;
23262
- includeMiddlename?: boolean | undefined;
23263
22888
  searchMode?: boolean | undefined;
23264
22889
  } | undefined;
23265
22890
  } | {
@@ -23823,57 +23448,6 @@ export declare const ActionFormConfig: z.ZodObject<{
23823
23448
  } | undefined;
23824
23449
  hideLabel?: boolean | undefined;
23825
23450
  uncorrectable?: boolean | undefined;
23826
- } | {
23827
- type: "PRINT_BUTTON";
23828
- id: string;
23829
- label: {
23830
- id: string;
23831
- description: string;
23832
- defaultMessage: string;
23833
- };
23834
- configuration: {
23835
- template: string;
23836
- buttonLabel?: {
23837
- id: string;
23838
- description: string;
23839
- defaultMessage: string;
23840
- } | undefined;
23841
- };
23842
- parent?: {
23843
- $$field: string;
23844
- } | undefined;
23845
- validation?: {
23846
- message: {
23847
- id: string;
23848
- description: string;
23849
- defaultMessage: string;
23850
- };
23851
- validator: import(".").JSONSchema;
23852
- }[] | undefined;
23853
- required?: boolean | undefined;
23854
- conditionals?: ({
23855
- type: "SHOW";
23856
- conditional: import(".").JSONSchema;
23857
- } | {
23858
- type: "ENABLE";
23859
- conditional: import(".").JSONSchema;
23860
- } | {
23861
- type: "DISPLAY_ON_REVIEW";
23862
- conditional: import(".").JSONSchema;
23863
- })[] | undefined;
23864
- secured?: boolean | undefined;
23865
- placeholder?: {
23866
- id: string;
23867
- description: string;
23868
- defaultMessage: string;
23869
- } | undefined;
23870
- helperText?: {
23871
- id: string;
23872
- description: string;
23873
- defaultMessage: string;
23874
- } | undefined;
23875
- hideLabel?: boolean | undefined;
23876
- uncorrectable?: boolean | undefined;
23877
23451
  })[];
23878
23452
  conditional?: import(".").JSONSchema | undefined;
23879
23453
  }>)[]>, "many">;
@@ -24438,14 +24012,25 @@ export declare const ActionFormConfig: z.ZodObject<{
24438
24012
  hideLabel?: boolean | undefined;
24439
24013
  uncorrectable?: boolean | undefined;
24440
24014
  defaultValue?: {
24441
- firstname: string;
24442
- surname: string;
24443
- } | undefined;
24444
- configuration?: {
24015
+ firstname?: string | undefined;
24016
+ surname?: string | undefined;
24017
+ middlename?: string | undefined;
24018
+ } | undefined;
24019
+ configuration?: {
24020
+ name?: {
24021
+ firstname?: {
24022
+ required: boolean;
24023
+ } | undefined;
24024
+ surname?: {
24025
+ required: boolean;
24026
+ } | undefined;
24027
+ middlename?: {
24028
+ required: boolean;
24029
+ } | undefined;
24030
+ } | undefined;
24445
24031
  maxLength?: number | undefined;
24446
24032
  prefix?: TranslationConfig | undefined;
24447
24033
  postfix?: TranslationConfig | undefined;
24448
- includeMiddlename?: boolean | undefined;
24449
24034
  searchMode?: boolean | undefined;
24450
24035
  } | undefined;
24451
24036
  } | {
@@ -24817,37 +24402,6 @@ export declare const ActionFormConfig: z.ZodObject<{
24817
24402
  helperText?: TranslationConfig | undefined;
24818
24403
  hideLabel?: boolean | undefined;
24819
24404
  uncorrectable?: boolean | undefined;
24820
- } | {
24821
- type: "PRINT_BUTTON";
24822
- id: string;
24823
- label: TranslationConfig;
24824
- configuration: {
24825
- template: string;
24826
- buttonLabel?: TranslationConfig | undefined;
24827
- };
24828
- parent?: {
24829
- $$field: string;
24830
- } | undefined;
24831
- validation?: {
24832
- message: TranslationConfig;
24833
- validator: import(".").JSONSchema;
24834
- }[] | undefined;
24835
- required?: boolean | undefined;
24836
- conditionals?: ({
24837
- type: "SHOW";
24838
- conditional: import(".").JSONSchema;
24839
- } | {
24840
- type: "ENABLE";
24841
- conditional: import(".").JSONSchema;
24842
- } | {
24843
- type: "DISPLAY_ON_REVIEW";
24844
- conditional: import(".").JSONSchema;
24845
- })[] | undefined;
24846
- secured?: boolean | undefined;
24847
- placeholder?: TranslationConfig | undefined;
24848
- helperText?: TranslationConfig | undefined;
24849
- hideLabel?: boolean | undefined;
24850
- uncorrectable?: boolean | undefined;
24851
24405
  })[];
24852
24406
  conditional?: import(".").JSONSchema | undefined;
24853
24407
  } | {
@@ -25421,14 +24975,25 @@ export declare const ActionFormConfig: z.ZodObject<{
25421
24975
  hideLabel?: boolean | undefined;
25422
24976
  uncorrectable?: boolean | undefined;
25423
24977
  defaultValue?: {
25424
- firstname: string;
25425
- surname: string;
25426
- } | undefined;
25427
- configuration?: {
24978
+ firstname?: string | undefined;
24979
+ surname?: string | undefined;
24980
+ middlename?: string | undefined;
24981
+ } | undefined;
24982
+ configuration?: {
24983
+ name?: {
24984
+ firstname?: {
24985
+ required: boolean;
24986
+ } | undefined;
24987
+ surname?: {
24988
+ required: boolean;
24989
+ } | undefined;
24990
+ middlename?: {
24991
+ required: boolean;
24992
+ } | undefined;
24993
+ } | undefined;
25428
24994
  maxLength?: number | undefined;
25429
24995
  prefix?: TranslationConfig | undefined;
25430
24996
  postfix?: TranslationConfig | undefined;
25431
- includeMiddlename?: boolean | undefined;
25432
24997
  searchMode?: boolean | undefined;
25433
24998
  } | undefined;
25434
24999
  } | {
@@ -25800,37 +25365,6 @@ export declare const ActionFormConfig: z.ZodObject<{
25800
25365
  helperText?: TranslationConfig | undefined;
25801
25366
  hideLabel?: boolean | undefined;
25802
25367
  uncorrectable?: boolean | undefined;
25803
- } | {
25804
- type: "PRINT_BUTTON";
25805
- id: string;
25806
- label: TranslationConfig;
25807
- configuration: {
25808
- template: string;
25809
- buttonLabel?: TranslationConfig | undefined;
25810
- };
25811
- parent?: {
25812
- $$field: string;
25813
- } | undefined;
25814
- validation?: {
25815
- message: TranslationConfig;
25816
- validator: import(".").JSONSchema;
25817
- }[] | undefined;
25818
- required?: boolean | undefined;
25819
- conditionals?: ({
25820
- type: "SHOW";
25821
- conditional: import(".").JSONSchema;
25822
- } | {
25823
- type: "ENABLE";
25824
- conditional: import(".").JSONSchema;
25825
- } | {
25826
- type: "DISPLAY_ON_REVIEW";
25827
- conditional: import(".").JSONSchema;
25828
- })[] | undefined;
25829
- secured?: boolean | undefined;
25830
- placeholder?: TranslationConfig | undefined;
25831
- helperText?: TranslationConfig | undefined;
25832
- hideLabel?: boolean | undefined;
25833
- uncorrectable?: boolean | undefined;
25834
25368
  })[];
25835
25369
  conditional?: import(".").JSONSchema | undefined;
25836
25370
  })[];
@@ -26734,10 +26268,22 @@ export declare const ActionFormConfig: z.ZodObject<{
26734
26268
  hideLabel?: boolean | undefined;
26735
26269
  uncorrectable?: boolean | undefined;
26736
26270
  defaultValue?: {
26737
- firstname: string;
26738
- surname: string;
26739
- } | undefined;
26740
- configuration?: {
26271
+ firstname?: string | undefined;
26272
+ surname?: string | undefined;
26273
+ middlename?: string | undefined;
26274
+ } | undefined;
26275
+ configuration?: {
26276
+ name?: {
26277
+ firstname?: {
26278
+ required: boolean;
26279
+ } | undefined;
26280
+ surname?: {
26281
+ required: boolean;
26282
+ } | undefined;
26283
+ middlename?: {
26284
+ required: boolean;
26285
+ } | undefined;
26286
+ } | undefined;
26741
26287
  maxLength?: number | undefined;
26742
26288
  prefix?: {
26743
26289
  id: string;
@@ -26749,7 +26295,6 @@ export declare const ActionFormConfig: z.ZodObject<{
26749
26295
  description: string;
26750
26296
  defaultMessage: string;
26751
26297
  } | undefined;
26752
- includeMiddlename?: boolean | undefined;
26753
26298
  searchMode?: boolean | undefined;
26754
26299
  } | undefined;
26755
26300
  } | {
@@ -27313,57 +26858,6 @@ export declare const ActionFormConfig: z.ZodObject<{
27313
26858
  } | undefined;
27314
26859
  hideLabel?: boolean | undefined;
27315
26860
  uncorrectable?: boolean | undefined;
27316
- } | {
27317
- type: "PRINT_BUTTON";
27318
- id: string;
27319
- label: {
27320
- id: string;
27321
- description: string;
27322
- defaultMessage: string;
27323
- };
27324
- configuration: {
27325
- template: string;
27326
- buttonLabel?: {
27327
- id: string;
27328
- description: string;
27329
- defaultMessage: string;
27330
- } | undefined;
27331
- };
27332
- parent?: {
27333
- $$field: string;
27334
- } | undefined;
27335
- validation?: {
27336
- message: {
27337
- id: string;
27338
- description: string;
27339
- defaultMessage: string;
27340
- };
27341
- validator: import(".").JSONSchema;
27342
- }[] | undefined;
27343
- required?: boolean | undefined;
27344
- conditionals?: ({
27345
- type: "SHOW";
27346
- conditional: import(".").JSONSchema;
27347
- } | {
27348
- type: "ENABLE";
27349
- conditional: import(".").JSONSchema;
27350
- } | {
27351
- type: "DISPLAY_ON_REVIEW";
27352
- conditional: import(".").JSONSchema;
27353
- })[] | undefined;
27354
- secured?: boolean | undefined;
27355
- placeholder?: {
27356
- id: string;
27357
- description: string;
27358
- defaultMessage: string;
27359
- } | undefined;
27360
- helperText?: {
27361
- id: string;
27362
- description: string;
27363
- defaultMessage: string;
27364
- } | undefined;
27365
- hideLabel?: boolean | undefined;
27366
- uncorrectable?: boolean | undefined;
27367
26861
  })[];
27368
26862
  type?: "FORM" | undefined;
27369
26863
  conditional?: import(".").JSONSchema | undefined;
@@ -28290,10 +27784,22 @@ export declare const ActionFormConfig: z.ZodObject<{
28290
27784
  hideLabel?: boolean | undefined;
28291
27785
  uncorrectable?: boolean | undefined;
28292
27786
  defaultValue?: {
28293
- firstname: string;
28294
- surname: string;
28295
- } | undefined;
28296
- configuration?: {
27787
+ firstname?: string | undefined;
27788
+ surname?: string | undefined;
27789
+ middlename?: string | undefined;
27790
+ } | undefined;
27791
+ configuration?: {
27792
+ name?: {
27793
+ firstname?: {
27794
+ required: boolean;
27795
+ } | undefined;
27796
+ surname?: {
27797
+ required: boolean;
27798
+ } | undefined;
27799
+ middlename?: {
27800
+ required: boolean;
27801
+ } | undefined;
27802
+ } | undefined;
28297
27803
  maxLength?: number | undefined;
28298
27804
  prefix?: {
28299
27805
  id: string;
@@ -28305,7 +27811,6 @@ export declare const ActionFormConfig: z.ZodObject<{
28305
27811
  description: string;
28306
27812
  defaultMessage: string;
28307
27813
  } | undefined;
28308
- includeMiddlename?: boolean | undefined;
28309
27814
  searchMode?: boolean | undefined;
28310
27815
  } | undefined;
28311
27816
  } | {
@@ -28869,57 +28374,6 @@ export declare const ActionFormConfig: z.ZodObject<{
28869
28374
  } | undefined;
28870
28375
  hideLabel?: boolean | undefined;
28871
28376
  uncorrectable?: boolean | undefined;
28872
- } | {
28873
- type: "PRINT_BUTTON";
28874
- id: string;
28875
- label: {
28876
- id: string;
28877
- description: string;
28878
- defaultMessage: string;
28879
- };
28880
- configuration: {
28881
- template: string;
28882
- buttonLabel?: {
28883
- id: string;
28884
- description: string;
28885
- defaultMessage: string;
28886
- } | undefined;
28887
- };
28888
- parent?: {
28889
- $$field: string;
28890
- } | undefined;
28891
- validation?: {
28892
- message: {
28893
- id: string;
28894
- description: string;
28895
- defaultMessage: string;
28896
- };
28897
- validator: import(".").JSONSchema;
28898
- }[] | undefined;
28899
- required?: boolean | undefined;
28900
- conditionals?: ({
28901
- type: "SHOW";
28902
- conditional: import(".").JSONSchema;
28903
- } | {
28904
- type: "ENABLE";
28905
- conditional: import(".").JSONSchema;
28906
- } | {
28907
- type: "DISPLAY_ON_REVIEW";
28908
- conditional: import(".").JSONSchema;
28909
- })[] | undefined;
28910
- secured?: boolean | undefined;
28911
- placeholder?: {
28912
- id: string;
28913
- description: string;
28914
- defaultMessage: string;
28915
- } | undefined;
28916
- helperText?: {
28917
- id: string;
28918
- description: string;
28919
- defaultMessage: string;
28920
- } | undefined;
28921
- hideLabel?: boolean | undefined;
28922
- uncorrectable?: boolean | undefined;
28923
28377
  })[];
28924
28378
  conditional?: import(".").JSONSchema | undefined;
28925
28379
  })[];
@@ -31170,16 +30624,62 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
31170
30624
  }, {
31171
30625
  type: z.ZodLiteral<"NAME">;
31172
30626
  defaultValue: z.ZodOptional<z.ZodObject<{
31173
- firstname: z.ZodString;
31174
- surname: z.ZodString;
30627
+ firstname: z.ZodOptional<z.ZodString>;
30628
+ middlename: z.ZodOptional<z.ZodString>;
30629
+ surname: z.ZodOptional<z.ZodString>;
31175
30630
  }, "strip", z.ZodTypeAny, {
31176
- firstname: string;
31177
- surname: string;
30631
+ firstname?: string | undefined;
30632
+ surname?: string | undefined;
30633
+ middlename?: string | undefined;
31178
30634
  }, {
31179
- firstname: string;
31180
- surname: string;
30635
+ firstname?: string | undefined;
30636
+ surname?: string | undefined;
30637
+ middlename?: string | undefined;
31181
30638
  }>>;
31182
- configuration: z.ZodOptional<z.ZodObject<{
30639
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
30640
+ name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
30641
+ firstname: z.ZodOptional<z.ZodObject<{
30642
+ required: z.ZodBoolean;
30643
+ }, "strip", z.ZodTypeAny, {
30644
+ required: boolean;
30645
+ }, {
30646
+ required: boolean;
30647
+ }>>;
30648
+ middlename: z.ZodOptional<z.ZodObject<{
30649
+ required: z.ZodBoolean;
30650
+ }, "strip", z.ZodTypeAny, {
30651
+ required: boolean;
30652
+ }, {
30653
+ required: boolean;
30654
+ }>>;
30655
+ surname: z.ZodOptional<z.ZodObject<{
30656
+ required: z.ZodBoolean;
30657
+ }, "strip", z.ZodTypeAny, {
30658
+ required: boolean;
30659
+ }, {
30660
+ required: boolean;
30661
+ }>>;
30662
+ }, "strip", z.ZodTypeAny, {
30663
+ firstname?: {
30664
+ required: boolean;
30665
+ } | undefined;
30666
+ surname?: {
30667
+ required: boolean;
30668
+ } | undefined;
30669
+ middlename?: {
30670
+ required: boolean;
30671
+ } | undefined;
30672
+ }, {
30673
+ firstname?: {
30674
+ required: boolean;
30675
+ } | undefined;
30676
+ surname?: {
30677
+ required: boolean;
30678
+ } | undefined;
30679
+ middlename?: {
30680
+ required: boolean;
30681
+ } | undefined;
30682
+ }>>>;
31183
30683
  maxLength: z.ZodOptional<z.ZodNumber>;
31184
30684
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
31185
30685
  id: string;
@@ -31191,15 +30691,35 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
31191
30691
  description: string;
31192
30692
  defaultMessage: string;
31193
30693
  }>>;
31194
- includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
31195
30694
  searchMode: z.ZodOptional<z.ZodBoolean>;
31196
30695
  }, "strip", z.ZodTypeAny, {
30696
+ name?: {
30697
+ firstname?: {
30698
+ required: boolean;
30699
+ } | undefined;
30700
+ surname?: {
30701
+ required: boolean;
30702
+ } | undefined;
30703
+ middlename?: {
30704
+ required: boolean;
30705
+ } | undefined;
30706
+ } | undefined;
31197
30707
  maxLength?: number | undefined;
31198
30708
  prefix?: TranslationConfig | undefined;
31199
30709
  postfix?: TranslationConfig | undefined;
31200
- includeMiddlename?: boolean | undefined;
31201
30710
  searchMode?: boolean | undefined;
31202
30711
  }, {
30712
+ name?: {
30713
+ firstname?: {
30714
+ required: boolean;
30715
+ } | undefined;
30716
+ surname?: {
30717
+ required: boolean;
30718
+ } | undefined;
30719
+ middlename?: {
30720
+ required: boolean;
30721
+ } | undefined;
30722
+ } | undefined;
31203
30723
  maxLength?: number | undefined;
31204
30724
  prefix?: {
31205
30725
  id: string;
@@ -31211,9 +30731,8 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
31211
30731
  description: string;
31212
30732
  defaultMessage: string;
31213
30733
  } | undefined;
31214
- includeMiddlename?: boolean | undefined;
31215
30734
  searchMode?: boolean | undefined;
31216
- }>>;
30735
+ }>>>;
31217
30736
  }>, "strip", z.ZodTypeAny, {
31218
30737
  type: "NAME";
31219
30738
  id: string;
@@ -31242,14 +30761,25 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
31242
30761
  hideLabel?: boolean | undefined;
31243
30762
  uncorrectable?: boolean | undefined;
31244
30763
  defaultValue?: {
31245
- firstname: string;
31246
- surname: string;
31247
- } | undefined;
31248
- configuration?: {
30764
+ firstname?: string | undefined;
30765
+ surname?: string | undefined;
30766
+ middlename?: string | undefined;
30767
+ } | undefined;
30768
+ configuration?: {
30769
+ name?: {
30770
+ firstname?: {
30771
+ required: boolean;
30772
+ } | undefined;
30773
+ surname?: {
30774
+ required: boolean;
30775
+ } | undefined;
30776
+ middlename?: {
30777
+ required: boolean;
30778
+ } | undefined;
30779
+ } | undefined;
31249
30780
  maxLength?: number | undefined;
31250
30781
  prefix?: TranslationConfig | undefined;
31251
30782
  postfix?: TranslationConfig | undefined;
31252
- includeMiddlename?: boolean | undefined;
31253
30783
  searchMode?: boolean | undefined;
31254
30784
  } | undefined;
31255
30785
  }, {
@@ -31296,10 +30826,22 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
31296
30826
  hideLabel?: boolean | undefined;
31297
30827
  uncorrectable?: boolean | undefined;
31298
30828
  defaultValue?: {
31299
- firstname: string;
31300
- surname: string;
31301
- } | undefined;
31302
- configuration?: {
30829
+ firstname?: string | undefined;
30830
+ surname?: string | undefined;
30831
+ middlename?: string | undefined;
30832
+ } | undefined;
30833
+ configuration?: {
30834
+ name?: {
30835
+ firstname?: {
30836
+ required: boolean;
30837
+ } | undefined;
30838
+ surname?: {
30839
+ required: boolean;
30840
+ } | undefined;
30841
+ middlename?: {
30842
+ required: boolean;
30843
+ } | undefined;
30844
+ } | undefined;
31303
30845
  maxLength?: number | undefined;
31304
30846
  prefix?: {
31305
30847
  id: string;
@@ -31311,7 +30853,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
31311
30853
  description: string;
31312
30854
  defaultMessage: string;
31313
30855
  } | undefined;
31314
- includeMiddlename?: boolean | undefined;
31315
30856
  searchMode?: boolean | undefined;
31316
30857
  } | undefined;
31317
30858
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -33347,81 +32888,45 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33347
32888
  } | undefined;
33348
32889
  hideLabel?: boolean | undefined;
33349
32890
  uncorrectable?: boolean | undefined;
33350
- }>, z.ZodObject<z.objectUtil.extendShape<{
33351
- id: z.ZodString;
33352
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
33353
- id: string;
33354
- description: string;
33355
- defaultMessage: string;
33356
- }>;
33357
- parent: z.ZodOptional<z.ZodObject<{
33358
- $$field: z.ZodString;
33359
- }, "strip", z.ZodTypeAny, {
33360
- $$field: string;
33361
- }, {
32891
+ }>]>, "many">;
32892
+ conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
32893
+ }, {
32894
+ type: z.ZodDefault<z.ZodLiteral<"FORM">>;
32895
+ }>, "strip", z.ZodTypeAny, {
32896
+ type: "FORM";
32897
+ id: string;
32898
+ title: TranslationConfig;
32899
+ fields: ({
32900
+ type: "DIVIDER";
32901
+ id: string;
32902
+ label: TranslationConfig;
32903
+ parent?: {
33362
32904
  $$field: string;
33363
- }>>;
33364
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
33365
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
33366
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
33367
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
33368
- id: string;
33369
- description: string;
33370
- defaultMessage: string;
33371
- }>>;
33372
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
33373
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
33374
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
33375
- id: string;
33376
- description: string;
33377
- defaultMessage: string;
33378
- }>;
33379
- }, "strip", z.ZodTypeAny, {
32905
+ } | undefined;
32906
+ validation?: {
33380
32907
  message: TranslationConfig;
33381
32908
  validator: import(".").JSONSchema;
33382
- }, {
33383
- message: {
33384
- id: string;
33385
- description: string;
33386
- defaultMessage: string;
33387
- };
33388
- validator: import(".").JSONSchema;
33389
- }>, "many">>>;
33390
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
33391
- id: string;
33392
- description: string;
33393
- defaultMessage: string;
33394
- }>>;
33395
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
33396
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
33397
- }, {
33398
- type: z.ZodLiteral<"PRINT_BUTTON">;
33399
- configuration: z.ZodObject<{
33400
- template: z.ZodString;
33401
- buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
33402
- id: string;
33403
- description: string;
33404
- defaultMessage: string;
33405
- }>>;
33406
- }, "strip", z.ZodTypeAny, {
33407
- template: string;
33408
- buttonLabel?: TranslationConfig | undefined;
33409
- }, {
33410
- template: string;
33411
- buttonLabel?: {
33412
- id: string;
33413
- description: string;
33414
- defaultMessage: string;
33415
- } | undefined;
33416
- }>;
33417
- }>, "strip", z.ZodTypeAny, {
33418
- type: "PRINT_BUTTON";
32909
+ }[] | undefined;
32910
+ required?: boolean | undefined;
32911
+ conditionals?: ({
32912
+ type: "SHOW";
32913
+ conditional: import(".").JSONSchema;
32914
+ } | {
32915
+ type: "ENABLE";
32916
+ conditional: import(".").JSONSchema;
32917
+ } | {
32918
+ type: "DISPLAY_ON_REVIEW";
32919
+ conditional: import(".").JSONSchema;
32920
+ })[] | undefined;
32921
+ secured?: boolean | undefined;
32922
+ placeholder?: TranslationConfig | undefined;
32923
+ helperText?: TranslationConfig | undefined;
32924
+ hideLabel?: boolean | undefined;
32925
+ uncorrectable?: boolean | undefined;
32926
+ } | {
32927
+ type: "TEXT";
33419
32928
  id: string;
33420
32929
  label: TranslationConfig;
33421
- configuration: {
33422
- template: string;
33423
- buttonLabel?: TranslationConfig | undefined;
33424
- };
33425
32930
  parent?: {
33426
32931
  $$field: string;
33427
32932
  } | undefined;
@@ -33445,31 +32950,22 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33445
32950
  helperText?: TranslationConfig | undefined;
33446
32951
  hideLabel?: boolean | undefined;
33447
32952
  uncorrectable?: boolean | undefined;
33448
- }, {
33449
- type: "PRINT_BUTTON";
32953
+ defaultValue?: string | undefined;
32954
+ configuration?: {
32955
+ type?: "text" | "password" | undefined;
32956
+ maxLength?: number | undefined;
32957
+ prefix?: TranslationConfig | undefined;
32958
+ postfix?: TranslationConfig | undefined;
32959
+ } | undefined;
32960
+ } | {
32961
+ type: "NUMBER";
33450
32962
  id: string;
33451
- label: {
33452
- id: string;
33453
- description: string;
33454
- defaultMessage: string;
33455
- };
33456
- configuration: {
33457
- template: string;
33458
- buttonLabel?: {
33459
- id: string;
33460
- description: string;
33461
- defaultMessage: string;
33462
- } | undefined;
33463
- };
32963
+ label: TranslationConfig;
33464
32964
  parent?: {
33465
32965
  $$field: string;
33466
32966
  } | undefined;
33467
32967
  validation?: {
33468
- message: {
33469
- id: string;
33470
- description: string;
33471
- defaultMessage: string;
33472
- };
32968
+ message: TranslationConfig;
33473
32969
  validator: import(".").JSONSchema;
33474
32970
  }[] | undefined;
33475
32971
  required?: boolean | undefined;
@@ -33484,30 +32980,61 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33484
32980
  conditional: import(".").JSONSchema;
33485
32981
  })[] | undefined;
33486
32982
  secured?: boolean | undefined;
33487
- placeholder?: {
33488
- id: string;
33489
- description: string;
33490
- defaultMessage: string;
32983
+ placeholder?: TranslationConfig | undefined;
32984
+ helperText?: TranslationConfig | undefined;
32985
+ hideLabel?: boolean | undefined;
32986
+ uncorrectable?: boolean | undefined;
32987
+ defaultValue?: number | undefined;
32988
+ configuration?: {
32989
+ prefix?: TranslationConfig | undefined;
32990
+ postfix?: TranslationConfig | undefined;
32991
+ min?: number | undefined;
32992
+ max?: number | undefined;
33491
32993
  } | undefined;
33492
- helperText?: {
33493
- id: string;
33494
- description: string;
33495
- defaultMessage: string;
32994
+ } | {
32995
+ type: "TEXTAREA";
32996
+ id: string;
32997
+ label: TranslationConfig;
32998
+ parent?: {
32999
+ $$field: string;
33496
33000
  } | undefined;
33001
+ validation?: {
33002
+ message: TranslationConfig;
33003
+ validator: import(".").JSONSchema;
33004
+ }[] | undefined;
33005
+ required?: boolean | undefined;
33006
+ conditionals?: ({
33007
+ type: "SHOW";
33008
+ conditional: import(".").JSONSchema;
33009
+ } | {
33010
+ type: "ENABLE";
33011
+ conditional: import(".").JSONSchema;
33012
+ } | {
33013
+ type: "DISPLAY_ON_REVIEW";
33014
+ conditional: import(".").JSONSchema;
33015
+ })[] | undefined;
33016
+ secured?: boolean | undefined;
33017
+ placeholder?: TranslationConfig | undefined;
33018
+ helperText?: TranslationConfig | undefined;
33497
33019
  hideLabel?: boolean | undefined;
33498
33020
  uncorrectable?: boolean | undefined;
33499
- }>]>, "many">;
33500
- conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
33501
- }, {
33502
- type: z.ZodDefault<z.ZodLiteral<"FORM">>;
33503
- }>, "strip", z.ZodTypeAny, {
33504
- type: "FORM";
33505
- id: string;
33506
- title: TranslationConfig;
33507
- fields: ({
33508
- type: "DIVIDER";
33021
+ defaultValue?: string | undefined;
33022
+ configuration?: {
33023
+ maxLength?: number | undefined;
33024
+ prefix?: TranslationConfig | undefined;
33025
+ postfix?: TranslationConfig | undefined;
33026
+ rows?: number | undefined;
33027
+ cols?: number | undefined;
33028
+ } | undefined;
33029
+ } | {
33030
+ type: "SIGNATURE";
33509
33031
  id: string;
33510
33032
  label: TranslationConfig;
33033
+ configuration: {
33034
+ maxFileSize: number;
33035
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
33036
+ };
33037
+ signaturePromptLabel: TranslationConfig;
33511
33038
  parent?: {
33512
33039
  $$field: string;
33513
33040
  } | undefined;
@@ -33531,8 +33058,9 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33531
33058
  helperText?: TranslationConfig | undefined;
33532
33059
  hideLabel?: boolean | undefined;
33533
33060
  uncorrectable?: boolean | undefined;
33061
+ defaultValue?: string | undefined;
33534
33062
  } | {
33535
- type: "TEXT";
33063
+ type: "EMAIL";
33536
33064
  id: string;
33537
33065
  label: TranslationConfig;
33538
33066
  parent?: {
@@ -33560,13 +33088,10 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33560
33088
  uncorrectable?: boolean | undefined;
33561
33089
  defaultValue?: string | undefined;
33562
33090
  configuration?: {
33563
- type?: "text" | "password" | undefined;
33564
33091
  maxLength?: number | undefined;
33565
- prefix?: TranslationConfig | undefined;
33566
- postfix?: TranslationConfig | undefined;
33567
33092
  } | undefined;
33568
33093
  } | {
33569
- type: "NUMBER";
33094
+ type: "DATE";
33570
33095
  id: string;
33571
33096
  label: TranslationConfig;
33572
33097
  parent?: {
@@ -33592,15 +33117,12 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33592
33117
  helperText?: TranslationConfig | undefined;
33593
33118
  hideLabel?: boolean | undefined;
33594
33119
  uncorrectable?: boolean | undefined;
33595
- defaultValue?: number | undefined;
33120
+ defaultValue?: string | undefined;
33596
33121
  configuration?: {
33597
- prefix?: TranslationConfig | undefined;
33598
- postfix?: TranslationConfig | undefined;
33599
- min?: number | undefined;
33600
- max?: number | undefined;
33122
+ notice?: TranslationConfig | undefined;
33601
33123
  } | undefined;
33602
33124
  } | {
33603
- type: "TEXTAREA";
33125
+ type: "TIME";
33604
33126
  id: string;
33605
33127
  label: TranslationConfig;
33606
33128
  parent?: {
@@ -33628,181 +33150,51 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33628
33150
  uncorrectable?: boolean | undefined;
33629
33151
  defaultValue?: string | undefined;
33630
33152
  configuration?: {
33631
- maxLength?: number | undefined;
33632
- prefix?: TranslationConfig | undefined;
33633
- postfix?: TranslationConfig | undefined;
33634
- rows?: number | undefined;
33635
- cols?: number | undefined;
33153
+ notice?: TranslationConfig | undefined;
33636
33154
  } | undefined;
33637
33155
  } | {
33638
- type: "SIGNATURE";
33156
+ type: "DATE_RANGE";
33157
+ id: string;
33158
+ label: TranslationConfig;
33159
+ parent?: {
33160
+ $$field: string;
33161
+ } | undefined;
33162
+ validation?: {
33163
+ message: TranslationConfig;
33164
+ validator: import(".").JSONSchema;
33165
+ }[] | undefined;
33166
+ required?: boolean | undefined;
33167
+ conditionals?: ({
33168
+ type: "SHOW";
33169
+ conditional: import(".").JSONSchema;
33170
+ } | {
33171
+ type: "ENABLE";
33172
+ conditional: import(".").JSONSchema;
33173
+ } | {
33174
+ type: "DISPLAY_ON_REVIEW";
33175
+ conditional: import(".").JSONSchema;
33176
+ })[] | undefined;
33177
+ secured?: boolean | undefined;
33178
+ placeholder?: TranslationConfig | undefined;
33179
+ helperText?: TranslationConfig | undefined;
33180
+ hideLabel?: boolean | undefined;
33181
+ uncorrectable?: boolean | undefined;
33182
+ defaultValue?: string | {
33183
+ start: string;
33184
+ end: string;
33185
+ } | undefined;
33186
+ configuration?: {
33187
+ notice?: TranslationConfig | undefined;
33188
+ } | undefined;
33189
+ } | {
33190
+ type: "PARAGRAPH";
33639
33191
  id: string;
33640
33192
  label: TranslationConfig;
33641
33193
  configuration: {
33642
- maxFileSize: number;
33643
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
33644
- };
33645
- signaturePromptLabel: TranslationConfig;
33646
- parent?: {
33647
- $$field: string;
33648
- } | undefined;
33649
- validation?: {
33650
- message: TranslationConfig;
33651
- validator: import(".").JSONSchema;
33652
- }[] | undefined;
33653
- required?: boolean | undefined;
33654
- conditionals?: ({
33655
- type: "SHOW";
33656
- conditional: import(".").JSONSchema;
33657
- } | {
33658
- type: "ENABLE";
33659
- conditional: import(".").JSONSchema;
33660
- } | {
33661
- type: "DISPLAY_ON_REVIEW";
33662
- conditional: import(".").JSONSchema;
33663
- })[] | undefined;
33664
- secured?: boolean | undefined;
33665
- placeholder?: TranslationConfig | undefined;
33666
- helperText?: TranslationConfig | undefined;
33667
- hideLabel?: boolean | undefined;
33668
- uncorrectable?: boolean | undefined;
33669
- defaultValue?: string | undefined;
33670
- } | {
33671
- type: "EMAIL";
33672
- id: string;
33673
- label: TranslationConfig;
33674
- parent?: {
33675
- $$field: string;
33676
- } | undefined;
33677
- validation?: {
33678
- message: TranslationConfig;
33679
- validator: import(".").JSONSchema;
33680
- }[] | undefined;
33681
- required?: boolean | undefined;
33682
- conditionals?: ({
33683
- type: "SHOW";
33684
- conditional: import(".").JSONSchema;
33685
- } | {
33686
- type: "ENABLE";
33687
- conditional: import(".").JSONSchema;
33688
- } | {
33689
- type: "DISPLAY_ON_REVIEW";
33690
- conditional: import(".").JSONSchema;
33691
- })[] | undefined;
33692
- secured?: boolean | undefined;
33693
- placeholder?: TranslationConfig | undefined;
33694
- helperText?: TranslationConfig | undefined;
33695
- hideLabel?: boolean | undefined;
33696
- uncorrectable?: boolean | undefined;
33697
- defaultValue?: string | undefined;
33698
- configuration?: {
33699
- maxLength?: number | undefined;
33700
- } | undefined;
33701
- } | {
33702
- type: "DATE";
33703
- id: string;
33704
- label: TranslationConfig;
33705
- parent?: {
33706
- $$field: string;
33707
- } | undefined;
33708
- validation?: {
33709
- message: TranslationConfig;
33710
- validator: import(".").JSONSchema;
33711
- }[] | undefined;
33712
- required?: boolean | undefined;
33713
- conditionals?: ({
33714
- type: "SHOW";
33715
- conditional: import(".").JSONSchema;
33716
- } | {
33717
- type: "ENABLE";
33718
- conditional: import(".").JSONSchema;
33719
- } | {
33720
- type: "DISPLAY_ON_REVIEW";
33721
- conditional: import(".").JSONSchema;
33722
- })[] | undefined;
33723
- secured?: boolean | undefined;
33724
- placeholder?: TranslationConfig | undefined;
33725
- helperText?: TranslationConfig | undefined;
33726
- hideLabel?: boolean | undefined;
33727
- uncorrectable?: boolean | undefined;
33728
- defaultValue?: string | undefined;
33729
- configuration?: {
33730
- notice?: TranslationConfig | undefined;
33731
- } | undefined;
33732
- } | {
33733
- type: "TIME";
33734
- id: string;
33735
- label: TranslationConfig;
33736
- parent?: {
33737
- $$field: string;
33738
- } | undefined;
33739
- validation?: {
33740
- message: TranslationConfig;
33741
- validator: import(".").JSONSchema;
33742
- }[] | undefined;
33743
- required?: boolean | undefined;
33744
- conditionals?: ({
33745
- type: "SHOW";
33746
- conditional: import(".").JSONSchema;
33747
- } | {
33748
- type: "ENABLE";
33749
- conditional: import(".").JSONSchema;
33750
- } | {
33751
- type: "DISPLAY_ON_REVIEW";
33752
- conditional: import(".").JSONSchema;
33753
- })[] | undefined;
33754
- secured?: boolean | undefined;
33755
- placeholder?: TranslationConfig | undefined;
33756
- helperText?: TranslationConfig | undefined;
33757
- hideLabel?: boolean | undefined;
33758
- uncorrectable?: boolean | undefined;
33759
- defaultValue?: string | undefined;
33760
- configuration?: {
33761
- notice?: TranslationConfig | undefined;
33762
- } | undefined;
33763
- } | {
33764
- type: "DATE_RANGE";
33765
- id: string;
33766
- label: TranslationConfig;
33767
- parent?: {
33768
- $$field: string;
33769
- } | undefined;
33770
- validation?: {
33771
- message: TranslationConfig;
33772
- validator: import(".").JSONSchema;
33773
- }[] | undefined;
33774
- required?: boolean | undefined;
33775
- conditionals?: ({
33776
- type: "SHOW";
33777
- conditional: import(".").JSONSchema;
33778
- } | {
33779
- type: "ENABLE";
33780
- conditional: import(".").JSONSchema;
33781
- } | {
33782
- type: "DISPLAY_ON_REVIEW";
33783
- conditional: import(".").JSONSchema;
33784
- })[] | undefined;
33785
- secured?: boolean | undefined;
33786
- placeholder?: TranslationConfig | undefined;
33787
- helperText?: TranslationConfig | undefined;
33788
- hideLabel?: boolean | undefined;
33789
- uncorrectable?: boolean | undefined;
33790
- defaultValue?: string | {
33791
- start: string;
33792
- end: string;
33793
- } | undefined;
33794
- configuration?: {
33795
- notice?: TranslationConfig | undefined;
33796
- } | undefined;
33797
- } | {
33798
- type: "PARAGRAPH";
33799
- id: string;
33800
- label: TranslationConfig;
33801
- configuration: {
33802
- styles?: {
33803
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
33804
- hint?: boolean | undefined;
33805
- } | undefined;
33194
+ styles?: {
33195
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
33196
+ hint?: boolean | undefined;
33197
+ } | undefined;
33806
33198
  };
33807
33199
  parent?: {
33808
33200
  $$field: string;
@@ -34059,14 +33451,25 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
34059
33451
  hideLabel?: boolean | undefined;
34060
33452
  uncorrectable?: boolean | undefined;
34061
33453
  defaultValue?: {
34062
- firstname: string;
34063
- surname: string;
34064
- } | undefined;
34065
- configuration?: {
33454
+ firstname?: string | undefined;
33455
+ surname?: string | undefined;
33456
+ middlename?: string | undefined;
33457
+ } | undefined;
33458
+ configuration?: {
33459
+ name?: {
33460
+ firstname?: {
33461
+ required: boolean;
33462
+ } | undefined;
33463
+ surname?: {
33464
+ required: boolean;
33465
+ } | undefined;
33466
+ middlename?: {
33467
+ required: boolean;
33468
+ } | undefined;
33469
+ } | undefined;
34066
33470
  maxLength?: number | undefined;
34067
33471
  prefix?: TranslationConfig | undefined;
34068
33472
  postfix?: TranslationConfig | undefined;
34069
- includeMiddlename?: boolean | undefined;
34070
33473
  searchMode?: boolean | undefined;
34071
33474
  } | undefined;
34072
33475
  } | {
@@ -34438,37 +33841,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
34438
33841
  helperText?: TranslationConfig | undefined;
34439
33842
  hideLabel?: boolean | undefined;
34440
33843
  uncorrectable?: boolean | undefined;
34441
- } | {
34442
- type: "PRINT_BUTTON";
34443
- id: string;
34444
- label: TranslationConfig;
34445
- configuration: {
34446
- template: string;
34447
- buttonLabel?: TranslationConfig | undefined;
34448
- };
34449
- parent?: {
34450
- $$field: string;
34451
- } | undefined;
34452
- validation?: {
34453
- message: TranslationConfig;
34454
- validator: import(".").JSONSchema;
34455
- }[] | undefined;
34456
- required?: boolean | undefined;
34457
- conditionals?: ({
34458
- type: "SHOW";
34459
- conditional: import(".").JSONSchema;
34460
- } | {
34461
- type: "ENABLE";
34462
- conditional: import(".").JSONSchema;
34463
- } | {
34464
- type: "DISPLAY_ON_REVIEW";
34465
- conditional: import(".").JSONSchema;
34466
- })[] | undefined;
34467
- secured?: boolean | undefined;
34468
- placeholder?: TranslationConfig | undefined;
34469
- helperText?: TranslationConfig | undefined;
34470
- hideLabel?: boolean | undefined;
34471
- uncorrectable?: boolean | undefined;
34472
33844
  })[];
34473
33845
  conditional?: import(".").JSONSchema | undefined;
34474
33846
  }, {
@@ -35365,10 +34737,22 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
35365
34737
  hideLabel?: boolean | undefined;
35366
34738
  uncorrectable?: boolean | undefined;
35367
34739
  defaultValue?: {
35368
- firstname: string;
35369
- surname: string;
35370
- } | undefined;
35371
- configuration?: {
34740
+ firstname?: string | undefined;
34741
+ surname?: string | undefined;
34742
+ middlename?: string | undefined;
34743
+ } | undefined;
34744
+ configuration?: {
34745
+ name?: {
34746
+ firstname?: {
34747
+ required: boolean;
34748
+ } | undefined;
34749
+ surname?: {
34750
+ required: boolean;
34751
+ } | undefined;
34752
+ middlename?: {
34753
+ required: boolean;
34754
+ } | undefined;
34755
+ } | undefined;
35372
34756
  maxLength?: number | undefined;
35373
34757
  prefix?: {
35374
34758
  id: string;
@@ -35380,7 +34764,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
35380
34764
  description: string;
35381
34765
  defaultMessage: string;
35382
34766
  } | undefined;
35383
- includeMiddlename?: boolean | undefined;
35384
34767
  searchMode?: boolean | undefined;
35385
34768
  } | undefined;
35386
34769
  } | {
@@ -35944,31 +35327,25 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
35944
35327
  } | undefined;
35945
35328
  hideLabel?: boolean | undefined;
35946
35329
  uncorrectable?: boolean | undefined;
35947
- } | {
35948
- type: "PRINT_BUTTON";
35330
+ })[];
35331
+ type?: "FORM" | undefined;
35332
+ conditional?: import(".").JSONSchema | undefined;
35333
+ }>, "many">;
35334
+ }, "strip", z.ZodTypeAny, {
35335
+ label: TranslationConfig;
35336
+ pages: {
35337
+ type: "FORM";
35338
+ id: string;
35339
+ title: TranslationConfig;
35340
+ fields: ({
35341
+ type: "DIVIDER";
35949
35342
  id: string;
35950
- label: {
35951
- id: string;
35952
- description: string;
35953
- defaultMessage: string;
35954
- };
35955
- configuration: {
35956
- template: string;
35957
- buttonLabel?: {
35958
- id: string;
35959
- description: string;
35960
- defaultMessage: string;
35961
- } | undefined;
35962
- };
35343
+ label: TranslationConfig;
35963
35344
  parent?: {
35964
35345
  $$field: string;
35965
35346
  } | undefined;
35966
35347
  validation?: {
35967
- message: {
35968
- id: string;
35969
- description: string;
35970
- defaultMessage: string;
35971
- };
35348
+ message: TranslationConfig;
35972
35349
  validator: import(".").JSONSchema;
35973
35350
  }[] | undefined;
35974
35351
  required?: boolean | undefined;
@@ -35983,30 +35360,12 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
35983
35360
  conditional: import(".").JSONSchema;
35984
35361
  })[] | undefined;
35985
35362
  secured?: boolean | undefined;
35986
- placeholder?: {
35987
- id: string;
35988
- description: string;
35989
- defaultMessage: string;
35990
- } | undefined;
35991
- helperText?: {
35992
- id: string;
35993
- description: string;
35994
- defaultMessage: string;
35995
- } | undefined;
35363
+ placeholder?: TranslationConfig | undefined;
35364
+ helperText?: TranslationConfig | undefined;
35996
35365
  hideLabel?: boolean | undefined;
35997
35366
  uncorrectable?: boolean | undefined;
35998
- })[];
35999
- type?: "FORM" | undefined;
36000
- conditional?: import(".").JSONSchema | undefined;
36001
- }>, "many">;
36002
- }, "strip", z.ZodTypeAny, {
36003
- label: TranslationConfig;
36004
- pages: {
36005
- type: "FORM";
36006
- id: string;
36007
- title: TranslationConfig;
36008
- fields: ({
36009
- type: "DIVIDER";
35367
+ } | {
35368
+ type: "TEXT";
36010
35369
  id: string;
36011
35370
  label: TranslationConfig;
36012
35371
  parent?: {
@@ -36032,42 +35391,15 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
36032
35391
  helperText?: TranslationConfig | undefined;
36033
35392
  hideLabel?: boolean | undefined;
36034
35393
  uncorrectable?: boolean | undefined;
35394
+ defaultValue?: string | undefined;
35395
+ configuration?: {
35396
+ type?: "text" | "password" | undefined;
35397
+ maxLength?: number | undefined;
35398
+ prefix?: TranslationConfig | undefined;
35399
+ postfix?: TranslationConfig | undefined;
35400
+ } | undefined;
36035
35401
  } | {
36036
- type: "TEXT";
36037
- id: string;
36038
- label: TranslationConfig;
36039
- parent?: {
36040
- $$field: string;
36041
- } | undefined;
36042
- validation?: {
36043
- message: TranslationConfig;
36044
- validator: import(".").JSONSchema;
36045
- }[] | undefined;
36046
- required?: boolean | undefined;
36047
- conditionals?: ({
36048
- type: "SHOW";
36049
- conditional: import(".").JSONSchema;
36050
- } | {
36051
- type: "ENABLE";
36052
- conditional: import(".").JSONSchema;
36053
- } | {
36054
- type: "DISPLAY_ON_REVIEW";
36055
- conditional: import(".").JSONSchema;
36056
- })[] | undefined;
36057
- secured?: boolean | undefined;
36058
- placeholder?: TranslationConfig | undefined;
36059
- helperText?: TranslationConfig | undefined;
36060
- hideLabel?: boolean | undefined;
36061
- uncorrectable?: boolean | undefined;
36062
- defaultValue?: string | undefined;
36063
- configuration?: {
36064
- type?: "text" | "password" | undefined;
36065
- maxLength?: number | undefined;
36066
- prefix?: TranslationConfig | undefined;
36067
- postfix?: TranslationConfig | undefined;
36068
- } | undefined;
36069
- } | {
36070
- type: "NUMBER";
35402
+ type: "NUMBER";
36071
35403
  id: string;
36072
35404
  label: TranslationConfig;
36073
35405
  parent?: {
@@ -36560,14 +35892,25 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
36560
35892
  hideLabel?: boolean | undefined;
36561
35893
  uncorrectable?: boolean | undefined;
36562
35894
  defaultValue?: {
36563
- firstname: string;
36564
- surname: string;
36565
- } | undefined;
36566
- configuration?: {
35895
+ firstname?: string | undefined;
35896
+ surname?: string | undefined;
35897
+ middlename?: string | undefined;
35898
+ } | undefined;
35899
+ configuration?: {
35900
+ name?: {
35901
+ firstname?: {
35902
+ required: boolean;
35903
+ } | undefined;
35904
+ surname?: {
35905
+ required: boolean;
35906
+ } | undefined;
35907
+ middlename?: {
35908
+ required: boolean;
35909
+ } | undefined;
35910
+ } | undefined;
36567
35911
  maxLength?: number | undefined;
36568
35912
  prefix?: TranslationConfig | undefined;
36569
35913
  postfix?: TranslationConfig | undefined;
36570
- includeMiddlename?: boolean | undefined;
36571
35914
  searchMode?: boolean | undefined;
36572
35915
  } | undefined;
36573
35916
  } | {
@@ -36939,37 +36282,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
36939
36282
  helperText?: TranslationConfig | undefined;
36940
36283
  hideLabel?: boolean | undefined;
36941
36284
  uncorrectable?: boolean | undefined;
36942
- } | {
36943
- type: "PRINT_BUTTON";
36944
- id: string;
36945
- label: TranslationConfig;
36946
- configuration: {
36947
- template: string;
36948
- buttonLabel?: TranslationConfig | undefined;
36949
- };
36950
- parent?: {
36951
- $$field: string;
36952
- } | undefined;
36953
- validation?: {
36954
- message: TranslationConfig;
36955
- validator: import(".").JSONSchema;
36956
- }[] | undefined;
36957
- required?: boolean | undefined;
36958
- conditionals?: ({
36959
- type: "SHOW";
36960
- conditional: import(".").JSONSchema;
36961
- } | {
36962
- type: "ENABLE";
36963
- conditional: import(".").JSONSchema;
36964
- } | {
36965
- type: "DISPLAY_ON_REVIEW";
36966
- conditional: import(".").JSONSchema;
36967
- })[] | undefined;
36968
- secured?: boolean | undefined;
36969
- placeholder?: TranslationConfig | undefined;
36970
- helperText?: TranslationConfig | undefined;
36971
- hideLabel?: boolean | undefined;
36972
- uncorrectable?: boolean | undefined;
36973
36285
  })[];
36974
36286
  conditional?: import(".").JSONSchema | undefined;
36975
36287
  }[];
@@ -37873,10 +37185,22 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
37873
37185
  hideLabel?: boolean | undefined;
37874
37186
  uncorrectable?: boolean | undefined;
37875
37187
  defaultValue?: {
37876
- firstname: string;
37877
- surname: string;
37878
- } | undefined;
37879
- configuration?: {
37188
+ firstname?: string | undefined;
37189
+ surname?: string | undefined;
37190
+ middlename?: string | undefined;
37191
+ } | undefined;
37192
+ configuration?: {
37193
+ name?: {
37194
+ firstname?: {
37195
+ required: boolean;
37196
+ } | undefined;
37197
+ surname?: {
37198
+ required: boolean;
37199
+ } | undefined;
37200
+ middlename?: {
37201
+ required: boolean;
37202
+ } | undefined;
37203
+ } | undefined;
37880
37204
  maxLength?: number | undefined;
37881
37205
  prefix?: {
37882
37206
  id: string;
@@ -37888,7 +37212,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
37888
37212
  description: string;
37889
37213
  defaultMessage: string;
37890
37214
  } | undefined;
37891
- includeMiddlename?: boolean | undefined;
37892
37215
  searchMode?: boolean | undefined;
37893
37216
  } | undefined;
37894
37217
  } | {
@@ -38452,57 +37775,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
38452
37775
  } | undefined;
38453
37776
  hideLabel?: boolean | undefined;
38454
37777
  uncorrectable?: boolean | undefined;
38455
- } | {
38456
- type: "PRINT_BUTTON";
38457
- id: string;
38458
- label: {
38459
- id: string;
38460
- description: string;
38461
- defaultMessage: string;
38462
- };
38463
- configuration: {
38464
- template: string;
38465
- buttonLabel?: {
38466
- id: string;
38467
- description: string;
38468
- defaultMessage: string;
38469
- } | undefined;
38470
- };
38471
- parent?: {
38472
- $$field: string;
38473
- } | undefined;
38474
- validation?: {
38475
- message: {
38476
- id: string;
38477
- description: string;
38478
- defaultMessage: string;
38479
- };
38480
- validator: import(".").JSONSchema;
38481
- }[] | undefined;
38482
- required?: boolean | undefined;
38483
- conditionals?: ({
38484
- type: "SHOW";
38485
- conditional: import(".").JSONSchema;
38486
- } | {
38487
- type: "ENABLE";
38488
- conditional: import(".").JSONSchema;
38489
- } | {
38490
- type: "DISPLAY_ON_REVIEW";
38491
- conditional: import(".").JSONSchema;
38492
- })[] | undefined;
38493
- secured?: boolean | undefined;
38494
- placeholder?: {
38495
- id: string;
38496
- description: string;
38497
- defaultMessage: string;
38498
- } | undefined;
38499
- helperText?: {
38500
- id: string;
38501
- description: string;
38502
- defaultMessage: string;
38503
- } | undefined;
38504
- hideLabel?: boolean | undefined;
38505
- uncorrectable?: boolean | undefined;
38506
37778
  })[];
38507
37779
  type?: "FORM" | undefined;
38508
37780
  conditional?: import(".").JSONSchema | undefined;
@@ -40751,16 +40023,62 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40751
40023
  }, {
40752
40024
  type: z.ZodLiteral<"NAME">;
40753
40025
  defaultValue: z.ZodOptional<z.ZodObject<{
40754
- firstname: z.ZodString;
40755
- surname: z.ZodString;
40026
+ firstname: z.ZodOptional<z.ZodString>;
40027
+ middlename: z.ZodOptional<z.ZodString>;
40028
+ surname: z.ZodOptional<z.ZodString>;
40756
40029
  }, "strip", z.ZodTypeAny, {
40757
- firstname: string;
40758
- surname: string;
40030
+ firstname?: string | undefined;
40031
+ surname?: string | undefined;
40032
+ middlename?: string | undefined;
40759
40033
  }, {
40760
- firstname: string;
40761
- surname: string;
40034
+ firstname?: string | undefined;
40035
+ surname?: string | undefined;
40036
+ middlename?: string | undefined;
40762
40037
  }>>;
40763
- configuration: z.ZodOptional<z.ZodObject<{
40038
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
40039
+ name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
40040
+ firstname: z.ZodOptional<z.ZodObject<{
40041
+ required: z.ZodBoolean;
40042
+ }, "strip", z.ZodTypeAny, {
40043
+ required: boolean;
40044
+ }, {
40045
+ required: boolean;
40046
+ }>>;
40047
+ middlename: z.ZodOptional<z.ZodObject<{
40048
+ required: z.ZodBoolean;
40049
+ }, "strip", z.ZodTypeAny, {
40050
+ required: boolean;
40051
+ }, {
40052
+ required: boolean;
40053
+ }>>;
40054
+ surname: z.ZodOptional<z.ZodObject<{
40055
+ required: z.ZodBoolean;
40056
+ }, "strip", z.ZodTypeAny, {
40057
+ required: boolean;
40058
+ }, {
40059
+ required: boolean;
40060
+ }>>;
40061
+ }, "strip", z.ZodTypeAny, {
40062
+ firstname?: {
40063
+ required: boolean;
40064
+ } | undefined;
40065
+ surname?: {
40066
+ required: boolean;
40067
+ } | undefined;
40068
+ middlename?: {
40069
+ required: boolean;
40070
+ } | undefined;
40071
+ }, {
40072
+ firstname?: {
40073
+ required: boolean;
40074
+ } | undefined;
40075
+ surname?: {
40076
+ required: boolean;
40077
+ } | undefined;
40078
+ middlename?: {
40079
+ required: boolean;
40080
+ } | undefined;
40081
+ }>>>;
40764
40082
  maxLength: z.ZodOptional<z.ZodNumber>;
40765
40083
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
40766
40084
  id: string;
@@ -40772,15 +40090,35 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40772
40090
  description: string;
40773
40091
  defaultMessage: string;
40774
40092
  }>>;
40775
- includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
40776
40093
  searchMode: z.ZodOptional<z.ZodBoolean>;
40777
40094
  }, "strip", z.ZodTypeAny, {
40095
+ name?: {
40096
+ firstname?: {
40097
+ required: boolean;
40098
+ } | undefined;
40099
+ surname?: {
40100
+ required: boolean;
40101
+ } | undefined;
40102
+ middlename?: {
40103
+ required: boolean;
40104
+ } | undefined;
40105
+ } | undefined;
40778
40106
  maxLength?: number | undefined;
40779
40107
  prefix?: TranslationConfig | undefined;
40780
40108
  postfix?: TranslationConfig | undefined;
40781
- includeMiddlename?: boolean | undefined;
40782
40109
  searchMode?: boolean | undefined;
40783
40110
  }, {
40111
+ name?: {
40112
+ firstname?: {
40113
+ required: boolean;
40114
+ } | undefined;
40115
+ surname?: {
40116
+ required: boolean;
40117
+ } | undefined;
40118
+ middlename?: {
40119
+ required: boolean;
40120
+ } | undefined;
40121
+ } | undefined;
40784
40122
  maxLength?: number | undefined;
40785
40123
  prefix?: {
40786
40124
  id: string;
@@ -40792,9 +40130,8 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40792
40130
  description: string;
40793
40131
  defaultMessage: string;
40794
40132
  } | undefined;
40795
- includeMiddlename?: boolean | undefined;
40796
40133
  searchMode?: boolean | undefined;
40797
- }>>;
40134
+ }>>>;
40798
40135
  }>, "strip", z.ZodTypeAny, {
40799
40136
  type: "NAME";
40800
40137
  id: string;
@@ -40823,14 +40160,25 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40823
40160
  hideLabel?: boolean | undefined;
40824
40161
  uncorrectable?: boolean | undefined;
40825
40162
  defaultValue?: {
40826
- firstname: string;
40827
- surname: string;
40828
- } | undefined;
40829
- configuration?: {
40163
+ firstname?: string | undefined;
40164
+ surname?: string | undefined;
40165
+ middlename?: string | undefined;
40166
+ } | undefined;
40167
+ configuration?: {
40168
+ name?: {
40169
+ firstname?: {
40170
+ required: boolean;
40171
+ } | undefined;
40172
+ surname?: {
40173
+ required: boolean;
40174
+ } | undefined;
40175
+ middlename?: {
40176
+ required: boolean;
40177
+ } | undefined;
40178
+ } | undefined;
40830
40179
  maxLength?: number | undefined;
40831
40180
  prefix?: TranslationConfig | undefined;
40832
40181
  postfix?: TranslationConfig | undefined;
40833
- includeMiddlename?: boolean | undefined;
40834
40182
  searchMode?: boolean | undefined;
40835
40183
  } | undefined;
40836
40184
  }, {
@@ -40877,10 +40225,22 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40877
40225
  hideLabel?: boolean | undefined;
40878
40226
  uncorrectable?: boolean | undefined;
40879
40227
  defaultValue?: {
40880
- firstname: string;
40881
- surname: string;
40882
- } | undefined;
40883
- configuration?: {
40228
+ firstname?: string | undefined;
40229
+ surname?: string | undefined;
40230
+ middlename?: string | undefined;
40231
+ } | undefined;
40232
+ configuration?: {
40233
+ name?: {
40234
+ firstname?: {
40235
+ required: boolean;
40236
+ } | undefined;
40237
+ surname?: {
40238
+ required: boolean;
40239
+ } | undefined;
40240
+ middlename?: {
40241
+ required: boolean;
40242
+ } | undefined;
40243
+ } | undefined;
40884
40244
  maxLength?: number | undefined;
40885
40245
  prefix?: {
40886
40246
  id: string;
@@ -40892,7 +40252,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40892
40252
  description: string;
40893
40253
  defaultMessage: string;
40894
40254
  } | undefined;
40895
- includeMiddlename?: boolean | undefined;
40896
40255
  searchMode?: boolean | undefined;
40897
40256
  } | undefined;
40898
40257
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -42928,155 +42287,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
42928
42287
  } | undefined;
42929
42288
  hideLabel?: boolean | undefined;
42930
42289
  uncorrectable?: boolean | undefined;
42931
- }>, z.ZodObject<z.objectUtil.extendShape<{
42932
- id: z.ZodString;
42933
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
42934
- id: string;
42935
- description: string;
42936
- defaultMessage: string;
42937
- }>;
42938
- parent: z.ZodOptional<z.ZodObject<{
42939
- $$field: z.ZodString;
42940
- }, "strip", z.ZodTypeAny, {
42941
- $$field: string;
42942
- }, {
42943
- $$field: string;
42944
- }>>;
42945
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
42946
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
42947
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
42948
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
42949
- id: string;
42950
- description: string;
42951
- defaultMessage: string;
42952
- }>>;
42953
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
42954
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
42955
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
42956
- id: string;
42957
- description: string;
42958
- defaultMessage: string;
42959
- }>;
42960
- }, "strip", z.ZodTypeAny, {
42961
- message: TranslationConfig;
42962
- validator: import(".").JSONSchema;
42963
- }, {
42964
- message: {
42965
- id: string;
42966
- description: string;
42967
- defaultMessage: string;
42968
- };
42969
- validator: import(".").JSONSchema;
42970
- }>, "many">>>;
42971
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
42972
- id: string;
42973
- description: string;
42974
- defaultMessage: string;
42975
- }>>;
42976
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
42977
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
42978
- }, {
42979
- type: z.ZodLiteral<"PRINT_BUTTON">;
42980
- configuration: z.ZodObject<{
42981
- template: z.ZodString;
42982
- buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
42983
- id: string;
42984
- description: string;
42985
- defaultMessage: string;
42986
- }>>;
42987
- }, "strip", z.ZodTypeAny, {
42988
- template: string;
42989
- buttonLabel?: TranslationConfig | undefined;
42990
- }, {
42991
- template: string;
42992
- buttonLabel?: {
42993
- id: string;
42994
- description: string;
42995
- defaultMessage: string;
42996
- } | undefined;
42997
- }>;
42998
- }>, "strip", z.ZodTypeAny, {
42999
- type: "PRINT_BUTTON";
43000
- id: string;
43001
- label: TranslationConfig;
43002
- configuration: {
43003
- template: string;
43004
- buttonLabel?: TranslationConfig | undefined;
43005
- };
43006
- parent?: {
43007
- $$field: string;
43008
- } | undefined;
43009
- validation?: {
43010
- message: TranslationConfig;
43011
- validator: import(".").JSONSchema;
43012
- }[] | undefined;
43013
- required?: boolean | undefined;
43014
- conditionals?: ({
43015
- type: "SHOW";
43016
- conditional: import(".").JSONSchema;
43017
- } | {
43018
- type: "ENABLE";
43019
- conditional: import(".").JSONSchema;
43020
- } | {
43021
- type: "DISPLAY_ON_REVIEW";
43022
- conditional: import(".").JSONSchema;
43023
- })[] | undefined;
43024
- secured?: boolean | undefined;
43025
- placeholder?: TranslationConfig | undefined;
43026
- helperText?: TranslationConfig | undefined;
43027
- hideLabel?: boolean | undefined;
43028
- uncorrectable?: boolean | undefined;
43029
- }, {
43030
- type: "PRINT_BUTTON";
43031
- id: string;
43032
- label: {
43033
- id: string;
43034
- description: string;
43035
- defaultMessage: string;
43036
- };
43037
- configuration: {
43038
- template: string;
43039
- buttonLabel?: {
43040
- id: string;
43041
- description: string;
43042
- defaultMessage: string;
43043
- } | undefined;
43044
- };
43045
- parent?: {
43046
- $$field: string;
43047
- } | undefined;
43048
- validation?: {
43049
- message: {
43050
- id: string;
43051
- description: string;
43052
- defaultMessage: string;
43053
- };
43054
- validator: import(".").JSONSchema;
43055
- }[] | undefined;
43056
- required?: boolean | undefined;
43057
- conditionals?: ({
43058
- type: "SHOW";
43059
- conditional: import(".").JSONSchema;
43060
- } | {
43061
- type: "ENABLE";
43062
- conditional: import(".").JSONSchema;
43063
- } | {
43064
- type: "DISPLAY_ON_REVIEW";
43065
- conditional: import(".").JSONSchema;
43066
- })[] | undefined;
43067
- secured?: boolean | undefined;
43068
- placeholder?: {
43069
- id: string;
43070
- description: string;
43071
- defaultMessage: string;
43072
- } | undefined;
43073
- helperText?: {
43074
- id: string;
43075
- description: string;
43076
- defaultMessage: string;
43077
- } | undefined;
43078
- hideLabel?: boolean | undefined;
43079
- uncorrectable?: boolean | undefined;
43080
42290
  }>]>, "many">;
43081
42291
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
43082
42292
  }, {
@@ -43640,14 +42850,25 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
43640
42850
  hideLabel?: boolean | undefined;
43641
42851
  uncorrectable?: boolean | undefined;
43642
42852
  defaultValue?: {
43643
- firstname: string;
43644
- surname: string;
43645
- } | undefined;
43646
- configuration?: {
42853
+ firstname?: string | undefined;
42854
+ surname?: string | undefined;
42855
+ middlename?: string | undefined;
42856
+ } | undefined;
42857
+ configuration?: {
42858
+ name?: {
42859
+ firstname?: {
42860
+ required: boolean;
42861
+ } | undefined;
42862
+ surname?: {
42863
+ required: boolean;
42864
+ } | undefined;
42865
+ middlename?: {
42866
+ required: boolean;
42867
+ } | undefined;
42868
+ } | undefined;
43647
42869
  maxLength?: number | undefined;
43648
42870
  prefix?: TranslationConfig | undefined;
43649
42871
  postfix?: TranslationConfig | undefined;
43650
- includeMiddlename?: boolean | undefined;
43651
42872
  searchMode?: boolean | undefined;
43652
42873
  } | undefined;
43653
42874
  } | {
@@ -43951,81 +43172,50 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
43951
43172
  helperText?: TranslationConfig | undefined;
43952
43173
  hideLabel?: boolean | undefined;
43953
43174
  uncorrectable?: boolean | undefined;
43954
- defaultValue?: {
43955
- country: string;
43956
- district: string;
43957
- addressType: "DOMESTIC";
43958
- province: string;
43959
- urbanOrRural: "URBAN";
43960
- number?: string | undefined;
43961
- town?: string | undefined;
43962
- residentialArea?: string | undefined;
43963
- street?: string | undefined;
43964
- zipCode?: string | undefined;
43965
- } | {
43966
- country: string;
43967
- district: string;
43968
- addressType: "DOMESTIC";
43969
- province: string;
43970
- urbanOrRural: "RURAL";
43971
- village?: string | undefined;
43972
- } | {
43973
- country: string;
43974
- state: string;
43975
- addressType: "INTERNATIONAL";
43976
- district2: string;
43977
- cityOrTown?: string | undefined;
43978
- addressLine1?: string | undefined;
43979
- addressLine2?: string | undefined;
43980
- addressLine3?: string | undefined;
43981
- postcodeOrZip?: string | undefined;
43982
- } | undefined;
43983
- configuration?: {
43984
- searchMode?: boolean | undefined;
43985
- } | undefined;
43986
- } | {
43987
- type: "DATA";
43988
- id: string;
43989
- label: TranslationConfig;
43990
- configuration: {
43991
- data: ({
43992
- value: string | TranslationConfig;
43993
- label: TranslationConfig;
43994
- } | {
43995
- fieldId: string;
43996
- })[];
43997
- subtitle?: TranslationConfig | undefined;
43998
- };
43999
- parent?: {
44000
- $$field: string;
44001
- } | undefined;
44002
- validation?: {
44003
- message: TranslationConfig;
44004
- validator: import(".").JSONSchema;
44005
- }[] | undefined;
44006
- required?: boolean | undefined;
44007
- conditionals?: ({
44008
- type: "SHOW";
44009
- conditional: import(".").JSONSchema;
44010
- } | {
44011
- type: "ENABLE";
44012
- conditional: import(".").JSONSchema;
44013
- } | {
44014
- type: "DISPLAY_ON_REVIEW";
44015
- conditional: import(".").JSONSchema;
44016
- })[] | undefined;
44017
- secured?: boolean | undefined;
44018
- placeholder?: TranslationConfig | undefined;
44019
- helperText?: TranslationConfig | undefined;
44020
- hideLabel?: boolean | undefined;
44021
- uncorrectable?: boolean | undefined;
43175
+ defaultValue?: {
43176
+ country: string;
43177
+ district: string;
43178
+ addressType: "DOMESTIC";
43179
+ province: string;
43180
+ urbanOrRural: "URBAN";
43181
+ number?: string | undefined;
43182
+ town?: string | undefined;
43183
+ residentialArea?: string | undefined;
43184
+ street?: string | undefined;
43185
+ zipCode?: string | undefined;
43186
+ } | {
43187
+ country: string;
43188
+ district: string;
43189
+ addressType: "DOMESTIC";
43190
+ province: string;
43191
+ urbanOrRural: "RURAL";
43192
+ village?: string | undefined;
43193
+ } | {
43194
+ country: string;
43195
+ state: string;
43196
+ addressType: "INTERNATIONAL";
43197
+ district2: string;
43198
+ cityOrTown?: string | undefined;
43199
+ addressLine1?: string | undefined;
43200
+ addressLine2?: string | undefined;
43201
+ addressLine3?: string | undefined;
43202
+ postcodeOrZip?: string | undefined;
43203
+ } | undefined;
43204
+ configuration?: {
43205
+ searchMode?: boolean | undefined;
43206
+ } | undefined;
44022
43207
  } | {
44023
- type: "PRINT_BUTTON";
43208
+ type: "DATA";
44024
43209
  id: string;
44025
43210
  label: TranslationConfig;
44026
43211
  configuration: {
44027
- template: string;
44028
- buttonLabel?: TranslationConfig | undefined;
43212
+ data: ({
43213
+ value: string | TranslationConfig;
43214
+ label: TranslationConfig;
43215
+ } | {
43216
+ fieldId: string;
43217
+ })[];
43218
+ subtitle?: TranslationConfig | undefined;
44029
43219
  };
44030
43220
  parent?: {
44031
43221
  $$field: string;
@@ -44946,10 +44136,22 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
44946
44136
  hideLabel?: boolean | undefined;
44947
44137
  uncorrectable?: boolean | undefined;
44948
44138
  defaultValue?: {
44949
- firstname: string;
44950
- surname: string;
44951
- } | undefined;
44952
- configuration?: {
44139
+ firstname?: string | undefined;
44140
+ surname?: string | undefined;
44141
+ middlename?: string | undefined;
44142
+ } | undefined;
44143
+ configuration?: {
44144
+ name?: {
44145
+ firstname?: {
44146
+ required: boolean;
44147
+ } | undefined;
44148
+ surname?: {
44149
+ required: boolean;
44150
+ } | undefined;
44151
+ middlename?: {
44152
+ required: boolean;
44153
+ } | undefined;
44154
+ } | undefined;
44953
44155
  maxLength?: number | undefined;
44954
44156
  prefix?: {
44955
44157
  id: string;
@@ -44961,7 +44163,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
44961
44163
  description: string;
44962
44164
  defaultMessage: string;
44963
44165
  } | undefined;
44964
- includeMiddlename?: boolean | undefined;
44965
44166
  searchMode?: boolean | undefined;
44966
44167
  } | undefined;
44967
44168
  } | {
@@ -45525,57 +44726,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
45525
44726
  } | undefined;
45526
44727
  hideLabel?: boolean | undefined;
45527
44728
  uncorrectable?: boolean | undefined;
45528
- } | {
45529
- type: "PRINT_BUTTON";
45530
- id: string;
45531
- label: {
45532
- id: string;
45533
- description: string;
45534
- defaultMessage: string;
45535
- };
45536
- configuration: {
45537
- template: string;
45538
- buttonLabel?: {
45539
- id: string;
45540
- description: string;
45541
- defaultMessage: string;
45542
- } | undefined;
45543
- };
45544
- parent?: {
45545
- $$field: string;
45546
- } | undefined;
45547
- validation?: {
45548
- message: {
45549
- id: string;
45550
- description: string;
45551
- defaultMessage: string;
45552
- };
45553
- validator: import(".").JSONSchema;
45554
- }[] | undefined;
45555
- required?: boolean | undefined;
45556
- conditionals?: ({
45557
- type: "SHOW";
45558
- conditional: import(".").JSONSchema;
45559
- } | {
45560
- type: "ENABLE";
45561
- conditional: import(".").JSONSchema;
45562
- } | {
45563
- type: "DISPLAY_ON_REVIEW";
45564
- conditional: import(".").JSONSchema;
45565
- })[] | undefined;
45566
- secured?: boolean | undefined;
45567
- placeholder?: {
45568
- id: string;
45569
- description: string;
45570
- defaultMessage: string;
45571
- } | undefined;
45572
- helperText?: {
45573
- id: string;
45574
- description: string;
45575
- defaultMessage: string;
45576
- } | undefined;
45577
- hideLabel?: boolean | undefined;
45578
- uncorrectable?: boolean | undefined;
45579
44729
  })[];
45580
44730
  type?: "FORM" | undefined;
45581
44731
  conditional?: import(".").JSONSchema | undefined;
@@ -47817,16 +46967,62 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47817
46967
  }, {
47818
46968
  type: z.ZodLiteral<"NAME">;
47819
46969
  defaultValue: z.ZodOptional<z.ZodObject<{
47820
- firstname: z.ZodString;
47821
- surname: z.ZodString;
46970
+ firstname: z.ZodOptional<z.ZodString>;
46971
+ middlename: z.ZodOptional<z.ZodString>;
46972
+ surname: z.ZodOptional<z.ZodString>;
47822
46973
  }, "strip", z.ZodTypeAny, {
47823
- firstname: string;
47824
- surname: string;
46974
+ firstname?: string | undefined;
46975
+ surname?: string | undefined;
46976
+ middlename?: string | undefined;
47825
46977
  }, {
47826
- firstname: string;
47827
- surname: string;
46978
+ firstname?: string | undefined;
46979
+ surname?: string | undefined;
46980
+ middlename?: string | undefined;
47828
46981
  }>>;
47829
- configuration: z.ZodOptional<z.ZodObject<{
46982
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
46983
+ name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
46984
+ firstname: z.ZodOptional<z.ZodObject<{
46985
+ required: z.ZodBoolean;
46986
+ }, "strip", z.ZodTypeAny, {
46987
+ required: boolean;
46988
+ }, {
46989
+ required: boolean;
46990
+ }>>;
46991
+ middlename: z.ZodOptional<z.ZodObject<{
46992
+ required: z.ZodBoolean;
46993
+ }, "strip", z.ZodTypeAny, {
46994
+ required: boolean;
46995
+ }, {
46996
+ required: boolean;
46997
+ }>>;
46998
+ surname: z.ZodOptional<z.ZodObject<{
46999
+ required: z.ZodBoolean;
47000
+ }, "strip", z.ZodTypeAny, {
47001
+ required: boolean;
47002
+ }, {
47003
+ required: boolean;
47004
+ }>>;
47005
+ }, "strip", z.ZodTypeAny, {
47006
+ firstname?: {
47007
+ required: boolean;
47008
+ } | undefined;
47009
+ surname?: {
47010
+ required: boolean;
47011
+ } | undefined;
47012
+ middlename?: {
47013
+ required: boolean;
47014
+ } | undefined;
47015
+ }, {
47016
+ firstname?: {
47017
+ required: boolean;
47018
+ } | undefined;
47019
+ surname?: {
47020
+ required: boolean;
47021
+ } | undefined;
47022
+ middlename?: {
47023
+ required: boolean;
47024
+ } | undefined;
47025
+ }>>>;
47830
47026
  maxLength: z.ZodOptional<z.ZodNumber>;
47831
47027
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
47832
47028
  id: string;
@@ -47838,15 +47034,35 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47838
47034
  description: string;
47839
47035
  defaultMessage: string;
47840
47036
  }>>;
47841
- includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
47842
47037
  searchMode: z.ZodOptional<z.ZodBoolean>;
47843
47038
  }, "strip", z.ZodTypeAny, {
47039
+ name?: {
47040
+ firstname?: {
47041
+ required: boolean;
47042
+ } | undefined;
47043
+ surname?: {
47044
+ required: boolean;
47045
+ } | undefined;
47046
+ middlename?: {
47047
+ required: boolean;
47048
+ } | undefined;
47049
+ } | undefined;
47844
47050
  maxLength?: number | undefined;
47845
47051
  prefix?: TranslationConfig | undefined;
47846
47052
  postfix?: TranslationConfig | undefined;
47847
- includeMiddlename?: boolean | undefined;
47848
47053
  searchMode?: boolean | undefined;
47849
47054
  }, {
47055
+ name?: {
47056
+ firstname?: {
47057
+ required: boolean;
47058
+ } | undefined;
47059
+ surname?: {
47060
+ required: boolean;
47061
+ } | undefined;
47062
+ middlename?: {
47063
+ required: boolean;
47064
+ } | undefined;
47065
+ } | undefined;
47850
47066
  maxLength?: number | undefined;
47851
47067
  prefix?: {
47852
47068
  id: string;
@@ -47858,9 +47074,8 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47858
47074
  description: string;
47859
47075
  defaultMessage: string;
47860
47076
  } | undefined;
47861
- includeMiddlename?: boolean | undefined;
47862
47077
  searchMode?: boolean | undefined;
47863
- }>>;
47078
+ }>>>;
47864
47079
  }>, "strip", z.ZodTypeAny, {
47865
47080
  type: "NAME";
47866
47081
  id: string;
@@ -47889,14 +47104,25 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47889
47104
  hideLabel?: boolean | undefined;
47890
47105
  uncorrectable?: boolean | undefined;
47891
47106
  defaultValue?: {
47892
- firstname: string;
47893
- surname: string;
47894
- } | undefined;
47895
- configuration?: {
47107
+ firstname?: string | undefined;
47108
+ surname?: string | undefined;
47109
+ middlename?: string | undefined;
47110
+ } | undefined;
47111
+ configuration?: {
47112
+ name?: {
47113
+ firstname?: {
47114
+ required: boolean;
47115
+ } | undefined;
47116
+ surname?: {
47117
+ required: boolean;
47118
+ } | undefined;
47119
+ middlename?: {
47120
+ required: boolean;
47121
+ } | undefined;
47122
+ } | undefined;
47896
47123
  maxLength?: number | undefined;
47897
47124
  prefix?: TranslationConfig | undefined;
47898
47125
  postfix?: TranslationConfig | undefined;
47899
- includeMiddlename?: boolean | undefined;
47900
47126
  searchMode?: boolean | undefined;
47901
47127
  } | undefined;
47902
47128
  }, {
@@ -47943,10 +47169,22 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47943
47169
  hideLabel?: boolean | undefined;
47944
47170
  uncorrectable?: boolean | undefined;
47945
47171
  defaultValue?: {
47946
- firstname: string;
47947
- surname: string;
47948
- } | undefined;
47949
- configuration?: {
47172
+ firstname?: string | undefined;
47173
+ surname?: string | undefined;
47174
+ middlename?: string | undefined;
47175
+ } | undefined;
47176
+ configuration?: {
47177
+ name?: {
47178
+ firstname?: {
47179
+ required: boolean;
47180
+ } | undefined;
47181
+ surname?: {
47182
+ required: boolean;
47183
+ } | undefined;
47184
+ middlename?: {
47185
+ required: boolean;
47186
+ } | undefined;
47187
+ } | undefined;
47950
47188
  maxLength?: number | undefined;
47951
47189
  prefix?: {
47952
47190
  id: string;
@@ -47958,7 +47196,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47958
47196
  description: string;
47959
47197
  defaultMessage: string;
47960
47198
  } | undefined;
47961
- includeMiddlename?: boolean | undefined;
47962
47199
  searchMode?: boolean | undefined;
47963
47200
  } | undefined;
47964
47201
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -49931,169 +49168,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
49931
49168
  hideLabel?: boolean | undefined;
49932
49169
  uncorrectable?: boolean | undefined;
49933
49170
  }, {
49934
- type: "DATA";
49935
- id: string;
49936
- label: {
49937
- id: string;
49938
- description: string;
49939
- defaultMessage: string;
49940
- };
49941
- configuration: {
49942
- data: ({
49943
- value: string | {
49944
- id: string;
49945
- description: string;
49946
- defaultMessage: string;
49947
- };
49948
- label: {
49949
- id: string;
49950
- description: string;
49951
- defaultMessage: string;
49952
- };
49953
- } | {
49954
- fieldId: string;
49955
- })[];
49956
- subtitle?: {
49957
- id: string;
49958
- description: string;
49959
- defaultMessage: string;
49960
- } | undefined;
49961
- };
49962
- parent?: {
49963
- $$field: string;
49964
- } | undefined;
49965
- validation?: {
49966
- message: {
49967
- id: string;
49968
- description: string;
49969
- defaultMessage: string;
49970
- };
49971
- validator: import(".").JSONSchema;
49972
- }[] | undefined;
49973
- required?: boolean | undefined;
49974
- conditionals?: ({
49975
- type: "SHOW";
49976
- conditional: import(".").JSONSchema;
49977
- } | {
49978
- type: "ENABLE";
49979
- conditional: import(".").JSONSchema;
49980
- } | {
49981
- type: "DISPLAY_ON_REVIEW";
49982
- conditional: import(".").JSONSchema;
49983
- })[] | undefined;
49984
- secured?: boolean | undefined;
49985
- placeholder?: {
49986
- id: string;
49987
- description: string;
49988
- defaultMessage: string;
49989
- } | undefined;
49990
- helperText?: {
49991
- id: string;
49992
- description: string;
49993
- defaultMessage: string;
49994
- } | undefined;
49995
- hideLabel?: boolean | undefined;
49996
- uncorrectable?: boolean | undefined;
49997
- }>, z.ZodObject<z.objectUtil.extendShape<{
49998
- id: z.ZodString;
49999
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
50000
- id: string;
50001
- description: string;
50002
- defaultMessage: string;
50003
- }>;
50004
- parent: z.ZodOptional<z.ZodObject<{
50005
- $$field: z.ZodString;
50006
- }, "strip", z.ZodTypeAny, {
50007
- $$field: string;
50008
- }, {
50009
- $$field: string;
50010
- }>>;
50011
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
50012
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
50013
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
50014
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
50015
- id: string;
50016
- description: string;
50017
- defaultMessage: string;
50018
- }>>;
50019
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
50020
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
50021
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
50022
- id: string;
50023
- description: string;
50024
- defaultMessage: string;
50025
- }>;
50026
- }, "strip", z.ZodTypeAny, {
50027
- message: TranslationConfig;
50028
- validator: import(".").JSONSchema;
50029
- }, {
50030
- message: {
50031
- id: string;
50032
- description: string;
50033
- defaultMessage: string;
50034
- };
50035
- validator: import(".").JSONSchema;
50036
- }>, "many">>>;
50037
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
50038
- id: string;
50039
- description: string;
50040
- defaultMessage: string;
50041
- }>>;
50042
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
50043
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
50044
- }, {
50045
- type: z.ZodLiteral<"PRINT_BUTTON">;
50046
- configuration: z.ZodObject<{
50047
- template: z.ZodString;
50048
- buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
50049
- id: string;
50050
- description: string;
50051
- defaultMessage: string;
50052
- }>>;
50053
- }, "strip", z.ZodTypeAny, {
50054
- template: string;
50055
- buttonLabel?: TranslationConfig | undefined;
50056
- }, {
50057
- template: string;
50058
- buttonLabel?: {
50059
- id: string;
50060
- description: string;
50061
- defaultMessage: string;
50062
- } | undefined;
50063
- }>;
50064
- }>, "strip", z.ZodTypeAny, {
50065
- type: "PRINT_BUTTON";
50066
- id: string;
50067
- label: TranslationConfig;
50068
- configuration: {
50069
- template: string;
50070
- buttonLabel?: TranslationConfig | undefined;
50071
- };
50072
- parent?: {
50073
- $$field: string;
50074
- } | undefined;
50075
- validation?: {
50076
- message: TranslationConfig;
50077
- validator: import(".").JSONSchema;
50078
- }[] | undefined;
50079
- required?: boolean | undefined;
50080
- conditionals?: ({
50081
- type: "SHOW";
50082
- conditional: import(".").JSONSchema;
50083
- } | {
50084
- type: "ENABLE";
50085
- conditional: import(".").JSONSchema;
50086
- } | {
50087
- type: "DISPLAY_ON_REVIEW";
50088
- conditional: import(".").JSONSchema;
50089
- })[] | undefined;
50090
- secured?: boolean | undefined;
50091
- placeholder?: TranslationConfig | undefined;
50092
- helperText?: TranslationConfig | undefined;
50093
- hideLabel?: boolean | undefined;
50094
- uncorrectable?: boolean | undefined;
50095
- }, {
50096
- type: "PRINT_BUTTON";
49171
+ type: "DATA";
50097
49172
  id: string;
50098
49173
  label: {
50099
49174
  id: string;
@@ -50101,8 +49176,21 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
50101
49176
  defaultMessage: string;
50102
49177
  };
50103
49178
  configuration: {
50104
- template: string;
50105
- buttonLabel?: {
49179
+ data: ({
49180
+ value: string | {
49181
+ id: string;
49182
+ description: string;
49183
+ defaultMessage: string;
49184
+ };
49185
+ label: {
49186
+ id: string;
49187
+ description: string;
49188
+ defaultMessage: string;
49189
+ };
49190
+ } | {
49191
+ fieldId: string;
49192
+ })[];
49193
+ subtitle?: {
50106
49194
  id: string;
50107
49195
  description: string;
50108
49196
  defaultMessage: string;
@@ -50832,14 +49920,25 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
50832
49920
  hideLabel?: boolean | undefined;
50833
49921
  uncorrectable?: boolean | undefined;
50834
49922
  defaultValue?: {
50835
- firstname: string;
50836
- surname: string;
50837
- } | undefined;
50838
- configuration?: {
49923
+ firstname?: string | undefined;
49924
+ surname?: string | undefined;
49925
+ middlename?: string | undefined;
49926
+ } | undefined;
49927
+ configuration?: {
49928
+ name?: {
49929
+ firstname?: {
49930
+ required: boolean;
49931
+ } | undefined;
49932
+ surname?: {
49933
+ required: boolean;
49934
+ } | undefined;
49935
+ middlename?: {
49936
+ required: boolean;
49937
+ } | undefined;
49938
+ } | undefined;
50839
49939
  maxLength?: number | undefined;
50840
49940
  prefix?: TranslationConfig | undefined;
50841
49941
  postfix?: TranslationConfig | undefined;
50842
- includeMiddlename?: boolean | undefined;
50843
49942
  searchMode?: boolean | undefined;
50844
49943
  } | undefined;
50845
49944
  } | {
@@ -51211,37 +50310,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
51211
50310
  helperText?: TranslationConfig | undefined;
51212
50311
  hideLabel?: boolean | undefined;
51213
50312
  uncorrectable?: boolean | undefined;
51214
- } | {
51215
- type: "PRINT_BUTTON";
51216
- id: string;
51217
- label: TranslationConfig;
51218
- configuration: {
51219
- template: string;
51220
- buttonLabel?: TranslationConfig | undefined;
51221
- };
51222
- parent?: {
51223
- $$field: string;
51224
- } | undefined;
51225
- validation?: {
51226
- message: TranslationConfig;
51227
- validator: import(".").JSONSchema;
51228
- }[] | undefined;
51229
- required?: boolean | undefined;
51230
- conditionals?: ({
51231
- type: "SHOW";
51232
- conditional: import(".").JSONSchema;
51233
- } | {
51234
- type: "ENABLE";
51235
- conditional: import(".").JSONSchema;
51236
- } | {
51237
- type: "DISPLAY_ON_REVIEW";
51238
- conditional: import(".").JSONSchema;
51239
- })[] | undefined;
51240
- secured?: boolean | undefined;
51241
- placeholder?: TranslationConfig | undefined;
51242
- helperText?: TranslationConfig | undefined;
51243
- hideLabel?: boolean | undefined;
51244
- uncorrectable?: boolean | undefined;
51245
50313
  })[];
51246
50314
  conditional?: import(".").JSONSchema | undefined;
51247
50315
  }, {
@@ -52167,10 +51235,22 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
52167
51235
  hideLabel?: boolean | undefined;
52168
51236
  uncorrectable?: boolean | undefined;
52169
51237
  defaultValue?: {
52170
- firstname: string;
52171
- surname: string;
52172
- } | undefined;
52173
- configuration?: {
51238
+ firstname?: string | undefined;
51239
+ surname?: string | undefined;
51240
+ middlename?: string | undefined;
51241
+ } | undefined;
51242
+ configuration?: {
51243
+ name?: {
51244
+ firstname?: {
51245
+ required: boolean;
51246
+ } | undefined;
51247
+ surname?: {
51248
+ required: boolean;
51249
+ } | undefined;
51250
+ middlename?: {
51251
+ required: boolean;
51252
+ } | undefined;
51253
+ } | undefined;
52174
51254
  maxLength?: number | undefined;
52175
51255
  prefix?: {
52176
51256
  id: string;
@@ -52182,7 +51262,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
52182
51262
  description: string;
52183
51263
  defaultMessage: string;
52184
51264
  } | undefined;
52185
- includeMiddlename?: boolean | undefined;
52186
51265
  searchMode?: boolean | undefined;
52187
51266
  } | undefined;
52188
51267
  } | {
@@ -52746,57 +51825,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
52746
51825
  } | undefined;
52747
51826
  hideLabel?: boolean | undefined;
52748
51827
  uncorrectable?: boolean | undefined;
52749
- } | {
52750
- type: "PRINT_BUTTON";
52751
- id: string;
52752
- label: {
52753
- id: string;
52754
- description: string;
52755
- defaultMessage: string;
52756
- };
52757
- configuration: {
52758
- template: string;
52759
- buttonLabel?: {
52760
- id: string;
52761
- description: string;
52762
- defaultMessage: string;
52763
- } | undefined;
52764
- };
52765
- parent?: {
52766
- $$field: string;
52767
- } | undefined;
52768
- validation?: {
52769
- message: {
52770
- id: string;
52771
- description: string;
52772
- defaultMessage: string;
52773
- };
52774
- validator: import(".").JSONSchema;
52775
- }[] | undefined;
52776
- required?: boolean | undefined;
52777
- conditionals?: ({
52778
- type: "SHOW";
52779
- conditional: import(".").JSONSchema;
52780
- } | {
52781
- type: "ENABLE";
52782
- conditional: import(".").JSONSchema;
52783
- } | {
52784
- type: "DISPLAY_ON_REVIEW";
52785
- conditional: import(".").JSONSchema;
52786
- })[] | undefined;
52787
- secured?: boolean | undefined;
52788
- placeholder?: {
52789
- id: string;
52790
- description: string;
52791
- defaultMessage: string;
52792
- } | undefined;
52793
- helperText?: {
52794
- id: string;
52795
- description: string;
52796
- defaultMessage: string;
52797
- } | undefined;
52798
- hideLabel?: boolean | undefined;
52799
- uncorrectable?: boolean | undefined;
52800
51828
  })[];
52801
51829
  conditional?: import(".").JSONSchema | undefined;
52802
51830
  }>)[]>, "many">;
@@ -53361,14 +52389,25 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
53361
52389
  hideLabel?: boolean | undefined;
53362
52390
  uncorrectable?: boolean | undefined;
53363
52391
  defaultValue?: {
53364
- firstname: string;
53365
- surname: string;
53366
- } | undefined;
53367
- configuration?: {
52392
+ firstname?: string | undefined;
52393
+ surname?: string | undefined;
52394
+ middlename?: string | undefined;
52395
+ } | undefined;
52396
+ configuration?: {
52397
+ name?: {
52398
+ firstname?: {
52399
+ required: boolean;
52400
+ } | undefined;
52401
+ surname?: {
52402
+ required: boolean;
52403
+ } | undefined;
52404
+ middlename?: {
52405
+ required: boolean;
52406
+ } | undefined;
52407
+ } | undefined;
53368
52408
  maxLength?: number | undefined;
53369
52409
  prefix?: TranslationConfig | undefined;
53370
52410
  postfix?: TranslationConfig | undefined;
53371
- includeMiddlename?: boolean | undefined;
53372
52411
  searchMode?: boolean | undefined;
53373
52412
  } | undefined;
53374
52413
  } | {
@@ -53740,37 +52779,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
53740
52779
  helperText?: TranslationConfig | undefined;
53741
52780
  hideLabel?: boolean | undefined;
53742
52781
  uncorrectable?: boolean | undefined;
53743
- } | {
53744
- type: "PRINT_BUTTON";
53745
- id: string;
53746
- label: TranslationConfig;
53747
- configuration: {
53748
- template: string;
53749
- buttonLabel?: TranslationConfig | undefined;
53750
- };
53751
- parent?: {
53752
- $$field: string;
53753
- } | undefined;
53754
- validation?: {
53755
- message: TranslationConfig;
53756
- validator: import(".").JSONSchema;
53757
- }[] | undefined;
53758
- required?: boolean | undefined;
53759
- conditionals?: ({
53760
- type: "SHOW";
53761
- conditional: import(".").JSONSchema;
53762
- } | {
53763
- type: "ENABLE";
53764
- conditional: import(".").JSONSchema;
53765
- } | {
53766
- type: "DISPLAY_ON_REVIEW";
53767
- conditional: import(".").JSONSchema;
53768
- })[] | undefined;
53769
- secured?: boolean | undefined;
53770
- placeholder?: TranslationConfig | undefined;
53771
- helperText?: TranslationConfig | undefined;
53772
- hideLabel?: boolean | undefined;
53773
- uncorrectable?: boolean | undefined;
53774
52782
  })[];
53775
52783
  conditional?: import(".").JSONSchema | undefined;
53776
52784
  } | {
@@ -54344,14 +53352,25 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
54344
53352
  hideLabel?: boolean | undefined;
54345
53353
  uncorrectable?: boolean | undefined;
54346
53354
  defaultValue?: {
54347
- firstname: string;
54348
- surname: string;
54349
- } | undefined;
54350
- configuration?: {
53355
+ firstname?: string | undefined;
53356
+ surname?: string | undefined;
53357
+ middlename?: string | undefined;
53358
+ } | undefined;
53359
+ configuration?: {
53360
+ name?: {
53361
+ firstname?: {
53362
+ required: boolean;
53363
+ } | undefined;
53364
+ surname?: {
53365
+ required: boolean;
53366
+ } | undefined;
53367
+ middlename?: {
53368
+ required: boolean;
53369
+ } | undefined;
53370
+ } | undefined;
54351
53371
  maxLength?: number | undefined;
54352
53372
  prefix?: TranslationConfig | undefined;
54353
53373
  postfix?: TranslationConfig | undefined;
54354
- includeMiddlename?: boolean | undefined;
54355
53374
  searchMode?: boolean | undefined;
54356
53375
  } | undefined;
54357
53376
  } | {
@@ -54723,37 +53742,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
54723
53742
  helperText?: TranslationConfig | undefined;
54724
53743
  hideLabel?: boolean | undefined;
54725
53744
  uncorrectable?: boolean | undefined;
54726
- } | {
54727
- type: "PRINT_BUTTON";
54728
- id: string;
54729
- label: TranslationConfig;
54730
- configuration: {
54731
- template: string;
54732
- buttonLabel?: TranslationConfig | undefined;
54733
- };
54734
- parent?: {
54735
- $$field: string;
54736
- } | undefined;
54737
- validation?: {
54738
- message: TranslationConfig;
54739
- validator: import(".").JSONSchema;
54740
- }[] | undefined;
54741
- required?: boolean | undefined;
54742
- conditionals?: ({
54743
- type: "SHOW";
54744
- conditional: import(".").JSONSchema;
54745
- } | {
54746
- type: "ENABLE";
54747
- conditional: import(".").JSONSchema;
54748
- } | {
54749
- type: "DISPLAY_ON_REVIEW";
54750
- conditional: import(".").JSONSchema;
54751
- })[] | undefined;
54752
- secured?: boolean | undefined;
54753
- placeholder?: TranslationConfig | undefined;
54754
- helperText?: TranslationConfig | undefined;
54755
- hideLabel?: boolean | undefined;
54756
- uncorrectable?: boolean | undefined;
54757
53745
  })[];
54758
53746
  conditional?: import(".").JSONSchema | undefined;
54759
53747
  })[];
@@ -55657,10 +54645,22 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
55657
54645
  hideLabel?: boolean | undefined;
55658
54646
  uncorrectable?: boolean | undefined;
55659
54647
  defaultValue?: {
55660
- firstname: string;
55661
- surname: string;
55662
- } | undefined;
55663
- configuration?: {
54648
+ firstname?: string | undefined;
54649
+ surname?: string | undefined;
54650
+ middlename?: string | undefined;
54651
+ } | undefined;
54652
+ configuration?: {
54653
+ name?: {
54654
+ firstname?: {
54655
+ required: boolean;
54656
+ } | undefined;
54657
+ surname?: {
54658
+ required: boolean;
54659
+ } | undefined;
54660
+ middlename?: {
54661
+ required: boolean;
54662
+ } | undefined;
54663
+ } | undefined;
55664
54664
  maxLength?: number | undefined;
55665
54665
  prefix?: {
55666
54666
  id: string;
@@ -55672,7 +54672,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
55672
54672
  description: string;
55673
54673
  defaultMessage: string;
55674
54674
  } | undefined;
55675
- includeMiddlename?: boolean | undefined;
55676
54675
  searchMode?: boolean | undefined;
55677
54676
  } | undefined;
55678
54677
  } | {
@@ -56236,57 +55235,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
56236
55235
  } | undefined;
56237
55236
  hideLabel?: boolean | undefined;
56238
55237
  uncorrectable?: boolean | undefined;
56239
- } | {
56240
- type: "PRINT_BUTTON";
56241
- id: string;
56242
- label: {
56243
- id: string;
56244
- description: string;
56245
- defaultMessage: string;
56246
- };
56247
- configuration: {
56248
- template: string;
56249
- buttonLabel?: {
56250
- id: string;
56251
- description: string;
56252
- defaultMessage: string;
56253
- } | undefined;
56254
- };
56255
- parent?: {
56256
- $$field: string;
56257
- } | undefined;
56258
- validation?: {
56259
- message: {
56260
- id: string;
56261
- description: string;
56262
- defaultMessage: string;
56263
- };
56264
- validator: import(".").JSONSchema;
56265
- }[] | undefined;
56266
- required?: boolean | undefined;
56267
- conditionals?: ({
56268
- type: "SHOW";
56269
- conditional: import(".").JSONSchema;
56270
- } | {
56271
- type: "ENABLE";
56272
- conditional: import(".").JSONSchema;
56273
- } | {
56274
- type: "DISPLAY_ON_REVIEW";
56275
- conditional: import(".").JSONSchema;
56276
- })[] | undefined;
56277
- secured?: boolean | undefined;
56278
- placeholder?: {
56279
- id: string;
56280
- description: string;
56281
- defaultMessage: string;
56282
- } | undefined;
56283
- helperText?: {
56284
- id: string;
56285
- description: string;
56286
- defaultMessage: string;
56287
- } | undefined;
56288
- hideLabel?: boolean | undefined;
56289
- uncorrectable?: boolean | undefined;
56290
55238
  })[];
56291
55239
  type?: "FORM" | undefined;
56292
55240
  conditional?: import(".").JSONSchema | undefined;
@@ -57213,10 +56161,22 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
57213
56161
  hideLabel?: boolean | undefined;
57214
56162
  uncorrectable?: boolean | undefined;
57215
56163
  defaultValue?: {
57216
- firstname: string;
57217
- surname: string;
57218
- } | undefined;
57219
- configuration?: {
56164
+ firstname?: string | undefined;
56165
+ surname?: string | undefined;
56166
+ middlename?: string | undefined;
56167
+ } | undefined;
56168
+ configuration?: {
56169
+ name?: {
56170
+ firstname?: {
56171
+ required: boolean;
56172
+ } | undefined;
56173
+ surname?: {
56174
+ required: boolean;
56175
+ } | undefined;
56176
+ middlename?: {
56177
+ required: boolean;
56178
+ } | undefined;
56179
+ } | undefined;
57220
56180
  maxLength?: number | undefined;
57221
56181
  prefix?: {
57222
56182
  id: string;
@@ -57228,7 +56188,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
57228
56188
  description: string;
57229
56189
  defaultMessage: string;
57230
56190
  } | undefined;
57231
- includeMiddlename?: boolean | undefined;
57232
56191
  searchMode?: boolean | undefined;
57233
56192
  } | undefined;
57234
56193
  } | {
@@ -57792,57 +56751,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
57792
56751
  } | undefined;
57793
56752
  hideLabel?: boolean | undefined;
57794
56753
  uncorrectable?: boolean | undefined;
57795
- } | {
57796
- type: "PRINT_BUTTON";
57797
- id: string;
57798
- label: {
57799
- id: string;
57800
- description: string;
57801
- defaultMessage: string;
57802
- };
57803
- configuration: {
57804
- template: string;
57805
- buttonLabel?: {
57806
- id: string;
57807
- description: string;
57808
- defaultMessage: string;
57809
- } | undefined;
57810
- };
57811
- parent?: {
57812
- $$field: string;
57813
- } | undefined;
57814
- validation?: {
57815
- message: {
57816
- id: string;
57817
- description: string;
57818
- defaultMessage: string;
57819
- };
57820
- validator: import(".").JSONSchema;
57821
- }[] | undefined;
57822
- required?: boolean | undefined;
57823
- conditionals?: ({
57824
- type: "SHOW";
57825
- conditional: import(".").JSONSchema;
57826
- } | {
57827
- type: "ENABLE";
57828
- conditional: import(".").JSONSchema;
57829
- } | {
57830
- type: "DISPLAY_ON_REVIEW";
57831
- conditional: import(".").JSONSchema;
57832
- })[] | undefined;
57833
- secured?: boolean | undefined;
57834
- placeholder?: {
57835
- id: string;
57836
- description: string;
57837
- defaultMessage: string;
57838
- } | undefined;
57839
- helperText?: {
57840
- id: string;
57841
- description: string;
57842
- defaultMessage: string;
57843
- } | undefined;
57844
- hideLabel?: boolean | undefined;
57845
- uncorrectable?: boolean | undefined;
57846
56754
  })[];
57847
56755
  conditional?: import(".").JSONSchema | undefined;
57848
56756
  })[];