@opencrvs/toolkit 1.8.1-rc.38945e7 → 1.8.1-rc.38ac682
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 +24 -0
- package/dist/commons/events/ActionConfig.d.ts +6654 -2652
- package/dist/commons/events/ActionDocument.d.ts +36 -0
- package/dist/commons/events/ActionInput.d.ts +36 -0
- package/dist/commons/events/EventConfig.d.ts +2726 -937
- package/dist/commons/events/EventDocument.d.ts +26 -0
- package/dist/commons/events/FieldConfig.d.ts +302 -2
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +9 -2
- package/dist/commons/events/FormConfig.d.ts +3566 -1688
- package/dist/commons/events/PageConfig.d.ts +462 -0
- package/dist/commons/events/defineConfig.d.ts +279 -0
- package/dist/commons/events/test.utils.d.ts +5 -1
- package/dist/commons/events/utils.d.ts +496 -0
- package/dist/events/index.js +33 -7
- package/package.json +1 -1
@@ -4417,6 +4417,155 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4417
4417
|
} | undefined;
|
4418
4418
|
hideLabel?: boolean | undefined;
|
4419
4419
|
uncorrectable?: boolean | undefined;
|
4420
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4421
|
+
id: z.ZodString;
|
4422
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4423
|
+
id: string;
|
4424
|
+
description: string;
|
4425
|
+
defaultMessage: string;
|
4426
|
+
}>;
|
4427
|
+
parent: z.ZodOptional<z.ZodObject<{
|
4428
|
+
$$field: z.ZodString;
|
4429
|
+
}, "strip", z.ZodTypeAny, {
|
4430
|
+
$$field: string;
|
4431
|
+
}, {
|
4432
|
+
$$field: string;
|
4433
|
+
}>>;
|
4434
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4435
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4436
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4437
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4438
|
+
id: string;
|
4439
|
+
description: string;
|
4440
|
+
defaultMessage: string;
|
4441
|
+
}>>;
|
4442
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4443
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4444
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4445
|
+
id: string;
|
4446
|
+
description: string;
|
4447
|
+
defaultMessage: string;
|
4448
|
+
}>;
|
4449
|
+
}, "strip", z.ZodTypeAny, {
|
4450
|
+
message: TranslationConfig;
|
4451
|
+
validator: import(".").JSONSchema;
|
4452
|
+
}, {
|
4453
|
+
message: {
|
4454
|
+
id: string;
|
4455
|
+
description: string;
|
4456
|
+
defaultMessage: string;
|
4457
|
+
};
|
4458
|
+
validator: import(".").JSONSchema;
|
4459
|
+
}>, "many">>>;
|
4460
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4461
|
+
id: string;
|
4462
|
+
description: string;
|
4463
|
+
defaultMessage: string;
|
4464
|
+
}>>;
|
4465
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4466
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4467
|
+
}, {
|
4468
|
+
type: z.ZodLiteral<"PRINT_BUTTON">;
|
4469
|
+
configuration: z.ZodObject<{
|
4470
|
+
template: z.ZodString;
|
4471
|
+
buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4472
|
+
id: string;
|
4473
|
+
description: string;
|
4474
|
+
defaultMessage: string;
|
4475
|
+
}>>;
|
4476
|
+
}, "strip", z.ZodTypeAny, {
|
4477
|
+
template: string;
|
4478
|
+
buttonLabel?: TranslationConfig | undefined;
|
4479
|
+
}, {
|
4480
|
+
template: string;
|
4481
|
+
buttonLabel?: {
|
4482
|
+
id: string;
|
4483
|
+
description: string;
|
4484
|
+
defaultMessage: string;
|
4485
|
+
} | undefined;
|
4486
|
+
}>;
|
4487
|
+
}>, "strip", z.ZodTypeAny, {
|
4488
|
+
type: "PRINT_BUTTON";
|
4489
|
+
id: string;
|
4490
|
+
label: TranslationConfig;
|
4491
|
+
configuration: {
|
4492
|
+
template: string;
|
4493
|
+
buttonLabel?: TranslationConfig | undefined;
|
4494
|
+
};
|
4495
|
+
parent?: {
|
4496
|
+
$$field: string;
|
4497
|
+
} | undefined;
|
4498
|
+
validation?: {
|
4499
|
+
message: TranslationConfig;
|
4500
|
+
validator: import(".").JSONSchema;
|
4501
|
+
}[] | undefined;
|
4502
|
+
required?: boolean | undefined;
|
4503
|
+
conditionals?: ({
|
4504
|
+
type: "SHOW";
|
4505
|
+
conditional: import(".").JSONSchema;
|
4506
|
+
} | {
|
4507
|
+
type: "ENABLE";
|
4508
|
+
conditional: import(".").JSONSchema;
|
4509
|
+
} | {
|
4510
|
+
type: "DISPLAY_ON_REVIEW";
|
4511
|
+
conditional: import(".").JSONSchema;
|
4512
|
+
})[] | undefined;
|
4513
|
+
secured?: boolean | undefined;
|
4514
|
+
placeholder?: TranslationConfig | undefined;
|
4515
|
+
helperText?: TranslationConfig | undefined;
|
4516
|
+
hideLabel?: boolean | undefined;
|
4517
|
+
uncorrectable?: boolean | undefined;
|
4518
|
+
}, {
|
4519
|
+
type: "PRINT_BUTTON";
|
4520
|
+
id: string;
|
4521
|
+
label: {
|
4522
|
+
id: string;
|
4523
|
+
description: string;
|
4524
|
+
defaultMessage: string;
|
4525
|
+
};
|
4526
|
+
configuration: {
|
4527
|
+
template: string;
|
4528
|
+
buttonLabel?: {
|
4529
|
+
id: string;
|
4530
|
+
description: string;
|
4531
|
+
defaultMessage: string;
|
4532
|
+
} | undefined;
|
4533
|
+
};
|
4534
|
+
parent?: {
|
4535
|
+
$$field: string;
|
4536
|
+
} | undefined;
|
4537
|
+
validation?: {
|
4538
|
+
message: {
|
4539
|
+
id: string;
|
4540
|
+
description: string;
|
4541
|
+
defaultMessage: string;
|
4542
|
+
};
|
4543
|
+
validator: import(".").JSONSchema;
|
4544
|
+
}[] | undefined;
|
4545
|
+
required?: boolean | undefined;
|
4546
|
+
conditionals?: ({
|
4547
|
+
type: "SHOW";
|
4548
|
+
conditional: import(".").JSONSchema;
|
4549
|
+
} | {
|
4550
|
+
type: "ENABLE";
|
4551
|
+
conditional: import(".").JSONSchema;
|
4552
|
+
} | {
|
4553
|
+
type: "DISPLAY_ON_REVIEW";
|
4554
|
+
conditional: import(".").JSONSchema;
|
4555
|
+
})[] | undefined;
|
4556
|
+
secured?: boolean | undefined;
|
4557
|
+
placeholder?: {
|
4558
|
+
id: string;
|
4559
|
+
description: string;
|
4560
|
+
defaultMessage: string;
|
4561
|
+
} | undefined;
|
4562
|
+
helperText?: {
|
4563
|
+
id: string;
|
4564
|
+
description: string;
|
4565
|
+
defaultMessage: string;
|
4566
|
+
} | undefined;
|
4567
|
+
hideLabel?: boolean | undefined;
|
4568
|
+
uncorrectable?: boolean | undefined;
|
4420
4569
|
}>]>, "many">;
|
4421
4570
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
4422
4571
|
}, {
|
@@ -5359,6 +5508,37 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
5359
5508
|
helperText?: TranslationConfig | undefined;
|
5360
5509
|
hideLabel?: boolean | undefined;
|
5361
5510
|
uncorrectable?: boolean | undefined;
|
5511
|
+
} | {
|
5512
|
+
type: "PRINT_BUTTON";
|
5513
|
+
id: string;
|
5514
|
+
label: TranslationConfig;
|
5515
|
+
configuration: {
|
5516
|
+
template: string;
|
5517
|
+
buttonLabel?: TranslationConfig | undefined;
|
5518
|
+
};
|
5519
|
+
parent?: {
|
5520
|
+
$$field: string;
|
5521
|
+
} | undefined;
|
5522
|
+
validation?: {
|
5523
|
+
message: TranslationConfig;
|
5524
|
+
validator: import(".").JSONSchema;
|
5525
|
+
}[] | undefined;
|
5526
|
+
required?: boolean | undefined;
|
5527
|
+
conditionals?: ({
|
5528
|
+
type: "SHOW";
|
5529
|
+
conditional: import(".").JSONSchema;
|
5530
|
+
} | {
|
5531
|
+
type: "ENABLE";
|
5532
|
+
conditional: import(".").JSONSchema;
|
5533
|
+
} | {
|
5534
|
+
type: "DISPLAY_ON_REVIEW";
|
5535
|
+
conditional: import(".").JSONSchema;
|
5536
|
+
})[] | undefined;
|
5537
|
+
secured?: boolean | undefined;
|
5538
|
+
placeholder?: TranslationConfig | undefined;
|
5539
|
+
helperText?: TranslationConfig | undefined;
|
5540
|
+
hideLabel?: boolean | undefined;
|
5541
|
+
uncorrectable?: boolean | undefined;
|
5362
5542
|
})[];
|
5363
5543
|
conditional?: import(".").JSONSchema | undefined;
|
5364
5544
|
}, {
|
@@ -6834,6 +7014,57 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
6834
7014
|
} | undefined;
|
6835
7015
|
hideLabel?: boolean | undefined;
|
6836
7016
|
uncorrectable?: boolean | undefined;
|
7017
|
+
} | {
|
7018
|
+
type: "PRINT_BUTTON";
|
7019
|
+
id: string;
|
7020
|
+
label: {
|
7021
|
+
id: string;
|
7022
|
+
description: string;
|
7023
|
+
defaultMessage: string;
|
7024
|
+
};
|
7025
|
+
configuration: {
|
7026
|
+
template: string;
|
7027
|
+
buttonLabel?: {
|
7028
|
+
id: string;
|
7029
|
+
description: string;
|
7030
|
+
defaultMessage: string;
|
7031
|
+
} | undefined;
|
7032
|
+
};
|
7033
|
+
parent?: {
|
7034
|
+
$$field: string;
|
7035
|
+
} | undefined;
|
7036
|
+
validation?: {
|
7037
|
+
message: {
|
7038
|
+
id: string;
|
7039
|
+
description: string;
|
7040
|
+
defaultMessage: string;
|
7041
|
+
};
|
7042
|
+
validator: import(".").JSONSchema;
|
7043
|
+
}[] | undefined;
|
7044
|
+
required?: boolean | undefined;
|
7045
|
+
conditionals?: ({
|
7046
|
+
type: "SHOW";
|
7047
|
+
conditional: import(".").JSONSchema;
|
7048
|
+
} | {
|
7049
|
+
type: "ENABLE";
|
7050
|
+
conditional: import(".").JSONSchema;
|
7051
|
+
} | {
|
7052
|
+
type: "DISPLAY_ON_REVIEW";
|
7053
|
+
conditional: import(".").JSONSchema;
|
7054
|
+
})[] | undefined;
|
7055
|
+
secured?: boolean | undefined;
|
7056
|
+
placeholder?: {
|
7057
|
+
id: string;
|
7058
|
+
description: string;
|
7059
|
+
defaultMessage: string;
|
7060
|
+
} | undefined;
|
7061
|
+
helperText?: {
|
7062
|
+
id: string;
|
7063
|
+
description: string;
|
7064
|
+
defaultMessage: string;
|
7065
|
+
} | undefined;
|
7066
|
+
hideLabel?: boolean | undefined;
|
7067
|
+
uncorrectable?: boolean | undefined;
|
6837
7068
|
})[];
|
6838
7069
|
type?: "FORM" | undefined;
|
6839
7070
|
conditional?: import(".").JSONSchema | undefined;
|
@@ -11367,6 +11598,155 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11367
11598
|
} | undefined;
|
11368
11599
|
hideLabel?: boolean | undefined;
|
11369
11600
|
uncorrectable?: boolean | undefined;
|
11601
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
11602
|
+
id: z.ZodString;
|
11603
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11604
|
+
id: string;
|
11605
|
+
description: string;
|
11606
|
+
defaultMessage: string;
|
11607
|
+
}>;
|
11608
|
+
parent: z.ZodOptional<z.ZodObject<{
|
11609
|
+
$$field: z.ZodString;
|
11610
|
+
}, "strip", z.ZodTypeAny, {
|
11611
|
+
$$field: string;
|
11612
|
+
}, {
|
11613
|
+
$$field: string;
|
11614
|
+
}>>;
|
11615
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11616
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
11617
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11618
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11619
|
+
id: string;
|
11620
|
+
description: string;
|
11621
|
+
defaultMessage: string;
|
11622
|
+
}>>;
|
11623
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
11624
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
11625
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11626
|
+
id: string;
|
11627
|
+
description: string;
|
11628
|
+
defaultMessage: string;
|
11629
|
+
}>;
|
11630
|
+
}, "strip", z.ZodTypeAny, {
|
11631
|
+
message: TranslationConfig;
|
11632
|
+
validator: import(".").JSONSchema;
|
11633
|
+
}, {
|
11634
|
+
message: {
|
11635
|
+
id: string;
|
11636
|
+
description: string;
|
11637
|
+
defaultMessage: string;
|
11638
|
+
};
|
11639
|
+
validator: import(".").JSONSchema;
|
11640
|
+
}>, "many">>>;
|
11641
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11642
|
+
id: string;
|
11643
|
+
description: string;
|
11644
|
+
defaultMessage: string;
|
11645
|
+
}>>;
|
11646
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11647
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11648
|
+
}, {
|
11649
|
+
type: z.ZodLiteral<"PRINT_BUTTON">;
|
11650
|
+
configuration: z.ZodObject<{
|
11651
|
+
template: z.ZodString;
|
11652
|
+
buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11653
|
+
id: string;
|
11654
|
+
description: string;
|
11655
|
+
defaultMessage: string;
|
11656
|
+
}>>;
|
11657
|
+
}, "strip", z.ZodTypeAny, {
|
11658
|
+
template: string;
|
11659
|
+
buttonLabel?: TranslationConfig | undefined;
|
11660
|
+
}, {
|
11661
|
+
template: string;
|
11662
|
+
buttonLabel?: {
|
11663
|
+
id: string;
|
11664
|
+
description: string;
|
11665
|
+
defaultMessage: string;
|
11666
|
+
} | undefined;
|
11667
|
+
}>;
|
11668
|
+
}>, "strip", z.ZodTypeAny, {
|
11669
|
+
type: "PRINT_BUTTON";
|
11670
|
+
id: string;
|
11671
|
+
label: TranslationConfig;
|
11672
|
+
configuration: {
|
11673
|
+
template: string;
|
11674
|
+
buttonLabel?: TranslationConfig | undefined;
|
11675
|
+
};
|
11676
|
+
parent?: {
|
11677
|
+
$$field: string;
|
11678
|
+
} | undefined;
|
11679
|
+
validation?: {
|
11680
|
+
message: TranslationConfig;
|
11681
|
+
validator: import(".").JSONSchema;
|
11682
|
+
}[] | undefined;
|
11683
|
+
required?: boolean | undefined;
|
11684
|
+
conditionals?: ({
|
11685
|
+
type: "SHOW";
|
11686
|
+
conditional: import(".").JSONSchema;
|
11687
|
+
} | {
|
11688
|
+
type: "ENABLE";
|
11689
|
+
conditional: import(".").JSONSchema;
|
11690
|
+
} | {
|
11691
|
+
type: "DISPLAY_ON_REVIEW";
|
11692
|
+
conditional: import(".").JSONSchema;
|
11693
|
+
})[] | undefined;
|
11694
|
+
secured?: boolean | undefined;
|
11695
|
+
placeholder?: TranslationConfig | undefined;
|
11696
|
+
helperText?: TranslationConfig | undefined;
|
11697
|
+
hideLabel?: boolean | undefined;
|
11698
|
+
uncorrectable?: boolean | undefined;
|
11699
|
+
}, {
|
11700
|
+
type: "PRINT_BUTTON";
|
11701
|
+
id: string;
|
11702
|
+
label: {
|
11703
|
+
id: string;
|
11704
|
+
description: string;
|
11705
|
+
defaultMessage: string;
|
11706
|
+
};
|
11707
|
+
configuration: {
|
11708
|
+
template: string;
|
11709
|
+
buttonLabel?: {
|
11710
|
+
id: string;
|
11711
|
+
description: string;
|
11712
|
+
defaultMessage: string;
|
11713
|
+
} | undefined;
|
11714
|
+
};
|
11715
|
+
parent?: {
|
11716
|
+
$$field: string;
|
11717
|
+
} | undefined;
|
11718
|
+
validation?: {
|
11719
|
+
message: {
|
11720
|
+
id: string;
|
11721
|
+
description: string;
|
11722
|
+
defaultMessage: string;
|
11723
|
+
};
|
11724
|
+
validator: import(".").JSONSchema;
|
11725
|
+
}[] | undefined;
|
11726
|
+
required?: boolean | undefined;
|
11727
|
+
conditionals?: ({
|
11728
|
+
type: "SHOW";
|
11729
|
+
conditional: import(".").JSONSchema;
|
11730
|
+
} | {
|
11731
|
+
type: "ENABLE";
|
11732
|
+
conditional: import(".").JSONSchema;
|
11733
|
+
} | {
|
11734
|
+
type: "DISPLAY_ON_REVIEW";
|
11735
|
+
conditional: import(".").JSONSchema;
|
11736
|
+
})[] | undefined;
|
11737
|
+
secured?: boolean | undefined;
|
11738
|
+
placeholder?: {
|
11739
|
+
id: string;
|
11740
|
+
description: string;
|
11741
|
+
defaultMessage: string;
|
11742
|
+
} | undefined;
|
11743
|
+
helperText?: {
|
11744
|
+
id: string;
|
11745
|
+
description: string;
|
11746
|
+
defaultMessage: string;
|
11747
|
+
} | undefined;
|
11748
|
+
hideLabel?: boolean | undefined;
|
11749
|
+
uncorrectable?: boolean | undefined;
|
11370
11750
|
}>]>, "many">;
|
11371
11751
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
11372
11752
|
}, {
|
@@ -12435,6 +12815,37 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
12435
12815
|
helperText?: TranslationConfig | undefined;
|
12436
12816
|
hideLabel?: boolean | undefined;
|
12437
12817
|
uncorrectable?: boolean | undefined;
|
12818
|
+
} | {
|
12819
|
+
type: "PRINT_BUTTON";
|
12820
|
+
id: string;
|
12821
|
+
label: TranslationConfig;
|
12822
|
+
configuration: {
|
12823
|
+
template: string;
|
12824
|
+
buttonLabel?: TranslationConfig | undefined;
|
12825
|
+
};
|
12826
|
+
parent?: {
|
12827
|
+
$$field: string;
|
12828
|
+
} | undefined;
|
12829
|
+
validation?: {
|
12830
|
+
message: TranslationConfig;
|
12831
|
+
validator: import(".").JSONSchema;
|
12832
|
+
}[] | undefined;
|
12833
|
+
required?: boolean | undefined;
|
12834
|
+
conditionals?: ({
|
12835
|
+
type: "SHOW";
|
12836
|
+
conditional: import(".").JSONSchema;
|
12837
|
+
} | {
|
12838
|
+
type: "ENABLE";
|
12839
|
+
conditional: import(".").JSONSchema;
|
12840
|
+
} | {
|
12841
|
+
type: "DISPLAY_ON_REVIEW";
|
12842
|
+
conditional: import(".").JSONSchema;
|
12843
|
+
})[] | undefined;
|
12844
|
+
secured?: boolean | undefined;
|
12845
|
+
placeholder?: TranslationConfig | undefined;
|
12846
|
+
helperText?: TranslationConfig | undefined;
|
12847
|
+
hideLabel?: boolean | undefined;
|
12848
|
+
uncorrectable?: boolean | undefined;
|
12438
12849
|
})[];
|
12439
12850
|
conditional?: import(".").JSONSchema | undefined;
|
12440
12851
|
}, {
|
@@ -13939,6 +14350,57 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
13939
14350
|
} | undefined;
|
13940
14351
|
hideLabel?: boolean | undefined;
|
13941
14352
|
uncorrectable?: boolean | undefined;
|
14353
|
+
} | {
|
14354
|
+
type: "PRINT_BUTTON";
|
14355
|
+
id: string;
|
14356
|
+
label: {
|
14357
|
+
id: string;
|
14358
|
+
description: string;
|
14359
|
+
defaultMessage: string;
|
14360
|
+
};
|
14361
|
+
configuration: {
|
14362
|
+
template: string;
|
14363
|
+
buttonLabel?: {
|
14364
|
+
id: string;
|
14365
|
+
description: string;
|
14366
|
+
defaultMessage: string;
|
14367
|
+
} | undefined;
|
14368
|
+
};
|
14369
|
+
parent?: {
|
14370
|
+
$$field: string;
|
14371
|
+
} | undefined;
|
14372
|
+
validation?: {
|
14373
|
+
message: {
|
14374
|
+
id: string;
|
14375
|
+
description: string;
|
14376
|
+
defaultMessage: string;
|
14377
|
+
};
|
14378
|
+
validator: import(".").JSONSchema;
|
14379
|
+
}[] | undefined;
|
14380
|
+
required?: boolean | undefined;
|
14381
|
+
conditionals?: ({
|
14382
|
+
type: "SHOW";
|
14383
|
+
conditional: import(".").JSONSchema;
|
14384
|
+
} | {
|
14385
|
+
type: "ENABLE";
|
14386
|
+
conditional: import(".").JSONSchema;
|
14387
|
+
} | {
|
14388
|
+
type: "DISPLAY_ON_REVIEW";
|
14389
|
+
conditional: import(".").JSONSchema;
|
14390
|
+
})[] | undefined;
|
14391
|
+
secured?: boolean | undefined;
|
14392
|
+
placeholder?: {
|
14393
|
+
id: string;
|
14394
|
+
description: string;
|
14395
|
+
defaultMessage: string;
|
14396
|
+
} | undefined;
|
14397
|
+
helperText?: {
|
14398
|
+
id: string;
|
14399
|
+
description: string;
|
14400
|
+
defaultMessage: string;
|
14401
|
+
} | undefined;
|
14402
|
+
hideLabel?: boolean | undefined;
|
14403
|
+
uncorrectable?: boolean | undefined;
|
13942
14404
|
})[];
|
13943
14405
|
conditional?: import(".").JSONSchema | undefined;
|
13944
14406
|
}>;
|