@genesislcap/foundation-forms 14.24.2 → 14.24.3-bny.21

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.
@@ -983,6 +983,204 @@
983
983
  }
984
984
  ]
985
985
  },
986
+ {
987
+ "kind": "javascript-module",
988
+ "path": "src/jsonforms/testers/isDate.ts",
989
+ "declarations": [
990
+ {
991
+ "kind": "variable",
992
+ "name": "isDate"
993
+ }
994
+ ],
995
+ "exports": [
996
+ {
997
+ "kind": "js",
998
+ "name": "isDate",
999
+ "declaration": {
1000
+ "name": "isDate",
1001
+ "module": "src/jsonforms/testers/isDate.ts"
1002
+ }
1003
+ }
1004
+ ]
1005
+ },
1006
+ {
1007
+ "kind": "javascript-module",
1008
+ "path": "src/jsonforms/testers/isInvisible.ts",
1009
+ "declarations": [
1010
+ {
1011
+ "kind": "function",
1012
+ "name": "isInvisible",
1013
+ "return": {
1014
+ "type": {
1015
+ "text": "boolean"
1016
+ }
1017
+ },
1018
+ "parameters": [
1019
+ {
1020
+ "name": "uischema",
1021
+ "type": {
1022
+ "text": "UISchemaElement"
1023
+ }
1024
+ },
1025
+ {
1026
+ "name": "schema",
1027
+ "type": {
1028
+ "text": "JsonSchema"
1029
+ }
1030
+ },
1031
+ {
1032
+ "name": "context",
1033
+ "type": {
1034
+ "text": "TesterContext"
1035
+ }
1036
+ }
1037
+ ]
1038
+ }
1039
+ ],
1040
+ "exports": [
1041
+ {
1042
+ "kind": "js",
1043
+ "name": "isInvisible",
1044
+ "declaration": {
1045
+ "name": "isInvisible",
1046
+ "module": "src/jsonforms/testers/isInvisible.ts"
1047
+ }
1048
+ }
1049
+ ]
1050
+ },
1051
+ {
1052
+ "kind": "javascript-module",
1053
+ "path": "src/jsonforms/testers/isLayoutArray.ts",
1054
+ "declarations": [
1055
+ {
1056
+ "kind": "variable",
1057
+ "name": "isLayoutArray"
1058
+ }
1059
+ ],
1060
+ "exports": [
1061
+ {
1062
+ "kind": "js",
1063
+ "name": "isLayoutArray",
1064
+ "declaration": {
1065
+ "name": "isLayoutArray",
1066
+ "module": "src/jsonforms/testers/isLayoutArray.ts"
1067
+ }
1068
+ }
1069
+ ]
1070
+ },
1071
+ {
1072
+ "kind": "javascript-module",
1073
+ "path": "src/jsonforms/testers/isOneOfBoolean.ts",
1074
+ "declarations": [
1075
+ {
1076
+ "kind": "variable",
1077
+ "name": "isOneOfBoolean"
1078
+ }
1079
+ ],
1080
+ "exports": [
1081
+ {
1082
+ "kind": "js",
1083
+ "name": "isOneOfBoolean",
1084
+ "declaration": {
1085
+ "name": "isOneOfBoolean",
1086
+ "module": "src/jsonforms/testers/isOneOfBoolean.ts"
1087
+ }
1088
+ }
1089
+ ]
1090
+ },
1091
+ {
1092
+ "kind": "javascript-module",
1093
+ "path": "src/jsonforms/testers/isOneOfEnum.ts",
1094
+ "declarations": [
1095
+ {
1096
+ "kind": "variable",
1097
+ "name": "isOneOfEnum"
1098
+ }
1099
+ ],
1100
+ "exports": [
1101
+ {
1102
+ "kind": "js",
1103
+ "name": "isOneOfEnum",
1104
+ "declaration": {
1105
+ "name": "isOneOfEnum",
1106
+ "module": "src/jsonforms/testers/isOneOfEnum.ts"
1107
+ }
1108
+ }
1109
+ ]
1110
+ },
1111
+ {
1112
+ "kind": "javascript-module",
1113
+ "path": "src/jsonforms/testers/isOneOfNumber.ts",
1114
+ "declarations": [
1115
+ {
1116
+ "kind": "variable",
1117
+ "name": "isOneOfNumber"
1118
+ }
1119
+ ],
1120
+ "exports": [
1121
+ {
1122
+ "kind": "js",
1123
+ "name": "isOneOfNumber",
1124
+ "declaration": {
1125
+ "name": "isOneOfNumber",
1126
+ "module": "src/jsonforms/testers/isOneOfNumber.ts"
1127
+ }
1128
+ }
1129
+ ]
1130
+ },
1131
+ {
1132
+ "kind": "javascript-module",
1133
+ "path": "src/jsonforms/testers/isOneOfOptionMultiselect.ts",
1134
+ "declarations": [
1135
+ {
1136
+ "kind": "variable",
1137
+ "name": "isOneOfOptionMultiselect"
1138
+ }
1139
+ ],
1140
+ "exports": [
1141
+ {
1142
+ "kind": "js",
1143
+ "name": "isOneOfOptionMultiselect",
1144
+ "declaration": {
1145
+ "name": "isOneOfOptionMultiselect",
1146
+ "module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
1147
+ }
1148
+ }
1149
+ ]
1150
+ },
1151
+ {
1152
+ "kind": "javascript-module",
1153
+ "path": "src/jsonforms/testers/optionIs.ts",
1154
+ "declarations": [
1155
+ {
1156
+ "kind": "function",
1157
+ "name": "optionIs",
1158
+ "return": {
1159
+ "type": {
1160
+ "text": "Tester"
1161
+ }
1162
+ },
1163
+ "parameters": [
1164
+ {
1165
+ "name": "optionName",
1166
+ "type": {
1167
+ "text": "string"
1168
+ }
1169
+ }
1170
+ ]
1171
+ }
1172
+ ],
1173
+ "exports": [
1174
+ {
1175
+ "kind": "js",
1176
+ "name": "optionIs",
1177
+ "declaration": {
1178
+ "name": "optionIs",
1179
+ "module": "src/jsonforms/testers/optionIs.ts"
1180
+ }
1181
+ }
1182
+ ]
1183
+ },
986
1184
  {
987
1185
  "kind": "javascript-module",
988
1186
  "path": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts",
@@ -1676,7 +1874,7 @@
1676
1874
  {
1677
1875
  "kind": "variable",
1678
1876
  "name": "LayoutGroupRendererTemplate",
1679
- "default": "html`\n <template>\n <div>\n ${when(\n (x) => x.control.label,\n html`\n <div\n for=\"${(x) => x.control.path + '-wrapper'}\"\n style=\"color: rgb(135, 155, 166);\n margin-bottom: 4px;\n display: flex;\n justify-content: space-between;\"\n >\n ${(x) => x.control.label}\n </div>\n `\n )}\n ${repeat(\n (x) => x.control.uischema.elements,\n html`\n <dispatch-renderer\n ?submitted=${(x, ctx) => ctx.parent.submitted}\n :dispatch=${(x, ctx) => ctx.parent.dispatch}\n :jsonforms=${(x, ctx) => ctx.parent.jsonforms}\n :props=${(x, ctx) => ({\n uischema: x,\n schema: ctx.parent.control.schema,\n renderers: ctx.parent.control.renderers,\n path: ctx.parent.control.path,\n enabled: ctx.parent.control.enabled,\n })}\n ></dispatch-renderer>\n `\n )}\n </div>\n </template>\n`"
1877
+ "default": "html`\n <template>\n <div>\n ${when(\n (x) => x.control.label,\n html`\n <div\n for=\"${(x) => x.control.path + '-wrapper'}\"\n style=\"color: rgb(135, 155, 166);\n margin-bottom: 4px;\n display: flex;\n justify-content: space-between;\"\n >\n ${(x) => x.control.label}\n </div>\n `\n )}\n ${repeat(\n (x) => x.control.uischema.options.childElements,\n html`\n <dispatch-renderer\n ?submitted=${(x, ctx) => ctx.parent.submitted}\n :dispatch=${(x, ctx) => ctx.parent.dispatch}\n :jsonforms=${(x, ctx) => ctx.parent.jsonforms}\n :props=${(x, ctx) => ({\n uischema: x,\n schema: ctx.parent.control.schema,\n renderers: ctx.parent.control.renderers,\n path: ctx.parent.control.path,\n enabled: ctx.parent.control.enabled,\n })}\n ></dispatch-renderer>\n `\n )}\n </div>\n </template>\n`"
1680
1878
  },
1681
1879
  {
1682
1880
  "kind": "variable",
@@ -1787,7 +1985,7 @@
1787
1985
  {
1788
1986
  "kind": "variable",
1789
1987
  "name": "LayoutVertical2ColumnsRendererTemplate",
1790
- "default": "html`\n <template>\n <div\n style=\"max-width:600px;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: space-between;\"\n >\n ${repeat(\n (x) => x.control.uischema.elements,\n html`\n <div style=\"width: 49%\">\n <dispatch-renderer\n ?submitted=${(x, ctx) => ctx.parent.submitted}\n :dispatch=${(x, ctx) => ctx.parent.dispatch}\n :jsonforms=${(x, ctx) => ctx.parent.jsonforms}\n :props=${(x, ctx) => ({\n uischema: x,\n schema: ctx.parent.control.schema,\n renderers: ctx.parent.control.renderers,\n path: ctx.parent.control.path,\n enabled: ctx.parent.control.enabled,\n })}\n ></dispatch-renderer>\n </div>\n `\n )}\n </div>\n </template>\n`"
1988
+ "default": "html`\n <template>\n <div\n style=\"display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: space-between;\"\n >\n ${repeat(\n (x) => x.control.uischema.elements,\n html`\n <div style=\"width: 49%\">\n <dispatch-renderer\n ?submitted=${(x, ctx) => ctx.parent.submitted}\n :dispatch=${(x, ctx) => ctx.parent.dispatch}\n :jsonforms=${(x, ctx) => ctx.parent.jsonforms}\n :props=${(x, ctx) => ({\n uischema: x,\n schema: ctx.parent.control.schema,\n renderers: ctx.parent.control.renderers,\n path: ctx.parent.control.path,\n enabled: ctx.parent.control.enabled,\n })}\n ></dispatch-renderer>\n </div>\n `\n )}\n </div>\n </template>\n`"
1791
1989
  },
1792
1990
  {
1793
1991
  "kind": "variable",
@@ -2227,204 +2425,6 @@
2227
2425
  }
2228
2426
  }
2229
2427
  ]
