@opencrvs/toolkit 1.8.1-rc.e59d03c → 1.8.1-rc.ebf61ab
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/events/ActionConfig.d.ts +1920 -276
- package/dist/commons/events/EventConfig.d.ts +586 -94
- package/dist/commons/events/FieldConfig.d.ts +263 -28
- package/dist/commons/events/FormConfig.d.ts +924 -132
- package/dist/commons/events/PageConfig.d.ts +260 -36
- package/dist/commons/events/defineConfig.d.ts +54 -18
- package/dist/commons/events/utils.d.ts +96 -32
- package/dist/events/index.js +31 -9
- package/package.json +1 -1
@@ -575,18 +575,21 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
575
575
|
name?: {
|
576
576
|
firstname?: {
|
577
577
|
required: boolean;
|
578
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
578
579
|
} | undefined;
|
579
580
|
surname?: {
|
580
581
|
required: boolean;
|
582
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
581
583
|
} | undefined;
|
582
584
|
middlename?: {
|
583
585
|
required: boolean;
|
586
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
584
587
|
} | undefined;
|
585
588
|
} | undefined;
|
589
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
586
590
|
maxLength?: number | undefined;
|
587
591
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
588
592
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
589
|
-
searchMode?: boolean | undefined;
|
590
593
|
} | undefined;
|
591
594
|
} | {
|
592
595
|
type: "PHONE";
|
@@ -919,7 +922,8 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
919
922
|
postcodeOrZip?: string | undefined;
|
920
923
|
} | undefined;
|
921
924
|
configuration?: {
|
922
|
-
|
925
|
+
lineSeparator?: string | undefined;
|
926
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
923
927
|
} | undefined;
|
924
928
|
} | {
|
925
929
|
type: "DATA";
|
@@ -1536,18 +1540,21 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1536
1540
|
name?: {
|
1537
1541
|
firstname?: {
|
1538
1542
|
required: boolean;
|
1543
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1539
1544
|
} | undefined;
|
1540
1545
|
surname?: {
|
1541
1546
|
required: boolean;
|
1547
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1542
1548
|
} | undefined;
|
1543
1549
|
middlename?: {
|
1544
1550
|
required: boolean;
|
1551
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1545
1552
|
} | undefined;
|
1546
1553
|
} | undefined;
|
1554
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
1547
1555
|
maxLength?: number | undefined;
|
1548
1556
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1549
1557
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1550
|
-
searchMode?: boolean | undefined;
|
1551
1558
|
} | undefined;
|
1552
1559
|
} | {
|
1553
1560
|
type: "PHONE";
|
@@ -1880,7 +1887,8 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1880
1887
|
postcodeOrZip?: string | undefined;
|
1881
1888
|
} | undefined;
|
1882
1889
|
configuration?: {
|
1883
|
-
|
1890
|
+
lineSeparator?: string | undefined;
|
1891
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
1884
1892
|
} | undefined;
|
1885
1893
|
} | {
|
1886
1894
|
type: "DATA";
|
@@ -2496,18 +2504,21 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2496
2504
|
name?: {
|
2497
2505
|
firstname?: {
|
2498
2506
|
required: boolean;
|
2507
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2499
2508
|
} | undefined;
|
2500
2509
|
surname?: {
|
2501
2510
|
required: boolean;
|
2511
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2502
2512
|
} | undefined;
|
2503
2513
|
middlename?: {
|
2504
2514
|
required: boolean;
|
2515
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2505
2516
|
} | undefined;
|
2506
2517
|
} | undefined;
|
2518
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
2507
2519
|
maxLength?: number | undefined;
|
2508
2520
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2509
2521
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2510
|
-
searchMode?: boolean | undefined;
|
2511
2522
|
} | undefined;
|
2512
2523
|
} | {
|
2513
2524
|
type: "PHONE";
|
@@ -2840,7 +2851,8 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2840
2851
|
postcodeOrZip?: string | undefined;
|
2841
2852
|
} | undefined;
|
2842
2853
|
configuration?: {
|
2843
|
-
|
2854
|
+
lineSeparator?: string | undefined;
|
2855
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
2844
2856
|
} | undefined;
|
2845
2857
|
} | {
|
2846
2858
|
type: "DATA";
|
@@ -3456,18 +3468,21 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3456
3468
|
name?: {
|
3457
3469
|
firstname?: {
|
3458
3470
|
required: boolean;
|
3471
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3459
3472
|
} | undefined;
|
3460
3473
|
surname?: {
|
3461
3474
|
required: boolean;
|
3475
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3462
3476
|
} | undefined;
|
3463
3477
|
middlename?: {
|
3464
3478
|
required: boolean;
|
3479
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3465
3480
|
} | undefined;
|
3466
3481
|
} | undefined;
|
3482
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
3467
3483
|
maxLength?: number | undefined;
|
3468
3484
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3469
3485
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3470
|
-
searchMode?: boolean | undefined;
|
3471
3486
|
} | undefined;
|
3472
3487
|
} | {
|
3473
3488
|
type: "PHONE";
|
@@ -3800,7 +3815,8 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3800
3815
|
postcodeOrZip?: string | undefined;
|
3801
3816
|
} | undefined;
|
3802
3817
|
configuration?: {
|
3803
|
-
|
3818
|
+
lineSeparator?: string | undefined;
|
3819
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
3804
3820
|
} | undefined;
|
3805
3821
|
} | {
|
3806
3822
|
type: "DATA";
|
@@ -4416,18 +4432,21 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4416
4432
|
name?: {
|
4417
4433
|
firstname?: {
|
4418
4434
|
required: boolean;
|
4435
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4419
4436
|
} | undefined;
|
4420
4437
|
surname?: {
|
4421
4438
|
required: boolean;
|
4439
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4422
4440
|
} | undefined;
|
4423
4441
|
middlename?: {
|
4424
4442
|
required: boolean;
|
4443
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4425
4444
|
} | undefined;
|
4426
4445
|
} | undefined;
|
4446
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
4427
4447
|
maxLength?: number | undefined;
|
4428
4448
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4429
4449
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4430
|
-
searchMode?: boolean | undefined;
|
4431
4450
|
} | undefined;
|
4432
4451
|
} | {
|
4433
4452
|
type: "PHONE";
|
@@ -4760,7 +4779,8 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4760
4779
|
postcodeOrZip?: string | undefined;
|
4761
4780
|
} | undefined;
|
4762
4781
|
configuration?: {
|
4763
|
-
|
4782
|
+
lineSeparator?: string | undefined;
|
4783
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4764
4784
|
} | undefined;
|
4765
4785
|
} | {
|
4766
4786
|
type: "DATA";
|
@@ -5424,18 +5444,21 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5424
5444
|
name?: {
|
5425
5445
|
firstname?: {
|
5426
5446
|
required: boolean;
|
5447
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5427
5448
|
} | undefined;
|
5428
5449
|
surname?: {
|
5429
5450
|
required: boolean;
|
5451
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5430
5452
|
} | undefined;
|
5431
5453
|
middlename?: {
|
5432
5454
|
required: boolean;
|
5455
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5433
5456
|
} | undefined;
|
5434
5457
|
} | undefined;
|
5458
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
5435
5459
|
maxLength?: number | undefined;
|
5436
5460
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5437
5461
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5438
|
-
searchMode?: boolean | undefined;
|
5439
5462
|
} | undefined;
|
5440
5463
|
} | {
|
5441
5464
|
type: "PHONE";
|
@@ -5768,7 +5791,8 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5768
5791
|
postcodeOrZip?: string | undefined;
|
5769
5792
|
} | undefined;
|
5770
5793
|
configuration?: {
|
5771
|
-
|
5794
|
+
lineSeparator?: string | undefined;
|
5795
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
5772
5796
|
} | undefined;
|
5773
5797
|
} | {
|
5774
5798
|
type: "DATA";
|
@@ -6387,18 +6411,21 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6387
6411
|
name?: {
|
6388
6412
|
firstname?: {
|
6389
6413
|
required: boolean;
|
6414
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6390
6415
|
} | undefined;
|
6391
6416
|
surname?: {
|
6392
6417
|
required: boolean;
|
6418
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6393
6419
|
} | undefined;
|
6394
6420
|
middlename?: {
|
6395
6421
|
required: boolean;
|
6422
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6396
6423
|
} | undefined;
|
6397
6424
|
} | undefined;
|
6425
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
6398
6426
|
maxLength?: number | undefined;
|
6399
6427
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6400
6428
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6401
|
-
searchMode?: boolean | undefined;
|
6402
6429
|
} | undefined;
|
6403
6430
|
} | {
|
6404
6431
|
type: "PHONE";
|
@@ -6731,7 +6758,8 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6731
6758
|
postcodeOrZip?: string | undefined;
|
6732
6759
|
} | undefined;
|
6733
6760
|
configuration?: {
|
6734
|
-
|
6761
|
+
lineSeparator?: string | undefined;
|
6762
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
6735
6763
|
} | undefined;
|
6736
6764
|
} | {
|
6737
6765
|
type: "DATA";
|
@@ -7353,18 +7381,21 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7353
7381
|
name?: {
|
7354
7382
|
firstname?: {
|
7355
7383
|
required: boolean;
|
7384
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7356
7385
|
} | undefined;
|
7357
7386
|
surname?: {
|
7358
7387
|
required: boolean;
|
7388
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7359
7389
|
} | undefined;
|
7360
7390
|
middlename?: {
|
7361
7391
|
required: boolean;
|
7392
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7362
7393
|
} | undefined;
|
7363
7394
|
} | undefined;
|
7395
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
7364
7396
|
maxLength?: number | undefined;
|
7365
7397
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7366
7398
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7367
|
-
searchMode?: boolean | undefined;
|
7368
7399
|
} | undefined;
|
7369
7400
|
} | {
|
7370
7401
|
type: "PHONE";
|
@@ -7697,7 +7728,8 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7697
7728
|
postcodeOrZip?: string | undefined;
|
7698
7729
|
} | undefined;
|
7699
7730
|
configuration?: {
|
7700
|
-
|
7731
|
+
lineSeparator?: string | undefined;
|
7732
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
7701
7733
|
} | undefined;
|
7702
7734
|
} | {
|
7703
7735
|
type: "DATA";
|
@@ -8316,18 +8348,21 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8316
8348
|
name?: {
|
8317
8349
|
firstname?: {
|
8318
8350
|
required: boolean;
|
8351
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8319
8352
|
} | undefined;
|
8320
8353
|
surname?: {
|
8321
8354
|
required: boolean;
|
8355
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8322
8356
|
} | undefined;
|
8323
8357
|
middlename?: {
|
8324
8358
|
required: boolean;
|
8359
|
+
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8325
8360
|
} | undefined;
|
8326
8361
|
} | undefined;
|
8362
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
8327
8363
|
maxLength?: number | undefined;
|
8328
8364
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8329
8365
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8330
|
-
searchMode?: boolean | undefined;
|
8331
8366
|
} | undefined;
|
8332
8367
|
} | {
|
8333
8368
|
type: "PHONE";
|
@@ -8660,7 +8695,8 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8660
8695
|
postcodeOrZip?: string | undefined;
|
8661
8696
|
} | undefined;
|
8662
8697
|
configuration?: {
|
8663
|
-
|
8698
|
+
lineSeparator?: string | undefined;
|
8699
|
+
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
8664
8700
|
} | undefined;
|
8665
8701
|
} | {
|
8666
8702
|
type: "DATA";
|