@opencrvs/toolkit 1.8.1-rc.4f4b65a → 1.8.1-rc.5130256

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 (33) hide show
  1. package/dist/commons/api/router.d.ts +392 -409
  2. package/dist/commons/conditionals/conditionals.test.d.ts +2 -0
  3. package/dist/commons/conditionals/validate-address.test.d.ts +2 -0
  4. package/dist/commons/conditionals/validate.d.ts +2 -11
  5. package/dist/commons/conditionals/validate.test.d.ts +2 -0
  6. package/dist/commons/events/ActionConfig.d.ts +5805 -3441
  7. package/dist/commons/events/ActionDocument.d.ts +716 -1252
  8. package/dist/commons/events/ActionInput.d.ts +600 -626
  9. package/dist/commons/events/AdvancedSearchConfig.d.ts +65 -83
  10. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
  12. package/dist/commons/events/Draft.d.ts +48 -48
  13. package/dist/commons/events/EventConfig.d.ts +2663 -1401
  14. package/dist/commons/events/EventDocument.d.ts +432 -451
  15. package/dist/commons/events/EventIndex.d.ts +62 -184
  16. package/dist/commons/events/EventMetadata.d.ts +9 -9
  17. package/dist/commons/events/FieldConfig.d.ts +343 -254
  18. package/dist/commons/events/FieldType.d.ts +2 -1
  19. package/dist/commons/events/FieldTypeMapping.d.ts +25 -18
  20. package/dist/commons/events/FieldValue.d.ts +12 -12
  21. package/dist/commons/events/FormConfig.d.ts +2388 -1296
  22. package/dist/commons/events/PageConfig.d.ts +508 -264
  23. package/dist/commons/events/WorkqueueConfig.d.ts +164 -288
  24. package/dist/commons/events/defineConfig.d.ts +309 -129
  25. package/dist/commons/events/event.d.ts +6 -68
  26. package/dist/commons/events/field.d.ts +0 -14
  27. package/dist/commons/events/test.utils.d.ts +12 -12
  28. package/dist/commons/events/utils.d.ts +564 -244
  29. package/dist/commons/events/utils.test.d.ts +2 -0
  30. package/dist/conditionals/index.js +2 -3
  31. package/dist/events/index.js +115 -259
  32. package/package.json +1 -1
  33. package/tsconfig.json +1 -1
@@ -2244,62 +2244,16 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2244
2244
  }, {
2245
2245
  type: z.ZodLiteral<"NAME">;
2246
2246
  defaultValue: z.ZodOptional<z.ZodObject<{
2247
- firstname: z.ZodOptional<z.ZodString>;
2248
- middlename: z.ZodOptional<z.ZodString>;
2249
- surname: z.ZodOptional<z.ZodString>;
2247
+ firstname: z.ZodString;
2248
+ surname: z.ZodString;
2250
2249
  }, "strip", z.ZodTypeAny, {
2251
- firstname?: string | undefined;
2252
- surname?: string | undefined;
2253
- middlename?: string | undefined;
2250
+ firstname: string;
2251
+ surname: string;
2254
2252
  }, {
2255
- firstname?: string | undefined;
2256
- surname?: string | undefined;
2257
- middlename?: string | undefined;
2253
+ firstname: string;
2254
+ surname: string;
2258
2255
  }>>;
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
- }>>>;
2256
+ configuration: z.ZodOptional<z.ZodObject<{
2303
2257
  maxLength: z.ZodOptional<z.ZodNumber>;
2304
2258
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
2305
2259
  id: string;
@@ -2311,35 +2265,15 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2311
2265
  description: string;
2312
2266
  defaultMessage: string;
2313
2267
  }>>;
2268
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2314
2269
  searchMode: z.ZodOptional<z.ZodBoolean>;
2315
2270
  }, "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;
2327
2271
  maxLength?: number | undefined;
2328
2272
  prefix?: TranslationConfig | undefined;
2329
2273
  postfix?: TranslationConfig | undefined;
2274
+ includeMiddlename?: boolean | undefined;
2330
2275
  searchMode?: boolean | undefined;
2331
2276
  }, {
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;
2343
2277
  maxLength?: number | undefined;
2344
2278
  prefix?: {
2345
2279
  id: string;
@@ -2351,8 +2285,9 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2351
2285
  description: string;
2352
2286
  defaultMessage: string;
2353
2287
  } | undefined;
2288
+ includeMiddlename?: boolean | undefined;
2354
2289
  searchMode?: boolean | undefined;
2355
- }>>>;
2290
+ }>>;
2356
2291
  }>, "strip", z.ZodTypeAny, {
2357
2292
  type: "NAME";
2358
2293
  id: string;
@@ -2381,25 +2316,14 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2381
2316
  hideLabel?: boolean | undefined;
2382
2317
  uncorrectable?: boolean | undefined;
2383
2318
  defaultValue?: {
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;
2319
+ firstname: string;
2320
+ surname: string;
2321
+ } | undefined;
2322
+ configuration?: {
2400
2323
  maxLength?: number | undefined;
2401
2324
  prefix?: TranslationConfig | undefined;
2402
2325
  postfix?: TranslationConfig | undefined;
2326
+ includeMiddlename?: boolean | undefined;
2403
2327
  searchMode?: boolean | undefined;
2404
2328
  } | undefined;
2405
2329
  }, {
@@ -2446,22 +2370,10 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2446
2370
  hideLabel?: boolean | undefined;
2447
2371
  uncorrectable?: boolean | undefined;
2448
2372
  defaultValue?: {
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;
2373
+ firstname: string;
2374
+ surname: string;
2375
+ } | undefined;
2376
+ configuration?: {
2465
2377
  maxLength?: number | undefined;
2466
2378
  prefix?: {
2467
2379
  id: string;
@@ -2473,6 +2385,7 @@ export declare const DeclarationFormConfig: z.ZodObject<{
2473
2385
  description: string;
2474
2386
  defaultMessage: string;
2475
2387
  } | undefined;
2388
+ includeMiddlename?: boolean | undefined;
2476
2389
  searchMode?: boolean | undefined;
2477
2390
  } | undefined;
2478
2391
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -4508,6 +4421,155 @@ export declare const DeclarationFormConfig: z.ZodObject<{
4508
4421
  } | undefined;
4509
4422
  hideLabel?: boolean | undefined;
4510
4423
  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;
4511
4573
  }>]>, "many">;