2230
- },
2231
- {
2232
- "kind": "javascript-module",
2233
- "path": "src/jsonforms/testers/isDate.ts",
2234
- "declarations": [
2235
- {
2236
- "kind": "variable",
2237
- "name": "isDate"
2238
- }
2239
- ],
2240
- "exports": [
2241
- {
2242
- "kind": "js",
2243
- "name": "isDate",
2244
- "declaration": {
2245
- "name": "isDate",
2246
- "module": "src/jsonforms/testers/isDate.ts"
2247
- }
2248
- }
2249
- ]
2250
- },
2251
- {
2252
- "kind": "javascript-module",
2253
- "path": "src/jsonforms/testers/isInvisible.ts",
2254
- "declarations": [
2255
- {
2256
- "kind": "function",
2257
- "name": "isInvisible",
2258
- "return": {
2259
- "type": {
2260
- "text": "boolean"
2261
- }
2262
- },
2263
- "parameters": [
2264
- {
2265
- "name": "uischema",
2266
- "type": {
2267
- "text": "UISchemaElement"
2268
- }
2269
- },
2270
- {
2271
- "name": "schema",
2272
- "type": {
2273
- "text": "JsonSchema"
2274
- }
2275
- },
2276
- {
2277
- "name": "context",
2278
- "type": {
2279
- "text": "TesterContext"
2280
- }
2281
- }
2282
- ]
2283
- }
2284
- ],
2285
- "exports": [
2286
- {
2287
- "kind": "js",
2288
- "name": "isInvisible",
2289
- "declaration": {
2290
- "name": "isInvisible",
2291
- "module": "src/jsonforms/testers/isInvisible.ts"
2292
- }
2293
- }
2294
- ]
2295
- },
2296
- {
2297
- "kind": "javascript-module",
2298
- "path": "src/jsonforms/testers/isLayoutArray.ts",
2299
- "declarations": [
2300
- {
2301
- "kind": "variable",
2302
- "name": "isLayoutArray"
2303
- }
2304
- ],
2305
- "exports": [
2306
- {
2307
- "kind": "js",
2308
- "name": "isLayoutArray",
2309
- "declaration": {
2310
- "name": "isLayoutArray",
2311
- "module": "src/jsonforms/testers/isLayoutArray.ts"
2312
- }
2313
- }
2314
- ]
2315
- },
2316
- {
2317
- "kind": "javascript-module",
2318
- "path": "src/jsonforms/testers/isOneOfBoolean.ts",
2319
- "declarations": [
2320
- {
2321
- "kind": "variable",
2322
- "name": "isOneOfBoolean"
2323
- }
2324
- ],
2325
- "exports": [
2326
- {
2327
- "kind": "js",
2328
- "name": "isOneOfBoolean",
2329
- "declaration": {
2330
- "name": "isOneOfBoolean",
2331
- "module": "src/jsonforms/testers/isOneOfBoolean.ts"
2332
- }
2333
- }
2334
- ]
2335
- },
2336
- {
2337
- "kind": "javascript-module",
2338
- "path": "src/jsonforms/testers/isOneOfEnum.ts",
2339
- "declarations": [
2340
- {
2341
- "kind": "variable",
2342
- "name": "isOneOfEnum"
2343
- }
2344
- ],
2345
- "exports": [
2346
- {
2347
- "kind": "js",
2348
- "name": "isOneOfEnum",
2349
- "declaration": {
2350
- "name": "isOneOfEnum",
2351
- "module": "src/jsonforms/testers/isOneOfEnum.ts"
2352
- }
2353
- }
2354
- ]
2355
- },
2356
- {
2357
- "kind": "javascript-module",
2358
- "path": "src/jsonforms/testers/isOneOfNumber.ts",
2359
- "declarations": [
2360
- {
2361
- "kind": "variable",
2362
- "name": "isOneOfNumber"
2363
- }
2364
- ],
2365
- "exports": [
2366
- {
2367
- "kind": "js",
2368
- "name": "isOneOfNumber",
2369
- "declaration": {
2370
- "name": "isOneOfNumber",
2371
- "module": "src/jsonforms/testers/isOneOfNumber.ts"
2372
- }
2373
- }
2374
- ]
2375
- },
2376
- {
2377
- "kind": "javascript-module",
2378
- "path": "src/jsonforms/testers/isOneOfOptionMultiselect.ts",
2379
- "declarations": [
2380
- {
2381
- "kind": "variable",
2382
- "name": "isOneOfOptionMultiselect"
2383
- }
2384
- ],
2385
- "exports": [
2386
- {
2387
- "kind": "js",
2388
- "name": "isOneOfOptionMultiselect",
2389
- "declaration": {
2390
- "name": "isOneOfOptionMultiselect",
2391
- "module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
2392
- }
2393
- }
2394
- ]
2395
- },
2396
- {
2397
- "kind": "javascript-module",
2398
- "path": "src/jsonforms/testers/optionIs.ts",
2399
- "declarations": [
2400
- {
2401
- "kind": "function",
2402
- "name": "optionIs",
2403
- "return": {
2404
- "type": {
2405
- "text": "Tester"
2406
- }
2407
- },
2408
- "parameters": [
2409
- {
2410
- "name": "optionName",
2411
- "type": {
2412
- "text": "string"
2413
- }
2414
- }
2415
- ]
2416
- }
2417
- ],
2418
- "exports": [
2419
- {
2420
- "kind": "js",
2421
- "name": "optionIs",
2422
- "declaration": {
2423
- "name": "optionIs",
2424
- "module": "src/jsonforms/testers/optionIs.ts"
2425
- }
2426
- }
2427
- ]
2428
2428
  }
