@genesislcap/foundation-forms 14.157.1-alpha-e60ad86.0 → 14.158.1-beta.9f2f9a2.0

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.
@@ -710,6 +710,154 @@
710
710
  }
711
711
  ]
712
712
  },
713
+ {
714
+ "kind": "javascript-module",
715
+ "path": "src/utils/filters.ts",
716
+ "declarations": [
717
+ {
718
+ "kind": "function",
719
+ "name": "createExpressions",
720
+ "parameters": [
721
+ {
722
+ "name": "payload",
723
+ "type": {
724
+ "text": "any"
725
+ }
726
+ }
727
+ ],
728
+ "description": "Creates a expressions/criteria from given payload",
729
+ "privacy": "public"
730
+ }
731
+ ],
732
+ "exports": [
733
+ {
734
+ "kind": "js",
735
+ "name": "createExpressions",
736
+ "declaration": {
737
+ "name": "createExpressions",
738
+ "module": "src/utils/filters.ts"
739
+ }
740
+ }
741
+ ]
742
+ },
743
+ {
744
+ "kind": "javascript-module",
745
+ "path": "src/utils/index.ts",
746
+ "declarations": [],
747
+ "exports": [
748
+ {
749
+ "kind": "js",
750
+ "name": "*",
751
+ "declaration": {
752
+ "name": "*",
753
+ "package": "./filters"
754
+ }
755
+ },
756
+ {
757
+ "kind": "js",
758
+ "name": "*",
759
+ "declaration": {
760
+ "name": "*",
761
+ "package": "./logger"
762
+ }
763
+ },
764
+ {
765
+ "kind": "js",
766
+ "name": "*",
767
+ "declaration": {
768
+ "name": "*",
769
+ "package": "./translation"
770
+ }
771
+ },
772
+ {
773
+ "kind": "js",
774
+ "name": "*",
775
+ "declaration": {
776
+ "name": "*",
777
+ "package": "./validation"
778
+ }
779
+ }
780
+ ]
781
+ },
782
+ {
783
+ "kind": "javascript-module",
784
+ "path": "src/utils/logger.ts",
785
+ "declarations": [],
786
+ "exports": []
787
+ },
788
+ {
789
+ "kind": "javascript-module",
790
+ "path": "src/utils/translation.ts",
791
+ "declarations": [
792
+ {
793
+ "kind": "function",
794
+ "name": "genesisErrorTranslator",
795
+ "return": {
796
+ "type": {
797
+ "text": "string"
798
+ }
799
+ },
800
+ "parameters": [
801
+ {
802
+ "name": "error"
803
+ },
804
+ {
805
+ "name": "t"
806
+ },
807
+ {
808
+ "name": "uischema"
809
+ }
810
+ ],
811
+ "privacy": "public"
812
+ }
813
+ ],
814
+ "exports": [
815
+ {
816
+ "kind": "js",
817
+ "name": "genesisErrorTranslator",
818
+ "declaration": {
819
+ "name": "genesisErrorTranslator",
820
+ "module": "src/utils/translation.ts"
821
+ }
822
+ }
823
+ ]
824
+ },
825
+ {
826
+ "kind": "javascript-module",
827
+ "path": "src/utils/validation.ts",
828
+ "declarations": [
829
+ {
830
+ "kind": "function",
831
+ "name": "mustMatch",
832
+ "parameters": [
833
+ {
834
+ "name": "target",
835
+ "type": {
836
+ "text": "string"
837
+ },
838
+ "description": "any other field"
839
+ }
840
+ ],
841
+ "description": "Ensures the value of the current field (the one the validator is on) matches the one of the target field.",
842
+ "return": {
843
+ "type": {
844
+ "text": ""
845
+ }
846
+ },
847
+ "privacy": "public"
848
+ }
849
+ ],
850
+ "exports": [
851
+ {
852
+ "kind": "js",
853
+ "name": "mustMatch",
854
+ "declaration": {
855
+ "name": "mustMatch",
856
+ "module": "src/utils/validation.ts"
857
+ }
858
+ }
859
+ ]
860
+ },
713
861
  {
714
862
  "kind": "javascript-module",
715
863
  "path": "src/jsonforms/json-forms.ts",
@@ -904,148 +1052,198 @@
904
1052
  },