4512
4574
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
4513
4575
  }, {
@@ -5071,25 +5133,14 @@ export declare const DeclarationFormConfig: z.ZodObject<{
5071
5133
  hideLabel?: boolean | undefined;
5072
5134
  uncorrectable?: boolean | undefined;
5073
5135
  defaultValue?: {
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;
5136
+ firstname: string;
5137
+ surname: string;
5138
+ } | undefined;
5139
+ configuration?: {
5090
5140
  maxLength?: number | undefined;
5091
5141
  prefix?: TranslationConfig | undefined;
5092
5142
  postfix?: TranslationConfig | undefined;
5143
+ includeMiddlename?: boolean | undefined;
5093
5144
  searchMode?: boolean | undefined;
5094
5145
  } | undefined;
5095
5146
  } | {
@@ -5461,6 +5512,37 @@ export declare const DeclarationFormConfig: z.ZodObject<{
5461
5512
  helperText?: TranslationConfig | undefined;
5462
5513
  hideLabel?: boolean | undefined;
5463
5514
  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;
5464
5546
  })[];
5465
5547
  conditional?: import(".").JSONSchema | undefined;
5466
5548
  }, {
@@ -6357,22 +6439,10 @@ export declare const DeclarationFormConfig: z.ZodObject<{
6357
6439
  hideLabel?: boolean | undefined;
6358
6440
  uncorrectable?: boolean | undefined;
6359
6441
  defaultValue?: {
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;
6442
+ firstname: string;
6443
+ surname: string;
6444
+ } | undefined;
6445
+ configuration?: {
6376
6446
  maxLength?: number | undefined;
6377
6447
  prefix?: {
6378
6448
  id: string;
@@ -6384,6 +6454,7 @@ export declare const DeclarationFormConfig: z.ZodObject<{
6384
6454
  description: string;
6385
6455
  defaultMessage: string;
6386
6456
  } | undefined;
6457
+ includeMiddlename?: boolean | undefined;
6387
6458
  searchMode?: boolean | undefined;
6388
6459
  } | undefined;
6389
6460
  } | {
@@ -6947,25 +7018,31 @@ export declare const DeclarationFormConfig: z.ZodObject<{
6947
7018
  } | undefined;
6948
7019
  hideLabel?: boolean | undefined;
6949
7020
  uncorrectable?: boolean | undefined;
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";
7021
+ } | {
7022
+ type: "PRINT_BUTTON";
6962
7023
  id: string;
6963
- label: TranslationConfig;
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
+ };
6964
7037
  parent?: {
6965
7038
  $$field: string;
6966
7039
  } | undefined;
6967
7040
  validation?: {
6968
- message: TranslationConfig;
7041
+ message: {
7042
+ id: string;
7043
+ description: string;
7044
+ defaultMessage: string;
7045
+ };
6969
7046
  validator: import(".").JSONSchema;
6970
7047
  }[] | undefined;
6971
7048
  required?: boolean | undefined;
@@ -6980,12 +7057,30 @@ export declare const DeclarationFormConfig: z.ZodObject<{
6980
7057
  conditional: import(".").JSONSchema;
6981
7058
  })[] | undefined;
6982
7059
  secured?: boolean | undefined;
6983
- placeholder?: TranslationConfig | undefined;
6984
- helperText?: TranslationConfig | 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;
6985
7070
  hideLabel?: boolean | undefined;
6986
7071
  uncorrectable?: boolean | undefined;
6987
- } | {
6988
- type: "TEXT";
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";
6989
7084
  id: string;
6990
7085
  label: TranslationConfig;
6991
7086
  parent?: {
@@ -7011,15 +7106,8 @@ export declare const DeclarationFormConfig: z.ZodObject<{
7011
7106
  helperText?: TranslationConfig | undefined;
7012
7107
  hideLabel?: boolean | undefined;
7013
7108
  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;
7021
7109
  } | {
7022
- type: "NUMBER";
7110
+ type: "TEXT";
7023
7111
  id: string;
7024
7112
  label: TranslationConfig;
7025
7113
  parent?: {
@@ -7045,15 +7133,49 @@ export declare const DeclarationFormConfig: z.ZodObject<{
7045
7133
  helperText?: TranslationConfig | undefined;
7046
7134
  hideLabel?: boolean | undefined;
7047
7135
  uncorrectable?: boolean | undefined;
7048
- defaultValue?: number | undefined;
7136
+ defaultValue?: string | undefined;
7049
7137
  configuration?: {
7138
+ type?: "text" | "password" | undefined;
7139
+ maxLength?: number | undefined;
7050
7140
  prefix?: TranslationConfig | undefined;
7051
7141
  postfix?: TranslationConfig | undefined;
7052
- min?: number | undefined;
7053
- max?: number | undefined;
7054
7142
  } | undefined;
7055
7143
  } | {
7056
- type: "TEXTAREA";
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";
7057
7179
  id: string;
7058
7180
  label: TranslationConfig;
7059
7181
  parent?: {
@@ -7512,25 +7634,14 @@ export declare const DeclarationFormConfig: z.ZodObject<{
7512
7634
  hideLabel?: boolean | undefined;
7513
7635
  uncorrectable?: boolean | undefined;
7514
7636
  defaultValue?: {
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;
7637
+ firstname: string;
7638
+ surname: string;
7639
+ } | undefined;
7640
+ configuration?: {
7531
7641
  maxLength?: number | undefined;
7532
7642
  prefix?: TranslationConfig | undefined;
7533
7643
  postfix?: TranslationConfig | undefined;
7644
+ includeMiddlename?: boolean | undefined;
7534
7645
  searchMode?: boolean | undefined;
7535
7646
  } | undefined;
7536
7647
  } | {
@@ -7902,6 +8013,37 @@ export declare const DeclarationFormConfig: z.ZodObject<{
7902
8013
  helperText?: TranslationConfig | undefined;
7903
8014
  hideLabel?: boolean | undefined;
7904
8015
  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;
7905
8047
  })[];
7906
8048
  conditional?: import(".").JSONSchema | undefined;
7907
8049
  }[];
@@ -8805,22 +8947,10 @@ export declare const DeclarationFormConfig: z.ZodObject<{
8805
8947
  hideLabel?: boolean | undefined;
8806
8948
  uncorrectable?: boolean | undefined;
8807
8949
  defaultValue?: {
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;
8950
+ firstname: string;
8951
+ surname: string;
8952
+ } | undefined;
8953
+ configuration?: {
8824
8954
  maxLength?: number | undefined;
8825
8955
  prefix?: {
8826
8956
  id: string;
@@ -8832,6 +8962,7 @@ export declare const DeclarationFormConfig: z.ZodObject<{
8832
8962
  description: string;
8833
8963
  defaultMessage: string;
8834
8964
  } | undefined;
8965
+ includeMiddlename?: boolean | undefined;
8835
8966
  searchMode?: boolean | undefined;
8836
8967
  } | undefined;
8837
8968
  } | {
@@ -9395,6 +9526,57 @@ export declare const DeclarationFormConfig: z.ZodObject<{
9395
9526
  } | undefined;
9396
9527
  hideLabel?: boolean | undefined;
9397
9528
  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;
9398
9580
  })[];
9399
9581
  type?: "FORM" | undefined;
9400
9582
  conditional?: import(".").JSONSchema | undefined;
@@ -11646,62 +11828,16 @@ export declare const ActionFormConfig: z.ZodObject<{
11646
11828
  }, {
11647
11829
  type: z.ZodLiteral<"NAME">;
11648
11830
  defaultValue: z.ZodOptional<z.ZodObject<{
11649
- firstname: z.ZodOptional<z.ZodString>;
11650
- middlename: z.ZodOptional<z.ZodString>;
11651
- surname: z.ZodOptional<z.ZodString>;
11831
+ firstname: z.ZodString;
11832
+ surname: z.ZodString;
11652
11833
  }, "strip", z.ZodTypeAny, {
11653
- firstname?: string | undefined;
11654
- surname?: string | undefined;
11655
- middlename?: string | undefined;
11834
+ firstname: string;
11835
+ surname: string;
11656
11836
  }, {
11657
- firstname?: string | undefined;
11658
- surname?: string | undefined;
11659
- middlename?: string | undefined;
11837
+ firstname: string;
11838
+ surname: string;
11660
11839
  }>>;
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
- }>>>;
11840
+ configuration: z.ZodOptional<z.ZodObject<{
11705
11841
  maxLength: z.ZodOptional<z.ZodNumber>;
11706
11842
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
11707
11843
  id: string;
@@ -11713,35 +11849,15 @@ export declare const ActionFormConfig: z.ZodObject<{
11713
11849
  description: string;
11714
11850
  defaultMessage: string;
11715
11851
  }>>;
11852
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11716
11853
  searchMode: z.ZodOptional<z.ZodBoolean>;
11717
11854
  }, "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;
11729
11855
  maxLength?: number | undefined;
11730
11856
  prefix?: TranslationConfig | undefined;
11731
11857
  postfix?: TranslationConfig | undefined;
11858
+ includeMiddlename?: boolean | undefined;
11732
11859
  searchMode?: boolean | undefined;
11733
11860
  }, {
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;
11745
11861
  maxLength?: number | undefined;
11746
11862
  prefix?: {
11747
11863
  id: string;
@@ -11753,8 +11869,9 @@ export declare const ActionFormConfig: z.ZodObject<{
11753
11869
  description: string;
11754
11870
  defaultMessage: string;
11755
11871
  } | undefined;
11872
+ includeMiddlename?: boolean | undefined;
11756
11873
  searchMode?: boolean | undefined;
11757
- }>>>;
11874
+ }>>;
11758
11875
  }>, "strip", z.ZodTypeAny, {
11759
11876
  type: "NAME";
11760
11877
  id: string;
@@ -11783,25 +11900,14 @@ export declare const ActionFormConfig: z.ZodObject<{
11783
11900
  hideLabel?: boolean | undefined;
11784
11901
  uncorrectable?: boolean | undefined;
11785
11902
  defaultValue?: {
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;
11903
+ firstname: string;
11904
+ surname: string;
11905
+ } | undefined;
11906
+ configuration?: {
11802
11907
  maxLength?: number | undefined;
11803
11908
  prefix?: TranslationConfig | undefined;
11804
11909
  postfix?: TranslationConfig | undefined;
11910
+ includeMiddlename?: boolean | undefined;
11805
11911
  searchMode?: boolean | undefined;
11806
11912
  } | undefined;
11807
11913
  }, {
@@ -11848,22 +11954,10 @@ export declare const ActionFormConfig: z.ZodObject<{
11848
11954
  hideLabel?: boolean | undefined;
11849
11955
  uncorrectable?: boolean | undefined;
11850
11956
  defaultValue?: {
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;
11957
+ firstname: string;
11958
+ surname: string;
11959
+ } | undefined;
11960
+ configuration?: {
11867
11961
  maxLength?: number | undefined;
11868
11962
  prefix?: {
11869
11963
  id: string;
@@ -11875,6 +11969,7 @@ export declare const ActionFormConfig: z.ZodObject<{
11875
11969
  description: string;
11876
11970
  defaultMessage: string;
11877
11971
  } | undefined;
11972
+ includeMiddlename?: boolean | undefined;
11878
11973
  searchMode?: boolean | undefined;
11879
11974
  } | undefined;
11880
11975
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -13910,18 +14005,81 @@ export declare const ActionFormConfig: z.ZodObject<{
13910
14005
  } | undefined;
13911
14006
  hideLabel?: boolean | undefined;
13912
14007
  uncorrectable?: boolean | undefined;
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";
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";
13923
14077
  id: string;
13924
14078
  label: TranslationConfig;
14079
+ configuration: {
14080
+ template: string;
14081
+ buttonLabel?: TranslationConfig | undefined;
14082
+ };
13925
14083
  parent?: {
13926
14084
  $$field: string;
13927
14085
  } | undefined;
@@ -13945,8 +14103,94 @@ export declare const ActionFormConfig: z.ZodObject<{
13945
14103
  helperText?: TranslationConfig | undefined;
13946
14104
  hideLabel?: boolean | undefined;
13947
14105
  uncorrectable?: boolean | undefined;
13948
- } | {
13949
- type: "TEXT";
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";
13950
14194
  id: string;
13951
14195
  label: TranslationConfig;
13952
14196
  parent?: {
@@ -14473,25 +14717,14 @@ export declare const ActionFormConfig: z.ZodObject<{
14473
14717
  hideLabel?: boolean | undefined;
14474
14718
  uncorrectable?: boolean | undefined;
14475
14719
  defaultValue?: {
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;
14720
+ firstname: string;
14721
+ surname: string;
14722
+ } | undefined;
14723
+ configuration?: {
14492
14724
  maxLength?: number | undefined;
14493
14725
  prefix?: TranslationConfig | undefined;
14494
14726
  postfix?: TranslationConfig | undefined;
14727
+ includeMiddlename?: boolean | undefined;
14495
14728
  searchMode?: boolean | undefined;
14496
14729
  } | undefined;
14497
14730
  } | {
@@ -14863,6 +15096,37 @@ export declare const ActionFormConfig: z.ZodObject<{
14863
15096
  helperText?: TranslationConfig | undefined;
14864
15097
  hideLabel?: boolean | undefined;
14865
15098
  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;
14866
15130
  })[];
14867
15131
  conditional?: import(".").JSONSchema | undefined;
14868
15132
  }, {
@@ -15759,22 +16023,10 @@ export declare const ActionFormConfig: z.ZodObject<{
15759
16023
  hideLabel?: boolean | undefined;
15760
16024
  uncorrectable?: boolean | undefined;
15761
16025
  defaultValue?: {
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;
16026
+ firstname: string;
16027
+ surname: string;
16028
+ } | undefined;
16029
+ configuration?: {
15778
16030
  maxLength?: number | undefined;
15779
16031
  prefix?: {
15780
16032
  id: string;
@@ -15786,6 +16038,7 @@ export declare const ActionFormConfig: z.ZodObject<{
15786
16038
  description: string;
15787
16039
  defaultMessage: string;
15788
16040
  } | undefined;
16041
+ includeMiddlename?: boolean | undefined;
15789
16042
  searchMode?: boolean | undefined;
15790
16043
  } | undefined;
15791
16044
  } | {
@@ -16349,6 +16602,57 @@ export declare const ActionFormConfig: z.ZodObject<{
16349
16602
  } | undefined;
16350
16603
  hideLabel?: boolean | undefined;
16351
16604
  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;
16352
16656
  })[];
16353
16657
  type?: "FORM" | undefined;
16354
16658
  conditional?: import(".").JSONSchema | undefined;
@@ -18590,62 +18894,16 @@ export declare const ActionFormConfig: z.ZodObject<{
18590
18894
  }, {
18591
18895
  type: z.ZodLiteral<"NAME">;
18592
18896
  defaultValue: z.ZodOptional<z.ZodObject<{
18593
- firstname: z.ZodOptional<z.ZodString>;
18594
- middlename: z.ZodOptional<z.ZodString>;
18595
- surname: z.ZodOptional<z.ZodString>;
18897
+ firstname: z.ZodString;
18898
+ surname: z.ZodString;
18596
18899
  }, "strip", z.ZodTypeAny, {
18597
- firstname?: string | undefined;
18598
- surname?: string | undefined;
18599
- middlename?: string | undefined;
18900
+ firstname: string;
18901
+ surname: string;
18600
18902
  }, {
18601
- firstname?: string | undefined;
18602
- surname?: string | undefined;
18603
- middlename?: string | undefined;
18903
+ firstname: string;
18904
+ surname: string;
18604
18905
  }>>;
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
- }>>>;
18906
+ configuration: z.ZodOptional<z.ZodObject<{
18649
18907
  maxLength: z.ZodOptional<z.ZodNumber>;
18650
18908
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
18651
18909
  id: string;
@@ -18657,35 +18915,15 @@ export declare const ActionFormConfig: z.ZodObject<{
18657
18915
  description: string;
18658
18916
  defaultMessage: string;
18659
18917
  }>>;
18918
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
18660
18919
  searchMode: z.ZodOptional<z.ZodBoolean>;
18661
18920
  }, "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;
18673
18921
  maxLength?: number | undefined;
18674
18922
  prefix?: TranslationConfig | undefined;
18675
18923
  postfix?: TranslationConfig | undefined;
18924
+ includeMiddlename?: boolean | undefined;
18676
18925
  searchMode?: boolean | undefined;
18677
18926
  }, {
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;
18689
18927
  maxLength?: number | undefined;
18690
18928
  prefix?: {
18691
18929
  id: string;
@@ -18697,8 +18935,9 @@ export declare const ActionFormConfig: z.ZodObject<{
18697
18935
  description: string;
18698
18936
  defaultMessage: string;
18699
18937
  } | undefined;
18938
+ includeMiddlename?: boolean | undefined;
18700
18939
  searchMode?: boolean | undefined;
18701
- }>>>;
18940
+ }>>;
18702
18941
  }>, "strip", z.ZodTypeAny, {
18703
18942
  type: "NAME";
18704
18943
  id: string;
@@ -18727,25 +18966,14 @@ export declare const ActionFormConfig: z.ZodObject<{
18727
18966
  hideLabel?: boolean | undefined;
18728
18967
  uncorrectable?: boolean | undefined;
18729
18968
  defaultValue?: {
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;
18969
+ firstname: string;
18970
+ surname: string;
18971
+ } | undefined;
18972
+ configuration?: {
18746
18973
  maxLength?: number | undefined;
18747
18974
  prefix?: TranslationConfig | undefined;
18748
18975
  postfix?: TranslationConfig | undefined;
18976
+ includeMiddlename?: boolean | undefined;
18749
18977
  searchMode?: boolean | undefined;
18750
18978
  } | undefined;
18751
18979
  }, {
@@ -18792,22 +19020,10 @@ export declare const ActionFormConfig: z.ZodObject<{
18792
19020
  hideLabel?: boolean | undefined;
18793
19021
  uncorrectable?: boolean | undefined;
18794
19022
  defaultValue?: {
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;
19023
+ firstname: string;
19024
+ surname: string;
19025
+ } | undefined;
19026
+ configuration?: {
18811
19027
  maxLength?: number | undefined;
18812
19028
  prefix?: {
18813
19029
  id: string;
@@ -18819,6 +19035,7 @@ export declare const ActionFormConfig: z.ZodObject<{
18819
19035
  description: string;
18820
19036
  defaultMessage: string;
18821
19037
  } | undefined;
19038
+ includeMiddlename?: boolean | undefined;
18822
19039
  searchMode?: boolean | undefined;
18823
19040
  } | undefined;
18824
19041
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -20854,6 +21071,155 @@ export declare const ActionFormConfig: z.ZodObject<{
20854
21071
  } | undefined;
20855
21072
  hideLabel?: boolean | undefined;
20856
21073
  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;
20857
21223
  }>]>, "many">;
20858
21224
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
20859
21225
  }, {
@@ -21543,25 +21909,14 @@ export declare const ActionFormConfig: z.ZodObject<{
21543
21909
  hideLabel?: boolean | undefined;
21544
21910
  uncorrectable?: boolean | undefined;
21545
21911
  defaultValue?: {
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;
21912
+ firstname: string;
21913
+ surname: string;
21914
+ } | undefined;
21915
+ configuration?: {
21562
21916
  maxLength?: number | undefined;
21563
21917
  prefix?: TranslationConfig | undefined;
21564
21918
  postfix?: TranslationConfig | undefined;
21919
+ includeMiddlename?: boolean | undefined;
21565
21920
  searchMode?: boolean | undefined;
21566
21921
  } | undefined;
21567
21922
  } | {
@@ -21933,6 +22288,37 @@ export declare const ActionFormConfig: z.ZodObject<{
21933
22288
  helperText?: TranslationConfig | undefined;
21934
22289
  hideLabel?: boolean | undefined;
21935
22290
  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;
21936
22322
  })[];
21937
22323
  conditional?: import(".").JSONSchema | undefined;
21938
22324
  }, {
@@ -22858,22 +23244,10 @@ export declare const ActionFormConfig: z.ZodObject<{
22858
23244
  hideLabel?: boolean | undefined;
22859
23245
  uncorrectable?: boolean | undefined;
22860
23246
  defaultValue?: {
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;
23247
+ firstname: string;
23248
+ surname: string;
23249
+ } | undefined;
23250
+ configuration?: {
22877
23251
  maxLength?: number | undefined;
22878
23252
  prefix?: {
22879
23253
  id: string;
@@ -22885,6 +23259,7 @@ export declare const ActionFormConfig: z.ZodObject<{
22885
23259
  description: string;
22886
23260
  defaultMessage: string;
22887
23261
  } | undefined;
23262
+ includeMiddlename?: boolean | undefined;
22888
23263
  searchMode?: boolean | undefined;
22889
23264
  } | undefined;
22890
23265
  } | {
@@ -23448,6 +23823,57 @@ export declare const ActionFormConfig: z.ZodObject<{
23448
23823
  } | undefined;
23449
23824
  hideLabel?: boolean | undefined;
23450
23825
  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;
23451
23877
  })[];
23452
23878
  conditional?: import(".").JSONSchema | undefined;
23453
23879
  }>)[]>, "many">;
@@ -24012,25 +24438,14 @@ export declare const ActionFormConfig: z.ZodObject<{
24012
24438
  hideLabel?: boolean | undefined;
24013
24439
  uncorrectable?: boolean | undefined;
24014
24440
  defaultValue?: {
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;
24441
+ firstname: string;
24442
+ surname: string;
24443
+ } | undefined;
24444
+ configuration?: {
24031
24445
  maxLength?: number | undefined;
24032
24446
  prefix?: TranslationConfig | undefined;
24033
24447
  postfix?: TranslationConfig | undefined;
24448
+ includeMiddlename?: boolean | undefined;
24034
24449
  searchMode?: boolean | undefined;
24035
24450
  } | undefined;
24036
24451
  } | {
@@ -24402,6 +24817,37 @@ export declare const ActionFormConfig: z.ZodObject<{
24402
24817
  helperText?: TranslationConfig | undefined;
24403
24818
  hideLabel?: boolean | undefined;
24404
24819
  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;
24405
24851
  })[];
24406
24852
  conditional?: import(".").JSONSchema | undefined;
24407
24853
  } | {
@@ -24975,25 +25421,14 @@ export declare const ActionFormConfig: z.ZodObject<{
24975
25421
  hideLabel?: boolean | undefined;
24976
25422
  uncorrectable?: boolean | undefined;
24977
25423
  defaultValue?: {
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;
25424
+ firstname: string;
25425
+ surname: string;
25426
+ } | undefined;
25427
+ configuration?: {
24994
25428
  maxLength?: number | undefined;
24995
25429
  prefix?: TranslationConfig | undefined;
24996
25430
  postfix?: TranslationConfig | undefined;
25431
+ includeMiddlename?: boolean | undefined;
24997
25432
  searchMode?: boolean | undefined;
24998
25433
  } | undefined;
24999
25434
  } | {
@@ -25365,6 +25800,37 @@ export declare const ActionFormConfig: z.ZodObject<{
25365
25800
  helperText?: TranslationConfig | undefined;
25366
25801
  hideLabel?: boolean | undefined;
25367
25802
  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;
25368
25834
  })[];
25369
25835
  conditional?: import(".").JSONSchema | undefined;
25370
25836
  })[];
@@ -26268,22 +26734,10 @@ export declare const ActionFormConfig: z.ZodObject<{
26268
26734
  hideLabel?: boolean | undefined;
26269
26735
  uncorrectable?: boolean | undefined;
26270
26736
  defaultValue?: {
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;
26737
+ firstname: string;
26738
+ surname: string;
26739
+ } | undefined;
26740
+ configuration?: {
26287
26741
  maxLength?: number | undefined;
26288
26742
  prefix?: {
26289
26743
  id: string;
@@ -26295,6 +26749,7 @@ export declare const ActionFormConfig: z.ZodObject<{
26295
26749
  description: string;
26296
26750
  defaultMessage: string;
26297
26751
  } | undefined;
26752
+ includeMiddlename?: boolean | undefined;
26298
26753
  searchMode?: boolean | undefined;
26299
26754
  } | undefined;
26300
26755
  } | {
@@ -26858,6 +27313,57 @@ export declare const ActionFormConfig: z.ZodObject<{
26858
27313
  } | undefined;
26859
27314
  hideLabel?: boolean | undefined;
26860
27315
  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;
26861
27367
  })[];
26862
27368
  type?: "FORM" | undefined;
26863
27369
  conditional?: import(".").JSONSchema | undefined;
@@ -27784,22 +28290,10 @@ export declare const ActionFormConfig: z.ZodObject<{
27784
28290
  hideLabel?: boolean | undefined;
27785
28291
  uncorrectable?: boolean | undefined;
27786
28292
  defaultValue?: {
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;
28293
+ firstname: string;
28294
+ surname: string;
28295
+ } | undefined;
28296
+ configuration?: {
27803
28297
  maxLength?: number | undefined;
27804
28298
  prefix?: {
27805
28299
  id: string;
@@ -27811,6 +28305,7 @@ export declare const ActionFormConfig: z.ZodObject<{
27811
28305
  description: string;
27812
28306
  defaultMessage: string;
27813
28307
  } | undefined;
28308
+ includeMiddlename?: boolean | undefined;
27814
28309
  searchMode?: boolean | undefined;
27815
28310
  } | undefined;
27816
28311
  } | {
@@ -28374,6 +28869,57 @@ export declare const ActionFormConfig: z.ZodObject<{
28374
28869
  } | undefined;
28375
28870
  hideLabel?: boolean | undefined;
28376
28871
  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;
28377
28923
  })[];
28378
28924
  conditional?: import(".").JSONSchema | undefined;
28379
28925
  })[];
@@ -30624,62 +31170,16 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
30624
31170
  }, {
30625
31171
  type: z.ZodLiteral<"NAME">;
30626
31172
  defaultValue: z.ZodOptional<z.ZodObject<{
30627
- firstname: z.ZodOptional<z.ZodString>;
30628
- middlename: z.ZodOptional<z.ZodString>;
30629
- surname: z.ZodOptional<z.ZodString>;
31173
+ firstname: z.ZodString;
31174
+ surname: z.ZodString;
30630
31175
  }, "strip", z.ZodTypeAny, {
30631
- firstname?: string | undefined;
30632
- surname?: string | undefined;
30633
- middlename?: string | undefined;
31176
+ firstname: string;
31177
+ surname: string;
30634
31178
  }, {
30635
- firstname?: string | undefined;
30636
- surname?: string | undefined;
30637
- middlename?: string | undefined;
31179
+ firstname: string;
31180
+ surname: string;
30638
31181
  }>>;
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
- }>>>;
31182
+ configuration: z.ZodOptional<z.ZodObject<{
30683
31183
  maxLength: z.ZodOptional<z.ZodNumber>;
30684
31184
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
30685
31185
  id: string;
@@ -30691,35 +31191,15 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
30691
31191
  description: string;
30692
31192
  defaultMessage: string;
30693
31193
  }>>;
31194
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
30694
31195
  searchMode: z.ZodOptional<z.ZodBoolean>;
30695
31196
  }, "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;
30707
31197
  maxLength?: number | undefined;
30708
31198
  prefix?: TranslationConfig | undefined;
30709
31199
  postfix?: TranslationConfig | undefined;
31200
+ includeMiddlename?: boolean | undefined;
30710
31201
  searchMode?: boolean | undefined;
30711
31202
  }, {
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;
30723
31203
  maxLength?: number | undefined;
30724
31204
  prefix?: {
30725
31205
  id: string;
@@ -30731,8 +31211,9 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
30731
31211
  description: string;
30732
31212
  defaultMessage: string;
30733
31213
  } | undefined;
31214
+ includeMiddlename?: boolean | undefined;
30734
31215
  searchMode?: boolean | undefined;
30735
- }>>>;
31216
+ }>>;
30736
31217
  }>, "strip", z.ZodTypeAny, {
30737
31218
  type: "NAME";
30738
31219
  id: string;
@@ -30761,25 +31242,14 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
30761
31242
  hideLabel?: boolean | undefined;
30762
31243
  uncorrectable?: boolean | undefined;
30763
31244
  defaultValue?: {
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;
31245
+ firstname: string;
31246
+ surname: string;
31247
+ } | undefined;
31248
+ configuration?: {
30780
31249
  maxLength?: number | undefined;
30781
31250
  prefix?: TranslationConfig | undefined;
30782
31251
  postfix?: TranslationConfig | undefined;
31252
+ includeMiddlename?: boolean | undefined;
30783
31253
  searchMode?: boolean | undefined;
30784
31254
  } | undefined;
30785
31255
  }, {
@@ -30826,22 +31296,10 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
30826
31296
  hideLabel?: boolean | undefined;
30827
31297
  uncorrectable?: boolean | undefined;
30828
31298
  defaultValue?: {
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;
31299
+ firstname: string;
31300
+ surname: string;
31301
+ } | undefined;
31302
+ configuration?: {
30845
31303
  maxLength?: number | undefined;
30846
31304
  prefix?: {
30847
31305
  id: string;
@@ -30853,6 +31311,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
30853
31311
  description: string;
30854
31312
  defaultMessage: string;
30855
31313
  } | undefined;
31314
+ includeMiddlename?: boolean | undefined;
30856
31315
  searchMode?: boolean | undefined;
30857
31316
  } | undefined;
30858
31317
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -32888,113 +33347,81 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
32888
33347
  } | undefined;