2429
2429
  ]
2430
2430
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutVertical2ColumnsRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutVertical2ColumnsRenderer.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sCAAsC,0DA8BlD,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,GAIzC,CAAC"}
1
+ {"version":3,"file":"LayoutVertical2ColumnsRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/LayoutVertical2ColumnsRenderer.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sCAAsC,0DA6BlD,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,GAIzC,CAAC"}
@@ -27,6 +27,7 @@ export type UiSchemaElement = {
27
27
  type: UiSchemaElementType;
28
28
  scope: string;
29
29
  label?: string;
30
+ placeholder?: string;
30
31
  options?: UiSchemaElementOptions;
31
32
  };
32
33
  /** @public */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAE3E,cAAc;AACd,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,gBAAgB,GAAG,GAAG,CAAC;AAErE,cAAc;AACd,MAAM,MAAM,sBAAsB,GAAG;IACnC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,WAAW,EAAE,CAAC;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACb,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC3B,IAAI,CAAC,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,YAAY,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC;IAC9C,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,KAAK,mBAAmB,CAAC;CACrF,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAE3E,cAAc;AACd,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,gBAAgB,GAAG,GAAG,CAAC;AAErE,cAAc;AACd,MAAM,MAAM,sBAAsB,GAAG;IACnC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,WAAW,EAAE,CAAC;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACb,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC3B,IAAI,CAAC,EAAE;QACL,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,sBAAsB,CAAC;CAClC,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,YAAY,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC;IAC9C,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,KAAK,mBAAmB,CAAC;CACrF,CAAC"}