905
1053
  {
906
1054
  "kind": "javascript-module",
907
- "path": "src/utils/filters.ts",
1055
+ "path": "src/jsonforms/testers/isDate.ts",
1056
+ "declarations": [
1057
+ {
1058
+ "kind": "variable",
1059
+ "name": "isOneOfDate"
1060
+ }
1061
+ ],
1062
+ "exports": [
1063
+ {
1064
+ "kind": "js",
1065
+ "name": "isOneOfDate",
1066
+ "declaration": {
1067
+ "name": "isOneOfDate",
1068
+ "module": "src/jsonforms/testers/isDate.ts"
1069
+ }
1070
+ }
1071
+ ]
1072
+ },
1073
+ {
1074
+ "kind": "javascript-module",
1075
+ "path": "src/jsonforms/testers/isInvisible.ts",
908
1076
  "declarations": [
909
1077
  {
910
1078
  "kind": "function",
911
- "name": "createExpressions",
1079
+ "name": "isInvisible",
1080
+ "return": {
1081
+ "type": {
1082
+ "text": "boolean"
1083
+ }
1084
+ },
912
1085
  "parameters": [
913
1086
  {
914
- "name": "payload",
1087
+ "name": "uischema",
915
1088
  "type": {
916
- "text": "any"
1089
+ "text": "UISchemaElement"
1090
+ }
1091
+ },
1092
+ {
1093
+ "name": "schema",
1094
+ "type": {
1095
+ "text": "JsonSchema"
1096
+ }
1097
+ },
1098
+ {
1099
+ "name": "context",
1100
+ "type": {
1101
+ "text": "TesterContext"
917
1102
  }
918
1103
  }
919
- ],
920
- "description": "Creates a expressions/criteria from given payload",
921
- "privacy": "public"
1104
+ ]
922
1105
  }
923
1106
  ],
924
1107
  "exports": [
925
1108
  {
926
1109
  "kind": "js",
927
- "name": "createExpressions",
1110
+ "name": "isInvisible",
928
1111
  "declaration": {
929
- "name": "createExpressions",
930
- "module": "src/utils/filters.ts"
1112
+ "name": "isInvisible",
1113
+ "module": "src/jsonforms/testers/isInvisible.ts"
931
1114
  }
932
1115
  }
933
1116
  ]
934
1117
  },
935
1118
  {
936
1119
  "kind": "javascript-module",
937
- "path": "src/utils/index.ts",
938
- "declarations": [],
1120
+ "path": "src/jsonforms/testers/isLayoutArray.ts",
1121
+ "declarations": [
1122
+ {
1123
+ "kind": "variable",
1124
+ "name": "isLayoutArray"
1125
+ }
1126
+ ],
939
1127
  "exports": [
940
1128
  {
941
1129
  "kind": "js",
942
- "name": "*",
1130
+ "name": "isLayoutArray",
943
1131
  "declaration": {
944
- "name": "*",
945
- "package": "./filters"
1132
+ "name": "isLayoutArray",
1133
+ "module": "src/jsonforms/testers/isLayoutArray.ts"
946
1134
  }
947
- },
1135
+ }
1136
+ ]
1137
+ },
1138
+ {
1139
+ "kind": "javascript-module",
1140
+ "path": "src/jsonforms/testers/isOneOfBoolean.ts",
1141
+ "declarations": [
948
1142
  {
949
- "kind": "js",
950
- "name": "*",
951
- "declaration": {
952
- "name": "*",
953
- "package": "./logger"
954
- }
955
- },
1143
+ "kind": "variable",
1144
+ "name": "isOneOfBoolean"
1145
+ }
1146
+ ],
1147
+ "exports": [
956
1148
  {
957
1149
  "kind": "js",
958
- "name": "*",
1150
+ "name": "isOneOfBoolean",
959
1151
  "declaration": {
960
- "name": "*",
961
- "package": "./translation"
1152
+ "name": "isOneOfBoolean",
1153
+ "module": "src/jsonforms/testers/isOneOfBoolean.ts"
962
1154
  }
963
- },
1155
+ }
1156
+ ]
1157
+ },
1158
+ {
1159
+ "kind": "javascript-module",
1160
+ "path": "src/jsonforms/testers/isOneOfEnum.ts",
1161
+ "declarations": [
1162
+ {
1163
+ "kind": "variable",
1164
+ "name": "isOneOfEnum"
1165
+ }
1166
+ ],
1167
+ "exports": [
964
1168
  {
965
1169
  "kind": "js",
966
- "name": "*",
1170
+ "name": "isOneOfEnum",
967
1171
  "declaration": {
968
- "name": "*",
969
- "package": "./validation"
1172
+ "name": "isOneOfEnum",
1173
+ "module": "src/jsonforms/testers/isOneOfEnum.ts"
970
1174
  }
971
1175
  }
972
1176
  ]
973
1177
  },