32889
33348
  hideLabel?: boolean | undefined;
32890
33349
  uncorrectable?: boolean | undefined;
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?: {
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, {
32904
33360
  $$field: string;
32905
- } | undefined;
32906
- validation?: {
32907
- message: TranslationConfig;
32908
- validator: import(".").JSONSchema;
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";
32928
- id: string;
32929
- label: TranslationConfig;
32930
- parent?: {
33361
+ }, {
32931
33362
  $$field: string;
32932
- } | undefined;
32933
- validation?: {
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, {
32934
33380
  message: TranslationConfig;
32935
33381
  validator: import(".").JSONSchema;
32936
- }[] | undefined;
32937
- required?: boolean | undefined;
32938
- conditionals?: ({
32939
- type: "SHOW";
32940
- conditional: import(".").JSONSchema;
32941
- } | {
32942
- type: "ENABLE";
32943
- conditional: import(".").JSONSchema;
32944
- } | {
32945
- type: "DISPLAY_ON_REVIEW";
32946
- conditional: import(".").JSONSchema;
32947
- })[] | undefined;
32948
- secured?: boolean | undefined;
32949
- placeholder?: TranslationConfig | undefined;
32950
- helperText?: TranslationConfig | undefined;
32951
- hideLabel?: boolean | undefined;
32952
- uncorrectable?: boolean | undefined;
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";
32962
- id: string;
32963
- label: TranslationConfig;
32964
- parent?: {
32965
- $$field: string;
32966
- } | undefined;
32967
- validation?: {
32968
- message: TranslationConfig;
33382
+ }, {
33383
+ message: {
33384
+ id: string;
33385
+ description: string;
33386
+ defaultMessage: string;
33387
+ };
32969
33388
  validator: import(".").JSONSchema;
32970
- }[] | undefined;
32971
- required?: boolean | undefined;
32972
- conditionals?: ({
32973
- type: "SHOW";
32974
- conditional: import(".").JSONSchema;
32975
- } | {
32976
- type: "ENABLE";
32977
- conditional: import(".").JSONSchema;
32978
- } | {
32979
- type: "DISPLAY_ON_REVIEW";
32980
- conditional: import(".").JSONSchema;
32981
- })[] | undefined;
32982
- secured?: boolean | undefined;
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;
32993
- } | undefined;
32994
- } | {
32995
- type: "TEXTAREA";
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";
32996
33419
  id: string;
32997
33420
  label: TranslationConfig;
33421
+ configuration: {
33422
+ template: string;
33423
+ buttonLabel?: TranslationConfig | undefined;
33424
+ };
32998
33425
  parent?: {
32999
33426
  $$field: string;
33000
33427
  } | undefined;
@@ -33018,28 +33445,31 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33018
33445
  helperText?: TranslationConfig | undefined;
33019
33446
  hideLabel?: boolean | undefined;
33020
33447
  uncorrectable?: boolean | undefined;
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";
33448
+ }, {
33449
+ type: "PRINT_BUTTON";
33031
33450
  id: string;
33032
- label: TranslationConfig;
33451
+ label: {
33452
+ id: string;
33453
+ description: string;
33454
+ defaultMessage: string;
33455
+ };
33033
33456
  configuration: {
33034
- maxFileSize: number;
33035
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
33457
+ template: string;
33458
+ buttonLabel?: {
33459
+ id: string;
33460
+ description: string;
33461
+ defaultMessage: string;
33462
+ } | undefined;
33036
33463
  };
33037
- signaturePromptLabel: TranslationConfig;
33038
33464
  parent?: {
33039
33465
  $$field: string;
33040
33466
  } | undefined;
33041
33467
  validation?: {
33042
- message: TranslationConfig;
33468
+ message: {
33469
+ id: string;
33470
+ description: string;
33471
+ defaultMessage: string;
33472
+ };
33043
33473
  validator: import(".").JSONSchema;
33044
33474
  }[] | undefined;
33045
33475
  required?: boolean | undefined;
@@ -33054,13 +33484,28 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33054
33484
  conditional: import(".").JSONSchema;
33055
33485
  })[] | undefined;
