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