@opencrvs/toolkit 1.9.7-rc.c2d5fba → 1.9.7-rc.d83a5b8
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 +8 -0
- package/dist/commons/events/ActionConfig.d.ts +70 -0
- package/dist/commons/events/EventConfig.d.ts +56 -0
- package/dist/commons/events/FieldConfig.d.ts +21 -0
- package/dist/commons/events/FormConfig.d.ts +42 -0
- package/dist/commons/events/PageConfig.d.ts +28 -0
- package/dist/commons/events/defineConfig.d.ts +8 -0
- package/dist/commons/events/utils.d.ts +16 -0
- package/dist/events/index.js +5 -1
- package/dist/notification/index.js +5 -1
- package/package.json +1 -1
|
@@ -933,6 +933,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
933
933
|
styles?: {
|
|
934
934
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
935
935
|
hint?: boolean | undefined;
|
|
936
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
936
937
|
} | undefined;
|
|
937
938
|
};
|
|
938
939
|
parent?: {
|
|
@@ -4215,6 +4216,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4215
4216
|
styles?: {
|
|
4216
4217
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
4217
4218
|
hint?: boolean | undefined;
|
|
4219
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
4218
4220
|
} | undefined;
|
|
4219
4221
|
};
|
|
4220
4222
|
parent?: {
|
|
@@ -7596,6 +7598,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7596
7598
|
styles?: {
|
|
7597
7599
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
7598
7600
|
hint?: boolean | undefined;
|
|
7601
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
7599
7602
|
} | undefined;
|
|
7600
7603
|
};
|
|
7601
7604
|
parent?: {
|
|
@@ -10862,6 +10865,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10862
10865
|
styles?: {
|
|
10863
10866
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
10864
10867
|
hint?: boolean | undefined;
|
|
10868
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
10865
10869
|
} | undefined;
|
|
10866
10870
|
};
|
|
10867
10871
|
parent?: {
|
|
@@ -14189,6 +14193,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
14189
14193
|
styles?: {
|
|
14190
14194
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
14191
14195
|
hint?: boolean | undefined;
|
|
14196
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
14192
14197
|
} | undefined;
|
|
14193
14198
|
};
|
|
14194
14199
|
parent?: {
|
|
@@ -17455,6 +17460,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
17455
17460
|
styles?: {
|
|
17456
17461
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
17457
17462
|
hint?: boolean | undefined;
|
|
17463
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
17458
17464
|
} | undefined;
|
|
17459
17465
|
};
|
|
17460
17466
|
parent?: {
|
|
@@ -20836,6 +20842,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
20836
20842
|
styles?: {
|
|
20837
20843
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
20838
20844
|
hint?: boolean | undefined;
|
|
20845
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
20839
20846
|
} | undefined;
|
|
20840
20847
|
};
|
|
20841
20848
|
parent?: {
|
|
@@ -24125,6 +24132,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
24125
24132
|
styles?: {
|
|
24126
24133
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
24127
24134
|
hint?: boolean | undefined;
|
|
24135
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
24128
24136
|
} | undefined;
|
|
24129
24137
|
};
|
|
24130
24138
|
parent?: {
|
|
@@ -616,6 +616,13 @@ export declare const DeclarationReviewConfig: z.ZodObject<{
|
|
|
616
616
|
h1: "h1";
|
|
617
617
|
}>>;
|
|
618
618
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
619
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
620
|
+
start: "start";
|
|
621
|
+
end: "end";
|
|
622
|
+
left: "left";
|
|
623
|
+
center: "center";
|
|
624
|
+
right: "right";
|
|
625
|
+
}>>;
|
|
619
626
|
}, z.core.$strip>>;
|
|
620
627
|
}, z.core.$strip>>;
|
|
621
628
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3200,6 +3207,13 @@ declare const CustomActionConfig: z.ZodObject<{
|
|
|
3200
3207
|
h1: "h1";
|
|
3201
3208
|
}>>;
|
|
3202
3209
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
3210
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
3211
|
+
start: "start";
|
|
3212
|
+
end: "end";
|
|
3213
|
+
left: "left";
|
|
3214
|
+
center: "center";
|
|
3215
|
+
right: "right";
|
|
3216
|
+
}>>;
|
|
3203
3217
|
}, z.core.$strip>>;
|
|
3204
3218
|
}, z.core.$strip>>;
|
|
3205
3219
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5650,6 +5664,13 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5650
5664
|
h1: "h1";
|
|
5651
5665
|
}>>;
|
|
5652
5666
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
5667
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
5668
|
+
start: "start";
|
|
5669
|
+
end: "end";
|
|
5670
|
+
left: "left";
|
|
5671
|
+
center: "center";
|
|
5672
|
+
right: "right";
|
|
5673
|
+
}>>;
|
|
5653
5674
|
}, z.core.$strip>>;
|
|
5654
5675
|
}, z.core.$strip>>;
|
|
5655
5676
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -8111,6 +8132,13 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8111
8132
|
h1: "h1";
|
|
8112
8133
|
}>>;
|
|
8113
8134
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
8135
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
8136
|
+
start: "start";
|
|
8137
|
+
end: "end";
|
|
8138
|
+
left: "left";
|
|
8139
|
+
center: "center";
|
|
8140
|
+
right: "right";
|
|
8141
|
+
}>>;
|
|
8114
8142
|
}, z.core.$strip>>;
|
|
8115
8143
|
}, z.core.$strip>>;
|
|
8116
8144
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -10840,6 +10868,13 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10840
10868
|
h1: "h1";
|
|
10841
10869
|
}>>;
|
|
10842
10870
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
10871
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
10872
|
+
start: "start";
|
|
10873
|
+
end: "end";
|
|
10874
|
+
left: "left";
|
|
10875
|
+
center: "center";
|
|
10876
|
+
right: "right";
|
|
10877
|
+
}>>;
|
|
10843
10878
|
}, z.core.$strip>>;
|
|
10844
10879
|
}, z.core.$strip>>;
|
|
10845
10880
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -13168,6 +13203,13 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13168
13203
|
h1: "h1";
|
|
13169
13204
|
}>>;
|
|
13170
13205
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
13206
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
13207
|
+
start: "start";
|
|
13208
|
+
end: "end";
|
|
13209
|
+
left: "left";
|
|
13210
|
+
center: "center";
|
|
13211
|
+
right: "right";
|
|
13212
|
+
}>>;
|
|
13171
13213
|
}, z.core.$strip>>;
|
|
13172
13214
|
}, z.core.$strip>>;
|
|
13173
13215
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -15642,6 +15684,13 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
15642
15684
|
h1: "h1";
|
|
15643
15685
|
}>>;
|
|
15644
15686
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
15687
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
15688
|
+
start: "start";
|
|
15689
|
+
end: "end";
|
|
15690
|
+
left: "left";
|
|
15691
|
+
center: "center";
|
|
15692
|
+
right: "right";
|
|
15693
|
+
}>>;
|
|
15645
15694
|
}, z.core.$strip>>;
|
|
15646
15695
|
}, z.core.$strip>>;
|
|
15647
15696
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -17970,6 +18019,13 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17970
18019
|
h1: "h1";
|
|
17971
18020
|
}>>;
|
|
17972
18021
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
18022
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
18023
|
+
start: "start";
|
|
18024
|
+
end: "end";
|
|
18025
|
+
left: "left";
|
|
18026
|
+
center: "center";
|
|
18027
|
+
right: "right";
|
|
18028
|
+
}>>;
|
|
17973
18029
|
}, z.core.$strip>>;
|
|
17974
18030
|
}, z.core.$strip>>;
|
|
17975
18031
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -20704,6 +20760,13 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
20704
20760
|
h1: "h1";
|
|
20705
20761
|
}>>;
|
|
20706
20762
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
20763
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
20764
|
+
start: "start";
|
|
20765
|
+
end: "end";
|
|
20766
|
+
left: "left";
|
|
20767
|
+
center: "center";
|
|
20768
|
+
right: "right";
|
|
20769
|
+
}>>;
|
|
20707
20770
|
}, z.core.$strip>>;
|
|
20708
20771
|
}, z.core.$strip>>;
|
|
20709
20772
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -23176,6 +23239,13 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
23176
23239
|
h1: "h1";
|
|
23177
23240
|
}>>;
|
|
23178
23241
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
23242
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
23243
|
+
start: "start";
|
|
23244
|
+
end: "end";
|
|
23245
|
+
left: "left";
|
|
23246
|
+
center: "center";
|
|
23247
|
+
right: "right";
|
|
23248
|
+
}>>;
|
|
23179
23249
|
}, z.core.$strip>>;
|
|
23180
23250
|
}, z.core.$strip>>;
|
|
23181
23251
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -777,6 +777,13 @@ export declare const EventConfig: z.ZodObject<{
|
|
|
777
777
|
h1: "h1";
|
|
778
778
|
}>>;
|
|
779
779
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
780
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
781
|
+
start: "start";
|
|
782
|
+
end: "end";
|
|
783
|
+
left: "left";
|
|
784
|
+
center: "center";
|
|
785
|
+
right: "right";
|
|
786
|
+
}>>;
|
|
780
787
|
}, z.core.$strip>>;
|
|
781
788
|
}, z.core.$strip>>;
|
|
782
789
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3238,6 +3245,13 @@ export declare const EventConfig: z.ZodObject<{
|
|
|
3238
3245
|
h1: "h1";
|
|
3239
3246
|
}>>;
|
|
3240
3247
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
3248
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
3249
|
+
start: "start";
|
|
3250
|
+
end: "end";
|
|
3251
|
+
left: "left";
|
|
3252
|
+
center: "center";
|
|
3253
|
+
right: "right";
|
|
3254
|
+
}>>;
|
|
3241
3255
|
}, z.core.$strip>>;
|
|
3242
3256
|
}, z.core.$strip>>;
|
|
3243
3257
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5967,6 +5981,13 @@ export declare const EventConfig: z.ZodObject<{
|
|
|
5967
5981
|
h1: "h1";
|
|
5968
5982
|
}>>;
|
|
5969
5983
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
5984
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
5985
|
+
start: "start";
|
|
5986
|
+
end: "end";
|
|
5987
|
+
left: "left";
|
|
5988
|
+
center: "center";
|
|
5989
|
+
right: "right";
|
|
5990
|
+
}>>;
|
|
5970
5991
|
}, z.core.$strip>>;
|
|
5971
5992
|
}, z.core.$strip>>;
|
|
5972
5993
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -8295,6 +8316,13 @@ export declare const EventConfig: z.ZodObject<{
|
|
|
8295
8316
|
h1: "h1";
|
|
8296
8317
|
}>>;
|
|
8297
8318
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
8319
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
8320
|
+
start: "start";
|
|
8321
|
+
end: "end";
|
|
8322
|
+
left: "left";
|
|
8323
|
+
center: "center";
|
|
8324
|
+
right: "right";
|
|
8325
|
+
}>>;
|
|
8298
8326
|
}, z.core.$strip>>;
|
|
8299
8327
|
}, z.core.$strip>>;
|
|
8300
8328
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -10769,6 +10797,13 @@ export declare const EventConfig: z.ZodObject<{
|
|
|
10769
10797
|
h1: "h1";
|
|
10770
10798
|
}>>;
|
|
10771
10799
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
10800
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
10801
|
+
start: "start";
|
|
10802
|
+
end: "end";
|
|
10803
|
+
left: "left";
|
|
10804
|
+
center: "center";
|
|
10805
|
+
right: "right";
|
|
10806
|
+
}>>;
|
|
10772
10807
|
}, z.core.$strip>>;
|
|
10773
10808
|
}, z.core.$strip>>;
|
|
10774
10809
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -13097,6 +13132,13 @@ export declare const EventConfig: z.ZodObject<{
|
|
|
13097
13132
|
h1: "h1";
|
|
13098
13133
|
}>>;
|
|
13099
13134
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
13135
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
13136
|
+
start: "start";
|
|
13137
|
+
end: "end";
|
|
13138
|
+
left: "left";
|
|
13139
|
+
center: "center";
|
|
13140
|
+
right: "right";
|
|
13141
|
+
}>>;
|
|
13100
13142
|
}, z.core.$strip>>;
|
|
13101
13143
|
}, z.core.$strip>>;
|
|
13102
13144
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -15831,6 +15873,13 @@ export declare const EventConfig: z.ZodObject<{
|
|
|
15831
15873
|
h1: "h1";
|
|
15832
15874
|
}>>;
|
|
15833
15875
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
15876
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
15877
|
+
start: "start";
|
|
15878
|
+
end: "end";
|
|
15879
|
+
left: "left";
|
|
15880
|
+
center: "center";
|
|
15881
|
+
right: "right";
|
|
15882
|
+
}>>;
|
|
15834
15883
|
}, z.core.$strip>>;
|
|
15835
15884
|
}, z.core.$strip>>;
|
|
15836
15885
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -18162,6 +18211,13 @@ export declare const EventConfig: z.ZodObject<{
|
|
|
18162
18211
|
h1: "h1";
|
|
18163
18212
|
}>>;
|
|
18164
18213
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
18214
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
18215
|
+
start: "start";
|
|
18216
|
+
end: "end";
|
|
18217
|
+
left: "left";
|
|
18218
|
+
center: "center";
|
|
18219
|
+
right: "right";
|
|
18220
|
+
}>>;
|
|
18165
18221
|
}, z.core.$strip>>;
|
|
18166
18222
|
}, z.core.$strip>>;
|
|
18167
18223
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -621,6 +621,13 @@ declare const ParagraphConfiguration: z.ZodDefault<z.ZodObject<{
|
|
|
621
621
|
h1: "h1";
|
|
622
622
|
}>>;
|
|
623
623
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
624
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
625
|
+
start: "start";
|
|
626
|
+
end: "end";
|
|
627
|
+
left: "left";
|
|
628
|
+
center: "center";
|
|
629
|
+
right: "right";
|
|
630
|
+
}>>;
|
|
624
631
|
}, z.core.$strip>>;
|
|
625
632
|
}, z.core.$strip>>;
|
|
626
633
|
export type ParagraphConfiguration = z.infer<typeof ParagraphConfiguration>;
|
|
@@ -679,6 +686,13 @@ declare const Paragraph: z.ZodObject<{
|
|
|
679
686
|
h1: "h1";
|
|
680
687
|
}>>;
|
|
681
688
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
689
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
690
|
+
start: "start";
|
|
691
|
+
end: "end";
|
|
692
|
+
left: "left";
|
|
693
|
+
center: "center";
|
|
694
|
+
right: "right";
|
|
695
|
+
}>>;
|
|
682
696
|
}, z.core.$strip>>;
|
|
683
697
|
}, z.core.$strip>>;
|
|
684
698
|
}, z.core.$strip>;
|
|
@@ -3215,6 +3229,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3215
3229
|
h1: "h1";
|
|
3216
3230
|
}>>;
|
|
3217
3231
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
3232
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
3233
|
+
start: "start";
|
|
3234
|
+
end: "end";
|
|
3235
|
+
left: "left";
|
|
3236
|
+
center: "center";
|
|
3237
|
+
right: "right";
|
|
3238
|
+
}>>;
|
|
3218
3239
|
}, z.core.$strip>>;
|
|
3219
3240
|
}, z.core.$strip>>;
|
|
3220
3241
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -620,6 +620,13 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
620
620
|
h1: "h1";
|
|
621
621
|
}>>;
|
|
622
622
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
623
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
624
|
+
start: "start";
|
|
625
|
+
end: "end";
|
|
626
|
+
left: "left";
|
|
627
|
+
center: "center";
|
|
628
|
+
right: "right";
|
|
629
|
+
}>>;
|
|
623
630
|
}, z.core.$strip>>;
|
|
624
631
|
}, z.core.$strip>>;
|
|
625
632
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2954,6 +2961,13 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
2954
2961
|
h1: "h1";
|
|
2955
2962
|
}>>;
|
|
2956
2963
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
2964
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
2965
|
+
start: "start";
|
|
2966
|
+
end: "end";
|
|
2967
|
+
left: "left";
|
|
2968
|
+
center: "center";
|
|
2969
|
+
right: "right";
|
|
2970
|
+
}>>;
|
|
2957
2971
|
}, z.core.$strip>>;
|
|
2958
2972
|
}, z.core.$strip>>;
|
|
2959
2973
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5282,6 +5296,13 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
5282
5296
|
h1: "h1";
|
|
5283
5297
|
}>>;
|
|
5284
5298
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
5299
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
5300
|
+
start: "start";
|
|
5301
|
+
end: "end";
|
|
5302
|
+
left: "left";
|
|
5303
|
+
center: "center";
|
|
5304
|
+
right: "right";
|
|
5305
|
+
}>>;
|
|
5285
5306
|
}, z.core.$strip>>;
|
|
5286
5307
|
}, z.core.$strip>>;
|
|
5287
5308
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -7628,6 +7649,13 @@ export declare const FormConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
7628
7649
|
h1: "h1";
|
|
7629
7650
|
}>>;
|
|
7630
7651
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
7652
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
7653
|
+
start: "start";
|
|
7654
|
+
end: "end";
|
|
7655
|
+
left: "left";
|
|
7656
|
+
center: "center";
|
|
7657
|
+
right: "right";
|
|
7658
|
+
}>>;
|
|
7631
7659
|
}, z.core.$strip>>;
|
|
7632
7660
|
}, z.core.$strip>>;
|
|
7633
7661
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -9959,6 +9987,13 @@ export declare const FormConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
9959
9987
|
h1: "h1";
|
|
9960
9988
|
}>>;
|
|
9961
9989
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
9990
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
9991
|
+
start: "start";
|
|
9992
|
+
end: "end";
|
|
9993
|
+
left: "left";
|
|
9994
|
+
center: "center";
|
|
9995
|
+
right: "right";
|
|
9996
|
+
}>>;
|
|
9962
9997
|
}, z.core.$strip>>;
|
|
9963
9998
|
}, z.core.$strip>>;
|
|
9964
9999
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -12287,6 +12322,13 @@ export declare const FormConfig: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
12287
12322
|
h1: "h1";
|
|
12288
12323
|
}>>;
|
|
12289
12324
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
12325
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
12326
|
+
start: "start";
|
|
12327
|
+
end: "end";
|
|
12328
|
+
left: "left";
|
|
12329
|
+
center: "center";
|
|
12330
|
+
right: "right";
|
|
12331
|
+
}>>;
|
|
12290
12332
|
}, z.core.$strip>>;
|
|
12291
12333
|
}, z.core.$strip>>;
|
|
12292
12334
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -623,6 +623,13 @@ export declare const FormPageConfig: z.ZodObject<{
|
|
|
623
623
|
h1: "h1";
|
|
624
624
|
}>>;
|
|
625
625
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
626
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
627
|
+
start: "start";
|
|
628
|
+
end: "end";
|
|
629
|
+
left: "left";
|
|
630
|
+
center: "center";
|
|
631
|
+
right: "right";
|
|
632
|
+
}>>;
|
|
626
633
|
}, z.core.$strip>>;
|
|
627
634
|
}, z.core.$strip>>;
|
|
628
635
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2966,6 +2973,13 @@ export declare const VerificationPageConfig: z.ZodObject<{
|
|
|
2966
2973
|
h1: "h1";
|
|
2967
2974
|
}>>;
|
|
2968
2975
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
2976
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
2977
|
+
start: "start";
|
|
2978
|
+
end: "end";
|
|
2979
|
+
left: "left";
|
|
2980
|
+
center: "center";
|
|
2981
|
+
right: "right";
|
|
2982
|
+
}>>;
|
|
2969
2983
|
}, z.core.$strip>>;
|
|
2970
2984
|
}, z.core.$strip>>;
|
|
2971
2985
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5308,6 +5322,13 @@ export declare const PageConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5308
5322
|
h1: "h1";
|
|
5309
5323
|
}>>;
|
|
5310
5324
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
5325
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
5326
|
+
start: "start";
|
|
5327
|
+
end: "end";
|
|
5328
|
+
left: "left";
|
|
5329
|
+
center: "center";
|
|
5330
|
+
right: "right";
|
|
5331
|
+
}>>;
|
|
5311
5332
|
}, z.core.$strip>>;
|
|
5312
5333
|
}, z.core.$strip>>;
|
|
5313
5334
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -7636,6 +7657,13 @@ export declare const PageConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7636
7657
|
h1: "h1";
|
|
7637
7658
|
}>>;
|
|
7638
7659
|
hint: z.ZodOptional<z.ZodBoolean>;
|
|
7660
|
+
textAlign: z.ZodOptional<z.ZodEnum<{
|
|
7661
|
+
start: "start";
|
|
7662
|
+
end: "end";
|
|
7663
|
+
left: "left";
|
|
7664
|
+
center: "center";
|
|
7665
|
+
right: "right";
|
|
7666
|
+
}>>;
|
|
7639
7667
|
}, z.core.$strip>>;
|
|
7640
7668
|
}, z.core.$strip>>;
|
|
7641
7669
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -726,6 +726,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
726
726
|
styles?: {
|
|
727
727
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
728
728
|
hint?: boolean | undefined;
|
|
729
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
729
730
|
} | undefined;
|
|
730
731
|
};
|
|
731
732
|
parent?: {
|
|
@@ -4018,6 +4019,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
4018
4019
|
styles?: {
|
|
4019
4020
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
4020
4021
|
hint?: boolean | undefined;
|
|
4022
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
4021
4023
|
} | undefined;
|
|
4022
4024
|
};
|
|
4023
4025
|
parent?: {
|
|
@@ -7300,6 +7302,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
7300
7302
|
styles?: {
|
|
7301
7303
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
7302
7304
|
hint?: boolean | undefined;
|
|
7305
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
7303
7306
|
} | undefined;
|
|
7304
7307
|
};
|
|
7305
7308
|
parent?: {
|
|
@@ -10681,6 +10684,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
10681
10684
|
styles?: {
|
|
10682
10685
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
10683
10686
|
hint?: boolean | undefined;
|
|
10687
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
10684
10688
|
} | undefined;
|
|
10685
10689
|
};
|
|
10686
10690
|
parent?: {
|
|
@@ -13947,6 +13951,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
13947
13951
|
styles?: {
|
|
13948
13952
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
13949
13953
|
hint?: boolean | undefined;
|
|
13954
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
13950
13955
|
} | undefined;
|
|
13951
13956
|
};
|
|
13952
13957
|
parent?: {
|
|
@@ -17274,6 +17279,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
17274
17279
|
styles?: {
|
|
17275
17280
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
17276
17281
|
hint?: boolean | undefined;
|
|
17282
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
17277
17283
|
} | undefined;
|
|
17278
17284
|
};
|
|
17279
17285
|
parent?: {
|
|
@@ -20540,6 +20546,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
20540
20546
|
styles?: {
|
|
20541
20547
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
20542
20548
|
hint?: boolean | undefined;
|
|
20549
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
20543
20550
|
} | undefined;
|
|
20544
20551
|
};
|
|
20545
20552
|
parent?: {
|
|
@@ -23923,6 +23930,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
23923
23930
|
styles?: {
|
|
23924
23931
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
23925
23932
|
hint?: boolean | undefined;
|
|
23933
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
23926
23934
|
} | undefined;
|
|
23927
23935
|
};
|
|
23928
23936
|
parent?: {
|
|
@@ -678,6 +678,7 @@ export declare function getDeclarationPages(configuration: EventConfig): {
|
|
|
678
678
|
styles?: {
|
|
679
679
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
680
680
|
hint?: boolean | undefined;
|
|
681
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
681
682
|
} | undefined;
|
|
682
683
|
};
|
|
683
684
|
parent?: {
|
|
@@ -3951,6 +3952,7 @@ export declare function getDeclaration(configuration: EventConfig): {
|
|
|
3951
3952
|
styles?: {
|
|
3952
3953
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
3953
3954
|
hint?: boolean | undefined;
|
|
3955
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
3954
3956
|
} | undefined;
|
|
3955
3957
|
};
|
|
3956
3958
|
parent?: {
|
|
@@ -7226,6 +7228,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
|
7226
7228
|
styles?: {
|
|
7227
7229
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
7228
7230
|
hint?: boolean | undefined;
|
|
7231
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
7229
7232
|
} | undefined;
|
|
7230
7233
|
};
|
|
7231
7234
|
parent?: {
|
|
@@ -10492,6 +10495,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
|
10492
10495
|
styles?: {
|
|
10493
10496
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
10494
10497
|
hint?: boolean | undefined;
|
|
10498
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
10495
10499
|
} | undefined;
|
|
10496
10500
|
};
|
|
10497
10501
|
parent?: {
|
|
@@ -13779,6 +13783,7 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
|
|
|
13779
13783
|
styles?: {
|
|
13780
13784
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
13781
13785
|
hint?: boolean | undefined;
|
|
13786
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
13782
13787
|
} | undefined;
|
|
13783
13788
|
};
|
|
13784
13789
|
parent?: {
|
|
@@ -17035,6 +17040,7 @@ export declare function getAllUniqueFields(eventConfig: EventConfig): ({
|
|
|
17035
17040
|
styles?: {
|
|
17036
17041
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
17037
17042
|
hint?: boolean | undefined;
|
|
17043
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
17038
17044
|
} | undefined;
|
|
17039
17045
|
};
|
|
17040
17046
|
parent?: {
|
|
@@ -20302,6 +20308,7 @@ export declare function getActionReview(configuration: EventConfig, actionType:
|
|
|
20302
20308
|
styles?: {
|
|
20303
20309
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
20304
20310
|
hint?: boolean | undefined;
|
|
20311
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
20305
20312
|
} | undefined;
|
|
20306
20313
|
};
|
|
20307
20314
|
parent?: {
|
|
@@ -23559,6 +23566,7 @@ export declare function getActionReviewFields(configuration: EventConfig, action
|
|
|
23559
23566
|
styles?: {
|
|
23560
23567
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
23561
23568
|
hint?: boolean | undefined;
|
|
23569
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
23562
23570
|
} | undefined;
|
|
23563
23571
|
};
|
|
23564
23572
|
parent?: {
|
|
@@ -27348,6 +27356,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
27348
27356
|
styles?: {
|
|
27349
27357
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
27350
27358
|
hint?: boolean | undefined;
|
|
27359
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
27351
27360
|
} | undefined;
|
|
27352
27361
|
};
|
|
27353
27362
|
parent?: {
|
|
@@ -30640,6 +30649,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
30640
30649
|
styles?: {
|
|
30641
30650
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
30642
30651
|
hint?: boolean | undefined;
|
|
30652
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
30643
30653
|
} | undefined;
|
|
30644
30654
|
};
|
|
30645
30655
|
parent?: {
|
|
@@ -33922,6 +33932,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
33922
33932
|
styles?: {
|
|
33923
33933
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
33924
33934
|
hint?: boolean | undefined;
|
|
33935
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
33925
33936
|
} | undefined;
|
|
33926
33937
|
};
|
|
33927
33938
|
parent?: {
|
|
@@ -37303,6 +37314,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
37303
37314
|
styles?: {
|
|
37304
37315
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
37305
37316
|
hint?: boolean | undefined;
|
|
37317
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
37306
37318
|
} | undefined;
|
|
37307
37319
|
};
|
|
37308
37320
|
parent?: {
|
|
@@ -40569,6 +40581,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
40569
40581
|
styles?: {
|
|
40570
40582
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
40571
40583
|
hint?: boolean | undefined;
|
|
40584
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
40572
40585
|
} | undefined;
|
|
40573
40586
|
};
|
|
40574
40587
|
parent?: {
|
|
@@ -43896,6 +43909,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
43896
43909
|
styles?: {
|
|
43897
43910
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
43898
43911
|
hint?: boolean | undefined;
|
|
43912
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
43899
43913
|
} | undefined;
|
|
43900
43914
|
};
|
|
43901
43915
|
parent?: {
|
|
@@ -47162,6 +47176,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
47162
47176
|
styles?: {
|
|
47163
47177
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
47164
47178
|
hint?: boolean | undefined;
|
|
47179
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
47165
47180
|
} | undefined;
|
|
47166
47181
|
};
|
|
47167
47182
|
parent?: {
|
|
@@ -50545,6 +50560,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
50545
50560
|
styles?: {
|
|
50546
50561
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
50547
50562
|
hint?: boolean | undefined;
|
|
50563
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
50548
50564
|
} | undefined;
|
|
50549
50565
|
};
|
|
50550
50566
|
parent?: {
|
package/dist/events/index.js
CHANGED
|
@@ -2191,12 +2191,16 @@ var HtmlFontVariant = z17.enum([
|
|
|
2191
2191
|
"h2",
|
|
2192
2192
|
"h1"
|
|
2193
2193
|
]);
|
|
2194
|
+
var ParagraphTextAlign = z17.enum(["left", "center", "right", "start", "end"]);
|
|
2194
2195
|
var ParagraphConfiguration = z17.object({
|
|
2195
2196
|
styles: z17.object({
|
|
2196
2197
|
fontVariant: HtmlFontVariant.optional().describe(
|
|
2197
2198
|
"Font variant to use for the paragraph text"
|
|
2198
2199
|
),
|
|
2199
|
-
hint: z17.boolean().optional().describe("When true, paragraph is styled as a hint with grey color")
|
|
2200
|
+
hint: z17.boolean().optional().describe("When true, paragraph is styled as a hint with grey color"),
|
|
2201
|
+
textAlign: ParagraphTextAlign.optional().describe(
|
|
2202
|
+
"Text alignment for the paragraph"
|
|
2203
|
+
)
|
|
2200
2204
|
}).optional()
|
|
2201
2205
|
}).default({});
|
|
2202
2206
|
var Paragraph = BaseField.extend({
|
|
@@ -1687,12 +1687,16 @@ var HtmlFontVariant = z17.enum([
|
|
|
1687
1687
|
"h2",
|
|
1688
1688
|
"h1"
|
|
1689
1689
|
]);
|
|
1690
|
+
var ParagraphTextAlign = z17.enum(["left", "center", "right", "start", "end"]);
|
|
1690
1691
|
var ParagraphConfiguration = z17.object({
|
|
1691
1692
|
styles: z17.object({
|
|
1692
1693
|
fontVariant: HtmlFontVariant.optional().describe(
|
|
1693
1694
|
"Font variant to use for the paragraph text"
|
|
1694
1695
|
),
|
|
1695
|
-
hint: z17.boolean().optional().describe("When true, paragraph is styled as a hint with grey color")
|
|
1696
|
+
hint: z17.boolean().optional().describe("When true, paragraph is styled as a hint with grey color"),
|
|
1697
|
+
textAlign: ParagraphTextAlign.optional().describe(
|
|
1698
|
+
"Text alignment for the paragraph"
|
|
1699
|
+
)
|
|
1696
1700
|
}).optional()
|
|
1697
1701
|
}).default({});
|
|
1698
1702
|
var Paragraph = BaseField.extend({
|