33056
33486
  secured?: boolean | undefined;
33057
- placeholder?: TranslationConfig | undefined;
33058
- helperText?: TranslationConfig | undefined;
33487
+ placeholder?: {
33488
+ id: string;
33489
+ description: string;
33490
+ defaultMessage: string;
33491
+ } | undefined;
33492
+ helperText?: {
33493
+ id: string;
33494
+ description: string;
33495
+ defaultMessage: string;
33496
+ } | undefined;
33059
33497
  hideLabel?: boolean | undefined;
33060
33498
  uncorrectable?: boolean | undefined;
33061
- defaultValue?: string | undefined;
33062
- } | {
33063
- type: "EMAIL";
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";
33064
33509
  id: string;
33065
33510
  label: TranslationConfig;
33066
33511
  parent?: {
@@ -33086,12 +33531,8 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33086
33531
  helperText?: TranslationConfig | undefined;
33087
33532
  hideLabel?: boolean | undefined;
33088
33533
  uncorrectable?: boolean | undefined;
33089
- defaultValue?: string | undefined;
33090
- configuration?: {
33091
- maxLength?: number | undefined;
33092
- } | undefined;
33093
33534
  } | {
33094
- type: "DATE";
33535
+ type: "TEXT";
33095
33536
  id: string;
33096
33537
  label: TranslationConfig;
33097
33538
  parent?: {
@@ -33119,10 +33560,13 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33119
33560
  uncorrectable?: boolean | undefined;
33120
33561
  defaultValue?: string | undefined;
33121
33562
  configuration?: {
33122
- notice?: TranslationConfig | undefined;
33563
+ type?: "text" | "password" | undefined;
33564
+ maxLength?: number | undefined;
33565
+ prefix?: TranslationConfig | undefined;
33566
+ postfix?: TranslationConfig | undefined;
33123
33567
  } | undefined;
33124
33568
  } | {
33125
- type: "TIME";
33569
+ type: "NUMBER";
33126
33570
  id: string;
33127
33571
  label: TranslationConfig;
33128
33572
  parent?: {
@@ -33148,12 +33592,15 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33148
33592
  helperText?: TranslationConfig | undefined;
33149
33593
  hideLabel?: boolean | undefined;
33150
33594
  uncorrectable?: boolean | undefined;
33151
- defaultValue?: string | undefined;
33595
+ defaultValue?: number | undefined;
33152
33596
  configuration?: {
33153
- notice?: TranslationConfig | undefined;
33597
+ prefix?: TranslationConfig | undefined;
33598
+ postfix?: TranslationConfig | undefined;
33599
+ min?: number | undefined;
33600
+ max?: number | undefined;
33154
33601
  } | undefined;
33155
33602
  } | {
33156
- type: "DATE_RANGE";
33603
+ type: "TEXTAREA";
33157
33604
  id: string;
33158
33605
  label: TranslationConfig;
33159
33606
  parent?: {
@@ -33179,22 +33626,183 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33179
33626
  helperText?: TranslationConfig | undefined;
33180
33627
  hideLabel?: boolean | undefined;
33181
33628
  uncorrectable?: boolean | undefined;
33182
- defaultValue?: string | {
33183
- start: string;
33184
- end: string;
33185
- } | undefined;
33629
+ defaultValue?: string | undefined;
33186
33630
  configuration?: {
33187
- notice?: TranslationConfig | undefined;
33631
+ maxLength?: number | undefined;
33632
+ prefix?: TranslationConfig | undefined;
33633
+ postfix?: TranslationConfig | undefined;
33634
+ rows?: number | undefined;
33635
+ cols?: number | undefined;
33188
33636
  } | undefined;
33189
33637
  } | {
33190
- type: "PARAGRAPH";
33638
+ type: "SIGNATURE";
33191
33639
  id: string;
33192
33640
  label: TranslationConfig;
33193
33641
  configuration: {
33194
- styles?: {
33195
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
33196
- hint?: boolean | undefined;
33197
- } | undefined;
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;
33198
33806
  };
33199
33807
  parent?: {
33200
33808
  $$field: string;
@@ -33451,25 +34059,14 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33451
34059
  hideLabel?: boolean | undefined;
33452
34060
  uncorrectable?: boolean | undefined;
33453
34061
  defaultValue?: {
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;
34062
+ firstname: string;
34063
+ surname: string;
34064
+ } | undefined;
34065
+ configuration?: {
33470
34066
  maxLength?: number | undefined;
33471
34067
  prefix?: TranslationConfig | undefined;
33472
34068
  postfix?: TranslationConfig | undefined;
34069
+ includeMiddlename?: boolean | undefined;
33473
34070
  searchMode?: boolean | undefined;
33474
34071
  } | undefined;
33475
34072
  } | {
@@ -33841,6 +34438,37 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
33841
34438
  helperText?: TranslationConfig | undefined;
33842
34439
  hideLabel?: boolean | undefined;
33843
34440
  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;
33844
34472
  })[];
33845
34473
  conditional?: import(".").JSONSchema | undefined;
33846
34474
  }, {
@@ -34737,22 +35365,10 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
34737
35365
  hideLabel?: boolean | undefined;
34738
35366
  uncorrectable?: boolean | undefined;
34739
35367
  defaultValue?: {
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;
35368
+ firstname: string;
35369
+ surname: string;
35370
+ } | undefined;
35371
+ configuration?: {
34756
35372
  maxLength?: number | undefined;
34757
35373
  prefix?: {
34758
35374
  id: string;
@@ -34764,6 +35380,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
34764
35380
  description: string;
34765
35381
  defaultMessage: string;
34766
35382
  } | undefined;
35383
+ includeMiddlename?: boolean | undefined;
34767
35384
  searchMode?: boolean | undefined;
34768
35385
  } | undefined;
34769
35386
  } | {
@@ -35327,25 +35944,31 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
35327
35944
  } | undefined;
35328
35945
  hideLabel?: boolean | undefined;
35329
35946
  uncorrectable?: boolean | undefined;
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";
35947
+ } | {
35948
+ type: "PRINT_BUTTON";
35342
35949
  id: string;
35343
- label: TranslationConfig;
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
+ };
35344
35963
  parent?: {
35345
35964
  $$field: string;
35346
35965
  } | undefined;
35347
35966
  validation?: {
35348
- message: TranslationConfig;
35967
+ message: {
35968
+ id: string;
35969
+ description: string;
35970
+ defaultMessage: string;
35971
+ };
35349
35972
  validator: import(".").JSONSchema;
35350
35973
  }[] | undefined;
35351
35974
  required?: boolean | undefined;
@@ -35360,12 +35983,30 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
35360
35983
  conditional: import(".").JSONSchema;
35361
35984
  })[] | undefined;