@@ -11,7 +11,7 @@ export const ConnectedSelectControlRendererTemplate = (prefix = 'zero') => html
11
11
  >
12
12
  <${prefix}-combobox
13
13
  style="width: 100%"
14
- placeholder=${(x) => x.control.label}
14
+ placeholder=${(x) => x.control.uischema.placeholder || x.control.label}
15
15
  ?disabled=${(x) => !x.control.enabled}
16
16
  @value-change=${(x, c) => {
17
17
  var _a;
@@ -15,7 +15,7 @@ export const LayoutGroupRendererTemplate = html `
15
15
  ${(x) => x.control.label}
16
16
  </div>
17
17
  `)}
18
- ${repeat((x) => x.control.uischema.elements, html `
18
+ ${repeat((x) => x.control.uischema.options.childElements, html `
19
19
  <dispatch-renderer
20
20
  ?submitted=${(x, ctx) => ctx.parent.submitted}
21
21
  :dispatch=${(x, ctx) => ctx.parent.dispatch}
@@ -4,8 +4,7 @@ import { LAYOUT2COLUMNS_RANK } from './RenderersRanks';
4
4
  export const LayoutVertical2ColumnsRendererTemplate = html `
5
5
  <template>
6
6
  <div
7
- style="max-width:600px;
8
- display: flex;
7
+ style="display: flex;
9
8
  flex-direction: row;
10
9
  flex-wrap: wrap;
11
10
  justify-content: space-between;"
@@ -15,7 +15,7 @@ export const NumberControlRendererTemplate = (prefix = 'zero') => html `
15
15
  const value = parseFloat(c.event.target.value.replace(/,/g, ''));
16
16
  return x.control.handleChange(x.control.path, !isNaN(value) ? value : undefined);
17
17
  }}
