@genesislcap/foundation-forms 14.208.1 → 14.208.2

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.
@@ -850,168 +850,6 @@
850
850
  }
851
851
  ]
852
852
  },
853
- {
854
- "kind": "javascript-module",
855
- "path": "src/utils/filters.ts",
856
- "declarations": [
857
- {
858
- "kind": "function",
859
- "name": "createExpressions",
860
- "parameters": [
861
- {
862
- "name": "payload",
863
- "type": {
864
- "text": "any"
865
- }
866
- }
867
- ],
868
- "description": "Creates a expressions/criteria from given payload",
869
- "privacy": "public"
870
- }
871
- ],
872
- "exports": [
873
- {
874
- "kind": "js",
875
- "name": "createExpressions",
876
- "declaration": {
877
- "name": "createExpressions",
878
- "module": "src/utils/filters.ts"
879
- }
880
- }
881
- ]
882
- },
883
- {
884
- "kind": "javascript-module",
885
- "path": "src/utils/index.ts",
886
- "declarations": [],
887
- "exports": [
888
- {
889
- "kind": "js",
890
- "name": "*",
891
- "declaration": {
892
- "name": "*",
893
- "package": "./filters"
894
- }
895
- },
896
- {
897
- "kind": "js",
898
- "name": "*",
899
- "declaration": {
900
- "name": "*",
901
- "package": "./logger"
902
- }
903
- },
904
- {
905
- "kind": "js",
906
- "name": "*",
907
- "declaration": {
908
- "name": "*",
909
- "package": "./translation"
910
- }
911
- },
912
- {
913
- "kind": "js",
914
- "name": "*",
915
- "declaration": {
916
- "name": "*",
917
- "package": "./validation"
918
- }
919
- },
920
- {
921
- "kind": "js",
922
- "name": "*",
923
- "declaration": {
924
- "name": "*",
925
- "package": "./types"
926
- }
927
- }
928
- ]
929
- },
930
- {
931
- "kind": "javascript-module",
932
- "path": "src/utils/logger.ts",
933
- "declarations": [],
934
- "exports": []
935
- },
936
- {
937
- "kind": "javascript-module",
938
- "path": "src/utils/translation.ts",
939
- "declarations": [
940
- {
941
- "kind": "function",
942
- "name": "genesisErrorTranslator",
943
- "return": {
944
- "type": {
945
- "text": "string"
946
- }
947
- },
948
- "parameters": [
949
- {
950
- "name": "error"
951
- },
952
- {
953
- "name": "t"
954
- },
955
- {
956
- "name": "uischema"
957
- }
958
- ],
959
- "privacy": "public"
960
- }
961
- ],
962
- "exports": [
963
- {
964
- "kind": "js",
965
- "name": "genesisErrorTranslator",
966
- "declaration": {
967
- "name": "genesisErrorTranslator",
968
- "module": "src/utils/translation.ts"
969
- }
970
- }
971
- ]
972
- },
973
- {
974
- "kind": "javascript-module",
975
- "path": "src/utils/types.ts",
976
- "declarations": [],
977
- "exports": []
978
- },
979
- {
980
- "kind": "javascript-module",
981
- "path": "src/utils/validation.ts",
982
- "declarations": [
983
- {
984
- "kind": "function",
985
- "name": "mustMatch",
986
- "parameters": [
987
- {
988
- "name": "target",
989
- "type": {
990
- "text": "string"
991
- },
992
- "description": "any other field"
993
- }
994
- ],
995
- "description": "Ensures the value of the current field (the one the validator is on) matches the one of the target field.",
996
- "return": {
997
- "type": {
998
- "text": ""
999
- }
1000
- },
1001
- "privacy": "public"
1002
- }
1003
- ],
1004
- "exports": [
1005
- {
1006
- "kind": "js",
1007
- "name": "mustMatch",
1008
- "declaration": {
1009
- "name": "mustMatch",
1010
- "module": "src/utils/validation.ts"
1011
- }
1012
- }
1013
- ]
1014
- },
1015
853
  {
1016
854
  "kind": "javascript-module",
1017
855
  "path": "src/jsonforms/json-forms.ts",
@@ -1204,6 +1042,168 @@
1204
1042
  }