35362
35985
  secured?: boolean | undefined;
35363
- placeholder?: TranslationConfig | undefined;
35364
- helperText?: TranslationConfig | 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;
35365
35996
  hideLabel?: boolean | undefined;
35366
35997
  uncorrectable?: boolean | undefined;
35367
- } | {
35368
- type: "TEXT";
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";
35369
36010
  id: string;
35370
36011
  label: TranslationConfig;
35371
36012
  parent?: {
@@ -35391,15 +36032,42 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
35391
36032
  helperText?: TranslationConfig | undefined;
35392
36033
  hideLabel?: boolean | undefined;
35393
36034
  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;
35401
36035
  } | {
35402
- type: "NUMBER";
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";
35403
36071
  id: string;
35404
36072
  label: TranslationConfig;
35405
36073
  parent?: {
@@ -35892,25 +36560,14 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
35892
36560
  hideLabel?: boolean | undefined;
35893
36561
  uncorrectable?: boolean | undefined;
35894
36562
  defaultValue?: {
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;
36563
+ firstname: string;
36564
+ surname: string;
36565
+ } | undefined;
36566
+ configuration?: {
35911
36567
  maxLength?: number | undefined;
35912
36568
  prefix?: TranslationConfig | undefined;
35913
36569
  postfix?: TranslationConfig | undefined;
36570
+ includeMiddlename?: boolean | undefined;
35914
36571
  searchMode?: boolean | undefined;
35915
36572
  } | undefined;
35916
36573
  } | {
@@ -36282,6 +36939,37 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
36282
36939
  helperText?: TranslationConfig | undefined;
36283
36940
  hideLabel?: boolean | undefined;
36284
36941
  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;
36285
36973
  })[];
36286
36974
  conditional?: import(".").JSONSchema | undefined;
36287
36975
  }[];