18
- placeholder=${(x) => x.control.label}
18
+ placeholder=${(x) => x.control.uischema.placeholder || x.control.label}
19
19
  id=${(x) => x.control.path}
20
20
  data-test-id=${(x) => x.control.path}
21
21
  ?required=${(x) => x.control.required}
@@ -11,7 +11,7 @@ export const getStringControlRendererTemplate = (prefix = 'zero') => html `
11
11
  type=${(x) => { var _a, _b; return (((_b = (_a = x.control.uischema) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.isPassword) ? 'password' : 'text'); }}
12
12
  :value=${(x) => x.control.data || ''}
13
13
  @change=${(x, c) => x.control.handleChange(x.control.path, c.event.target.value)}
14
- placeholder=${(x) => x.control.label}
14
+ placeholder=${(x) => x.control.uischema.placeholder || x.control.label}
15
15
  id=${(x) => x.control.path}
16
16
  data-test-id=${(x) => x.control.path}
17
17
  ?required=${(x) => x.control.required}
@@ -999,7 +999,7 @@
999
999
  },
1000
1000
  {
1001
1001
  "kind": "Content",
1002
- "text": ";\n scope: string;\n label?: string;\n options?: "
1002
+ "text": ";\n scope: string;\n label?: string;\n placeholder?: string;\n options?: "
1003
1003
  },
1004
1004
  {
1005
1005
  "kind": "Reference",
@@ -275,6 +275,7 @@ export declare type UiSchemaElement = {
275
275
  type: UiSchemaElementType;
276
276
  scope: string;
277
277
  label?: string;
278
+ placeholder?: string;
278
279
  options?: UiSchemaElementOptions;
279
280
  };
280
281
 
@@ -12,6 +12,7 @@ export type UiSchemaElement = {
12
12
  type: UiSchemaElementType;
13
13
  scope: string;
14
14
  label?: string;
15
+ placeholder?: string;
15
16
  options?: UiSchemaElementOptions;
16
17
  };
17
18
  ```