974
1178
  {
975
1179
  "kind": "javascript-module",
976
- "path": "src/utils/logger.ts",
977
- "declarations": [],
978
- "exports": []
1180
+ "path": "src/jsonforms/testers/isOneOfNumber.ts",
1181
+ "declarations": [
1182
+ {
1183
+ "kind": "variable",
1184
+ "name": "isOneOfNumber"
1185
+ }
1186
+ ],
1187
+ "exports": [
1188
+ {
1189
+ "kind": "js",
1190
+ "name": "isOneOfNumber",
1191
+ "declaration": {
1192
+ "name": "isOneOfNumber",
1193
+ "module": "src/jsonforms/testers/isOneOfNumber.ts"
1194
+ }
1195
+ }
1196
+ ]
979
1197
  },
980
1198
  {
981
1199
  "kind": "javascript-module",
982
- "path": "src/utils/translation.ts",
1200
+ "path": "src/jsonforms/testers/isOneOfOptionMultiselect.ts",
983
1201
  "declarations": [
984
1202
  {
985
- "kind": "function",
986
- "name": "genesisErrorTranslator",
987
- "return": {
988
- "type": {
989
- "text": "string"
990
- }
991
- },
992
- "parameters": [
993
- {
994
- "name": "error"
995
- },
996
- {
997
- "name": "t"
998
- },
999
- {
1000
- "name": "uischema"
1001
- }
1002
- ],
1003
- "privacy": "public"
1203
+ "kind": "variable",
1204
+ "name": "isOneOfOptionMultiselect"
1004
1205
  }
1005
1206
  ],
1006
1207
  "exports": [
1007
1208
  {
1008
1209
  "kind": "js",
1009
- "name": "genesisErrorTranslator",
1210
+ "name": "isOneOfOptionMultiselect",
1010
1211
  "declaration": {
1011
- "name": "genesisErrorTranslator",
1012
- "module": "src/utils/translation.ts"
1212
+ "name": "isOneOfOptionMultiselect",
1213
+ "module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
1013
1214
  }
1014
1215
  }
1015
1216
  ]
1016
1217
  },
1017
1218
  {
1018
1219
  "kind": "javascript-module",
1019
- "path": "src/utils/validation.ts",
1220
+ "path": "src/jsonforms/testers/optionIs.ts",
1020
1221
  "declarations": [
1021
1222
  {
1022
1223
  "kind": "function",
1023
- "name": "mustMatch",
1224
+ "name": "optionIs",
1225
+ "return": {
1226
+ "type": {
1227
+ "text": "Tester"
1228
+ }
1229
+ },
1024
1230
  "parameters": [
1025
1231
  {
1026
- "name": "target",
1232
+ "name": "optionName",
1027
1233
  "type": {
1028
1234
  "text": "string"
1029
- },
1030
- "description": "any other field"
1031
- }
1032
- ],
1033
- "description": "Ensures the value of the current field (the one the validator is on) matches the one of the target field.",
1034
- "return": {
1035
- "type": {
1036
- "text": ""
1235
+ }
1037
1236
  }
1038
- },
1039
- "privacy": "public"
1237
+ ]
1040
1238
  }
1041
1239
  ],
1042
1240
  "exports": [
1043
1241
  {
1044
1242
  "kind": "js",
1045
- "name": "mustMatch",
1243
+ "name": "optionIs",
1046
1244
  "declaration": {
1047
- "name": "mustMatch",
1048
- "module": "src/utils/validation.ts"
1245
+ "name": "optionIs",
1246
+ "module": "src/jsonforms/testers/optionIs.ts"
1049
1247
  }
1050
1248
  }
1051
1249
  ]
@@ -2440,204 +2638,6 @@
2440
2638
  }
2441
2639
  }
2442
2640
  ]