@@ -37185,22 +37873,10 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
37185
37873
  hideLabel?: boolean | undefined;
37186
37874
  uncorrectable?: boolean | undefined;
37187
37875
  defaultValue?: {
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;
37876
+ firstname: string;
37877
+ surname: string;
37878
+ } | undefined;
37879
+ configuration?: {
37204
37880
  maxLength?: number | undefined;
37205
37881
  prefix?: {
37206
37882
  id: string;
@@ -37212,6 +37888,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
37212
37888
  description: string;
37213
37889
  defaultMessage: string;
37214
37890
  } | undefined;
37891
+ includeMiddlename?: boolean | undefined;
37215
37892
  searchMode?: boolean | undefined;
37216
37893
  } | undefined;
37217
37894
  } | {
@@ -37775,6 +38452,57 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
37775
38452
  } | undefined;
37776
38453
  hideLabel?: boolean | undefined;
37777
38454
  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;
37778
38506
  })[];
37779
38507
  type?: "FORM" | undefined;
37780
38508
  conditional?: import(".").JSONSchema | undefined;
@@ -40023,62 +40751,16 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40023
40751
  }, {
40024
40752
  type: z.ZodLiteral<"NAME">;
40025
40753
  defaultValue: z.ZodOptional<z.ZodObject<{
40026
- firstname: z.ZodOptional<z.ZodString>;
40027
- middlename: z.ZodOptional<z.ZodString>;
40028
- surname: z.ZodOptional<z.ZodString>;
40754
+ firstname: z.ZodString;
40755
+ surname: z.ZodString;
40029
40756
  }, "strip", z.ZodTypeAny, {
40030
- firstname?: string | undefined;
40031
- surname?: string | undefined;
40032
- middlename?: string | undefined;
40757
+ firstname: string;
40758
+ surname: string;
40033
40759
  }, {
40034
- firstname?: string | undefined;
40035
- surname?: string | undefined;
40036
- middlename?: string | undefined;
40760
+ firstname: string;
40761
+ surname: string;
40037
40762
  }>>;
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
- }>>>;
40763
+ configuration: z.ZodOptional<z.ZodObject<{
40082
40764
  maxLength: z.ZodOptional<z.ZodNumber>;
40083
40765
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
40084
40766
  id: string;
@@ -40090,35 +40772,15 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40090
40772
  description: string;
40091
40773
  defaultMessage: string;
40092
40774
  }>>;