1205
1043
  ]
1206
1044
  },
1045
+ {
1046
+ "kind": "javascript-module",
1047
+ "path": "src/utils/filters.ts",
1048
+ "declarations": [
1049
+ {
1050
+ "kind": "function",
1051
+ "name": "createExpressions",
1052
+ "parameters": [
1053
+ {
1054
+ "name": "payload",
1055
+ "type": {
1056
+ "text": "any"
1057
+ }
1058
+ }
1059
+ ],
1060
+ "description": "Creates a expressions/criteria from given payload",
1061
+ "privacy": "public"
1062
+ }
1063
+ ],
1064
+ "exports": [
1065
+ {
1066
+ "kind": "js",
1067
+ "name": "createExpressions",
1068
+ "declaration": {
1069
+ "name": "createExpressions",
1070
+ "module": "src/utils/filters.ts"
1071
+ }
1072
+ }
1073
+ ]
1074
+ },
1075
+ {
1076
+ "kind": "javascript-module",
1077
+ "path": "src/utils/index.ts",
1078
+ "declarations": [],
1079
+ "exports": [
1080
+ {
1081
+ "kind": "js",
1082
+ "name": "*",
1083
+ "declaration": {
1084
+ "name": "*",
1085
+ "package": "./filters"
1086
+ }
1087
+ },
1088
+ {
1089
+ "kind": "js",
1090
+ "name": "*",
1091
+ "declaration": {
1092
+ "name": "*",
1093
+ "package": "./logger"
1094
+ }
1095
+ },
1096
+ {
1097
+ "kind": "js",
1098
+ "name": "*",
1099
+ "declaration": {
1100
+ "name": "*",
1101
+ "package": "./translation"
1102
+ }
1103
+ },
1104
+ {
1105
+ "kind": "js",
1106
+ "name": "*",
1107
+ "declaration": {
1108
+ "name": "*",
1109
+ "package": "./validation"
1110
+ }
1111
+ },
1112
+ {
1113
+ "kind": "js",
1114
+ "name": "*",
1115
+ "declaration": {
1116
+ "name": "*",
1117
+ "package": "./types"
1118
+ }
1119
+ }
1120
+ ]
1121
+ },
1122
+ {
1123
+ "kind": "javascript-module",
1124
+ "path": "src/utils/logger.ts",
1125
+ "declarations": [],
1126
+ "exports": []
1127
+ },
1128
+ {
1129
+ "kind": "javascript-module",
1130
+ "path": "src/utils/translation.ts",
1131
+ "declarations": [
1132
+ {
1133
+ "kind": "function",
1134
+ "name": "genesisErrorTranslator",
1135
+ "return": {
1136
+ "type": {
1137
+ "text": "string"
1138
+ }
1139
+ },
1140
+ "parameters": [
1141
+ {
1142
+ "name": "error"
1143
+ },
1144
+ {
1145
+ "name": "t"
1146
+ },
1147
+ {
1148
+ "name": "uischema"
1149
+ }
1150
+ ],
1151
+ "privacy": "public"
1152
+ }
1153
+ ],
1154
+ "exports": [
1155
+ {
1156
+ "kind": "js",
1157
+ "name": "genesisErrorTranslator",
1158
+ "declaration": {
1159
+ "name": "genesisErrorTranslator",
1160
+ "module": "src/utils/translation.ts"
1161
+ }
1162
+ }
1163
+ ]
1164
+ },
1165
+ {
1166
+ "kind": "javascript-module",
1167
+ "path": "src/utils/types.ts",
1168
+ "declarations": [],
1169
+ "exports": []
1170
+ },
1171
+ {
1172
+ "kind": "javascript-module",
1173
+ "path": "src/utils/validation.ts",
1174
+ "declarations": [
1175
+ {
1176
+ "kind": "function",
1177
+ "name": "mustMatch",
1178
+ "parameters": [
1179
+ {
1180
+ "name": "target",
1181
+ "type": {
1182
+ "text": "string"
1183
+ },
1184
+ "description": "any other field"
1185
+ }
1186
+ ],
1187
+ "description": "Ensures the value of the current field (the one the validator is on) matches the one of the target field.",
1188
+ "return": {
1189
+ "type": {
1190
+ "text": ""
1191
+ }
1192
+ },
1193
+ "privacy": "public"
1194
+ }
1195
+ ],
1196
+ "exports": [
1197
+ {
1198
+ "kind": "js",
1199
+ "name": "mustMatch",
1200
+ "declaration": {
1201
+ "name": "mustMatch",
1202
+ "module": "src/utils/validation.ts"
1203
+ }
1204
+ }
1205
+ ]
1206
+ },
1207
1207
  {
1208
1208
  "kind": "javascript-module",
1209
1209
  "path": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts",
@@ -4,7 +4,7 @@ import { isArray } from '../testers/isArray';
4
4
  import { ARRAY_CONTROL_RANK } from './RenderersRanks';
5
5
  function changeHandler(x, c) {
6
6
  const inputValue = c.event.target.value;
7
- x.control.handleChange(x.control.path, inputValue === '' ? null : inputValue.split(',').map((item) => item.trimStart()));
7
+ x.control.handleChange(x.control.path, inputValue === '' ? [] : inputValue.split(',').map((item) => item.trimStart()));
8
8
  }
9
9
  export const getStringArrayControlRendererTemplate = (prefix = 'zero') => html `
10
10
  <template>
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.208.1",
4
+ "version": "14.208.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -48,22 +48,22 @@
48
48
  }
49
49
  },
50
50
  "devDependencies": {
51
- "@genesislcap/foundation-testing": "14.208.1",
52
- "@genesislcap/genx": "14.208.1",
53
- "@genesislcap/rollup-builder": "14.208.1",
54
- "@genesislcap/ts-builder": "14.208.1",
55
- "@genesislcap/uvu-playwright-builder": "14.208.1",
56
- "@genesislcap/vite-builder": "14.208.1",
57
- "@genesislcap/webpack-builder": "14.208.1",
51
+ "@genesislcap/foundation-testing": "14.208.2",
52
+ "@genesislcap/genx": "14.208.2",
53
+ "@genesislcap/rollup-builder": "14.208.2",
54
+ "@genesislcap/ts-builder": "14.208.2",
55
+ "@genesislcap/uvu-playwright-builder": "14.208.2",
56
+ "@genesislcap/vite-builder": "14.208.2",
57
+ "@genesislcap/webpack-builder": "14.208.2",
58
58
  "@types/json-schema": "^7.0.11",
59
59
  "rimraf": "^5.0.0"
60
60
  },
61
61
  "dependencies": {
62
- "@genesislcap/foundation-comms": "14.208.1",
63
- "@genesislcap/foundation-criteria": "14.208.1",
64
- "@genesislcap/foundation-logger": "14.208.1",
65
- "@genesislcap/foundation-ui": "14.208.1",
66
- "@genesislcap/foundation-utils": "14.208.1",
62
+ "@genesislcap/foundation-comms": "14.208.2",
63
+ "@genesislcap/foundation-criteria": "14.208.2",
64
+ "@genesislcap/foundation-logger": "14.208.2",
65
+ "@genesislcap/foundation-ui": "14.208.2",
66
+ "@genesislcap/foundation-utils": "14.208.2",
67
67
  "@json-schema-tools/dereferencer": "^1.6.1",
68
68
  "@jsonforms/core": "^3.2.1",
69
69
  "@microsoft/fast-components": "^2.30.6",
@@ -84,5 +84,5 @@
84
84
  "access": "public"
85
85
  },
86
86
  "customElements": "dist/custom-elements.json",
87
- "gitHead": "61bea44371fb0f88f1953aa9ea5200a4429f6523"
87
+ "gitHead": "6e8bcdbd7a90cc39adef48f79ae5b073ff38c358"
88
88
  }