2443
- },
2444
- {
2445
- "kind": "javascript-module",
2446
- "path": "src/jsonforms/testers/isDate.ts",
2447
- "declarations": [
2448
- {
2449
- "kind": "variable",
2450
- "name": "isOneOfDate"
2451
- }
2452
- ],
2453
- "exports": [
2454
- {
2455
- "kind": "js",
2456
- "name": "isOneOfDate",
2457
- "declaration": {
2458
- "name": "isOneOfDate",
2459
- "module": "src/jsonforms/testers/isDate.ts"
2460
- }
2461
- }
2462
- ]
2463
- },
2464
- {
2465
- "kind": "javascript-module",
2466
- "path": "src/jsonforms/testers/isInvisible.ts",
2467
- "declarations": [
2468
- {
2469
- "kind": "function",
2470
- "name": "isInvisible",
2471
- "return": {
2472
- "type": {
2473
- "text": "boolean"
2474
- }
2475
- },
2476
- "parameters": [
2477
- {
2478
- "name": "uischema",
2479
- "type": {
2480
- "text": "UISchemaElement"
2481
- }
2482
- },
2483
- {
2484
- "name": "schema",
2485
- "type": {
2486
- "text": "JsonSchema"
2487
- }
2488
- },
2489
- {
2490
- "name": "context",
2491
- "type": {
2492
- "text": "TesterContext"
2493
- }
2494
- }
2495
- ]
2496
- }
2497
- ],
2498
- "exports": [
2499
- {
2500
- "kind": "js",
2501
- "name": "isInvisible",
2502
- "declaration": {
2503
- "name": "isInvisible",
2504
- "module": "src/jsonforms/testers/isInvisible.ts"
2505
- }
2506
- }
2507
- ]
2508
- },
2509
- {
2510
- "kind": "javascript-module",
2511
- "path": "src/jsonforms/testers/isLayoutArray.ts",
2512
- "declarations": [
2513
- {
2514
- "kind": "variable",
2515
- "name": "isLayoutArray"
2516
- }
2517
- ],
2518
- "exports": [
2519
- {
2520
- "kind": "js",
2521
- "name": "isLayoutArray",
2522
- "declaration": {
2523
- "name": "isLayoutArray",
2524
- "module": "src/jsonforms/testers/isLayoutArray.ts"
2525
- }
2526
- }
2527
- ]
2528
- },
2529
- {
2530
- "kind": "javascript-module",
2531
- "path": "src/jsonforms/testers/isOneOfBoolean.ts",
2532
- "declarations": [
2533
- {
2534
- "kind": "variable",
2535
- "name": "isOneOfBoolean"
2536
- }
2537
- ],
2538
- "exports": [
2539
- {
2540
- "kind": "js",
2541
- "name": "isOneOfBoolean",
2542
- "declaration": {
2543
- "name": "isOneOfBoolean",
2544
- "module": "src/jsonforms/testers/isOneOfBoolean.ts"
2545
- }
2546
- }
2547
- ]
2548
- },
2549
- {
2550
- "kind": "javascript-module",
2551
- "path": "src/jsonforms/testers/isOneOfEnum.ts",
2552
- "declarations": [
2553
- {
2554
- "kind": "variable",
2555
- "name": "isOneOfEnum"
2556
- }
2557
- ],
2558
- "exports": [
2559
- {
2560
- "kind": "js",
2561
- "name": "isOneOfEnum",
2562
- "declaration": {
2563
- "name": "isOneOfEnum",
2564
- "module": "src/jsonforms/testers/isOneOfEnum.ts"
2565
- }
2566
- }
2567
- ]
2568
- },
2569
- {
2570
- "kind": "javascript-module",
2571
- "path": "src/jsonforms/testers/isOneOfNumber.ts",
2572
- "declarations": [
2573
- {
2574
- "kind": "variable",
2575
- "name": "isOneOfNumber"
2576
- }
2577
- ],
2578
- "exports": [
2579
- {
2580
- "kind": "js",
2581
- "name": "isOneOfNumber",
2582
- "declaration": {
2583
- "name": "isOneOfNumber",
2584
- "module": "src/jsonforms/testers/isOneOfNumber.ts"
2585
- }
2586
- }
2587
- ]
2588
- },
2589
- {
2590
- "kind": "javascript-module",
2591
- "path": "src/jsonforms/testers/isOneOfOptionMultiselect.ts",
2592
- "declarations": [
2593
- {
2594
- "kind": "variable",
2595
- "name": "isOneOfOptionMultiselect"
2596
- }
2597
- ],
2598
- "exports": [
2599
- {
2600
- "kind": "js",
2601
- "name": "isOneOfOptionMultiselect",
2602
- "declaration": {
2603
- "name": "isOneOfOptionMultiselect",
2604
- "module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
2605
- }
2606
- }
2607
- ]
2608
- },
2609
- {
2610
- "kind": "javascript-module",
2611
- "path": "src/jsonforms/testers/optionIs.ts",
2612
- "declarations": [
2613
- {
2614
- "kind": "function",
2615
- "name": "optionIs",
2616
- "return": {
2617
- "type": {
2618
- "text": "Tester"
2619
- }
2620
- },
2621
- "parameters": [
2622
- {
2623
- "name": "optionName",
2624
- "type": {
2625
- "text": "string"
2626
- }
2627
- }
2628
- ]
2629
- }
2630
- ],
2631
- "exports": [
2632
- {
2633
- "kind": "js",
2634
- "name": "optionIs",
2635
- "declaration": {
2636
- "name": "optionIs",
2637
- "module": "src/jsonforms/testers/optionIs.ts"
2638
- }
2639
- }
2640
- ]
2641
2641
  }
