@opencrvs/toolkit 1.8.0-rc.fa49ae3 → 1.8.0-rc.fa564ca
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.
- package/dist/commons/api/router.d.ts +381 -6649
- package/dist/commons/conditionals/conditionals.d.ts +0 -4
- package/dist/commons/conditionals/validate.d.ts +0 -6
- package/dist/commons/events/ActionConfig.d.ts +6326 -18678
- package/dist/commons/events/ActionDocument.d.ts +204 -1713
- package/dist/commons/events/ActionInput.d.ts +180 -1380
- package/dist/commons/events/AdvancedSearchConfig.d.ts +3 -75
- package/dist/commons/events/CompositeFieldValue.d.ts +0 -28
- package/dist/commons/events/Constants.d.ts +0 -1
- package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -26
- package/dist/commons/events/Draft.d.ts +16 -117
- package/dist/commons/events/EventConfig.d.ts +2487 -8364
- package/dist/commons/events/EventDocument.d.ts +152 -1096
- package/dist/commons/events/EventIndex.d.ts +17 -283
- package/dist/commons/events/EventMetadata.d.ts +35 -38
- package/dist/commons/events/FieldConfig.d.ts +771 -1597
- package/dist/commons/events/FieldType.d.ts +1 -4
- package/dist/commons/events/FieldTypeMapping.d.ts +50 -89
- package/dist/commons/events/FieldValue.d.ts +5 -41
- package/dist/commons/events/FormConfig.d.ts +2444 -7640
- package/dist/commons/events/PageConfig.d.ts +1620 -2896
- package/dist/commons/events/SummaryConfig.d.ts +5 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +24 -346
- package/dist/commons/events/defineConfig.d.ts +14 -960
- package/dist/commons/events/field.d.ts +0 -4
- package/dist/commons/events/test.utils.d.ts +38 -124
- package/dist/commons/events/utils.d.ts +8 -9659
- package/dist/conditionals/index.js +1 -18
- package/dist/events/index.js +413 -691
- package/package.json +1 -1
@@ -2268,7 +2268,7 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
2268
2268
|
hideLabel?: boolean | undefined;
|
2269
2269
|
defaultValue?: string | undefined;
|
2270
2270
|
}>;
|
2271
|
-
declare const
|
2271
|
+
declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
2272
2272
|
id: z.ZodString;
|
2273
2273
|
parent: z.ZodOptional<z.ZodObject<{
|
2274
2274
|
$$field: z.ZodString;
|
@@ -2314,48 +2314,10 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2314
2314
|
}>>;
|
2315
2315
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2316
2316
|
}, {
|
2317
|
-
type: z.ZodLiteral<"
|
2318
|
-
defaultValue: z.ZodOptional<z.
|
2319
|
-
firstname: z.ZodString;
|
2320
|
-
surname: z.ZodString;
|
2321
|
-
}, "strip", z.ZodTypeAny, {
|
2322
|
-
firstname: string;
|
2323
|
-
surname: string;
|
2324
|
-
}, {
|
2325
|
-
firstname: string;
|
2326
|
-
surname: string;
|
2327
|
-
}>>;
|
2328
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
2329
|
-
maxLength: z.ZodOptional<z.ZodNumber>;
|
2330
|
-
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2331
|
-
id: string;
|
2332
|
-
description: string;
|
2333
|
-
defaultMessage: string;
|
2334
|
-
}>>;
|
2335
|
-
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2336
|
-
id: string;
|
2337
|
-
description: string;
|
2338
|
-
defaultMessage: string;
|
2339
|
-
}>>;
|
2340
|
-
}, "strip", z.ZodTypeAny, {
|
2341
|
-
maxLength?: number | undefined;
|
2342
|
-
prefix?: TranslationConfig | undefined;
|
2343
|
-
postfix?: TranslationConfig | undefined;
|
2344
|
-
}, {
|
2345
|
-
maxLength?: number | undefined;
|
2346
|
-
prefix?: {
|
2347
|
-
id: string;
|
2348
|
-
description: string;
|
2349
|
-
defaultMessage: string;
|
2350
|
-
} | undefined;
|
2351
|
-
postfix?: {
|
2352
|
-
id: string;
|
2353
|
-
description: string;
|
2354
|
-
defaultMessage: string;
|
2355
|
-
} | undefined;
|
2356
|
-
}>>;
|
2317
|
+
type: z.ZodLiteral<"CHECKBOX">;
|
2318
|
+
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
2357
2319
|
}>, "strip", z.ZodTypeAny, {
|
2358
|
-
type: "
|
2320
|
+
type: "CHECKBOX";
|
2359
2321
|
id: string;
|
2360
2322
|
label: TranslationConfig;
|
2361
2323
|
parent?: {
|
@@ -2379,17 +2341,9 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2379
2341
|
placeholder?: TranslationConfig | undefined;
|
2380
2342
|
helperText?: TranslationConfig | undefined;
|
2381
2343
|
hideLabel?: boolean | undefined;
|
2382
|
-
defaultValue?:
|
2383
|
-
firstname: string;
|
2384
|
-
surname: string;
|
2385
|
-
} | undefined;
|
2386
|
-
configuration?: {
|
2387
|
-
maxLength?: number | undefined;
|
2388
|
-
prefix?: TranslationConfig | undefined;
|
2389
|
-
postfix?: TranslationConfig | undefined;
|
2390
|
-
} | undefined;
|
2344
|
+
defaultValue?: boolean | undefined;
|
2391
2345
|
}, {
|
2392
|
-
type: "
|
2346
|
+
type: "CHECKBOX";
|
2393
2347
|
id: string;
|
2394
2348
|
label: {
|
2395
2349
|
id: string;
|
@@ -2429,25 +2383,10 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2429
2383
|
defaultMessage: string;
|
2430
2384
|
} | undefined;
|
2431
2385
|
hideLabel?: boolean | undefined;
|
2432
|
-
defaultValue?:
|
2433
|
-
firstname: string;
|
2434
|
-
surname: string;
|
2435
|
-
} | undefined;
|
2436
|
-
configuration?: {
|
2437
|
-
maxLength?: number | undefined;
|
2438
|
-
prefix?: {
|
2439
|
-
id: string;
|
2440
|
-
description: string;
|
2441
|
-
defaultMessage: string;
|
2442
|
-
} | undefined;
|
2443
|
-
postfix?: {
|
2444
|
-
id: string;
|
2445
|
-
description: string;
|
2446
|
-
defaultMessage: string;
|
2447
|
-
} | undefined;
|
2448
|
-
} | undefined;
|
2386
|
+
defaultValue?: boolean | undefined;
|
2449
2387
|
}>;
|
2450
|
-
|
2388
|
+
export type Checkbox = z.infer<typeof Checkbox>;
|
2389
|
+
declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
2451
2390
|
id: z.ZodString;
|
2452
2391
|
parent: z.ZodOptional<z.ZodObject<{
|
2453
2392
|
$$field: z.ZodString;
|
@@ -2493,10 +2432,10 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2493
2432
|
}>>;
|
2494
2433
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2495
2434
|
}, {
|
2435
|
+
type: z.ZodLiteral<"COUNTRY">;
|
2496
2436
|
defaultValue: z.ZodOptional<z.ZodString>;
|
2497
|
-
type: z.ZodLiteral<"PHONE">;
|
2498
2437
|
}>, "strip", z.ZodTypeAny, {
|
2499
|
-
type: "
|
2438
|
+
type: "COUNTRY";
|
2500
2439
|
id: string;
|
2501
2440
|
label: TranslationConfig;
|
2502
2441
|
parent?: {
|
@@ -2522,7 +2461,7 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2522
2461
|
hideLabel?: boolean | undefined;
|
2523
2462
|
defaultValue?: string | undefined;
|
2524
2463
|
}, {
|
2525
|
-
type: "
|
2464
|
+
type: "COUNTRY";
|
2526
2465
|
id: string;
|
2527
2466
|
label: {
|
2528
2467
|
id: string;
|
@@ -2564,7 +2503,29 @@ declare const PhoneField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2564
2503
|
hideLabel?: boolean | undefined;
|
2565
2504
|
defaultValue?: string | undefined;
|
2566
2505
|
}>;
|
2567
|
-
|
2506
|
+
export type Country = z.infer<typeof Country>;
|
2507
|
+
export declare const AdministrativeAreas: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
2508
|
+
declare const AdministrativeAreaConfiguration: z.ZodObject<{
|
2509
|
+
partOf: z.ZodOptional<z.ZodObject<{
|
2510
|
+
$declaration: z.ZodString;
|
2511
|
+
}, "strip", z.ZodTypeAny, {
|
2512
|
+
$declaration: string;
|
2513
|
+
}, {
|
2514
|
+
$declaration: string;
|
2515
|
+
}>>;
|
2516
|
+
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
2517
|
+
}, "strip", z.ZodTypeAny, {
|
2518
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2519
|
+
partOf?: {
|
2520
|
+
$declaration: string;
|
2521
|
+
} | undefined;
|
2522
|
+
}, {
|
2523
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2524
|
+
partOf?: {
|
2525
|
+
$declaration: string;
|
2526
|
+
} | undefined;
|
2527
|
+
}>;
|
2528
|
+
declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
2568
2529
|
id: z.ZodString;
|
2569
2530
|
parent: z.ZodOptional<z.ZodObject<{
|
2570
2531
|
$$field: z.ZodString;
|
@@ -2610,12 +2571,38 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2610
2571
|
}>>;
|
2611
2572
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2612
2573
|
}, {
|
2574
|
+
type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
|
2613
2575
|
defaultValue: z.ZodOptional<z.ZodString>;
|
2614
|
-
|
2576
|
+
configuration: z.ZodObject<{
|
2577
|
+
partOf: z.ZodOptional<z.ZodObject<{
|
2578
|
+
$declaration: z.ZodString;
|
2579
|
+
}, "strip", z.ZodTypeAny, {
|
2580
|
+
$declaration: string;
|
2581
|
+
}, {
|
2582
|
+
$declaration: string;
|
2583
|
+
}>>;
|
2584
|
+
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
2585
|
+
}, "strip", z.ZodTypeAny, {
|
2586
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2587
|
+
partOf?: {
|
2588
|
+
$declaration: string;
|
2589
|
+
} | undefined;
|
2590
|
+
}, {
|
2591
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2592
|
+
partOf?: {
|
2593
|
+
$declaration: string;
|
2594
|
+
} | undefined;
|
2595
|
+
}>;
|
2615
2596
|
}>, "strip", z.ZodTypeAny, {
|
2616
|
-
type: "
|
2597
|
+
type: "ADMINISTRATIVE_AREA";
|
2617
2598
|
id: string;
|
2618
2599
|
label: TranslationConfig;
|
2600
|
+
configuration: {
|
2601
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2602
|
+
partOf?: {
|
2603
|
+
$declaration: string;
|
2604
|
+
} | undefined;
|
2605
|
+
};
|
2619
2606
|
parent?: {
|
2620
2607
|
$$field: string;
|
2621
2608
|
} | undefined;
|
@@ -2639,13 +2626,19 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2639
2626
|
hideLabel?: boolean | undefined;
|
2640
2627
|
defaultValue?: string | undefined;
|
2641
2628
|
}, {
|
2642
|
-
type: "
|
2629
|
+
type: "ADMINISTRATIVE_AREA";
|
2643
2630
|
id: string;
|
2644
2631
|
label: {
|
2645
2632
|
id: string;
|
2646
2633
|
description: string;
|
2647
2634
|
defaultMessage: string;
|
2648
2635
|
};
|
2636
|
+
configuration: {
|
2637
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2638
|
+
partOf?: {
|
2639
|
+
$declaration: string;
|
2640
|
+
} | undefined;
|
2641
|
+
};
|
2649
2642
|
parent?: {
|
2650
2643
|
$$field: string;
|
2651
2644
|
} | undefined;
|
@@ -2681,7 +2674,8 @@ declare const IdField: z.ZodObject<z.objectUtil.extendShape<{
|
|
2681
2674
|
hideLabel?: boolean | undefined;
|
2682
2675
|
defaultValue?: string | undefined;
|
2683
2676
|
}>;
|
2684
|
-
|
2677
|
+
export type AdministrativeArea = z.infer<typeof AdministrativeArea>;
|
2678
|
+
declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
2685
2679
|
id: z.ZodString;
|
2686
2680
|
parent: z.ZodOptional<z.ZodObject<{
|
2687
2681
|
$$field: z.ZodString;
|
@@ -2727,10 +2721,10 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2727
2721
|
}>>;
|
2728
2722
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2729
2723
|
}, {
|
2730
|
-
type: z.ZodLiteral<"
|
2731
|
-
defaultValue: z.ZodOptional<z.
|
2724
|
+
type: z.ZodLiteral<"LOCATION">;
|
2725
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
2732
2726
|
}>, "strip", z.ZodTypeAny, {
|
2733
|
-
type: "
|
2727
|
+
type: "LOCATION";
|
2734
2728
|
id: string;
|
2735
2729
|
label: TranslationConfig;
|
2736
2730
|
parent?: {
|
@@ -2754,9 +2748,9 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2754
2748
|
placeholder?: TranslationConfig | undefined;
|
2755
2749
|
helperText?: TranslationConfig | undefined;
|
2756
2750
|
hideLabel?: boolean | undefined;
|
2757
|
-
defaultValue?:
|
2751
|
+
defaultValue?: string | undefined;
|
2758
2752
|
}, {
|
2759
|
-
type: "
|
2753
|
+
type: "LOCATION";
|
2760
2754
|
id: string;
|
2761
2755
|
label: {
|
2762
2756
|
id: string;
|
@@ -2796,10 +2790,10 @@ declare const Checkbox: z.ZodObject<z.objectUtil.extendShape<{
|
|
2796
2790
|
defaultMessage: string;
|
2797
2791
|
} | undefined;
|
2798
2792
|
hideLabel?: boolean | undefined;
|
2799
|
-
defaultValue?:
|
2793
|
+
defaultValue?: string | undefined;
|
2800
2794
|
}>;
|
2801
|
-
export type
|
2802
|
-
declare const
|
2795
|
+
export type Location = z.infer<typeof Location>;
|
2796
|
+
declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
2803
2797
|
id: z.ZodString;
|
2804
2798
|
parent: z.ZodOptional<z.ZodObject<{
|
2805
2799
|
$$field: z.ZodString;
|
@@ -2845,12 +2839,63 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2845
2839
|
}>>;
|
2846
2840
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2847
2841
|
}, {
|
2848
|
-
type: z.ZodLiteral<"
|
2849
|
-
|
2842
|
+
type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
|
2843
|
+
options: z.ZodArray<z.ZodObject<{
|
2844
|
+
value: z.ZodString;
|
2845
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2846
|
+
id: string;
|
2847
|
+
description: string;
|
2848
|
+
defaultMessage: string;
|
2849
|
+
}>;
|
2850
|
+
}, "strip", z.ZodTypeAny, {
|
2851
|
+
value: string;
|
2852
|
+
label: TranslationConfig;
|
2853
|
+
}, {
|
2854
|
+
value: string;
|
2855
|
+
label: {
|
2856
|
+
id: string;
|
2857
|
+
description: string;
|
2858
|
+
defaultMessage: string;
|
2859
|
+
};
|
2860
|
+
}>, "many">;
|
2861
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2862
|
+
filename: z.ZodString;
|
2863
|
+
originalFilename: z.ZodString;
|
2864
|
+
type: z.ZodString;
|
2865
|
+
option: z.ZodString;
|
2866
|
+
}, "strip", z.ZodTypeAny, {
|
2867
|
+
type: string;
|
2868
|
+
option: string;
|
2869
|
+
filename: string;
|
2870
|
+
originalFilename: string;
|
2871
|
+
}, {
|
2872
|
+
type: string;
|
2873
|
+
option: string;
|
2874
|
+
filename: string;
|
2875
|
+
originalFilename: string;
|
2876
|
+
}>, "many">>;
|
2877
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
2878
|
+
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
2879
|
+
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
2880
|
+
}, "strip", z.ZodTypeAny, {
|
2881
|
+
maxFileSize: number;
|
2882
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
2883
|
+
}, {
|
2884
|
+
maxFileSize?: number | undefined;
|
2885
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
2886
|
+
}>>;
|
2850
2887
|
}>, "strip", z.ZodTypeAny, {
|
2851
|
-
type: "
|
2888
|
+
type: "FILE_WITH_OPTIONS";
|
2852
2889
|
id: string;
|
2890
|
+
options: {
|
2891
|
+
value: string;
|
2892
|
+
label: TranslationConfig;
|
2893
|
+
}[];
|
2853
2894
|
label: TranslationConfig;
|
2895
|
+
configuration: {
|
2896
|
+
maxFileSize: number;
|
2897
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
2898
|
+
};
|
2854
2899
|
parent?: {
|
2855
2900
|
$$field: string;
|
2856
2901
|
} | undefined;
|
@@ -2872,10 +2917,23 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2872
2917
|
placeholder?: TranslationConfig | undefined;
|
2873
2918
|
helperText?: TranslationConfig | undefined;
|
2874
2919
|
hideLabel?: boolean | undefined;
|
2875
|
-
defaultValue?:
|
2920
|
+
defaultValue?: {
|
2921
|
+
type: string;
|
2922
|
+
option: string;
|
2923
|
+
filename: string;
|
2924
|
+
originalFilename: string;
|
2925
|
+
}[] | undefined;
|
2876
2926
|
}, {
|
2877
|
-
type: "
|
2927
|
+
type: "FILE_WITH_OPTIONS";
|
2878
2928
|
id: string;
|
2929
|
+
options: {
|
2930
|
+
value: string;
|
2931
|
+
label: {
|
2932
|
+
id: string;
|
2933
|
+
description: string;
|
2934
|
+
defaultMessage: string;
|
2935
|
+
};
|
2936
|
+
}[];
|
2879
2937
|
label: {
|
2880
2938
|
id: string;
|
2881
2939
|
description: string;
|
@@ -2914,31 +2972,19 @@ declare const Country: z.ZodObject<z.objectUtil.extendShape<{
|
|
2914
2972
|
defaultMessage: string;
|
2915
2973
|
} | undefined;
|
2916
2974
|
hideLabel?: boolean | undefined;
|
2917
|
-
defaultValue?:
|
2918
|
-
|
2919
|
-
|
2920
|
-
|
2921
|
-
|
2922
|
-
|
2923
|
-
|
2924
|
-
|
2925
|
-
|
2926
|
-
}, {
|
2927
|
-
$declaration: string;
|
2928
|
-
}>>;
|
2929
|
-
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
2930
|
-
}, "strip", z.ZodTypeAny, {
|
2931
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2932
|
-
partOf?: {
|
2933
|
-
$declaration: string;
|
2934
|
-
} | undefined;
|
2935
|
-
}, {
|
2936
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
2937
|
-
partOf?: {
|
2938
|
-
$declaration: string;
|
2975
|
+
defaultValue?: {
|
2976
|
+
type: string;
|
2977
|
+
option: string;
|
2978
|
+
filename: string;
|
2979
|
+
originalFilename: string;
|
2980
|
+
}[] | undefined;
|
2981
|
+
configuration?: {
|
2982
|
+
maxFileSize?: number | undefined;
|
2983
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
2939
2984
|
} | undefined;
|
2940
2985
|
}>;
|
2941
|
-
|
2986
|
+
export type FileUploadWithOptions = z.infer<typeof FileUploadWithOptions>;
|
2987
|
+
declare const Facility: z.ZodObject<z.objectUtil.extendShape<{
|
2942
2988
|
id: z.ZodString;
|
2943
2989
|
parent: z.ZodOptional<z.ZodObject<{
|
2944
2990
|
$$field: z.ZodString;
|
@@ -2984,38 +3030,12 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
2984
3030
|
}>>;
|
2985
3031
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
2986
3032
|
}, {
|
2987
|
-
type: z.ZodLiteral<"
|
3033
|
+
type: z.ZodLiteral<"FACILITY">;
|
2988
3034
|
defaultValue: z.ZodOptional<z.ZodString>;
|
2989
|
-
configuration: z.ZodObject<{
|
2990
|
-
partOf: z.ZodOptional<z.ZodObject<{
|
2991
|
-
$declaration: z.ZodString;
|
2992
|
-
}, "strip", z.ZodTypeAny, {
|
2993
|
-
$declaration: string;
|
2994
|
-
}, {
|
2995
|
-
$declaration: string;
|
2996
|
-
}>>;
|
2997
|
-
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
2998
|
-
}, "strip", z.ZodTypeAny, {
|
2999
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
3000
|
-
partOf?: {
|
3001
|
-
$declaration: string;
|
3002
|
-
} | undefined;
|
3003
|
-
}, {
|
3004
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
3005
|
-
partOf?: {
|
3006
|
-
$declaration: string;
|
3007
|
-
} | undefined;
|
3008
|
-
}>;
|
3009
3035
|
}>, "strip", z.ZodTypeAny, {
|
3010
|
-
type: "
|
3036
|
+
type: "FACILITY";
|
3011
3037
|
id: string;
|
3012
3038
|
label: TranslationConfig;
|
3013
|
-
configuration: {
|
3014
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
3015
|
-
partOf?: {
|
3016
|
-
$declaration: string;
|
3017
|
-
} | undefined;
|
3018
|
-
};
|
3019
3039
|
parent?: {
|
3020
3040
|
$$field: string;
|
3021
3041
|
} | undefined;
|
@@ -3039,19 +3059,13 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
3039
3059
|
hideLabel?: boolean | undefined;
|
3040
3060
|
defaultValue?: string | undefined;
|
3041
3061
|
}, {
|
3042
|
-
type: "
|
3062
|
+
type: "FACILITY";
|
3043
3063
|
id: string;
|
3044
3064
|
label: {
|
3045
3065
|
id: string;
|
3046
3066
|
description: string;
|
3047
3067
|
defaultMessage: string;
|
3048
3068
|
};
|
3049
|
-
configuration: {
|
3050
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
3051
|
-
partOf?: {
|
3052
|
-
$declaration: string;
|
3053
|
-
} | undefined;
|
3054
|
-
};
|
3055
3069
|
parent?: {
|
3056
3070
|
$$field: string;
|
3057
3071
|
} | undefined;
|
@@ -3087,8 +3101,8 @@ declare const AdministrativeArea: z.ZodObject<z.objectUtil.extendShape<{
|
|
3087
3101
|
hideLabel?: boolean | undefined;
|
3088
3102
|
defaultValue?: string | undefined;
|
3089
3103
|
}>;
|
3090
|
-
export type
|
3091
|
-
declare const
|
3104
|
+
export type Facility = z.infer<typeof Facility>;
|
3105
|
+
declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
3092
3106
|
id: z.ZodString;
|
3093
3107
|
parent: z.ZodOptional<z.ZodObject<{
|
3094
3108
|
$$field: z.ZodString;
|
@@ -3134,10 +3148,10 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
3134
3148
|
}>>;
|
3135
3149
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3136
3150
|
}, {
|
3137
|
-
type: z.ZodLiteral<"
|
3151
|
+
type: z.ZodLiteral<"OFFICE">;
|
3138
3152
|
defaultValue: z.ZodOptional<z.ZodString>;
|
3139
3153
|
}>, "strip", z.ZodTypeAny, {
|
3140
|
-
type: "
|
3154
|
+
type: "OFFICE";
|
3141
3155
|
id: string;
|
3142
3156
|
label: TranslationConfig;
|
3143
3157
|
parent?: {
|
@@ -3163,7 +3177,7 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
3163
3177
|
hideLabel?: boolean | undefined;
|
3164
3178
|
defaultValue?: string | undefined;
|
3165
3179
|
}, {
|
3166
|
-
type: "
|
3180
|
+
type: "OFFICE";
|
3167
3181
|
id: string;
|
3168
3182
|
label: {
|
3169
3183
|
id: string;
|
@@ -3205,8 +3219,8 @@ declare const Location: z.ZodObject<z.objectUtil.extendShape<{
|
|
3205
3219
|
hideLabel?: boolean | undefined;
|
3206
3220
|
defaultValue?: string | undefined;
|
3207
3221
|
}>;
|
3208
|
-
export type
|
3209
|
-
declare const
|
3222
|
+
export type Office = z.infer<typeof Office>;
|
3223
|
+
declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
3210
3224
|
id: z.ZodString;
|
3211
3225
|
parent: z.ZodOptional<z.ZodObject<{
|
3212
3226
|
$$field: z.ZodString;
|
@@ -3252,63 +3266,98 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
3252
3266
|
}>>;
|
3253
3267
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3254
3268
|
}, {
|
3255
|
-
type: z.ZodLiteral<"
|
3256
|
-
|
3257
|
-
|
3258
|
-
|
3259
|
-
|
3260
|
-
|
3261
|
-
defaultMessage: string;
|
3262
|
-
}>;
|
3263
|
-
}, "strip", z.ZodTypeAny, {
|
3264
|
-
value: string;
|
3265
|
-
label: TranslationConfig;
|
3269
|
+
type: z.ZodLiteral<"ADDRESS">;
|
3270
|
+
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
3271
|
+
country: z.ZodString;
|
3272
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
3273
|
+
province: z.ZodString;
|
3274
|
+
district: z.ZodString;
|
3266
3275
|
}, {
|
3267
|
-
|
3268
|
-
|
3269
|
-
|
3270
|
-
|
3271
|
-
|
3272
|
-
|
3273
|
-
}>, "
|
3274
|
-
|
3275
|
-
|
3276
|
-
|
3277
|
-
|
3278
|
-
|
3279
|
-
|
3280
|
-
|
3281
|
-
|
3282
|
-
|
3283
|
-
|
3276
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
3277
|
+
town: z.ZodOptional<z.ZodString>;
|
3278
|
+
residentialArea: z.ZodOptional<z.ZodString>;
|
3279
|
+
street: z.ZodOptional<z.ZodString>;
|
3280
|
+
number: z.ZodOptional<z.ZodString>;
|
3281
|
+
zipCode: z.ZodOptional<z.ZodString>;
|
3282
|
+
}>, "strip", z.ZodTypeAny, {
|
3283
|
+
country: string;
|
3284
|
+
district: string;
|
3285
|
+
addressType: "DOMESTIC";
|
3286
|
+
province: string;
|
3287
|
+
urbanOrRural: "URBAN";
|
3288
|
+
number?: string | undefined;
|
3289
|
+
town?: string | undefined;
|
3290
|
+
residentialArea?: string | undefined;
|
3291
|
+
street?: string | undefined;
|
3292
|
+
zipCode?: string | undefined;
|
3284
3293
|
}, {
|
3285
|
-
|
3286
|
-
|
3287
|
-
|
3288
|
-
|
3289
|
-
|
3290
|
-
|
3291
|
-
|
3292
|
-
|
3294
|
+
country: string;
|
3295
|
+
district: string;
|
3296
|
+
addressType: "DOMESTIC";
|
3297
|
+
province: string;
|
3298
|
+
urbanOrRural: "URBAN";
|
3299
|
+
number?: string | undefined;
|
3300
|
+
town?: string | undefined;
|
3301
|
+
residentialArea?: string | undefined;
|
3302
|
+
street?: string | undefined;
|
3303
|
+
zipCode?: string | undefined;
|
3304
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3305
|
+
country: z.ZodString;
|
3306
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
3307
|
+
province: z.ZodString;
|
3308
|
+
district: z.ZodString;
|
3309
|
+
}, {
|
3310
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
3311
|
+
village: z.ZodOptional<z.ZodString>;
|
3312
|
+
}>, "strip", z.ZodTypeAny, {
|
3313
|
+
country: string;
|
3314
|
+
district: string;
|
3315
|
+
addressType: "DOMESTIC";
|
3316
|
+
province: string;
|
3317
|
+
urbanOrRural: "RURAL";
|
3318
|
+
village?: string | undefined;
|
3319
|
+
}, {
|
3320
|
+
country: string;
|
3321
|
+
district: string;
|
3322
|
+
addressType: "DOMESTIC";
|
3323
|
+
province: string;
|
3324
|
+
urbanOrRural: "RURAL";
|
3325
|
+
village?: string | undefined;
|
3326
|
+
}>]>, z.ZodObject<{
|
3327
|
+
country: z.ZodString;
|
3328
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
3329
|
+
state: z.ZodString;
|
3330
|
+
district2: z.ZodString;
|
3331
|
+
cityOrTown: z.ZodOptional<z.ZodString>;
|
3332
|
+
addressLine1: z.ZodOptional<z.ZodString>;
|
3333
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
3334
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
3335
|
+
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
3293
3336
|
}, "strip", z.ZodTypeAny, {
|
3294
|
-
|
3295
|
-
|
3337
|
+
country: string;
|
3338
|
+
state: string;
|
3339
|
+
addressType: "INTERNATIONAL";
|
3340
|
+
district2: string;
|
3341
|
+
cityOrTown?: string | undefined;
|
3342
|
+
addressLine1?: string | undefined;
|
3343
|
+
addressLine2?: string | undefined;
|
3344
|
+
addressLine3?: string | undefined;
|
3345
|
+
postcodeOrZip?: string | undefined;
|
3296
3346
|
}, {
|
3297
|
-
|
3298
|
-
|
3299
|
-
|
3347
|
+
country: string;
|
3348
|
+
state: string;
|
3349
|
+
addressType: "INTERNATIONAL";
|
3350
|
+
district2: string;
|
3351
|
+
cityOrTown?: string | undefined;
|
3352
|
+
addressLine1?: string | undefined;
|
3353
|
+
addressLine2?: string | undefined;
|
3354
|
+
addressLine3?: string | undefined;
|
3355
|
+
postcodeOrZip?: string | undefined;
|
3356
|
+
}>]>>;
|
3300
3357
|
}>, "strip", z.ZodTypeAny, {
|
3301
|
-
type: "
|
3358
|
+
type: "ADDRESS";
|
3302
3359
|
id: string;
|
3303
|
-
options: {
|
3304
|
-
value: string;
|
3305
|
-
label: TranslationConfig;
|
3306
|
-
}[];
|
3307
3360
|
label: TranslationConfig;
|
3308
|
-
configuration: {
|
3309
|
-
maxFileSize: number;
|
3310
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
3311
|
-
};
|
3312
3361
|
parent?: {
|
3313
3362
|
$$field: string;
|
3314
3363
|
} | undefined;
|
@@ -3331,22 +3380,37 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
3331
3380
|
helperText?: TranslationConfig | undefined;
|
3332
3381
|
hideLabel?: boolean | undefined;
|
3333
3382
|
defaultValue?: {
|
3334
|
-
|
3335
|
-
|
3336
|
-
|
3337
|
-
|
3338
|
-
|
3383
|
+
country: string;
|
3384
|
+
district: string;
|
3385
|
+
addressType: "DOMESTIC";
|
3386
|
+
province: string;
|
3387
|
+
urbanOrRural: "URBAN";
|
3388
|
+
number?: string | undefined;
|
3389
|
+
town?: string | undefined;
|
3390
|
+
residentialArea?: string | undefined;
|
3391
|
+
street?: string | undefined;
|
3392
|
+
zipCode?: string | undefined;
|
3393
|
+
} | {
|
3394
|
+
country: string;
|
3395
|
+
district: string;
|
3396
|
+
addressType: "DOMESTIC";
|
3397
|
+
province: string;
|
3398
|
+
urbanOrRural: "RURAL";
|
3399
|
+
village?: string | undefined;
|
3400
|
+
} | {
|
3401
|
+
country: string;
|
3402
|
+
state: string;
|
3403
|
+
addressType: "INTERNATIONAL";
|
3404
|
+
district2: string;
|
3405
|
+
cityOrTown?: string | undefined;
|
3406
|
+
addressLine1?: string | undefined;
|
3407
|
+
addressLine2?: string | undefined;
|
3408
|
+
addressLine3?: string | undefined;
|
3409
|
+
postcodeOrZip?: string | undefined;
|
3410
|
+
} | undefined;
|
3339
3411
|
}, {
|
3340
|
-
type: "
|
3412
|
+
type: "ADDRESS";
|
3341
3413
|
id: string;
|
3342
|
-
options: {
|
3343
|
-
value: string;
|
3344
|
-
label: {
|
3345
|
-
id: string;
|
3346
|
-
description: string;
|
3347
|
-
defaultMessage: string;
|
3348
|
-
};
|
3349
|
-
}[];
|
3350
3414
|
label: {
|
3351
3415
|
id: string;
|
3352
3416
|
description: string;
|
@@ -3386,136 +3450,69 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
3386
3450
|
} | undefined;
|
3387
3451
|
hideLabel?: boolean | undefined;
|
3388
3452
|
defaultValue?: {
|
3389
|
-
|
3390
|
-
|
3391
|
-
|
3392
|
-
|
3393
|
-
|
3394
|
-
|
3395
|
-
|
3396
|
-
|
3397
|
-
|
3398
|
-
|
3399
|
-
|
3400
|
-
|
3401
|
-
|
3402
|
-
|
3403
|
-
|
3404
|
-
|
3405
|
-
|
3406
|
-
}
|
3407
|
-
|
3408
|
-
|
3409
|
-
|
3410
|
-
|
3411
|
-
|
3412
|
-
|
3413
|
-
|
3414
|
-
|
3415
|
-
|
3416
|
-
|
3417
|
-
|
3418
|
-
|
3419
|
-
id: string;
|
3420
|
-
description: string;
|
3421
|
-
defaultMessage: string;
|
3422
|
-
}>;
|
3423
|
-
}, "strip", z.ZodTypeAny, {
|
3424
|
-
message: TranslationConfig;
|
3425
|
-
validator: import(".").JSONSchema;
|
3426
|
-
}, {
|
3427
|
-
message: {
|
3428
|
-
id: string;
|
3429
|
-
description: string;
|
3430
|
-
defaultMessage: string;
|
3431
|
-
};
|
3432
|
-
validator: import(".").JSONSchema;
|
3433
|
-
}>, "many">>>;
|
3453
|
+
country: string;
|
3454
|
+
district: string;
|
3455
|
+
addressType: "DOMESTIC";
|
3456
|
+
province: string;
|
3457
|
+
urbanOrRural: "URBAN";
|
3458
|
+
number?: string | undefined;
|
3459
|
+
town?: string | undefined;
|
3460
|
+
residentialArea?: string | undefined;
|
3461
|
+
street?: string | undefined;
|
3462
|
+
zipCode?: string | undefined;
|
3463
|
+
} | {
|
3464
|
+
country: string;
|
3465
|
+
district: string;
|
3466
|
+
addressType: "DOMESTIC";
|
3467
|
+
province: string;
|
3468
|
+
urbanOrRural: "RURAL";
|
3469
|
+
village?: string | undefined;
|
3470
|
+
} | {
|
3471
|
+
country: string;
|
3472
|
+
state: string;
|
3473
|
+
addressType: "INTERNATIONAL";
|
3474
|
+
district2: string;
|
3475
|
+
cityOrTown?: string | undefined;
|
3476
|
+
addressLine1?: string | undefined;
|
3477
|
+
addressLine2?: string | undefined;
|
3478
|
+
addressLine3?: string | undefined;
|
3479
|
+
postcodeOrZip?: string | undefined;
|
3480
|
+
} | undefined;
|
3481
|
+
}>;
|
3482
|
+
export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
|
3434
3483
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3435
3484
|
id: string;
|
3436
3485
|
description: string;
|
3437
3486
|
defaultMessage: string;
|
3438
3487
|
}>;
|
3439
|
-
|
3488
|
+
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3440
3489
|
id: string;
|
3441
3490
|
description: string;
|
3442
3491
|
defaultMessage: string;
|
3443
|
-
}
|
3444
|
-
|
3445
|
-
|
3446
|
-
type: z.ZodLiteral<"FACILITY">;
|
3447
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
3448
|
-
}>, "strip", z.ZodTypeAny, {
|
3449
|
-
type: "FACILITY";
|
3450
|
-
id: string;
|
3492
|
+
}>, z.ZodString]>;
|
3493
|
+
}, "strip", z.ZodTypeAny, {
|
3494
|
+
value: string | TranslationConfig;
|
3451
3495
|
label: TranslationConfig;
|
3452
|
-
parent?: {
|
3453
|
-
$$field: string;
|
3454
|
-
} | undefined;
|
3455
|
-
validation?: {
|
3456
|
-
message: TranslationConfig;
|
3457
|
-
validator: import(".").JSONSchema;
|
3458
|
-
}[] | undefined;
|
3459
|
-
required?: boolean | undefined;
|
3460
|
-
conditionals?: ({
|
3461
|
-
type: "SHOW";
|
3462
|
-
conditional: import(".").JSONSchema;
|
3463
|
-
} | {
|
3464
|
-
type: "ENABLE";
|
3465
|
-
conditional: import(".").JSONSchema;
|
3466
|
-
} | {
|
3467
|
-
type: "DISPLAY_ON_REVIEW";
|
3468
|
-
conditional: import(".").JSONSchema;
|
3469
|
-
})[] | undefined;
|
3470
|
-
placeholder?: TranslationConfig | undefined;
|
3471
|
-
helperText?: TranslationConfig | undefined;
|
3472
|
-
hideLabel?: boolean | undefined;
|
3473
|
-
defaultValue?: string | undefined;
|
3474
3496
|
}, {
|
3475
|
-
|
3476
|
-
id: string;
|
3477
|
-
label: {
|
3497
|
+
value: string | {
|
3478
3498
|
id: string;
|
3479
3499
|
description: string;
|
3480
3500
|
defaultMessage: string;
|
3481
3501
|
};
|
3482
|
-
|
3483
|
-
$$field: string;
|
3484
|
-
} | undefined;
|
3485
|
-
validation?: {
|
3486
|
-
message: {
|
3487
|
-
id: string;
|
3488
|
-
description: string;
|
3489
|
-
defaultMessage: string;
|
3490
|
-
};
|
3491
|
-
validator: import(".").JSONSchema;
|
3492
|
-
}[] | undefined;
|
3493
|
-
required?: boolean | undefined;
|
3494
|
-
conditionals?: ({
|
3495
|
-
type: "SHOW";
|
3496
|
-
conditional: import(".").JSONSchema;
|
3497
|
-
} | {
|
3498
|
-
type: "ENABLE";
|
3499
|
-
conditional: import(".").JSONSchema;
|
3500
|
-
} | {
|
3501
|
-
type: "DISPLAY_ON_REVIEW";
|
3502
|
-
conditional: import(".").JSONSchema;
|
3503
|
-
})[] | undefined;
|
3504
|
-
placeholder?: {
|
3505
|
-
id: string;
|
3506
|
-
description: string;
|
3507
|
-
defaultMessage: string;
|
3508
|
-
} | undefined;
|
3509
|
-
helperText?: {
|
3502
|
+
label: {
|
3510
3503
|
id: string;
|
3511
3504
|
description: string;
|
3512
3505
|
defaultMessage: string;
|
3513
|
-
}
|
3514
|
-
|
3515
|
-
|
3516
|
-
}
|
3517
|
-
|
3518
|
-
|
3506
|
+
};
|
3507
|
+
}>, z.ZodObject<{
|
3508
|
+
fieldId: z.ZodString;
|
3509
|
+
}, "strip", z.ZodTypeAny, {
|
3510
|
+
fieldId: string;
|
3511
|
+
}, {
|
3512
|
+
fieldId: string;
|
3513
|
+
}>]>;
|
3514
|
+
export type DataEntry = z.infer<typeof DataEntry>;
|
3515
|
+
declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
3519
3516
|
id: z.ZodString;
|
3520
3517
|
parent: z.ZodOptional<z.ZodObject<{
|
3521
3518
|
$$field: z.ZodString;
|
@@ -3561,12 +3558,87 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3561
3558
|
}>>;
|
3562
3559
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3563
3560
|
}, {
|
3564
|
-
type: z.ZodLiteral<"
|
3565
|
-
|
3561
|
+
type: z.ZodLiteral<"DATA">;
|
3562
|
+
configuration: z.ZodObject<{
|
3563
|
+
subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3564
|
+
id: string;
|
3565
|
+
description: string;
|
3566
|
+
defaultMessage: string;
|
3567
|
+
}>>;
|
3568
|
+
data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
3569
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3570
|
+
id: string;
|
3571
|
+
description: string;
|
3572
|
+
defaultMessage: string;
|
3573
|
+
}>;
|
3574
|
+
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3575
|
+
id: string;
|
3576
|
+
description: string;
|
3577
|
+
defaultMessage: string;
|
3578
|
+
}>, z.ZodString]>;
|
3579
|
+
}, "strip", z.ZodTypeAny, {
|
3580
|
+
value: string | TranslationConfig;
|
3581
|
+
label: TranslationConfig;
|
3582
|
+
}, {
|
3583
|
+
value: string | {
|
3584
|
+
id: string;
|
3585
|
+
description: string;
|
3586
|
+
defaultMessage: string;
|
3587
|
+
};
|
3588
|
+
label: {
|
3589
|
+
id: string;
|
3590
|
+
description: string;
|
3591
|
+
defaultMessage: string;
|
3592
|
+
};
|
3593
|
+
}>, z.ZodObject<{
|
3594
|
+
fieldId: z.ZodString;
|
3595
|
+
}, "strip", z.ZodTypeAny, {
|
3596
|
+
fieldId: string;
|
3597
|
+
}, {
|
3598
|
+
fieldId: string;
|
3599
|
+
}>]>, "many">;
|
3600
|
+
}, "strip", z.ZodTypeAny, {
|
3601
|
+
data: ({
|
3602
|
+
value: string | TranslationConfig;
|
3603
|
+
label: TranslationConfig;
|
3604
|
+
} | {
|
3605
|
+
fieldId: string;
|
3606
|
+
})[];
|
3607
|
+
subtitle?: TranslationConfig | undefined;
|
3608
|
+
}, {
|
3609
|
+
data: ({
|
3610
|
+
value: string | {
|
3611
|
+
id: string;
|
3612
|
+
description: string;
|
3613
|
+
defaultMessage: string;
|
3614
|
+
};
|
3615
|
+
label: {
|
3616
|
+
id: string;
|
3617
|
+
description: string;
|
3618
|
+
defaultMessage: string;
|
3619
|
+
};
|
3620
|
+
} | {
|
3621
|
+
fieldId: string;
|
3622
|
+
})[];
|
3623
|
+
subtitle?: {
|
3624
|
+
id: string;
|
3625
|
+
description: string;
|
3626
|
+
defaultMessage: string;
|
3627
|
+
} | undefined;
|
3628
|
+
}>;
|
3566
3629
|
}>, "strip", z.ZodTypeAny, {
|
3567
|
-
type: "
|
3630
|
+
type: "DATA";
|
3568
3631
|
id: string;
|
3569
3632
|
label: TranslationConfig;
|
3633
|
+
configuration: {
|
3634
|
+
data: ({
|
3635
|
+
value: string | TranslationConfig;
|
3636
|
+
label: TranslationConfig;
|
3637
|
+
} | {
|
3638
|
+
fieldId: string;
|
3639
|
+
})[];
|
3640
|
+
subtitle?: TranslationConfig | undefined;
|
3641
|
+
};
|
3570
3642
|
parent?: {
|
3571
3643
|
$$field: string;
|
3572
3644
|
} | undefined;
|
@@ -3588,15 +3660,35 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3588
3660
|
placeholder?: TranslationConfig | undefined;
|
3589
3661
|
helperText?: TranslationConfig | undefined;
|
3590
3662
|
hideLabel?: boolean | undefined;
|
3591
|
-
defaultValue?: string | undefined;
|
3592
3663
|
}, {
|
3593
|
-
type: "
|
3664
|
+
type: "DATA";
|
3594
3665
|
id: string;
|
3595
3666
|
label: {
|
3596
3667
|
id: string;
|
3597
3668
|
description: string;
|
3598
3669
|
defaultMessage: string;
|
3599
3670
|
};
|
3671
|
+
configuration: {
|
3672
|
+
data: ({
|
3673
|
+
value: string | {
|
3674
|
+
id: string;
|
3675
|
+
description: string;
|
3676
|
+
defaultMessage: string;
|
3677
|
+
};
|
3678
|
+
label: {
|
3679
|
+
id: string;
|
3680
|
+
description: string;
|
3681
|
+
defaultMessage: string;
|
3682
|
+
};
|
3683
|
+
} | {
|
3684
|
+
fieldId: string;
|
3685
|
+
})[];
|
3686
|
+
subtitle?: {
|
3687
|
+
id: string;
|
3688
|
+
description: string;
|
3689
|
+
defaultMessage: string;
|
3690
|
+
} | undefined;
|
3691
|
+
};
|
3600
3692
|
parent?: {
|
3601
3693
|
$$field: string;
|
3602
3694
|
} | undefined;
|
@@ -3630,10 +3722,18 @@ declare const Office: z.ZodObject<z.objectUtil.extendShape<{
|
|
3630
3722
|
defaultMessage: string;
|
3631
3723
|
} | undefined;
|
3632
3724
|
hideLabel?: boolean | undefined;
|
3633
|
-
defaultValue?: string | undefined;
|
3634
3725
|
}>;
|
3635
|
-
export type
|
3636
|
-
|
3726
|
+
export type DataField = z.infer<typeof DataField>;
|
3727
|
+
/** @knipignore */
|
3728
|
+
export type AllFields = typeof Address | typeof TextField | typeof NumberField | typeof TextAreaField | typeof DateField | typeof DateRangeField | typeof Paragraph | typeof RadioGroup | typeof BulletList | typeof PageHeader | typeof Select | typeof Checkbox | typeof File | typeof Country | typeof AdministrativeArea | typeof Divider | typeof Location | typeof Facility | typeof Office | typeof SignatureField | typeof EmailField | typeof FileUploadWithOptions | typeof DataField;
|
3729
|
+
/** @knipignore */
|
3730
|
+
export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof DateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField>;
|
3731
|
+
/** @knipignore */
|
3732
|
+
/**
|
3733
|
+
* This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
|
3734
|
+
*/
|
3735
|
+
export type InferredInput = z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof NumberField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof DateRangeField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeArea> | z.input<typeof Divider> | z.input<typeof Location> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField>;
|
3736
|
+
export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
3637
3737
|
id: z.ZodString;
|
3638
3738
|
parent: z.ZodOptional<z.ZodObject<{
|
3639
3739
|
$$field: z.ZodString;
|
@@ -3861,1058 +3961,36 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
3861
3961
|
description: string;
|
3862
3962
|
defaultMessage: string;
|
3863
3963
|
} | undefined;
|
3864
|
-
hideLabel?: boolean | undefined;
|
3865
|
-
defaultValue?: {
|
3866
|
-
country: string;
|
3867
|
-
district: string;
|
3868
|
-
addressType: "DOMESTIC";
|
3869
|
-
province: string;
|
3870
|
-
urbanOrRural: "URBAN";
|
3871
|
-
number?: string | undefined;
|
3872
|
-
town?: string | undefined;
|
3873
|
-
residentialArea?: string | undefined;
|
3874
|
-
street?: string | undefined;
|
3875
|
-
zipCode?: string | undefined;
|
3876
|
-
} | {
|
3877
|
-
country: string;
|
3878
|
-
district: string;
|
3879
|
-
addressType: "DOMESTIC";
|
3880
|
-
province: string;
|
3881
|
-
urbanOrRural: "RURAL";
|
3882
|
-
village?: string | undefined;
|
3883
|
-
} | {
|
3884
|
-
country: string;
|
3885
|
-
state: string;
|
3886
|
-
addressType: "INTERNATIONAL";
|
3887
|
-
district2: string;
|
3888
|
-
cityOrTown?: string | undefined;
|
3889
|
-
addressLine1?: string | undefined;
|
3890
|
-
addressLine2?: string | undefined;
|
3891
|
-
addressLine3?: string | undefined;
|
3892
|
-
postcodeOrZip?: string | undefined;
|
3893
|
-
} | undefined;
|
3894
|
-
}>;
|
3895
|
-
export declare const DataEntry: z.ZodUnion<[z.ZodObject<{
|
3896
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3897
|
-
id: string;
|
3898
|
-
description: string;
|
3899
|
-
defaultMessage: string;
|
3900
|
-
}>;
|
3901
|
-
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3902
|
-
id: string;
|
3903
|
-
description: string;
|
3904
|
-
defaultMessage: string;
|
3905
|
-
}>, z.ZodString]>;
|
3906
|
-
}, "strip", z.ZodTypeAny, {
|
3907
|
-
value: string | TranslationConfig;
|
3908
|
-
label: TranslationConfig;
|
3909
|
-
}, {
|
3910
|
-
value: string | {
|
3911
|
-
id: string;
|
3912
|
-
description: string;
|
3913
|
-
defaultMessage: string;
|
3914
|
-
};
|
3915
|
-
label: {
|
3916
|
-
id: string;
|
3917
|
-
description: string;
|
3918
|
-
defaultMessage: string;
|
3919
|
-
};
|
3920
|
-
}>, z.ZodObject<{
|
3921
|
-
fieldId: z.ZodString;
|
3922
|
-
}, "strip", z.ZodTypeAny, {
|
3923
|
-
fieldId: string;
|
3924
|
-
}, {
|
3925
|
-
fieldId: string;
|
3926
|
-
}>]>;
|
3927
|
-
export type DataEntry = z.infer<typeof DataEntry>;
|
3928
|
-
declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
3929
|
-
id: z.ZodString;
|
3930
|
-
parent: z.ZodOptional<z.ZodObject<{
|
3931
|
-
$$field: z.ZodString;
|
3932
|
-
}, "strip", z.ZodTypeAny, {
|
3933
|
-
$$field: string;
|
3934
|
-
}, {
|
3935
|
-
$$field: string;
|
3936
|
-
}>>;
|
3937
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
3938
|
-
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3939
|
-
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3940
|
-
id: string;
|
3941
|
-
description: string;
|
3942
|
-
defaultMessage: string;
|
3943
|
-
}>>;
|
3944
|
-
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
3945
|
-
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
3946
|
-
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3947
|
-
id: string;
|
3948
|
-
description: string;
|
3949
|
-
defaultMessage: string;
|
3950
|
-
}>;
|
3951
|
-
}, "strip", z.ZodTypeAny, {
|
3952
|
-
message: TranslationConfig;
|
3953
|
-
validator: import(".").JSONSchema;
|
3954
|
-
}, {
|
3955
|
-
message: {
|
3956
|
-
id: string;
|
3957
|
-
description: string;
|
3958
|
-
defaultMessage: string;
|
3959
|
-
};
|
3960
|
-
validator: import(".").JSONSchema;
|
3961
|
-
}>, "many">>>;
|
3962
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3963
|
-
id: string;
|
3964
|
-
description: string;
|
3965
|
-
defaultMessage: string;
|
3966
|
-
}>;
|
3967
|
-
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3968
|
-
id: string;
|
3969
|
-
description: string;
|
3970
|
-
defaultMessage: string;
|
3971
|
-
}>>;
|
3972
|
-
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
3973
|
-
}, {
|
3974
|
-
type: z.ZodLiteral<"DATA">;
|
3975
|
-
configuration: z.ZodObject<{
|
3976
|
-
subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3977
|
-
id: string;
|
3978
|
-
description: string;
|
3979
|
-
defaultMessage: string;
|
3980
|
-
}>>;
|
3981
|
-
data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
3982
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3983
|
-
id: string;
|
3984
|
-
description: string;
|
3985
|
-
defaultMessage: string;
|
3986
|
-
}>;
|
3987
|
-
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3988
|
-
id: string;
|
3989
|
-
description: string;
|
3990
|
-
defaultMessage: string;
|
3991
|
-
}>, z.ZodString]>;
|
3992
|
-
}, "strip", z.ZodTypeAny, {
|
3993
|
-
value: string | TranslationConfig;
|
3994
|
-
label: TranslationConfig;
|
3995
|
-
}, {
|
3996
|
-
value: string | {
|
3997
|
-
id: string;
|
3998
|
-
description: string;
|
3999
|
-
defaultMessage: string;
|
4000
|
-
};
|
4001
|
-
label: {
|
4002
|
-
id: string;
|
4003
|
-
description: string;
|
4004
|
-
defaultMessage: string;
|
4005
|
-
};
|
4006
|
-
}>, z.ZodObject<{
|
4007
|
-
fieldId: z.ZodString;
|
4008
|
-
}, "strip", z.ZodTypeAny, {
|
4009
|
-
fieldId: string;
|
4010
|
-
}, {
|
4011
|
-
fieldId: string;
|
4012
|
-
}>]>, "many">;
|
4013
|
-
}, "strip", z.ZodTypeAny, {
|
4014
|
-
data: ({
|
4015
|
-
value: string | TranslationConfig;
|
4016
|
-
label: TranslationConfig;
|
4017
|
-
} | {
|
4018
|
-
fieldId: string;
|
4019
|
-
})[];
|
4020
|
-
subtitle?: TranslationConfig | undefined;
|
4021
|
-
}, {
|
4022
|
-
data: ({
|
4023
|
-
value: string | {
|
4024
|
-
id: string;
|
4025
|
-
description: string;
|
4026
|
-
defaultMessage: string;
|
4027
|
-
};
|
4028
|
-
label: {
|
4029
|
-
id: string;
|
4030
|
-
description: string;
|
4031
|
-
defaultMessage: string;
|
4032
|
-
};
|
4033
|
-
} | {
|
4034
|
-
fieldId: string;
|
4035
|
-
})[];
|
4036
|
-
subtitle?: {
|
4037
|
-
id: string;
|
4038
|
-
description: string;
|
4039
|
-
defaultMessage: string;
|
4040
|
-
} | undefined;
|
4041
|
-
}>;
|
4042
|
-
}>, "strip", z.ZodTypeAny, {
|
4043
|
-
type: "DATA";
|
4044
|
-
id: string;
|
4045
|
-
label: TranslationConfig;
|
4046
|
-
configuration: {
|
4047
|
-
data: ({
|
4048
|
-
value: string | TranslationConfig;
|
4049
|
-
label: TranslationConfig;
|
4050
|
-
} | {
|
4051
|
-
fieldId: string;
|
4052
|
-
})[];
|
4053
|
-
subtitle?: TranslationConfig | undefined;
|
4054
|
-
};
|
4055
|
-
parent?: {
|
4056
|
-
$$field: string;
|
4057
|
-
} | undefined;
|
4058
|
-
validation?: {
|
4059
|
-
message: TranslationConfig;
|
4060
|
-
validator: import(".").JSONSchema;
|
4061
|
-
}[] | undefined;
|
4062
|
-
required?: boolean | undefined;
|
4063
|
-
conditionals?: ({
|
4064
|
-
type: "SHOW";
|
4065
|
-
conditional: import(".").JSONSchema;
|
4066
|
-
} | {
|
4067
|
-
type: "ENABLE";
|
4068
|
-
conditional: import(".").JSONSchema;
|
4069
|
-
} | {
|
4070
|
-
type: "DISPLAY_ON_REVIEW";
|
4071
|
-
conditional: import(".").JSONSchema;
|
4072
|
-
})[] | undefined;
|
4073
|
-
placeholder?: TranslationConfig | undefined;
|
4074
|
-
helperText?: TranslationConfig | undefined;
|
4075
|
-
hideLabel?: boolean | undefined;
|
4076
|
-
}, {
|
4077
|
-
type: "DATA";
|
4078
|
-
id: string;
|
4079
|
-
label: {
|
4080
|
-
id: string;
|
4081
|
-
description: string;
|
4082
|
-
defaultMessage: string;
|
4083
|
-
};
|
4084
|
-
configuration: {
|
4085
|
-
data: ({
|
4086
|
-
value: string | {
|
4087
|
-
id: string;
|
4088
|
-
description: string;
|
4089
|
-
defaultMessage: string;
|
4090
|
-
};
|
4091
|
-
label: {
|
4092
|
-
id: string;
|
4093
|
-
description: string;
|
4094
|
-
defaultMessage: string;
|
4095
|
-
};
|
4096
|
-
} | {
|
4097
|
-
fieldId: string;
|
4098
|
-
})[];
|
4099
|
-
subtitle?: {
|
4100
|
-
id: string;
|
4101
|
-
description: string;
|
4102
|
-
defaultMessage: string;
|
4103
|
-
} | undefined;
|
4104
|
-
};
|
4105
|
-
parent?: {
|
4106
|
-
$$field: string;
|
4107
|
-
} | undefined;
|
4108
|
-
validation?: {
|
4109
|
-
message: {
|
4110
|
-
id: string;
|
4111
|
-
description: string;
|
4112
|
-
defaultMessage: string;
|
4113
|
-
};
|
4114
|
-
validator: import(".").JSONSchema;
|
4115
|
-
}[] | undefined;
|
4116
|
-
required?: boolean | undefined;
|
4117
|
-
conditionals?: ({
|
4118
|
-
type: "SHOW";
|
4119
|
-
conditional: import(".").JSONSchema;
|
4120
|
-
} | {
|
4121
|
-
type: "ENABLE";
|
4122
|
-
conditional: import(".").JSONSchema;
|
4123
|
-
} | {
|
4124
|
-
type: "DISPLAY_ON_REVIEW";
|
4125
|
-
conditional: import(".").JSONSchema;
|
4126
|
-
})[] | undefined;
|
4127
|
-
placeholder?: {
|
4128
|
-
id: string;
|
4129
|
-
description: string;
|
4130
|
-
defaultMessage: string;
|
4131
|
-
} | undefined;
|
4132
|
-
helperText?: {
|
4133
|
-
id: string;
|
4134
|
-
description: string;
|
4135
|
-
defaultMessage: string;
|
4136
|
-
} | undefined;
|
4137
|
-
hideLabel?: boolean | undefined;
|
4138
|
-
}>;
|
4139
|
-
export type DataField = z.infer<typeof DataField>;
|
4140
|
-
/** @knipignore */
|
4141
|
-
export type AllFields = typeof Address | typeof TextField | typeof NumberField | typeof TextAreaField | typeof DateField | typeof DateRangeField | typeof Paragraph | typeof RadioGroup | typeof BulletList | typeof PageHeader | typeof Select | typeof NameField | typeof PhoneField | typeof IdField | typeof Checkbox | typeof File | typeof Country | typeof AdministrativeArea | typeof Divider | typeof Location | typeof Facility | typeof Office | typeof SignatureField | typeof EmailField | typeof FileUploadWithOptions | typeof DataField;
|
4142
|
-
/** @knipignore */
|
4143
|
-
export type Inferred = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof DateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField>;
|
4144
|
-
/** @knipignore */
|
4145
|
-
/**
|
4146
|
-
* This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
|
4147
|
-
*/
|
4148
|
-
export type InferredInput = z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof NumberField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof DateRangeField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof NameField> | z.input<typeof PhoneField> | z.input<typeof IdField> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeArea> | z.input<typeof Divider> | z.input<typeof Location> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField>;
|
4149
|
-
export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
4150
|
-
id: z.ZodString;
|
4151
|
-
parent: z.ZodOptional<z.ZodObject<{
|
4152
|
-
$$field: z.ZodString;
|
4153
|
-
}, "strip", z.ZodTypeAny, {
|
4154
|
-
$$field: string;
|
4155
|
-
}, {
|
4156
|
-
$$field: string;
|
4157
|
-
}>>;
|
4158
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4159
|
-
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4160
|
-
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4161
|
-
id: string;
|
4162
|
-
description: string;
|
4163
|
-
defaultMessage: string;
|
4164
|
-
}>>;
|
4165
|
-
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4166
|
-
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4167
|
-
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4168
|
-
id: string;
|
4169
|
-
description: string;
|
4170
|
-
defaultMessage: string;
|
4171
|
-
}>;
|
4172
|
-
}, "strip", z.ZodTypeAny, {
|
4173
|
-
message: TranslationConfig;
|
4174
|
-
validator: import(".").JSONSchema;
|
4175
|
-
}, {
|
4176
|
-
message: {
|
4177
|
-
id: string;
|
4178
|
-
description: string;
|
4179
|
-
defaultMessage: string;
|
4180
|
-
};
|
4181
|
-
validator: import(".").JSONSchema;
|
4182
|
-
}>, "many">>>;
|
4183
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4184
|
-
id: string;
|
4185
|
-
description: string;
|
4186
|
-
defaultMessage: string;
|
4187
|
-
}>;
|
4188
|
-
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4189
|
-
id: string;
|
4190
|
-
description: string;
|
4191
|
-
defaultMessage: string;
|
4192
|
-
}>>;
|
4193
|
-
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4194
|
-
}, {
|
4195
|
-
type: z.ZodLiteral<"ADDRESS">;
|
4196
|
-
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
4197
|
-
country: z.ZodString;
|
4198
|
-
addressType: z.ZodLiteral<"DOMESTIC">;
|
4199
|
-
province: z.ZodString;
|
4200
|
-
district: z.ZodString;
|
4201
|
-
}, {
|
4202
|
-
urbanOrRural: z.ZodLiteral<"URBAN">;
|
4203
|
-
town: z.ZodOptional<z.ZodString>;
|
4204
|
-
residentialArea: z.ZodOptional<z.ZodString>;
|
4205
|
-
street: z.ZodOptional<z.ZodString>;
|
4206
|
-
number: z.ZodOptional<z.ZodString>;
|
4207
|
-
zipCode: z.ZodOptional<z.ZodString>;
|
4208
|
-
}>, "strip", z.ZodTypeAny, {
|
4209
|
-
country: string;
|
4210
|
-
district: string;
|
4211
|
-
addressType: "DOMESTIC";
|
4212
|
-
province: string;
|
4213
|
-
urbanOrRural: "URBAN";
|
4214
|
-
number?: string | undefined;
|
4215
|
-
town?: string | undefined;
|
4216
|
-
residentialArea?: string | undefined;
|
4217
|
-
street?: string | undefined;
|
4218
|
-
zipCode?: string | undefined;
|
4219
|
-
}, {
|
4220
|
-
country: string;
|
4221
|
-
district: string;
|
4222
|
-
addressType: "DOMESTIC";
|
4223
|
-
province: string;
|
4224
|
-
urbanOrRural: "URBAN";
|
4225
|
-
number?: string | undefined;
|
4226
|
-
town?: string | undefined;
|
4227
|
-
residentialArea?: string | undefined;
|
4228
|
-
street?: string | undefined;
|
4229
|
-
zipCode?: string | undefined;
|
4230
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4231
|
-
country: z.ZodString;
|
4232
|
-
addressType: z.ZodLiteral<"DOMESTIC">;
|
4233
|
-
province: z.ZodString;
|
4234
|
-
district: z.ZodString;
|
4235
|
-
}, {
|
4236
|
-
urbanOrRural: z.ZodLiteral<"RURAL">;
|
4237
|
-
village: z.ZodOptional<z.ZodString>;
|
4238
|
-
}>, "strip", z.ZodTypeAny, {
|
4239
|
-
country: string;
|
4240
|
-
district: string;
|
4241
|
-
addressType: "DOMESTIC";
|
4242
|
-
province: string;
|
4243
|
-
urbanOrRural: "RURAL";
|
4244
|
-
village?: string | undefined;
|
4245
|
-
}, {
|
4246
|
-
country: string;
|
4247
|
-
district: string;
|
4248
|
-
addressType: "DOMESTIC";
|
4249
|
-
province: string;
|
4250
|
-
urbanOrRural: "RURAL";
|
4251
|
-
village?: string | undefined;
|
4252
|
-
}>]>, z.ZodObject<{
|
4253
|
-
country: z.ZodString;
|
4254
|
-
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
4255
|
-
state: z.ZodString;
|
4256
|
-
district2: z.ZodString;
|
4257
|
-
cityOrTown: z.ZodOptional<z.ZodString>;
|
4258
|
-
addressLine1: z.ZodOptional<z.ZodString>;
|
4259
|
-
addressLine2: z.ZodOptional<z.ZodString>;
|
4260
|
-
addressLine3: z.ZodOptional<z.ZodString>;
|
4261
|
-
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
4262
|
-
}, "strip", z.ZodTypeAny, {
|
4263
|
-
country: string;
|
4264
|
-
state: string;
|
4265
|
-
addressType: "INTERNATIONAL";
|
4266
|
-
district2: string;
|
4267
|
-
cityOrTown?: string | undefined;
|
4268
|
-
addressLine1?: string | undefined;
|
4269
|
-
addressLine2?: string | undefined;
|
4270
|
-
addressLine3?: string | undefined;
|
4271
|
-
postcodeOrZip?: string | undefined;
|
4272
|
-
}, {
|
4273
|
-
country: string;
|
4274
|
-
state: string;
|
4275
|
-
addressType: "INTERNATIONAL";
|
4276
|
-
district2: string;
|
4277
|
-
cityOrTown?: string | undefined;
|
4278
|
-
addressLine1?: string | undefined;
|
4279
|
-
addressLine2?: string | undefined;
|
4280
|
-
addressLine3?: string | undefined;
|
4281
|
-
postcodeOrZip?: string | undefined;
|
4282
|
-
}>]>>;
|
4283
|
-
}>, "strip", z.ZodTypeAny, {
|
4284
|
-
type: "ADDRESS";
|
4285
|
-
id: string;
|
4286
|
-
label: TranslationConfig;
|
4287
|
-
parent?: {
|
4288
|
-
$$field: string;
|
4289
|
-
} | undefined;
|
4290
|
-
validation?: {
|
4291
|
-
message: TranslationConfig;
|
4292
|
-
validator: import(".").JSONSchema;
|
4293
|
-
}[] | undefined;
|
4294
|
-
required?: boolean | undefined;
|
4295
|
-
conditionals?: ({
|
4296
|
-
type: "SHOW";
|
4297
|
-
conditional: import(".").JSONSchema;
|
4298
|
-
} | {
|
4299
|
-
type: "ENABLE";
|
4300
|
-
conditional: import(".").JSONSchema;
|
4301
|
-
} | {
|
4302
|
-
type: "DISPLAY_ON_REVIEW";
|
4303
|
-
conditional: import(".").JSONSchema;
|
4304
|
-
})[] | undefined;
|
4305
|
-
placeholder?: TranslationConfig | undefined;
|
4306
|
-
helperText?: TranslationConfig | undefined;
|
4307
|
-
hideLabel?: boolean | undefined;
|
4308
|
-
defaultValue?: {
|
4309
|
-
country: string;
|
4310
|
-
district: string;
|
4311
|
-
addressType: "DOMESTIC";
|
4312
|
-
province: string;
|
4313
|
-
urbanOrRural: "URBAN";
|
4314
|
-
number?: string | undefined;
|
4315
|
-
town?: string | undefined;
|
4316
|
-
residentialArea?: string | undefined;
|
4317
|
-
street?: string | undefined;
|
4318
|
-
zipCode?: string | undefined;
|
4319
|
-
} | {
|
4320
|
-
country: string;
|
4321
|
-
district: string;
|
4322
|
-
addressType: "DOMESTIC";
|
4323
|
-
province: string;
|
4324
|
-
urbanOrRural: "RURAL";
|
4325
|
-
village?: string | undefined;
|
4326
|
-
} | {
|
4327
|
-
country: string;
|
4328
|
-
state: string;
|
4329
|
-
addressType: "INTERNATIONAL";
|
4330
|
-
district2: string;
|
4331
|
-
cityOrTown?: string | undefined;
|
4332
|
-
addressLine1?: string | undefined;
|
4333
|
-
addressLine2?: string | undefined;
|
4334
|
-
addressLine3?: string | undefined;
|
4335
|
-
postcodeOrZip?: string | undefined;
|
4336
|
-
} | undefined;
|
4337
|
-
}, {
|
4338
|
-
type: "ADDRESS";
|
4339
|
-
id: string;
|
4340
|
-
label: {
|
4341
|
-
id: string;
|
4342
|
-
description: string;
|
4343
|
-
defaultMessage: string;
|
4344
|
-
};
|
4345
|
-
parent?: {
|
4346
|
-
$$field: string;
|
4347
|
-
} | undefined;
|
4348
|
-
validation?: {
|
4349
|
-
message: {
|
4350
|
-
id: string;
|
4351
|
-
description: string;
|
4352
|
-
defaultMessage: string;
|
4353
|
-
};
|
4354
|
-
validator: import(".").JSONSchema;
|
4355
|
-
}[] | undefined;
|
4356
|
-
required?: boolean | undefined;
|
4357
|
-
conditionals?: ({
|
4358
|
-
type: "SHOW";
|
4359
|
-
conditional: import(".").JSONSchema;
|
4360
|
-
} | {
|
4361
|
-
type: "ENABLE";
|
4362
|
-
conditional: import(".").JSONSchema;
|
4363
|
-
} | {
|
4364
|
-
type: "DISPLAY_ON_REVIEW";
|
4365
|
-
conditional: import(".").JSONSchema;
|
4366
|
-
})[] | undefined;
|
4367
|
-
placeholder?: {
|
4368
|
-
id: string;
|
4369
|
-
description: string;
|
4370
|
-
defaultMessage: string;
|
4371
|
-
} | undefined;
|
4372
|
-
helperText?: {
|
4373
|
-
id: string;
|
4374
|
-
description: string;
|
4375
|
-
defaultMessage: string;
|
4376
|
-
} | undefined;
|
4377
|
-
hideLabel?: boolean | undefined;
|
4378
|
-
defaultValue?: {
|
4379
|
-
country: string;
|
4380
|
-
district: string;
|
4381
|
-
addressType: "DOMESTIC";
|
4382
|
-
province: string;
|
4383
|
-
urbanOrRural: "URBAN";
|
4384
|
-
number?: string | undefined;
|
4385
|
-
town?: string | undefined;
|
4386
|
-
residentialArea?: string | undefined;
|
4387
|
-
street?: string | undefined;
|
4388
|
-
zipCode?: string | undefined;
|
4389
|
-
} | {
|
4390
|
-
country: string;
|
4391
|
-
district: string;
|
4392
|
-
addressType: "DOMESTIC";
|
4393
|
-
province: string;
|
4394
|
-
urbanOrRural: "RURAL";
|
4395
|
-
village?: string | undefined;
|
4396
|
-
} | {
|
4397
|
-
country: string;
|
4398
|
-
state: string;
|
4399
|
-
addressType: "INTERNATIONAL";
|
4400
|
-
district2: string;
|
4401
|
-
cityOrTown?: string | undefined;
|
4402
|
-
addressLine1?: string | undefined;
|
4403
|
-
addressLine2?: string | undefined;
|
4404
|
-
addressLine3?: string | undefined;
|
4405
|
-
postcodeOrZip?: string | undefined;
|
4406
|
-
} | undefined;
|
4407
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4408
|
-
id: z.ZodString;
|
4409
|
-
parent: z.ZodOptional<z.ZodObject<{
|
4410
|
-
$$field: z.ZodString;
|
4411
|
-
}, "strip", z.ZodTypeAny, {
|
4412
|
-
$$field: string;
|
4413
|
-
}, {
|
4414
|
-
$$field: string;
|
4415
|
-
}>>;
|
4416
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4417
|
-
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4418
|
-
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4419
|
-
id: string;
|
4420
|
-
description: string;
|
4421
|
-
defaultMessage: string;
|
4422
|
-
}>>;
|
4423
|
-
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4424
|
-
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4425
|
-
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4426
|
-
id: string;
|
4427
|
-
description: string;
|
4428
|
-
defaultMessage: string;
|
4429
|
-
}>;
|
4430
|
-
}, "strip", z.ZodTypeAny, {
|
4431
|
-
message: TranslationConfig;
|
4432
|
-
validator: import(".").JSONSchema;
|
4433
|
-
}, {
|
4434
|
-
message: {
|
4435
|
-
id: string;
|
4436
|
-
description: string;
|
4437
|
-
defaultMessage: string;
|
4438
|
-
};
|
4439
|
-
validator: import(".").JSONSchema;
|
4440
|
-
}>, "many">>>;
|
4441
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4442
|
-
id: string;
|
4443
|
-
description: string;
|
4444
|
-
defaultMessage: string;
|
4445
|
-
}>;
|
4446
|
-
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4447
|
-
id: string;
|
4448
|
-
description: string;
|
4449
|
-
defaultMessage: string;
|
4450
|
-
}>>;
|
4451
|
-
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4452
|
-
}, {
|
4453
|
-
type: z.ZodLiteral<"TEXT">;
|
4454
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
4455
|
-
configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
4456
|
-
maxLength: z.ZodOptional<z.ZodNumber>;
|
4457
|
-
type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
|
4458
|
-
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4459
|
-
id: string;
|
4460
|
-
description: string;
|
4461
|
-
defaultMessage: string;
|
4462
|
-
}>>;
|
4463
|
-
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4464
|
-
id: string;
|
4465
|
-
description: string;
|
4466
|
-
defaultMessage: string;
|
4467
|
-
}>>;
|
4468
|
-
}, "strip", z.ZodTypeAny, {
|
4469
|
-
type?: "text" | "password" | undefined;
|
4470
|
-
maxLength?: number | undefined;
|
4471
|
-
prefix?: TranslationConfig | undefined;
|
4472
|
-
postfix?: TranslationConfig | undefined;
|
4473
|
-
}, {
|
4474
|
-
type?: "text" | "password" | undefined;
|
4475
|
-
maxLength?: number | undefined;
|
4476
|
-
prefix?: {
|
4477
|
-
id: string;
|
4478
|
-
description: string;
|
4479
|
-
defaultMessage: string;
|
4480
|
-
} | undefined;
|
4481
|
-
postfix?: {
|
4482
|
-
id: string;
|
4483
|
-
description: string;
|
4484
|
-
defaultMessage: string;
|
4485
|
-
} | undefined;
|
4486
|
-
}>>>;
|
4487
|
-
}>, "strip", z.ZodTypeAny, {
|
4488
|
-
type: "TEXT";
|
4489
|
-
id: string;
|
4490
|
-
label: TranslationConfig;
|
4491
|
-
parent?: {
|
4492
|
-
$$field: string;
|
4493
|
-
} | undefined;
|
4494
|
-
validation?: {
|
4495
|
-
message: TranslationConfig;
|
4496
|
-
validator: import(".").JSONSchema;
|
4497
|
-
}[] | undefined;
|
4498
|
-
required?: boolean | undefined;
|
4499
|
-
conditionals?: ({
|
4500
|
-
type: "SHOW";
|
4501
|
-
conditional: import(".").JSONSchema;
|
4502
|
-
} | {
|
4503
|
-
type: "ENABLE";
|
4504
|
-
conditional: import(".").JSONSchema;
|
4505
|
-
} | {
|
4506
|
-
type: "DISPLAY_ON_REVIEW";
|
4507
|
-
conditional: import(".").JSONSchema;
|
4508
|
-
})[] | undefined;
|
4509
|
-
placeholder?: TranslationConfig | undefined;
|
4510
|
-
helperText?: TranslationConfig | undefined;
|
4511
|
-
hideLabel?: boolean | undefined;
|
4512
|
-
defaultValue?: string | undefined;
|
4513
|
-
configuration?: {
|
4514
|
-
type?: "text" | "password" | undefined;
|
4515
|
-
maxLength?: number | undefined;
|
4516
|
-
prefix?: TranslationConfig | undefined;
|
4517
|
-
postfix?: TranslationConfig | undefined;
|
4518
|
-
} | undefined;
|
4519
|
-
}, {
|
4520
|
-
type: "TEXT";
|
4521
|
-
id: string;
|
4522
|
-
label: {
|
4523
|
-
id: string;
|
4524
|
-
description: string;
|
4525
|
-
defaultMessage: string;
|
4526
|
-
};
|
4527
|
-
parent?: {
|
4528
|
-
$$field: string;
|
4529
|
-
} | undefined;
|
4530
|
-
validation?: {
|
4531
|
-
message: {
|
4532
|
-
id: string;
|
4533
|
-
description: string;
|
4534
|
-
defaultMessage: string;
|
4535
|
-
};
|
4536
|
-
validator: import(".").JSONSchema;
|
4537
|
-
}[] | undefined;
|
4538
|
-
required?: boolean | undefined;
|
4539
|
-
conditionals?: ({
|
4540
|
-
type: "SHOW";
|
4541
|
-
conditional: import(".").JSONSchema;
|
4542
|
-
} | {
|
4543
|
-
type: "ENABLE";
|
4544
|
-
conditional: import(".").JSONSchema;
|
4545
|
-
} | {
|
4546
|
-
type: "DISPLAY_ON_REVIEW";
|
4547
|
-
conditional: import(".").JSONSchema;
|
4548
|
-
})[] | undefined;
|
4549
|
-
placeholder?: {
|
4550
|
-
id: string;
|
4551
|
-
description: string;
|
4552
|
-
defaultMessage: string;
|
4553
|
-
} | undefined;
|
4554
|
-
helperText?: {
|
4555
|
-
id: string;
|
4556
|
-
description: string;
|
4557
|
-
defaultMessage: string;
|
4558
|
-
} | undefined;
|
4559
|
-
hideLabel?: boolean | undefined;
|
4560
|
-
defaultValue?: string | undefined;
|
4561
|
-
configuration?: {
|
4562
|
-
type?: "text" | "password" | undefined;
|
4563
|
-
maxLength?: number | undefined;
|
4564
|
-
prefix?: {
|
4565
|
-
id: string;
|
4566
|
-
description: string;
|
4567
|
-
defaultMessage: string;
|
4568
|
-
} | undefined;
|
4569
|
-
postfix?: {
|
4570
|
-
id: string;
|
4571
|
-
description: string;
|
4572
|
-
defaultMessage: string;
|
4573
|
-
} | undefined;
|
4574
|
-
} | undefined;
|
4575
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4576
|
-
id: z.ZodString;
|
4577
|
-
parent: z.ZodOptional<z.ZodObject<{
|
4578
|
-
$$field: z.ZodString;
|
4579
|
-
}, "strip", z.ZodTypeAny, {
|
4580
|
-
$$field: string;
|
4581
|
-
}, {
|
4582
|
-
$$field: string;
|
4583
|
-
}>>;
|
4584
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4585
|
-
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4586
|
-
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4587
|
-
id: string;
|
4588
|
-
description: string;
|
4589
|
-
defaultMessage: string;
|
4590
|
-
}>>;
|
4591
|
-
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4592
|
-
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4593
|
-
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4594
|
-
id: string;
|
4595
|
-
description: string;
|
4596
|
-
defaultMessage: string;
|
4597
|
-
}>;
|
4598
|
-
}, "strip", z.ZodTypeAny, {
|
4599
|
-
message: TranslationConfig;
|
4600
|
-
validator: import(".").JSONSchema;
|
4601
|
-
}, {
|
4602
|
-
message: {
|
4603
|
-
id: string;
|
4604
|
-
description: string;
|
4605
|
-
defaultMessage: string;
|
4606
|
-
};
|
4607
|
-
validator: import(".").JSONSchema;
|
4608
|
-
}>, "many">>>;
|
4609
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4610
|
-
id: string;
|
4611
|
-
description: string;
|
4612
|
-
defaultMessage: string;
|
4613
|
-
}>;
|
4614
|
-
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4615
|
-
id: string;
|
4616
|
-
description: string;
|
4617
|
-
defaultMessage: string;
|
4618
|
-
}>>;
|
4619
|
-
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4620
|
-
}, {
|
4621
|
-
type: z.ZodLiteral<"NUMBER">;
|
4622
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
4623
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
4624
|
-
min: z.ZodOptional<z.ZodNumber>;
|
4625
|
-
max: z.ZodOptional<z.ZodNumber>;
|
4626
|
-
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4627
|
-
id: string;
|
4628
|
-
description: string;
|
4629
|
-
defaultMessage: string;
|
4630
|
-
}>>;
|
4631
|
-
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4632
|
-
id: string;
|
4633
|
-
description: string;
|
4634
|
-
defaultMessage: string;
|
4635
|
-
}>>;
|
4636
|
-
}, "strip", z.ZodTypeAny, {
|
4637
|
-
prefix?: TranslationConfig | undefined;
|
4638
|
-
postfix?: TranslationConfig | undefined;
|
4639
|
-
min?: number | undefined;
|
4640
|
-
max?: number | undefined;
|
4641
|
-
}, {
|
4642
|
-
prefix?: {
|
4643
|
-
id: string;
|
4644
|
-
description: string;
|
4645
|
-
defaultMessage: string;
|
4646
|
-
} | undefined;
|
4647
|
-
postfix?: {
|
4648
|
-
id: string;
|
4649
|
-
description: string;
|
4650
|
-
defaultMessage: string;
|
4651
|
-
} | undefined;
|
4652
|
-
min?: number | undefined;
|
4653
|
-
max?: number | undefined;
|
4654
|
-
}>>;
|
4655
|
-
}>, "strip", z.ZodTypeAny, {
|
4656
|
-
type: "NUMBER";
|
4657
|
-
id: string;
|
4658
|
-
label: TranslationConfig;
|
4659
|
-
parent?: {
|
4660
|
-
$$field: string;
|
4661
|
-
} | undefined;
|
4662
|
-
validation?: {
|
4663
|
-
message: TranslationConfig;
|
4664
|
-
validator: import(".").JSONSchema;
|
4665
|
-
}[] | undefined;
|
4666
|
-
required?: boolean | undefined;
|
4667
|
-
conditionals?: ({
|
4668
|
-
type: "SHOW";
|
4669
|
-
conditional: import(".").JSONSchema;
|
4670
|
-
} | {
|
4671
|
-
type: "ENABLE";
|
4672
|
-
conditional: import(".").JSONSchema;
|
4673
|
-
} | {
|
4674
|
-
type: "DISPLAY_ON_REVIEW";
|
4675
|
-
conditional: import(".").JSONSchema;
|
4676
|
-
})[] | undefined;
|
4677
|
-
placeholder?: TranslationConfig | undefined;
|
4678
|
-
helperText?: TranslationConfig | undefined;
|
4679
|
-
hideLabel?: boolean | undefined;
|
4680
|
-
defaultValue?: number | undefined;
|
4681
|
-
configuration?: {
|
4682
|
-
prefix?: TranslationConfig | undefined;
|
4683
|
-
postfix?: TranslationConfig | undefined;
|
4684
|
-
min?: number | undefined;
|
4685
|
-
max?: number | undefined;
|
4686
|
-
} | undefined;
|
4687
|
-
}, {
|
4688
|
-
type: "NUMBER";
|
4689
|
-
id: string;
|
4690
|
-
label: {
|
4691
|
-
id: string;
|
4692
|
-
description: string;
|
4693
|
-
defaultMessage: string;
|
4694
|
-
};
|
4695
|
-
parent?: {
|
4696
|
-
$$field: string;
|
4697
|
-
} | undefined;
|
4698
|
-
validation?: {
|
4699
|
-
message: {
|
4700
|
-
id: string;
|
4701
|
-
description: string;
|
4702
|
-
defaultMessage: string;
|
4703
|
-
};
|
4704
|
-
validator: import(".").JSONSchema;
|
4705
|
-
}[] | undefined;
|
4706
|
-
required?: boolean | undefined;
|
4707
|
-
conditionals?: ({
|
4708
|
-
type: "SHOW";
|
4709
|
-
conditional: import(".").JSONSchema;
|
4710
|
-
} | {
|
4711
|
-
type: "ENABLE";
|
4712
|
-
conditional: import(".").JSONSchema;
|
4713
|
-
} | {
|
4714
|
-
type: "DISPLAY_ON_REVIEW";
|
4715
|
-
conditional: import(".").JSONSchema;
|
4716
|
-
})[] | undefined;
|
4717
|
-
placeholder?: {
|
4718
|
-
id: string;
|
4719
|
-
description: string;
|
4720
|
-
defaultMessage: string;
|
4721
|
-
} | undefined;
|
4722
|
-
helperText?: {
|
4723
|
-
id: string;
|
4724
|
-
description: string;
|
4725
|
-
defaultMessage: string;
|
4726
|
-
} | undefined;
|
4727
|
-
hideLabel?: boolean | undefined;
|
4728
|
-
defaultValue?: number | undefined;
|
4729
|
-
configuration?: {
|
4730
|
-
prefix?: {
|
4731
|
-
id: string;
|
4732
|
-
description: string;
|
4733
|
-
defaultMessage: string;
|
4734
|
-
} | undefined;
|
4735
|
-
postfix?: {
|
4736
|
-
id: string;
|
4737
|
-
description: string;
|
4738
|
-
defaultMessage: string;
|
4739
|
-
} | undefined;
|
4740
|
-
min?: number | undefined;
|
4741
|
-
max?: number | undefined;
|
4742
|
-
} | undefined;
|
4743
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4744
|
-
id: z.ZodString;
|
4745
|
-
parent: z.ZodOptional<z.ZodObject<{
|
4746
|
-
$$field: z.ZodString;
|
4747
|
-
}, "strip", z.ZodTypeAny, {
|
4748
|
-
$$field: string;
|
4749
|
-
}, {
|
4750
|
-
$$field: string;
|
4751
|
-
}>>;
|
4752
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4753
|
-
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4754
|
-
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4755
|
-
id: string;
|
4756
|
-
description: string;
|
4757
|
-
defaultMessage: string;
|
4758
|
-
}>>;
|
4759
|
-
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4760
|
-
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4761
|
-
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4762
|
-
id: string;
|
4763
|
-
description: string;
|
4764
|
-
defaultMessage: string;
|
4765
|
-
}>;
|
4766
|
-
}, "strip", z.ZodTypeAny, {
|
4767
|
-
message: TranslationConfig;
|
4768
|
-
validator: import(".").JSONSchema;
|
4769
|
-
}, {
|
4770
|
-
message: {
|
4771
|
-
id: string;
|
4772
|
-
description: string;
|
4773
|
-
defaultMessage: string;
|
4774
|
-
};
|
4775
|
-
validator: import(".").JSONSchema;
|
4776
|
-
}>, "many">>>;
|
4777
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4778
|
-
id: string;
|
4779
|
-
description: string;
|
4780
|
-
defaultMessage: string;
|
4781
|
-
}>;
|
4782
|
-
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4783
|
-
id: string;
|
4784
|
-
description: string;
|
4785
|
-
defaultMessage: string;
|
4786
|
-
}>>;
|
4787
|
-
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4788
|
-
}, {
|
4789
|
-
type: z.ZodLiteral<"TEXTAREA">;
|
4790
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
4791
|
-
configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
4792
|
-
maxLength: z.ZodOptional<z.ZodNumber>;
|
4793
|
-
rows: z.ZodOptional<z.ZodNumber>;
|
4794
|
-
cols: z.ZodOptional<z.ZodNumber>;
|
4795
|
-
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4796
|
-
id: string;
|
4797
|
-
description: string;
|
4798
|
-
defaultMessage: string;
|
4799
|
-
}>>;
|
4800
|
-
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4801
|
-
id: string;
|
4802
|
-
description: string;
|
4803
|
-
defaultMessage: string;
|
4804
|
-
}>>;
|
4805
|
-
}, "strip", z.ZodTypeAny, {
|
4806
|
-
maxLength?: number | undefined;
|
4807
|
-
prefix?: TranslationConfig | undefined;
|
4808
|
-
postfix?: TranslationConfig | undefined;
|
4809
|
-
rows?: number | undefined;
|
4810
|
-
cols?: number | undefined;
|
4811
|
-
}, {
|
4812
|
-
maxLength?: number | undefined;
|
4813
|
-
prefix?: {
|
4814
|
-
id: string;
|
4815
|
-
description: string;
|
4816
|
-
defaultMessage: string;
|
4817
|
-
} | undefined;
|
4818
|
-
postfix?: {
|
4819
|
-
id: string;
|
4820
|
-
description: string;
|
4821
|
-
defaultMessage: string;
|
4822
|
-
} | undefined;
|
4823
|
-
rows?: number | undefined;
|
4824
|
-
cols?: number | undefined;
|
4825
|
-
}>>>;
|
4826
|
-
}>, "strip", z.ZodTypeAny, {
|
4827
|
-
type: "TEXTAREA";
|
4828
|
-
id: string;
|
4829
|
-
label: TranslationConfig;
|
4830
|
-
parent?: {
|
4831
|
-
$$field: string;
|
4832
|
-
} | undefined;
|
4833
|
-
validation?: {
|
4834
|
-
message: TranslationConfig;
|
4835
|
-
validator: import(".").JSONSchema;
|
4836
|
-
}[] | undefined;
|
4837
|
-
required?: boolean | undefined;
|
4838
|
-
conditionals?: ({
|
4839
|
-
type: "SHOW";
|
4840
|
-
conditional: import(".").JSONSchema;
|
4841
|
-
} | {
|
4842
|
-
type: "ENABLE";
|
4843
|
-
conditional: import(".").JSONSchema;
|
4844
|
-
} | {
|
4845
|
-
type: "DISPLAY_ON_REVIEW";
|
4846
|
-
conditional: import(".").JSONSchema;
|
4847
|
-
})[] | undefined;
|
4848
|
-
placeholder?: TranslationConfig | undefined;
|
4849
|
-
helperText?: TranslationConfig | undefined;
|
4850
|
-
hideLabel?: boolean | undefined;
|
4851
|
-
defaultValue?: string | undefined;
|
4852
|
-
configuration?: {
|
4853
|
-
maxLength?: number | undefined;
|
4854
|
-
prefix?: TranslationConfig | undefined;
|
4855
|
-
postfix?: TranslationConfig | undefined;
|
4856
|
-
rows?: number | undefined;
|
4857
|
-
cols?: number | undefined;
|
4858
|
-
} | undefined;
|
4859
|
-
}, {
|
4860
|
-
type: "TEXTAREA";
|
4861
|
-
id: string;
|
4862
|
-
label: {
|
4863
|
-
id: string;
|
4864
|
-
description: string;
|
4865
|
-
defaultMessage: string;
|
4866
|
-
};
|
4867
|
-
parent?: {
|
4868
|
-
$$field: string;
|
4869
|
-
} | undefined;
|
4870
|
-
validation?: {
|
4871
|
-
message: {
|
4872
|
-
id: string;
|
4873
|
-
description: string;
|
4874
|
-
defaultMessage: string;
|
4875
|
-
};
|
4876
|
-
validator: import(".").JSONSchema;
|
4877
|
-
}[] | undefined;
|
4878
|
-
required?: boolean | undefined;
|
4879
|
-
conditionals?: ({
|
4880
|
-
type: "SHOW";
|
4881
|
-
conditional: import(".").JSONSchema;
|
4882
|
-
} | {
|
4883
|
-
type: "ENABLE";
|
4884
|
-
conditional: import(".").JSONSchema;
|
4885
|
-
} | {
|
4886
|
-
type: "DISPLAY_ON_REVIEW";
|
4887
|
-
conditional: import(".").JSONSchema;
|
4888
|
-
})[] | undefined;
|
4889
|
-
placeholder?: {
|
4890
|
-
id: string;
|
4891
|
-
description: string;
|
4892
|
-
defaultMessage: string;
|
4893
|
-
} | undefined;
|
4894
|
-
helperText?: {
|
4895
|
-
id: string;
|
4896
|
-
description: string;
|
4897
|
-
defaultMessage: string;
|
4898
|
-
} | undefined;
|
4899
|
-
hideLabel?: boolean | undefined;
|
4900
|
-
defaultValue?: string | undefined;
|
4901
|
-
configuration?: {
|
4902
|
-
maxLength?: number | undefined;
|
4903
|
-
prefix?: {
|
4904
|
-
id: string;
|
4905
|
-
description: string;
|
4906
|
-
defaultMessage: string;
|
4907
|
-
} | undefined;
|
4908
|
-
postfix?: {
|
4909
|
-
id: string;
|
4910
|
-
description: string;
|
4911
|
-
defaultMessage: string;
|
4912
|
-
} | undefined;
|
4913
|
-
rows?: number | undefined;
|
4914
|
-
cols?: number | undefined;
|
4915
|
-
} | undefined;
|
3964
|
+
hideLabel?: boolean | undefined;
|
3965
|
+
defaultValue?: {
|
3966
|
+
country: string;
|
3967
|
+
district: string;
|
3968
|
+
addressType: "DOMESTIC";
|
3969
|
+
province: string;
|
3970
|
+
urbanOrRural: "URBAN";
|
3971
|
+
number?: string | undefined;
|
3972
|
+
town?: string | undefined;
|
3973
|
+
residentialArea?: string | undefined;
|
3974
|
+
street?: string | undefined;
|
3975
|
+
zipCode?: string | undefined;
|
3976
|
+
} | {
|
3977
|
+
country: string;
|
3978
|
+
district: string;
|
3979
|
+
addressType: "DOMESTIC";
|
3980
|
+
province: string;
|
3981
|
+
urbanOrRural: "RURAL";
|
3982
|
+
village?: string | undefined;
|
3983
|
+
} | {
|
3984
|
+
country: string;
|
3985
|
+
state: string;
|
3986
|
+
addressType: "INTERNATIONAL";
|
3987
|
+
district2: string;
|
3988
|
+
cityOrTown?: string | undefined;
|
3989
|
+
addressLine1?: string | undefined;
|
3990
|
+
addressLine2?: string | undefined;
|
3991
|
+
addressLine3?: string | undefined;
|
3992
|
+
postcodeOrZip?: string | undefined;
|
3993
|
+
} | undefined;
|
4916
3994
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4917
3995
|
id: z.ZodString;
|
4918
3996
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -4959,25 +4037,42 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4959
4037
|
}>>;
|
4960
4038
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4961
4039
|
}, {
|
4962
|
-
type: z.ZodLiteral<"
|
4040
|
+
type: z.ZodLiteral<"TEXT">;
|
4963
4041
|
defaultValue: z.ZodOptional<z.ZodString>;
|
4964
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
4965
|
-
|
4042
|
+
configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
4043
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
4044
|
+
type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
|
4045
|
+
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4046
|
+
id: string;
|
4047
|
+
description: string;
|
4048
|
+
defaultMessage: string;
|
4049
|
+
}>>;
|
4050
|
+
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4966
4051
|
id: string;
|
4967
4052
|
description: string;
|
4968
4053
|
defaultMessage: string;
|
4969
4054
|
}>>;
|
4970
4055
|
}, "strip", z.ZodTypeAny, {
|
4971
|
-
|
4056
|
+
type?: "text" | "password" | undefined;
|
4057
|
+
maxLength?: number | undefined;
|
4058
|
+
prefix?: TranslationConfig | undefined;
|
4059
|
+
postfix?: TranslationConfig | undefined;
|
4972
4060
|
}, {
|
4973
|
-
|
4061
|
+
type?: "text" | "password" | undefined;
|
4062
|
+
maxLength?: number | undefined;
|
4063
|
+
prefix?: {
|
4974
4064
|
id: string;
|
4975
4065
|
description: string;
|
4976
4066
|
defaultMessage: string;
|
4977
4067
|
} | undefined;
|
4978
|
-
|
4068
|
+
postfix?: {
|
4069
|
+
id: string;
|
4070
|
+
description: string;
|
4071
|
+
defaultMessage: string;
|
4072
|
+
} | undefined;
|
4073
|
+
}>>>;
|
4979
4074
|
}>, "strip", z.ZodTypeAny, {
|
4980
|
-
type: "
|
4075
|
+
type: "TEXT";
|
4981
4076
|
id: string;
|
4982
4077
|
label: TranslationConfig;
|
4983
4078
|
parent?: {
|
@@ -5003,10 +4098,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5003
4098
|
hideLabel?: boolean | undefined;
|
5004
4099
|
defaultValue?: string | undefined;
|
5005
4100
|
configuration?: {
|
5006
|
-
|
4101
|
+
type?: "text" | "password" | undefined;
|
4102
|
+
maxLength?: number | undefined;
|
4103
|
+
prefix?: TranslationConfig | undefined;
|
4104
|
+
postfix?: TranslationConfig | undefined;
|
5007
4105
|
} | undefined;
|
5008
4106
|
}, {
|
5009
|
-
type: "
|
4107
|
+
type: "TEXT";
|
5010
4108
|
id: string;
|
5011
4109
|
label: {
|
5012
4110
|
id: string;
|
@@ -5048,7 +4146,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5048
4146
|
hideLabel?: boolean | undefined;
|
5049
4147
|
defaultValue?: string | undefined;
|
5050
4148
|
configuration?: {
|
5051
|
-
|
4149
|
+
type?: "text" | "password" | undefined;
|
4150
|
+
maxLength?: number | undefined;
|
4151
|
+
prefix?: {
|
4152
|
+
id: string;
|
4153
|
+
description: string;
|
4154
|
+
defaultMessage: string;
|
4155
|
+
} | undefined;
|
4156
|
+
postfix?: {
|
5052
4157
|
id: string;
|
5053
4158
|
description: string;
|
5054
4159
|
defaultMessage: string;
|
@@ -5100,25 +4205,42 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5100
4205
|
}>>;
|
5101
4206
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5102
4207
|
}, {
|
5103
|
-
type: z.ZodLiteral<"
|
5104
|
-
defaultValue: z.ZodOptional<z.
|
4208
|
+
type: z.ZodLiteral<"NUMBER">;
|
4209
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
5105
4210
|
configuration: z.ZodOptional<z.ZodObject<{
|
5106
|
-
|
4211
|
+
min: z.ZodOptional<z.ZodNumber>;
|
4212
|
+
max: z.ZodOptional<z.ZodNumber>;
|
4213
|
+
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4214
|
+
id: string;
|
4215
|
+
description: string;
|
4216
|
+
defaultMessage: string;
|
4217
|
+
}>>;
|
4218
|
+
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5107
4219
|
id: string;
|
5108
4220
|
description: string;
|
5109
4221
|
defaultMessage: string;
|
5110
4222
|
}>>;
|
5111
4223
|
}, "strip", z.ZodTypeAny, {
|
5112
|
-
|
4224
|
+
prefix?: TranslationConfig | undefined;
|
4225
|
+
postfix?: TranslationConfig | undefined;
|
4226
|
+
min?: number | undefined;
|
4227
|
+
max?: number | undefined;
|
5113
4228
|
}, {
|
5114
|
-
|
4229
|
+
prefix?: {
|
4230
|
+
id: string;
|
4231
|
+
description: string;
|
4232
|
+
defaultMessage: string;
|
4233
|
+
} | undefined;
|
4234
|
+
postfix?: {
|
5115
4235
|
id: string;
|
5116
4236
|
description: string;
|
5117
4237
|
defaultMessage: string;
|
5118
4238
|
} | undefined;
|
4239
|
+
min?: number | undefined;
|
4240
|
+
max?: number | undefined;
|
5119
4241
|
}>>;
|
5120
4242
|
}>, "strip", z.ZodTypeAny, {
|
5121
|
-
type: "
|
4243
|
+
type: "NUMBER";
|
5122
4244
|
id: string;
|
5123
4245
|
label: TranslationConfig;
|
5124
4246
|
parent?: {
|
@@ -5142,12 +4264,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5142
4264
|
placeholder?: TranslationConfig | undefined;
|
5143
4265
|
helperText?: TranslationConfig | undefined;
|
5144
4266
|
hideLabel?: boolean | undefined;
|
5145
|
-
defaultValue?:
|
4267
|
+
defaultValue?: number | undefined;
|
5146
4268
|
configuration?: {
|
5147
|
-
|
4269
|
+
prefix?: TranslationConfig | undefined;
|
4270
|
+
postfix?: TranslationConfig | undefined;
|
4271
|
+
min?: number | undefined;
|
4272
|
+
max?: number | undefined;
|
5148
4273
|
} | undefined;
|
5149
4274
|
}, {
|
5150
|
-
type: "
|
4275
|
+
type: "NUMBER";
|
5151
4276
|
id: string;
|
5152
4277
|
label: {
|
5153
4278
|
id: string;
|
@@ -5187,13 +4312,20 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5187
4312
|
defaultMessage: string;
|
5188
4313
|
} | undefined;
|
5189
4314
|
hideLabel?: boolean | undefined;
|
5190
|
-
defaultValue?:
|
4315
|
+
defaultValue?: number | undefined;
|
5191
4316
|
configuration?: {
|
5192
|
-
|
4317
|
+
prefix?: {
|
4318
|
+
id: string;
|
4319
|
+
description: string;
|
4320
|
+
defaultMessage: string;
|
4321
|
+
} | undefined;
|
4322
|
+
postfix?: {
|
5193
4323
|
id: string;
|
5194
4324
|
description: string;
|
5195
4325
|
defaultMessage: string;
|
5196
4326
|
} | undefined;
|
4327
|
+
min?: number | undefined;
|
4328
|
+
max?: number | undefined;
|
5197
4329
|
} | undefined;
|
5198
4330
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5199
4331
|
id: z.ZodString;
|
@@ -5241,34 +4373,47 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5241
4373
|
}>>;
|
5242
4374
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5243
4375
|
}, {
|
5244
|
-
type: z.ZodLiteral<"
|
4376
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
5245
4377
|
defaultValue: z.ZodOptional<z.ZodString>;
|
5246
|
-
configuration: z.ZodDefault<z.ZodObject<{
|
5247
|
-
|
5248
|
-
|
5249
|
-
|
5250
|
-
|
5251
|
-
|
5252
|
-
|
4378
|
+
configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
4379
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
4380
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
4381
|
+
cols: z.ZodOptional<z.ZodNumber>;
|
4382
|
+
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4383
|
+
id: string;
|
4384
|
+
description: string;
|
4385
|
+
defaultMessage: string;
|
4386
|
+
}>>;
|
4387
|
+
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4388
|
+
id: string;
|
4389
|
+
description: string;
|
4390
|
+
defaultMessage: string;
|
5253
4391
|
}>>;
|
5254
4392
|
}, "strip", z.ZodTypeAny, {
|
5255
|
-
|
5256
|
-
|
5257
|
-
|
4393
|
+
maxLength?: number | undefined;
|
4394
|
+
prefix?: TranslationConfig | undefined;
|
4395
|
+
postfix?: TranslationConfig | undefined;
|
4396
|
+
rows?: number | undefined;
|
4397
|
+
cols?: number | undefined;
|
5258
4398
|
}, {
|
5259
|
-
|
5260
|
-
|
4399
|
+
maxLength?: number | undefined;
|
4400
|
+
prefix?: {
|
4401
|
+
id: string;
|
4402
|
+
description: string;
|
4403
|
+
defaultMessage: string;
|
5261
4404
|
} | undefined;
|
5262
|
-
|
4405
|
+
postfix?: {
|
4406
|
+
id: string;
|
4407
|
+
description: string;
|
4408
|
+
defaultMessage: string;
|
4409
|
+
} | undefined;
|
4410
|
+
rows?: number | undefined;
|
4411
|
+
cols?: number | undefined;
|
4412
|
+
}>>>;
|
5263
4413
|
}>, "strip", z.ZodTypeAny, {
|
5264
|
-
type: "
|
4414
|
+
type: "TEXTAREA";
|
5265
4415
|
id: string;
|
5266
4416
|
label: TranslationConfig;
|
5267
|
-
configuration: {
|
5268
|
-
styles?: {
|
5269
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5270
|
-
} | undefined;
|
5271
|
-
};
|
5272
4417
|
parent?: {
|
5273
4418
|
$$field: string;
|
5274
4419
|
} | undefined;
|
@@ -5291,8 +4436,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5291
4436
|
helperText?: TranslationConfig | undefined;
|
5292
4437
|
hideLabel?: boolean | undefined;
|
5293
4438
|
defaultValue?: string | undefined;
|
4439
|
+
configuration?: {
|
4440
|
+
maxLength?: number | undefined;
|
4441
|
+
prefix?: TranslationConfig | undefined;
|
4442
|
+
postfix?: TranslationConfig | undefined;
|
4443
|
+
rows?: number | undefined;
|
4444
|
+
cols?: number | undefined;
|
4445
|
+
} | undefined;
|
5294
4446
|
}, {
|
5295
|
-
type: "
|
4447
|
+
type: "TEXTAREA";
|
5296
4448
|
id: string;
|
5297
4449
|
label: {
|
5298
4450
|
id: string;
|
@@ -5334,9 +4486,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5334
4486
|
hideLabel?: boolean | undefined;
|
5335
4487
|
defaultValue?: string | undefined;
|
5336
4488
|
configuration?: {
|
5337
|
-
|
5338
|
-
|
4489
|
+
maxLength?: number | undefined;
|
4490
|
+
prefix?: {
|
4491
|
+
id: string;
|
4492
|
+
description: string;
|
4493
|
+
defaultMessage: string;
|
4494
|
+
} | undefined;
|
4495
|
+
postfix?: {
|
4496
|
+
id: string;
|
4497
|
+
description: string;
|
4498
|
+
defaultMessage: string;
|
5339
4499
|
} | undefined;
|
4500
|
+
rows?: number | undefined;
|
4501
|
+
cols?: number | undefined;
|
5340
4502
|
} | undefined;
|
5341
4503
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5342
4504
|
id: z.ZodString;
|
@@ -5384,50 +4546,26 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5384
4546
|
}>>;
|
5385
4547
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5386
4548
|
}, {
|
5387
|
-
type: z.ZodLiteral<"
|
4549
|
+
type: z.ZodLiteral<"DATE">;
|
5388
4550
|
defaultValue: z.ZodOptional<z.ZodString>;
|
5389
|
-
|
5390
|
-
|
5391
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4551
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
4552
|
+
notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5392
4553
|
id: string;
|
5393
4554
|
description: string;
|
5394
4555
|
defaultMessage: string;
|
5395
|
-
}
|
4556
|
+
}>>;
|
5396
4557
|
}, "strip", z.ZodTypeAny, {
|
5397
|
-
|
5398
|
-
label: TranslationConfig;
|
4558
|
+
notice?: TranslationConfig | undefined;
|
5399
4559
|
}, {
|
5400
|
-
|
5401
|
-
label: {
|
4560
|
+
notice?: {
|
5402
4561
|
id: string;
|
5403
4562
|
description: string;
|
5404
4563
|
defaultMessage: string;
|
5405
|
-
};
|
5406
|
-
}>, "many">;
|
5407
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
5408
|
-
styles: z.ZodOptional<z.ZodObject<{
|
5409
|
-
size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
|
5410
|
-
}, "strip", z.ZodTypeAny, {
|
5411
|
-
size?: "NORMAL" | "LARGE" | undefined;
|
5412
|
-
}, {
|
5413
|
-
size?: "NORMAL" | "LARGE" | undefined;
|
5414
|
-
}>>;
|
5415
|
-
}, "strip", z.ZodTypeAny, {
|
5416
|
-
styles?: {
|
5417
|
-
size?: "NORMAL" | "LARGE" | undefined;
|
5418
|
-
} | undefined;
|
5419
|
-
}, {
|
5420
|
-
styles?: {
|
5421
|
-
size?: "NORMAL" | "LARGE" | undefined;
|
5422
4564
|
} | undefined;
|
5423
4565
|
}>>;
|
5424
4566
|
}>, "strip", z.ZodTypeAny, {
|
5425
|
-
type: "
|
4567
|
+
type: "DATE";
|
5426
4568
|
id: string;
|
5427
|
-
options: {
|
5428
|
-
value: string;
|
5429
|
-
label: TranslationConfig;
|
5430
|
-
}[];
|
5431
4569
|
label: TranslationConfig;
|
5432
4570
|
parent?: {
|
5433
4571
|
$$field: string;
|
@@ -5451,22 +4589,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5451
4589
|
helperText?: TranslationConfig | undefined;
|
5452
4590
|
hideLabel?: boolean | undefined;
|
5453
4591
|
defaultValue?: string | undefined;
|
5454
|
-
configuration?: {
|
5455
|
-
|
5456
|
-
|
5457
|
-
|
5458
|
-
|
5459
|
-
|
5460
|
-
type: "RADIO_GROUP";
|
5461
|
-
id: string;
|
5462
|
-
options: {
|
5463
|
-
value: string;
|
5464
|
-
label: {
|
5465
|
-
id: string;
|
5466
|
-
description: string;
|
5467
|
-
defaultMessage: string;
|
5468
|
-
};
|
5469
|
-
}[];
|
4592
|
+
configuration?: {
|
4593
|
+
notice?: TranslationConfig | undefined;
|
4594
|
+
} | undefined;
|
4595
|
+
}, {
|
4596
|
+
type: "DATE";
|
4597
|
+
id: string;
|
5470
4598
|
label: {
|
5471
4599
|
id: string;
|
5472
4600
|
description: string;
|
@@ -5507,8 +4635,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5507
4635
|
hideLabel?: boolean | undefined;
|
5508
4636
|
defaultValue?: string | undefined;
|
5509
4637
|
configuration?: {
|
5510
|
-
|
5511
|
-
|
4638
|
+
notice?: {
|
4639
|
+
id: string;
|
4640
|
+
description: string;
|
4641
|
+
defaultMessage: string;
|
5512
4642
|
} | undefined;
|
5513
4643
|
} | undefined;
|
5514
4644
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
@@ -5557,40 +4687,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5557
4687
|
}>>;
|
5558
4688
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5559
4689
|
}, {
|
5560
|
-
type: z.ZodLiteral<"
|
5561
|
-
defaultValue: z.ZodOptional<z.ZodString
|
5562
|
-
|
5563
|
-
|
5564
|
-
|
5565
|
-
|
5566
|
-
|
5567
|
-
configuration: z.ZodDefault<z.ZodObject<{
|
5568
|
-
styles: z.ZodOptional<z.ZodObject<{
|
5569
|
-
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
5570
|
-
}, "strip", z.ZodTypeAny, {
|
5571
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5572
|
-
}, {
|
5573
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4690
|
+
type: z.ZodLiteral<"DATE_RANGE">;
|
4691
|
+
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>>;
|
4692
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
4693
|
+
notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4694
|
+
id: string;
|
4695
|
+
description: string;
|
4696
|
+
defaultMessage: string;
|
5574
4697
|
}>>;
|
5575
4698
|
}, "strip", z.ZodTypeAny, {
|
5576
|
-
|
5577
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5578
|
-
} | undefined;
|
4699
|
+
notice?: TranslationConfig | undefined;
|
5579
4700
|
}, {
|
5580
|
-
|
5581
|
-
|
4701
|
+
notice?: {
|
4702
|
+
id: string;
|
4703
|
+
description: string;
|
4704
|
+
defaultMessage: string;
|
5582
4705
|
} | undefined;
|
5583
4706
|
}>>;
|
5584
4707
|
}>, "strip", z.ZodTypeAny, {
|
5585
|
-
type: "
|
4708
|
+
type: "DATE_RANGE";
|
5586
4709
|
id: string;
|
5587
4710
|
label: TranslationConfig;
|
5588
|
-
configuration: {
|
5589
|
-
styles?: {
|
5590
|
-
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5591
|
-
} | undefined;
|
5592
|
-
};
|
5593
|
-
items: TranslationConfig[];
|
5594
4711
|
parent?: {
|
5595
4712
|
$$field: string;
|
5596
4713
|
} | undefined;
|
@@ -5612,20 +4729,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5612
4729
|
placeholder?: TranslationConfig | undefined;
|
5613
4730
|
helperText?: TranslationConfig | undefined;
|
5614
4731
|
hideLabel?: boolean | undefined;
|
5615
|
-
defaultValue?: string | undefined;
|
4732
|
+
defaultValue?: string | [string, string] | undefined;
|
4733
|
+
configuration?: {
|
4734
|
+
notice?: TranslationConfig | undefined;
|
4735
|
+
} | undefined;
|
5616
4736
|
}, {
|
5617
|
-
type: "
|
4737
|
+
type: "DATE_RANGE";
|
5618
4738
|
id: string;
|
5619
4739
|
label: {
|
5620
4740
|
id: string;
|
5621
4741
|
description: string;
|
5622
4742
|
defaultMessage: string;
|
5623
4743
|
};
|
5624
|
-
items: {
|
5625
|
-
id: string;
|
5626
|
-
description: string;
|
5627
|
-
defaultMessage: string;
|
5628
|
-
}[];
|
5629
4744
|
parent?: {
|
5630
4745
|
$$field: string;
|
5631
4746
|
} | undefined;
|
@@ -5659,10 +4774,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5659
4774
|
defaultMessage: string;
|
5660
4775
|
} | undefined;
|
5661
4776
|
hideLabel?: boolean | undefined;
|
5662
|
-
defaultValue?: string | undefined;
|
4777
|
+
defaultValue?: string | [string, string] | undefined;
|
5663
4778
|
configuration?: {
|
5664
|
-
|
5665
|
-
|
4779
|
+
notice?: {
|
4780
|
+
id: string;
|
4781
|
+
description: string;
|
4782
|
+
defaultMessage: string;
|
5666
4783
|
} | undefined;
|
5667
4784
|
} | undefined;
|
5668
4785
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
@@ -5711,12 +4828,34 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5711
4828
|
}>>;
|
5712
4829
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5713
4830
|
}, {
|
5714
|
-
type: z.ZodLiteral<"
|
4831
|
+
type: z.ZodLiteral<"PARAGRAPH">;
|
5715
4832
|
defaultValue: z.ZodOptional<z.ZodString>;
|
4833
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
4834
|
+
styles: z.ZodOptional<z.ZodObject<{
|
4835
|
+
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
4836
|
+
}, "strip", z.ZodTypeAny, {
|
4837
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4838
|
+
}, {
|
4839
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4840
|
+
}>>;
|
4841
|
+
}, "strip", z.ZodTypeAny, {
|
4842
|
+
styles?: {
|
4843
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4844
|
+
} | undefined;
|
4845
|
+
}, {
|
4846
|
+
styles?: {
|
4847
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4848
|
+
} | undefined;
|
4849
|
+
}>>;
|
5716
4850
|
}>, "strip", z.ZodTypeAny, {
|
5717
|
-
type: "
|
4851
|
+
type: "PARAGRAPH";
|
5718
4852
|
id: string;
|
5719
4853
|
label: TranslationConfig;
|
4854
|
+
configuration: {
|
4855
|
+
styles?: {
|
4856
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4857
|
+
} | undefined;
|
4858
|
+
};
|
5720
4859
|
parent?: {
|
5721
4860
|
$$field: string;
|
5722
4861
|
} | undefined;
|
@@ -5740,7 +4879,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5740
4879
|
hideLabel?: boolean | undefined;
|
5741
4880
|
defaultValue?: string | undefined;
|
5742
4881
|
}, {
|
5743
|
-
type: "
|
4882
|
+
type: "PARAGRAPH";
|
5744
4883
|
id: string;
|
5745
4884
|
label: {
|
5746
4885
|
id: string;
|
@@ -5781,6 +4920,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5781
4920
|
} | undefined;
|
5782
4921
|
hideLabel?: boolean | undefined;
|
5783
4922
|
defaultValue?: string | undefined;
|
4923
|
+
configuration?: {
|
4924
|
+
styles?: {
|
4925
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
4926
|
+
} | undefined;
|
4927
|
+
} | undefined;
|
5784
4928
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5785
4929
|
id: z.ZodString;
|
5786
4930
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -5827,7 +4971,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5827
4971
|
}>>;
|
5828
4972
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5829
4973
|
}, {
|
5830
|
-
type: z.ZodLiteral<"
|
4974
|
+
type: z.ZodLiteral<"RADIO_GROUP">;
|
5831
4975
|
defaultValue: z.ZodOptional<z.ZodString>;
|
5832
4976
|
options: z.ZodArray<z.ZodObject<{
|
5833
4977
|
value: z.ZodString;
|
@@ -5847,8 +4991,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5847
4991
|
defaultMessage: string;
|
5848
4992
|
};
|
5849
4993
|
}>, "many">;
|
4994
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
4995
|
+
styles: z.ZodOptional<z.ZodObject<{
|
4996
|
+
size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
|
4997
|
+
}, "strip", z.ZodTypeAny, {
|
4998
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
4999
|
+
}, {
|
5000
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
5001
|
+
}>>;
|
5002
|
+
}, "strip", z.ZodTypeAny, {
|
5003
|
+
styles?: {
|
5004
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
5005
|
+
} | undefined;
|
5006
|
+
}, {
|
5007
|
+
styles?: {
|
5008
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
5009
|
+
} | undefined;
|
5010
|
+
}>>;
|
5850
5011
|
}>, "strip", z.ZodTypeAny, {
|
5851
|
-
type: "
|
5012
|
+
type: "RADIO_GROUP";
|
5852
5013
|
id: string;
|
5853
5014
|
options: {
|
5854
5015
|
value: string;
|
@@ -5877,8 +5038,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5877
5038
|
helperText?: TranslationConfig | undefined;
|
5878
5039
|
hideLabel?: boolean | undefined;
|
5879
5040
|
defaultValue?: string | undefined;
|
5041
|
+
configuration?: {
|
5042
|
+
styles?: {
|
5043
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
5044
|
+
} | undefined;
|
5045
|
+
} | undefined;
|
5880
5046
|
}, {
|
5881
|
-
type: "
|
5047
|
+
type: "RADIO_GROUP";
|
5882
5048
|
id: string;
|
5883
5049
|
options: {
|
5884
5050
|
value: string;
|
@@ -5927,6 +5093,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5927
5093
|
} | undefined;
|
5928
5094
|
hideLabel?: boolean | undefined;
|
5929
5095
|
defaultValue?: string | undefined;
|
5096
|
+
configuration?: {
|
5097
|
+
styles?: {
|
5098
|
+
size?: "NORMAL" | "LARGE" | undefined;
|
5099
|
+
} | undefined;
|
5100
|
+
} | undefined;
|
5930
5101
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5931
5102
|
id: z.ZodString;
|
5932
5103
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -5973,50 +5144,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5973
5144
|
}>>;
|
5974
5145
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
5975
5146
|
}, {
|
5976
|
-
type: z.ZodLiteral<"
|
5977
|
-
defaultValue: z.ZodOptional<z.
|
5978
|
-
|
5979
|
-
|
5980
|
-
|
5981
|
-
|
5982
|
-
|
5983
|
-
|
5984
|
-
|
5985
|
-
|
5986
|
-
|
5987
|
-
|
5988
|
-
|
5989
|
-
|
5990
|
-
id: string;
|
5991
|
-
description: string;
|
5992
|
-
defaultMessage: string;
|
5993
|
-
}>>;
|
5994
|
-
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5995
|
-
id: string;
|
5996
|
-
description: string;
|
5997
|
-
defaultMessage: string;
|
5147
|
+
type: z.ZodLiteral<"BULLET_LIST">;
|
5148
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
5149
|
+
items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5150
|
+
id: string;
|
5151
|
+
description: string;
|
5152
|
+
defaultMessage: string;
|
5153
|
+
}>, "many">;
|
5154
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
5155
|
+
styles: z.ZodOptional<z.ZodObject<{
|
5156
|
+
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
5157
|
+
}, "strip", z.ZodTypeAny, {
|
5158
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5159
|
+
}, {
|
5160
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5998
5161
|
}>>;
|
5999
5162
|
}, "strip", z.ZodTypeAny, {
|
6000
|
-
|
6001
|
-
|
6002
|
-
postfix?: TranslationConfig | undefined;
|
6003
|
-
}, {
|
6004
|
-
maxLength?: number | undefined;
|
6005
|
-
prefix?: {
|
6006
|
-
id: string;
|
6007
|
-
description: string;
|
6008
|
-
defaultMessage: string;
|
5163
|
+
styles?: {
|
5164
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
6009
5165
|
} | undefined;
|
6010
|
-
|
6011
|
-
|
6012
|
-
|
6013
|
-
defaultMessage: string;
|
5166
|
+
}, {
|
5167
|
+
styles?: {
|
5168
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
6014
5169
|
} | undefined;
|
6015
5170
|
}>>;
|
6016
5171
|
}>, "strip", z.ZodTypeAny, {
|
6017
|
-
type: "
|
5172
|
+
type: "BULLET_LIST";
|
6018
5173
|
id: string;
|
6019
5174
|
label: TranslationConfig;
|
5175
|
+
configuration: {
|
5176
|
+
styles?: {
|
5177
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5178
|
+
} | undefined;
|
5179
|
+
};
|
5180
|
+
items: TranslationConfig[];
|
6020
5181
|
parent?: {
|
6021
5182
|
$$field: string;
|
6022
5183
|
} | undefined;
|
@@ -6038,23 +5199,20 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6038
5199
|
placeholder?: TranslationConfig | undefined;
|
6039
5200
|
helperText?: TranslationConfig | undefined;
|
6040
5201
|
hideLabel?: boolean | undefined;
|
6041
|
-
defaultValue?:
|
6042
|
-
firstname: string;
|
6043
|
-
surname: string;
|
6044
|
-
} | undefined;
|
6045
|
-
configuration?: {
|
6046
|
-
maxLength?: number | undefined;
|
6047
|
-
prefix?: TranslationConfig | undefined;
|
6048
|
-
postfix?: TranslationConfig | undefined;
|
6049
|
-
} | undefined;
|
5202
|
+
defaultValue?: string | undefined;
|
6050
5203
|
}, {
|
6051
|
-
type: "
|
5204
|
+
type: "BULLET_LIST";
|
6052
5205
|
id: string;
|
6053
5206
|
label: {
|
6054
5207
|
id: string;
|
6055
5208
|
description: string;
|
6056
5209
|
defaultMessage: string;
|
6057
5210
|
};
|
5211
|
+
items: {
|
5212
|
+
id: string;
|
5213
|
+
description: string;
|
5214
|
+
defaultMessage: string;
|
5215
|
+
}[];
|
6058
5216
|
parent?: {
|
6059
5217
|
$$field: string;
|
6060
5218
|
} | undefined;
|
@@ -6088,21 +5246,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6088
5246
|
defaultMessage: string;
|
6089
5247
|
} | undefined;
|
6090
5248
|
hideLabel?: boolean | undefined;
|
6091
|
-
defaultValue?:
|
6092
|
-
firstname: string;
|
6093
|
-
surname: string;
|
6094
|
-
} | undefined;
|
5249
|
+
defaultValue?: string | undefined;
|
6095
5250
|
configuration?: {
|
6096
|
-
|
6097
|
-
|
6098
|
-
id: string;
|
6099
|
-
description: string;
|
6100
|
-
defaultMessage: string;
|
6101
|
-
} | undefined;
|
6102
|
-
postfix?: {
|
6103
|
-
id: string;
|
6104
|
-
description: string;
|
6105
|
-
defaultMessage: string;
|
5251
|
+
styles?: {
|
5252
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
6106
5253
|
} | undefined;
|
6107
5254
|
} | undefined;
|
6108
5255
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
@@ -6151,10 +5298,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6151
5298
|
}>>;
|
6152
5299
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6153
5300
|
}, {
|
5301
|
+
type: z.ZodLiteral<"PAGE_HEADER">;
|
6154
5302
|
defaultValue: z.ZodOptional<z.ZodString>;
|
6155
|
-
type: z.ZodLiteral<"PHONE">;
|
6156
5303
|
}>, "strip", z.ZodTypeAny, {
|
6157
|
-
type: "
|
5304
|
+
type: "PAGE_HEADER";
|
6158
5305
|
id: string;
|
6159
5306
|
label: TranslationConfig;
|
6160
5307
|
parent?: {
|
@@ -6180,7 +5327,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6180
5327
|
hideLabel?: boolean | undefined;
|
6181
5328
|
defaultValue?: string | undefined;
|
6182
5329
|
}, {
|
6183
|
-
type: "
|
5330
|
+
type: "PAGE_HEADER";
|
6184
5331
|
id: string;
|
6185
5332
|
label: {
|
6186
5333
|
id: string;
|
@@ -6267,11 +5414,33 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6267
5414
|
}>>;
|
6268
5415
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
6269
5416
|
}, {
|
5417
|
+
type: z.ZodLiteral<"SELECT">;
|
6270
5418
|
defaultValue: z.ZodOptional<z.ZodString>;
|
6271
|
-
|
5419
|
+
options: z.ZodArray<z.ZodObject<{
|
5420
|
+
value: z.ZodString;
|
5421
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5422
|
+
id: string;
|
5423
|
+
description: string;
|
5424
|
+
defaultMessage: string;
|
5425
|
+
}>;
|
5426
|
+
}, "strip", z.ZodTypeAny, {
|
5427
|
+
value: string;
|
5428
|
+
label: TranslationConfig;
|
5429
|
+
}, {
|
5430
|
+
value: string;
|
5431
|
+
label: {
|
5432
|
+
id: string;
|
5433
|
+
description: string;
|
5434
|
+
defaultMessage: string;
|
5435
|
+
};
|
5436
|
+
}>, "many">;
|
6272
5437
|
}>, "strip", z.ZodTypeAny, {
|
6273
|
-
type: "
|
5438
|
+
type: "SELECT";
|
6274
5439
|
id: string;
|
5440
|
+
options: {
|
5441
|
+
value: string;
|
5442
|
+
label: TranslationConfig;
|
5443
|
+
}[];
|
6275
5444
|
label: TranslationConfig;
|
6276
5445
|
parent?: {
|
6277
5446
|
$$field: string;
|
@@ -6296,8 +5465,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6296
5465
|
hideLabel?: boolean | undefined;
|
6297
5466
|
defaultValue?: string | undefined;
|
6298
5467
|
}, {
|
6299
|
-
type: "
|
5468
|
+
type: "SELECT";
|
6300
5469
|
id: string;
|
5470
|
+
options: {
|
5471
|
+
value: string;
|
5472
|
+
label: {
|
5473
|
+
id: string;
|
5474
|
+
description: string;
|
5475
|
+
defaultMessage: string;
|
5476
|
+
};
|
5477
|
+
}[];
|
6301
5478
|
label: {
|
6302
5479
|
id: string;
|
6303
5480
|
description: string;
|
@@ -8043,9 +7220,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8043
7220
|
hideLabel?: boolean | undefined;
|
8044
7221
|
}>]>;
|
8045
7222
|
export type SelectField = z.infer<typeof Select>;
|
8046
|
-
export type NameField = z.infer<typeof NameField>;
|
8047
|
-
export type PhoneField = z.infer<typeof PhoneField>;
|
8048
|
-
export type IdField = z.infer<typeof IdField>;
|
8049
7223
|
export type LocationField = z.infer<typeof Location>;
|
8050
7224
|
export type RadioField = z.infer<typeof RadioGroup>;
|
8051
7225
|
export type AddressField = z.infer<typeof Address>;
|