40775
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
40093
40776
  searchMode: z.ZodOptional<z.ZodBoolean>;
40094
40777
  }, "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;
40106
40778
  maxLength?: number | undefined;
40107
40779
  prefix?: TranslationConfig | undefined;
40108
40780
  postfix?: TranslationConfig | undefined;
40781
+ includeMiddlename?: boolean | undefined;
40109
40782
  searchMode?: boolean | undefined;
40110
40783
  }, {
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;
40122
40784
  maxLength?: number | undefined;
40123
40785
  prefix?: {
40124
40786
  id: string;
@@ -40130,8 +40792,9 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40130
40792
  description: string;
40131
40793
  defaultMessage: string;
40132
40794
  } | undefined;
40795
+ includeMiddlename?: boolean | undefined;
40133
40796
  searchMode?: boolean | undefined;
40134
- }>>>;
40797
+ }>>;
40135
40798
  }>, "strip", z.ZodTypeAny, {
40136
40799
  type: "NAME";
40137
40800
  id: string;
@@ -40160,25 +40823,14 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40160
40823
  hideLabel?: boolean | undefined;
40161
40824
  uncorrectable?: boolean | undefined;
40162
40825
  defaultValue?: {
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;
40826
+ firstname: string;
40827
+ surname: string;
40828
+ } | undefined;
40829
+ configuration?: {
40179
40830
  maxLength?: number | undefined;
40180
40831
  prefix?: TranslationConfig | undefined;
40181
40832
  postfix?: TranslationConfig | undefined;
40833
+ includeMiddlename?: boolean | undefined;
40182
40834
  searchMode?: boolean | undefined;
40183
40835
  } | undefined;
40184
40836
  }, {
@@ -40225,22 +40877,10 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40225
40877
  hideLabel?: boolean | undefined;
40226
40878
  uncorrectable?: boolean | undefined;
40227
40879
  defaultValue?: {
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;
40880
+ firstname: string;
40881
+ surname: string;
40882
+ } | undefined;
40883
+ configuration?: {
40244
40884
  maxLength?: number | undefined;
40245
40885
  prefix?: {
40246
40886
  id: string;
@@ -40252,6 +40892,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
40252
40892
  description: string;
40253
40893
  defaultMessage: string;
40254
40894
  } | undefined;
40895
+ includeMiddlename?: boolean | undefined;
40255
40896
  searchMode?: boolean | undefined;
40256
40897
  } | undefined;
40257
40898
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -42287,6 +42928,155 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
42287
42928
  } | undefined;
42288
42929
  hideLabel?: boolean | undefined;
42289
42930
  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;
42290
43080
  }>]>, "many">;
42291
43081
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
42292
43082
  }, {
@@ -42850,25 +43640,14 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
42850
43640
  hideLabel?: boolean | undefined;
42851
43641
  uncorrectable?: boolean | undefined;
42852
43642
  defaultValue?: {
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;
43643
+ firstname: string;
43644
+ surname: string;
43645
+ } | undefined;
43646
+ configuration?: {
42869
43647
  maxLength?: number | undefined;
42870
43648
  prefix?: TranslationConfig | undefined;
42871
43649
  postfix?: TranslationConfig | undefined;
43650
+ includeMiddlename?: boolean | undefined;
42872
43651
  searchMode?: boolean | undefined;
42873
43652
  } | undefined;
42874
43653
  } | {
@@ -43172,50 +43951,81 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
43172
43951
  helperText?: TranslationConfig | undefined;
43173
43952
  hideLabel?: boolean | undefined;
43174
43953
  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;
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;
43207
44022
  } | {
43208
- type: "DATA";
44023
+ type: "PRINT_BUTTON";
43209
44024
  id: string;
43210
44025
  label: TranslationConfig;
43211
44026
  configuration: {
43212
- data: ({
43213
- value: string | TranslationConfig;
43214
- label: TranslationConfig;
43215
- } | {
43216
- fieldId: string;
43217
- })[];
43218
- subtitle?: TranslationConfig | undefined;
44027
+ template: string;
44028
+ buttonLabel?: TranslationConfig | undefined;
43219
44029
  };
43220
44030
  parent?: {
43221
44031
  $$field: string;
@@ -44136,22 +44946,10 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
44136
44946
  hideLabel?: boolean | undefined;
44137
44947
  uncorrectable?: boolean | undefined;
44138
44948
  defaultValue?: {
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;
44949
+ firstname: string;
44950
+ surname: string;
44951
+ } | undefined;
44952
+ configuration?: {
44155
44953
  maxLength?: number | undefined;
44156
44954
  prefix?: {
44157
44955
  id: string;
@@ -44163,6 +44961,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
44163
44961
  description: string;
44164
44962
  defaultMessage: string;
44165
44963
  } | undefined;
44964
+ includeMiddlename?: boolean | undefined;
44166
44965
  searchMode?: boolean | undefined;
44167
44966
  } | undefined;
44168
44967
  } | {
@@ -44726,6 +45525,57 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
44726
45525
  } | undefined;
44727
45526
  hideLabel?: boolean | undefined;
44728
45527
  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;
44729
45579
  })[];
44730
45580
  type?: "FORM" | undefined;
44731
45581
  conditional?: import(".").JSONSchema | undefined;
@@ -46967,62 +47817,16 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
46967
47817
  }, {
46968
47818
  type: z.ZodLiteral<"NAME">;
46969
47819
  defaultValue: z.ZodOptional<z.ZodObject<{
46970
- firstname: z.ZodOptional<z.ZodString>;
46971
- middlename: z.ZodOptional<z.ZodString>;
46972
- surname: z.ZodOptional<z.ZodString>;
47820
+ firstname: z.ZodString;
47821
+ surname: z.ZodString;
46973
47822
  }, "strip", z.ZodTypeAny, {
46974
- firstname?: string | undefined;
46975
- surname?: string | undefined;
46976
- middlename?: string | undefined;
47823
+ firstname: string;
47824
+ surname: string;
46977
47825
  }, {
46978
- firstname?: string | undefined;
46979
- surname?: string | undefined;
46980
- middlename?: string | undefined;
47826
+ firstname: string;
47827
+ surname: string;
46981
47828
  }>>;
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
- }>>>;
47829
+ configuration: z.ZodOptional<z.ZodObject<{
47026
47830
  maxLength: z.ZodOptional<z.ZodNumber>;
47027
47831
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
47028
47832
  id: string;
@@ -47034,35 +47838,15 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47034
47838
  description: string;
47035
47839
  defaultMessage: string;
47036
47840
  }>>;
47841
+ includeMiddlename: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
47037
47842
  searchMode: z.ZodOptional<z.ZodBoolean>;
47038
47843
  }, "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;
47050
47844
  maxLength?: number | undefined;
47051
47845
  prefix?: TranslationConfig | undefined;
47052
47846
  postfix?: TranslationConfig | undefined;
47847
+ includeMiddlename?: boolean | undefined;
47053
47848
  searchMode?: boolean | undefined;