2642
2642
  ]
2643
2643
  }
@@ -10,7 +10,7 @@ export const BooleanControlRendererTemplate = (prefix = 'zero') => html `
10
10
  ?submitted=${(x) => x.submitted}
11
11
  >
12
12
  <${prefix}-checkbox
13
- :checked=${(x) => x.control.data}
13
+ ?checked=${(x) => x.control.data}
14
14
  ?disabled=${(x) => !x.control.enabled}
15
15
  :autofocus=${(x) => x.control.config.focus}
16
16
  :placeholder=${(x) => x.control.config.placeholder}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-forms",
3
3
  "description": "Genesis Foundation Forms",
4
- "version": "14.157.1-alpha-e60ad86.0",
4
+ "version": "14.158.1-beta.9f2f9a2.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -40,22 +40,22 @@
40
40
  "test:debug": "genx test --debug"
41
41
  },
42
42
  "devDependencies": {
43
- "@genesislcap/foundation-testing": "14.157.1-alpha-e60ad86.0",
44
- "@genesislcap/genx": "14.157.1-alpha-e60ad86.0",
45
- "@genesislcap/rollup-builder": "14.157.1-alpha-e60ad86.0",
46
- "@genesislcap/ts-builder": "14.157.1-alpha-e60ad86.0",
47
- "@genesislcap/uvu-playwright-builder": "14.157.1-alpha-e60ad86.0",
48
- "@genesislcap/vite-builder": "14.157.1-alpha-e60ad86.0",
49
- "@genesislcap/webpack-builder": "14.157.1-alpha-e60ad86.0",
43
+ "@genesislcap/foundation-testing": "14.158.1-beta.9f2f9a2.0",
44
+ "@genesislcap/genx": "14.158.1-beta.9f2f9a2.0",
45
+ "@genesislcap/rollup-builder": "14.158.1-beta.9f2f9a2.0",
46
+ "@genesislcap/ts-builder": "14.158.1-beta.9f2f9a2.0",
47
+ "@genesislcap/uvu-playwright-builder": "14.158.1-beta.9f2f9a2.0",
48
+ "@genesislcap/vite-builder": "14.158.1-beta.9f2f9a2.0",
49
+ "@genesislcap/webpack-builder": "14.158.1-beta.9f2f9a2.0",
50
50
  "@types/json-schema": "^7.0.11",
51
51
  "rimraf": "^3.0.2"
52
52
  },
53
53
  "dependencies": {
54
- "@genesislcap/foundation-comms": "14.157.1-alpha-e60ad86.0",
55
- "@genesislcap/foundation-criteria": "14.157.1-alpha-e60ad86.0",
56
- "@genesislcap/foundation-logger": "14.157.1-alpha-e60ad86.0",
57
- "@genesislcap/foundation-ui": "14.157.1-alpha-e60ad86.0",
58
- "@genesislcap/foundation-utils": "14.157.1-alpha-e60ad86.0",
54
+ "@genesislcap/foundation-comms": "14.158.1-beta.9f2f9a2.0",
55
+ "@genesislcap/foundation-criteria": "14.158.1-beta.9f2f9a2.0",
56
+ "@genesislcap/foundation-logger": "14.158.1-beta.9f2f9a2.0",
57
+ "@genesislcap/foundation-ui": "14.158.1-beta.9f2f9a2.0",
58
+ "@genesislcap/foundation-utils": "14.158.1-beta.9f2f9a2.0",
59
59
  "@json-schema-tools/dereferencer": "^1.6.1",
60
60
  "@jsonforms/core": "^3.2.1",
61
61
  "@microsoft/fast-components": "^2.30.6",
@@ -76,5 +76,5 @@
76
76
  "access": "public"
77
77
  },
78
78
  "customElements": "dist/custom-elements.json",
79
- "gitHead": "8ad57d7c90ec62726318241e6b91df7cb19e9d33"
79
+ "gitHead": "56d1ee4853ea8afe5bd53a952e520816e75414c8"
80
80
  }