@@ -123,6 +123,7 @@ export type UiSchemaElement = {
123
123
  type: UiSchemaElementType;
124
124
  scope: string;
125
125
  label?: string;
126
+ placeholder?: string;
126
127
  options?: UiSchemaElementOptions;
127
128
  };
128
129
 
@@ -149,7 +150,7 @@ export type UiSchemaElementType = 'Control' | 'VerticalLayout' | any;
149
150
 
150
151
  // Warnings were encountered during analysis:
151
152
  //
152
- // src/types.ts:50:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
153
+ // src/types.ts:51:3 - (ae-forgotten-export) The symbol "DispatchRenderer" needs to be exported by the entry point index.d.ts
153
154
 
154
155
  // (No @packageDocumentation comment for this package)
155
156
 
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.24.2",
4
+ "version": "14.24.3-bny.21",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -43,8 +43,8 @@
43
43
  "test:unit:watch": "watchlist src test -- npm run test:unit"
44
44
  },
45
45
  "devDependencies": {
46
- "@genesislcap/foundation-testing": "^14.24.2",
47
- "@genesislcap/genx": "^14.24.2",
46
+ "@genesislcap/foundation-testing": "14.24.3-bny.21",
47
+ "@genesislcap/genx": "14.24.3-bny.21",
48
48
  "@module-federation/dashboard-plugin": "2.3.0",
49
49
  "@playwright/test": "^1.18.1",
50
50
  "@types/json-schema": "^7.0.11",
@@ -84,9 +84,9 @@
84
84
  "webpack-merge": "^5.7.3"
85
85
  },
86
86
  "dependencies": {
87
- "@genesislcap/foundation-comms": "^14.24.2",
88
- "@genesislcap/foundation-criteria": "^14.24.2",
89
- "@genesislcap/foundation-utils": "^14.24.2",
87
+ "@genesislcap/foundation-comms": "14.24.3-bny.21",
88
+ "@genesislcap/foundation-criteria": "14.24.3-bny.21",
89
+ "@genesislcap/foundation-utils": "14.24.3-bny.21",
90
90
  "@jsonforms/core": "^3.0.0",
91
91
  "@microsoft/fast-components": "^2.21.3",
92
92
  "@microsoft/fast-element": "^1.7.0",
@@ -107,5 +107,5 @@
107
107
  "access": "public"
108
108
  },
109
109
  "customElements": "dist/custom-elements.json",
110
- "gitHead": "a4cd30274c02f59472b48654d8e749c2e2b28f1d"
110
+ "gitHead": "56ed5cdfc809ddd6dbd99fa51b750ee9618d0e58"
111
111
  }