47054
47849
  }, {
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;
47066
47850
  maxLength?: number | undefined;
47067
47851
  prefix?: {
47068
47852
  id: string;
@@ -47074,8 +47858,9 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47074
47858
  description: string;
47075
47859
  defaultMessage: string;
47076
47860
  } | undefined;
47861
+ includeMiddlename?: boolean | undefined;
47077
47862
  searchMode?: boolean | undefined;
47078
- }>>>;
47863
+ }>>;
47079
47864
  }>, "strip", z.ZodTypeAny, {
47080
47865
  type: "NAME";
47081
47866
  id: string;
@@ -47104,25 +47889,14 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47104
47889
  hideLabel?: boolean | undefined;
47105
47890
  uncorrectable?: boolean | undefined;
47106
47891
  defaultValue?: {
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;
47892
+ firstname: string;
47893
+ surname: string;
47894
+ } | undefined;
47895
+ configuration?: {
47123
47896
  maxLength?: number | undefined;
47124
47897
  prefix?: TranslationConfig | undefined;
47125
47898
  postfix?: TranslationConfig | undefined;
47899
+ includeMiddlename?: boolean | undefined;
47126
47900
  searchMode?: boolean | undefined;
47127
47901
  } | undefined;
47128
47902
  }, {
@@ -47169,22 +47943,10 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47169
47943
  hideLabel?: boolean | undefined;
47170
47944
  uncorrectable?: boolean | undefined;
47171
47945
  defaultValue?: {
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;
47946
+ firstname: string;
47947
+ surname: string;
47948
+ } | undefined;
47949
+ configuration?: {
47188
47950
  maxLength?: number | undefined;
47189
47951
  prefix?: {
47190
47952
  id: string;
@@ -47196,6 +47958,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
47196
47958
  description: string;
47197
47959
  defaultMessage: string;
47198
47960
  } | undefined;
47961
+ includeMiddlename?: boolean | undefined;
47199
47962
  searchMode?: boolean | undefined;
47200
47963
  } | undefined;
47201
47964
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -49168,7 +49931,169 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
49168
49931
  hideLabel?: boolean | undefined;
49169
49932
  uncorrectable?: boolean | undefined;
49170
49933
  }, {
49171
- type: "DATA";
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";
49172
50097
  id: string;
49173
50098
  label: {
49174
50099
  id: string;
@@ -49176,21 +50101,8 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
49176
50101
  defaultMessage: string;
49177
50102
  };
49178
50103
  configuration: {
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?: {
50104
+ template: string;
50105
+ buttonLabel?: {
49194
50106
  id: string;
49195
50107
  description: string;
49196
50108
  defaultMessage: string;
@@ -49920,25 +50832,14 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
49920
50832
  hideLabel?: boolean | undefined;
49921
50833
  uncorrectable?: boolean | undefined;
49922
50834
  defaultValue?: {
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;
50835
+ firstname: string;
50836
+ surname: string;
50837
+ } | undefined;
50838
+ configuration?: {
49939
50839
  maxLength?: number | undefined;
49940
50840
  prefix?: TranslationConfig | undefined;
49941
50841
  postfix?: TranslationConfig | undefined;
50842
+ includeMiddlename?: boolean | undefined;
49942
50843
  searchMode?: boolean | undefined;
49943
50844
  } | undefined;
49944
50845
  } | {
@@ -50310,6 +51211,37 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
50310
51211
  helperText?: TranslationConfig | undefined;
50311
51212
  hideLabel?: boolean | undefined;
50312
51213
  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;
50313
51245
  })[];
50314
51246
  conditional?: import(".").JSONSchema | undefined;
50315
51247
  }, {
@@ -51235,22 +52167,10 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
51235
52167
  hideLabel?: boolean | undefined;
51236
52168
  uncorrectable?: boolean | undefined;
51237
52169
  defaultValue?: {
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;
52170
+ firstname: string;
52171
+ surname: string;
52172
+ } | undefined;
52173
+ configuration?: {
51254
52174
  maxLength?: number | undefined;
51255
52175
  prefix?: {
51256
52176
  id: string;
@@ -51262,6 +52182,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
51262
52182
  description: string;
51263
52183
  defaultMessage: string;
51264
52184
  } | undefined;
52185
+ includeMiddlename?: boolean | undefined;
51265
52186
  searchMode?: boolean | undefined;
51266
52187
  } | undefined;
51267
52188
  } | {
@@ -51825,6 +52746,57 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
51825
52746
  } | undefined;
51826
52747
  hideLabel?: boolean | undefined;
51827
52748
  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;
51828
52800
  })[];
51829
52801
  conditional?: import(".").JSONSchema | undefined;
51830
52802
  }>)[]>, "many">;
@@ -52389,25 +53361,14 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
52389
53361
  hideLabel?: boolean | undefined;
52390
53362
  uncorrectable?: boolean | undefined;
52391
53363
  defaultValue?: {
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;
53364
+ firstname: string;
53365
+ surname: string;
53366
+ } | undefined;
53367
+ configuration?: {
52408
53368
  maxLength?: number | undefined;
52409
53369
  prefix?: TranslationConfig | undefined;
52410
53370
  postfix?: TranslationConfig | undefined;
53371
+ includeMiddlename?: boolean | undefined;
52411
53372
  searchMode?: boolean | undefined;
52412
53373
  } | undefined;
52413
53374
  } | {
@@ -52779,6 +53740,37 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
52779
53740
  helperText?: TranslationConfig | undefined;
52780
53741
  hideLabel?: boolean | undefined;
52781
53742
  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;
52782
53774
  })[];
52783
53775
  conditional?: import(".").JSONSchema | undefined;
52784
53776
  } | {
@@ -53352,25 +54344,14 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
53352
54344
  hideLabel?: boolean | undefined;
53353
54345
  uncorrectable?: boolean | undefined;
53354
54346
  defaultValue?: {
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;
54347
+ firstname: string;
54348
+ surname: string;
54349
+ } | undefined;
54350
+ configuration?: {
53371
54351
  maxLength?: number | undefined;
53372
54352
  prefix?: TranslationConfig | undefined;
53373
54353
  postfix?: TranslationConfig | undefined;
54354
+ includeMiddlename?: boolean | undefined;
53374
54355
  searchMode?: boolean | undefined;
53375
54356
  } | undefined;
53376
54357
  } | {
@@ -53742,6 +54723,37 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
53742
54723
  helperText?: TranslationConfig | undefined;
53743
54724
  hideLabel?: boolean | undefined;
53744
54725
  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;
53745
54757
  })[];
53746
54758
  conditional?: import(".").JSONSchema | undefined;
53747
54759
  })[];
@@ -54645,22 +55657,10 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
54645
55657
  hideLabel?: boolean | undefined;
54646
55658
  uncorrectable?: boolean | undefined;
54647
55659
  defaultValue?: {
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;
55660
+ firstname: string;
55661
+ surname: string;
55662
+ } | undefined;
55663
+ configuration?: {
54664
55664
  maxLength?: number | undefined;
54665
55665
  prefix?: {
54666
55666
  id: string;
@@ -54672,6 +55672,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
54672
55672
  description: string;
54673
55673
  defaultMessage: string;
54674
55674
  } | undefined;
55675
+ includeMiddlename?: boolean | undefined;
54675
55676
  searchMode?: boolean | undefined;
54676
55677
  } | undefined;
54677
55678
  } | {
@@ -55235,6 +56236,57 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
55235
56236
  } | undefined;
55236
56237
  hideLabel?: boolean | undefined;
55237
56238
  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;
55238
56290
  })[];
55239
56291
  type?: "FORM" | undefined;
55240
56292
  conditional?: import(".").JSONSchema | undefined;
@@ -56161,22 +57213,10 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
56161
57213
  hideLabel?: boolean | undefined;
56162
57214
  uncorrectable?: boolean | undefined;
56163
57215
  defaultValue?: {
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;
57216
+ firstname: string;
57217
+ surname: string;
57218
+ } | undefined;
57219
+ configuration?: {
56180
57220
  maxLength?: number | undefined;
56181
57221
  prefix?: {
56182
57222
  id: string;
@@ -56188,6 +57228,7 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
56188
57228
  description: string;
56189
57229
  defaultMessage: string;
56190
57230
  } | undefined;
57231
+ includeMiddlename?: boolean | undefined;
56191
57232
  searchMode?: boolean | undefined;
56192
57233
  } | undefined;
56193
57234
  } | {
@@ -56751,6 +57792,57 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
56751
57792
  } | undefined;
56752
57793
  hideLabel?: boolean | undefined;
56753
57794
  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;
56754
57846
  })[];
56755
57847
  conditional?: import(".").JSONSchema | undefined;
56756
57848
  })[];