@genesislcap/foundation-utils 14.451.2-FUI-2550.1 → 14.451.2-FUI-2550.4

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +505 -505
  2. package/package.json +11 -11
@@ -250,6 +250,257 @@
250
250
  }
251
251
  ]
252
252
  },
253
+ {
254
+ "kind": "javascript-module",
255
+ "path": "src/decorators/index.ts",
256
+ "declarations": [],
257
+ "exports": [
258
+ {
259
+ "kind": "js",
260
+ "name": "*",
261
+ "declaration": {
262
+ "name": "*",
263
+ "package": "./renderOnChange"
264
+ }
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "kind": "javascript-module",
270
+ "path": "src/decorators/renderOnChange.ts",
271
+ "declarations": [
272
+ {
273
+ "kind": "function",
274
+ "name": "renderOnChange",
275
+ "parameters": [
276
+ {
277
+ "name": "target",
278
+ "type": {
279
+ "text": "FASTElement & { render(): void }"
280
+ },
281
+ "description": "The target to define the property change handler on."
282
+ },
283
+ {
284
+ "name": "name",
285
+ "type": {
286
+ "text": "string"
287
+ },
288
+ "description": "The property name."
289
+ }
290
+ ],
291
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
292
+ "privacy": "public"
293
+ }
294
+ ],
295
+ "exports": [
296
+ {
297
+ "kind": "js",
298
+ "name": "renderOnChange",
299
+ "declaration": {
300
+ "name": "renderOnChange",
301
+ "module": "src/decorators/renderOnChange.ts"
302
+ }
303
+ }
304
+ ]
305
+ },
306
+ {
307
+ "kind": "javascript-module",
308
+ "path": "src/data/inMemoryDatabase.ts",
309
+ "declarations": [
310
+ {
311
+ "kind": "class",
312
+ "description": "An in memory database of specific DatabaseRecord types.",
313
+ "name": "InMemoryDatabase",
314
+ "members": [
315
+ {
316
+ "kind": "field",
317
+ "name": "isWorking",
318
+ "type": {
319
+ "text": "boolean"
320
+ },
321
+ "privacy": "public",
322
+ "default": "false"
323
+ },
324
+ {
325
+ "kind": "field",
326
+ "name": "records",
327
+ "type": {
328
+ "text": "Record<string, T>"
329
+ },
330
+ "privacy": "private",
331
+ "default": "{}"
332
+ },
333
+ {
334
+ "kind": "field",
335
+ "name": "beforeUpdateListeners",
336
+ "privacy": "private"
337
+ },
338
+ {
339
+ "kind": "field",
340
+ "name": "afterUpdateListeners",
341
+ "privacy": "private"
342
+ },
343
+ {
344
+ "kind": "method",
345
+ "name": "create",
346
+ "privacy": "public",
347
+ "return": {
348
+ "type": {
349
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
350
+ }
351
+ },
352
+ "parameters": [
353
+ {
354
+ "name": "newValue",
355
+ "type": {
356
+ "text": "Omit<T, 'id'>"
357
+ }
358
+ }
359
+ ]
360
+ },
361
+ {
362
+ "kind": "method",
363
+ "name": "read",
364
+ "privacy": "public",
365
+ "return": {
366
+ "type": {
367
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
368
+ }
369
+ },
370
+ "parameters": [
371
+ {
372
+ "name": "id",
373
+ "type": {
374
+ "text": "string"
375
+ }
376
+ }
377
+ ]
378
+ },
379
+ {
380
+ "kind": "method",
381
+ "name": "update",
382
+ "privacy": "public",
383
+ "return": {
384
+ "type": {
385
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
386
+ }
387
+ },
388
+ "parameters": [
389
+ {
390
+ "name": "id",
391
+ "type": {
392
+ "text": "string"
393
+ }
394
+ },
395
+ {
396
+ "name": "newValue",
397
+ "type": {
398
+ "text": "Omit<Partial<T>, 'id'>"
399
+ }
400
+ }
401
+ ]
402
+ },
403
+ {
404
+ "kind": "method",
405
+ "name": "delete",
406
+ "privacy": "public",
407
+ "return": {
408
+ "type": {
409
+ "text": "Promise<DatabaseAccessResult.Delete>"
410
+ }
411
+ },
412
+ "parameters": [
413
+ {
414
+ "name": "id",
415
+ "type": {
416
+ "text": "string"
417
+ }
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "kind": "method",
423
+ "name": "visit",
424
+ "privacy": "public",
425
+ "return": {
426
+ "type": {
427
+ "text": "Promise<void>"
428
+ }
429
+ },
430
+ "parameters": [
431
+ {
432
+ "name": "visitor",
433
+ "type": {
434
+ "text": "(record: T) => void"
435
+ }
436
+ }
437
+ ]
438
+ },
439
+ {
440
+ "kind": "method",
441
+ "name": "onBeforeUpdate",
442
+ "privacy": "public",
443
+ "return": {
444
+ "type": {
445
+ "text": "() => void"
446
+ }
447
+ },
448
+ "parameters": [
449
+ {
450
+ "name": "listener",
451
+ "type": {
452
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
453
+ }
454
+ }
455
+ ]
456
+ },
457
+ {
458
+ "kind": "method",
459
+ "name": "onAfterUpdate",
460
+ "privacy": "public",
461
+ "return": {
462
+ "type": {
463
+ "text": "() => void"
464
+ }
465
+ },
466
+ "parameters": [
467
+ {
468
+ "name": "listener",
469
+ "type": {
470
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
471
+ }
472
+ }
473
+ ]
474
+ }
475
+ ]
476
+ }
477
+ ],
478
+ "exports": [
479
+ {
480
+ "kind": "js",
481
+ "name": "InMemoryDatabase",
482
+ "declaration": {
483
+ "name": "InMemoryDatabase",
484
+ "module": "src/data/inMemoryDatabase.ts"
485
+ }
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ "kind": "javascript-module",
491
+ "path": "src/data/index.ts",
492
+ "declarations": [],
493
+ "exports": [
494
+ {
495
+ "kind": "js",
496
+ "name": "*",
497
+ "declaration": {
498
+ "name": "*",
499
+ "package": "./inMemoryDatabase"
500
+ }
501
+ }
502
+ ]
503
+ },
253
504
  {
254
505
  "kind": "javascript-module",
255
506
  "path": "src/design-system/design-system.ts",
@@ -454,7 +705,7 @@
454
705
  },
455
706
  {
456
707
  "kind": "javascript-module",
457
- "path": "src/directives/index.ts",
708
+ "path": "src/encoding/index.ts",
458
709
  "declarations": [],
459
710
  "exports": [
460
711
  {
@@ -462,30 +713,7 @@
462
713
  "name": "*",
463
714
  "declaration": {
464
715
  "name": "*",
465
- "package": "./sync"
466
- }
467
- },
468
- {
469
- "kind": "js",
470
- "name": "*",
471
- "declaration": {
472
- "name": "*",
473
- "package": "./when-else"
474
- }
475
- }
476
- ]
477
- },
478
- {
479
- "kind": "javascript-module",
480
- "path": "src/encoding/index.ts",
481
- "declarations": [],
482
- "exports": [
483
- {
484
- "kind": "js",
485
- "name": "*",
486
- "declaration": {
487
- "name": "*",
488
- "package": "./base64"
716
+ "package": "./base64"
489
717
  }
490
718
  }
491
719
  ]
@@ -967,7 +1195,7 @@
967
1195
  },
968
1196
  {
969
1197
  "kind": "javascript-module",
970
- "path": "src/decorators/index.ts",
1198
+ "path": "src/directives/index.ts",
971
1199
  "declarations": [],
972
1200
  "exports": [
973
1201
  {
@@ -975,419 +1203,191 @@
975
1203
  "name": "*",
976
1204
  "declaration": {
977
1205
  "name": "*",
978
- "package": "./renderOnChange"
1206
+ "package": "./sync"
979
1207
  }
980
- }
981
- ]
982
- },
983
- {
984
- "kind": "javascript-module",
985
- "path": "src/decorators/renderOnChange.ts",
986
- "declarations": [
987
- {
988
- "kind": "function",
989
- "name": "renderOnChange",
990
- "parameters": [
991
- {
992
- "name": "target",
993
- "type": {
994
- "text": "FASTElement & { render(): void }"
995
- },
996
- "description": "The target to define the property change handler on."
997
- },
998
- {
999
- "name": "name",
1000
- "type": {
1001
- "text": "string"
1002
- },
1003
- "description": "The property name."
1004
- }
1005
- ],
1006
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1007
- "privacy": "public"
1008
- }
1009
- ],
1010
- "exports": [
1208
+ },
1011
1209
  {
1012
1210
  "kind": "js",
1013
- "name": "renderOnChange",
1211
+ "name": "*",
1014
1212
  "declaration": {
1015
- "name": "renderOnChange",
1016
- "module": "src/decorators/renderOnChange.ts"
1213
+ "name": "*",
1214
+ "package": "./when-else"
1017
1215
  }
1018
1216
  }
1019
1217
  ]
1020
1218
  },
1021
1219
  {
1022
1220
  "kind": "javascript-module",
1023
- "path": "src/data/inMemoryDatabase.ts",
1221
+ "path": "src/error/errorMap.ts",
1024
1222
  "declarations": [
1025
1223
  {
1026
1224
  "kind": "class",
1027
- "description": "An in memory database of specific DatabaseRecord types.",
1028
- "name": "InMemoryDatabase",
1225
+ "description": "",
1226
+ "name": "DefaultErrorMap",
1029
1227
  "members": [
1030
1228
  {
1031
1229
  "kind": "field",
1032
- "name": "isWorking",
1033
- "type": {
1034
- "text": "boolean"
1035
- },
1036
- "privacy": "public",
1037
- "default": "false"
1230
+ "name": "map",
1231
+ "privacy": "private",
1232
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
1038
1233
  },
1039
1234
  {
1040
1235
  "kind": "field",
1041
- "name": "records",
1236
+ "name": "lastError",
1042
1237
  "type": {
1043
- "text": "Record<string, T>"
1238
+ "text": "Error"
1044
1239
  },
1045
- "privacy": "private",
1046
- "default": "{}"
1047
- },
1048
- {
1049
- "kind": "field",
1050
- "name": "beforeUpdateListeners",
1051
- "privacy": "private"
1052
- },
1053
- {
1054
- "kind": "field",
1055
- "name": "afterUpdateListeners",
1056
- "privacy": "private"
1240
+ "description": "{@inheritDoc ErrorMap.lastError}"
1057
1241
  },
1058
1242
  {
1059
1243
  "kind": "method",
1060
- "name": "create",
1061
- "privacy": "public",
1244
+ "name": "set",
1062
1245
  "return": {
1063
1246
  "type": {
1064
- "text": "Promise<DatabaseAccessResult.Create<T>>"
1247
+ "text": "void"
1065
1248
  }
1066
1249
  },
1067
1250
  "parameters": [
1068
1251
  {
1069
- "name": "newValue",
1252
+ "name": "key",
1070
1253
  "type": {
1071
- "text": "Omit<T, 'id'>"
1254
+ "text": "keyof TErrorDetailMap"
1072
1255
  }
1073
- }
1074
- ]
1075
- },
1076
- {
1077
- "kind": "method",
1078
- "name": "read",
1079
- "privacy": "public",
1080
- "return": {
1081
- "type": {
1082
- "text": "Promise<DatabaseAccessResult.Read<T>>"
1083
- }
1084
- },
1085
- "parameters": [
1256
+ },
1086
1257
  {
1087
- "name": "id",
1258
+ "name": "error",
1088
1259
  "type": {
1089
- "text": "string"
1260
+ "text": "Error"
1090
1261
  }
1091
1262
  }
1092
- ]
1263
+ ],
1264
+ "description": "{@inheritDoc ErrorMap.set}"
1093
1265
  },
1094
1266
  {
1095
1267
  "kind": "method",
1096
- "name": "update",
1097
- "privacy": "public",
1268
+ "name": "get",
1098
1269
  "return": {
1099
1270
  "type": {
1100
- "text": "Promise<DatabaseAccessResult.Update<T>>"
1271
+ "text": ""
1101
1272
  }
1102
1273
  },
1103
1274
  "parameters": [
1104
1275
  {
1105
- "name": "id",
1106
- "type": {
1107
- "text": "string"
1108
- }
1109
- },
1110
- {
1111
- "name": "newValue",
1276
+ "name": "key",
1112
1277
  "type": {
1113
- "text": "Omit<Partial<T>, 'id'>"
1114
- }
1278
+ "text": "keyof TErrorDetailMap"
1279
+ },
1280
+ "description": "The key."
1115
1281
  }
1116
- ]
1282
+ ],
1283
+ "description": "Get an error by key.",
1284
+ "privacy": "public"
1117
1285
  },
1118
1286
  {
1119
1287
  "kind": "method",
1120
- "name": "delete",
1121
- "privacy": "public",
1288
+ "name": "has",
1122
1289
  "return": {
1123
1290
  "type": {
1124
- "text": "Promise<DatabaseAccessResult.Delete>"
1291
+ "text": ""
1125
1292
  }
1126
1293
  },
1127
1294
  "parameters": [
1128
1295
  {
1129
- "name": "id",
1296
+ "name": "key",
1130
1297
  "type": {
1131
- "text": "string"
1132
- }
1298
+ "text": "keyof TErrorDetailMap"
1299
+ },
1300
+ "description": "The key."
1133
1301
  }
1134
- ]
1302
+ ],
1303
+ "description": "Has an error for key.",
1304
+ "privacy": "public"
1135
1305
  },
1136
1306
  {
1137
1307
  "kind": "method",
1138
- "name": "visit",
1139
- "privacy": "public",
1308
+ "name": "delete",
1140
1309
  "return": {
1141
1310
  "type": {
1142
- "text": "Promise<void>"
1311
+ "text": ""
1143
1312
  }
1144
1313
  },
1145
1314
  "parameters": [
1146
1315
  {
1147
- "name": "visitor",
1316
+ "name": "key",
1148
1317
  "type": {
1149
- "text": "(record: T) => void"
1150
- }
1318
+ "text": "keyof TErrorDetailMap"
1319
+ },
1320
+ "description": "The key."
1151
1321
  }
1152
- ]
1322
+ ],
1323
+ "description": "Delete an error.",
1324
+ "privacy": "public"
1153
1325
  },
1154
1326
  {
1155
1327
  "kind": "method",
1156
- "name": "onBeforeUpdate",
1157
- "privacy": "public",
1328
+ "name": "clear",
1329
+ "description": "Clear errors.",
1330
+ "privacy": "public"
1331
+ },
1332
+ {
1333
+ "kind": "field",
1334
+ "name": "size",
1335
+ "type": {
1336
+ "text": "number"
1337
+ },
1338
+ "description": "The size of the error map.",
1158
1339
  "return": {
1159
1340
  "type": {
1160
- "text": "() => void"
1341
+ "text": ""
1161
1342
  }
1162
1343
  },
1163
- "parameters": [
1164
- {
1165
- "name": "listener",
1166
- "type": {
1167
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1168
- }
1169
- }
1170
- ]
1344
+ "privacy": "public",
1345
+ "readonly": true
1171
1346
  },
1172
1347
  {
1173
1348
  "kind": "method",
1174
- "name": "onAfterUpdate",
1175
- "privacy": "public",
1176
- "return": {
1177
- "type": {
1178
- "text": "() => void"
1179
- }
1349
+ "name": "values",
1350
+ "privacy": "public"
1351
+ },
1352
+ {
1353
+ "kind": "field",
1354
+ "name": "messages",
1355
+ "type": {
1356
+ "text": "string"
1180
1357
  },
1181
- "parameters": [
1182
- {
1183
- "name": "listener",
1184
- "type": {
1185
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1186
- }
1187
- }
1188
- ]
1358
+ "description": "{@inheritDoc ErrorMap.messages}",
1359
+ "readonly": true
1189
1360
  }
1190
1361
  ]
1362
+ },
1363
+ {
1364
+ "kind": "function",
1365
+ "name": "createErrorMap",
1366
+ "return": {
1367
+ "type": {
1368
+ "text": ""
1369
+ }
1370
+ },
1371
+ "parameters": [
1372
+ {
1373
+ "name": "logger",
1374
+ "type": {
1375
+ "text": "ErrorMapLogger"
1376
+ },
1377
+ "description": "A logger error method reference."
1378
+ }
1379
+ ],
1380
+ "description": "A factory to create the error map.",
1381
+ "privacy": "public"
1191
1382
  }
1192
1383
  ],
1193
1384
  "exports": [
1194
1385
  {
1195
1386
  "kind": "js",
1196
- "name": "InMemoryDatabase",
1387
+ "name": "DefaultErrorMap",
1197
1388
  "declaration": {
1198
- "name": "InMemoryDatabase",
1199
- "module": "src/data/inMemoryDatabase.ts"
1200
- }
1201
- }
1202
- ]
1203
- },
1204
- {
1205
- "kind": "javascript-module",
1206
- "path": "src/data/index.ts",
1207
- "declarations": [],
1208
- "exports": [
1209
- {
1210
- "kind": "js",
1211
- "name": "*",
1212
- "declaration": {
1213
- "name": "*",
1214
- "package": "./inMemoryDatabase"
1215
- }
1216
- }
1217
- ]
1218
- },
1219
- {
1220
- "kind": "javascript-module",
1221
- "path": "src/error/errorMap.ts",
1222
- "declarations": [
1223
- {
1224
- "kind": "class",
1225
- "description": "",
1226
- "name": "DefaultErrorMap",
1227
- "members": [
1228
- {
1229
- "kind": "field",
1230
- "name": "map",
1231
- "privacy": "private",
1232
- "default": "new Map<keyof TErrorDetailMap, Error>()"
1233
- },
1234
- {
1235
- "kind": "field",
1236
- "name": "lastError",
1237
- "type": {
1238
- "text": "Error"
1239
- },
1240
- "description": "{@inheritDoc ErrorMap.lastError}"
1241
- },
1242
- {
1243
- "kind": "method",
1244
- "name": "set",
1245
- "return": {
1246
- "type": {
1247
- "text": "void"
1248
- }
1249
- },
1250
- "parameters": [
1251
- {
1252
- "name": "key",
1253
- "type": {
1254
- "text": "keyof TErrorDetailMap"
1255
- }
1256
- },
1257
- {
1258
- "name": "error",
1259
- "type": {
1260
- "text": "Error"
1261
- }
1262
- }
1263
- ],
1264
- "description": "{@inheritDoc ErrorMap.set}"
1265
- },
1266
- {
1267
- "kind": "method",
1268
- "name": "get",
1269
- "return": {
1270
- "type": {
1271
- "text": ""
1272
- }
1273
- },
1274
- "parameters": [
1275
- {
1276
- "name": "key",
1277
- "type": {
1278
- "text": "keyof TErrorDetailMap"
1279
- },
1280
- "description": "The key."
1281
- }
1282
- ],
1283
- "description": "Get an error by key.",
1284
- "privacy": "public"
1285
- },
1286
- {
1287
- "kind": "method",
1288
- "name": "has",
1289
- "return": {
1290
- "type": {
1291
- "text": ""
1292
- }
1293
- },
1294
- "parameters": [
1295
- {
1296
- "name": "key",
1297
- "type": {
1298
- "text": "keyof TErrorDetailMap"
1299
- },
1300
- "description": "The key."
1301
- }
1302
- ],
1303
- "description": "Has an error for key.",
1304
- "privacy": "public"
1305
- },
1306
- {
1307
- "kind": "method",
1308
- "name": "delete",
1309
- "return": {
1310
- "type": {
1311
- "text": ""
1312
- }
1313
- },
1314
- "parameters": [
1315
- {
1316
- "name": "key",
1317
- "type": {
1318
- "text": "keyof TErrorDetailMap"
1319
- },
1320
- "description": "The key."
1321
- }
1322
- ],
1323
- "description": "Delete an error.",
1324
- "privacy": "public"
1325
- },
1326
- {
1327
- "kind": "method",
1328
- "name": "clear",
1329
- "description": "Clear errors.",
1330
- "privacy": "public"
1331
- },
1332
- {
1333
- "kind": "field",
1334
- "name": "size",
1335
- "type": {
1336
- "text": "number"
1337
- },
1338
- "description": "The size of the error map.",
1339
- "return": {
1340
- "type": {
1341
- "text": ""
1342
- }
1343
- },
1344
- "privacy": "public",
1345
- "readonly": true
1346
- },
1347
- {
1348
- "kind": "method",
1349
- "name": "values",
1350
- "privacy": "public"
1351
- },
1352
- {
1353
- "kind": "field",
1354
- "name": "messages",
1355
- "type": {
1356
- "text": "string"
1357
- },
1358
- "description": "{@inheritDoc ErrorMap.messages}",
1359
- "readonly": true
1360
- }
1361
- ]
1362
- },
1363
- {
1364
- "kind": "function",
1365
- "name": "createErrorMap",
1366
- "return": {
1367
- "type": {
1368
- "text": ""
1369
- }
1370
- },
1371
- "parameters": [
1372
- {
1373
- "name": "logger",
1374
- "type": {
1375
- "text": "ErrorMapLogger"
1376
- },
1377
- "description": "A logger error method reference."
1378
- }
1379
- ],
1380
- "description": "A factory to create the error map.",
1381
- "privacy": "public"
1382
- }
1383
- ],
1384
- "exports": [
1385
- {
1386
- "kind": "js",
1387
- "name": "DefaultErrorMap",
1388
- "declaration": {
1389
- "name": "DefaultErrorMap",
1390
- "module": "src/error/errorMap.ts"
1389
+ "name": "DefaultErrorMap",
1390
+ "module": "src/error/errorMap.ts"
1391
1391
  }
1392
1392
  },
1393
1393
  {
@@ -4823,160 +4823,6 @@
4823
4823
  }
4824
4824
  ]
4825
4825
  },
4826
- {
4827
- "kind": "javascript-module",
4828
- "path": "src/directives/sync/index.ts",
4829
- "declarations": [],
4830
- "exports": [
4831
- {
4832
- "kind": "js",
4833
- "name": "*",
4834
- "declaration": {
4835
- "name": "*",
4836
- "package": "./sync"
4837
- }
4838
- }
4839
- ]
4840
- },
4841
- {
4842
- "kind": "javascript-module",
4843
- "path": "src/directives/sync/sync.ts",
4844
- "declarations": [
4845
- {
4846
- "kind": "variable",
4847
- "name": "defaultEventMap",
4848
- "type": {
4849
- "text": "Map<string, EventName>"
4850
- },
4851
- "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
4852
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4853
- "privacy": "public"
4854
- },
4855
- {
4856
- "kind": "function",
4857
- "name": "sync",
4858
- "return": {
4859
- "type": {
4860
- "text": "CaptureType<TSource>"
4861
- }
4862
- },
4863
- "parameters": [
4864
- {
4865
- "name": "binding",
4866
- "type": {
4867
- "text": "Binding<TSource, TReturn>"
4868
- }
4869
- },
4870
- {
4871
- "name": "conversionType",
4872
- "default": "'string'",
4873
- "type": {
4874
- "text": "ConversionType"
4875
- }
4876
- },
4877
- {
4878
- "name": "eventName",
4879
- "default": "'default'",
4880
- "type": {
4881
- "text": "EventName"
4882
- }
4883
- },
4884
- {
4885
- "name": "keyAttr",
4886
- "optional": true,
4887
- "type": {
4888
- "text": "string"
4889
- }
4890
- }
4891
- ],
4892
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4893
- "privacy": "public"
4894
- }
4895
- ],
4896
- "exports": [
4897
- {
4898
- "kind": "js",
4899
- "name": "defaultEventMap",
4900
- "declaration": {
4901
- "name": "defaultEventMap",
4902
- "module": "src/directives/sync/sync.ts"
4903
- }
4904
- },
4905
- {
4906
- "kind": "js",
4907
- "name": "sync",
4908
- "declaration": {
4909
- "name": "sync",
4910
- "module": "src/directives/sync/sync.ts"
4911
- }
4912
- }
4913
- ]
4914
- },
4915
- {
4916
- "kind": "javascript-module",
4917
- "path": "src/directives/when-else/index.ts",
4918
- "declarations": [],
4919
- "exports": [
4920
- {
4921
- "kind": "js",
4922
- "name": "*",
4923
- "declaration": {
4924
- "name": "*",
4925
- "package": "./when-else"
4926
- }
4927
- }
4928
- ]
4929
- },
4930
- {
4931
- "kind": "javascript-module",
4932
- "path": "src/directives/when-else/when-else.ts",
4933
- "declarations": [
4934
- {
4935
- "kind": "function",
4936
- "name": "whenElse",
4937
- "return": {
4938
- "type": {
4939
- "text": "CaptureType<TSource>"
4940
- }
4941
- },
4942
- "parameters": [
4943
- {
4944
- "name": "binding",
4945
- "type": {
4946
- "text": "Binding<TSource, TReturn>"
4947
- },
4948
- "description": "The condition to test for rendering."
4949
- },
4950
- {
4951
- "name": "trueTemplateOrTemplateBinding",
4952
- "type": {
4953
- "text": "WhenTemplate<TSource>"
4954
- },
4955
- "description": "The template or a binding that gets the template to render when the condition is true."
4956
- },
4957
- {
4958
- "name": "falseTemplateOrTemplateBinding",
4959
- "type": {
4960
- "text": "WhenTemplate<TSource>"
4961
- },
4962
- "description": "The template or a binding that gets the template to render when the condition is false."
4963
- }
4964
- ],
4965
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4966
- "privacy": "public"
4967
- }
4968
- ],
4969
- "exports": [
4970
- {
4971
- "kind": "js",
4972
- "name": "whenElse",
4973
- "declaration": {
4974
- "name": "whenElse",
4975
- "module": "src/directives/when-else/when-else.ts"
4976
- }
4977
- }
4978
- ]
4979
- },
4980
4826
  {
4981
4827
  "kind": "javascript-module",
4982
4828
  "path": "src/encoding/base64/decode.ts",
@@ -5131,6 +4977,160 @@
5131
4977
  }
5132
4978
  ]
5133
4979
  },
4980
+ {
4981
+ "kind": "javascript-module",
4982
+ "path": "src/directives/sync/index.ts",
4983
+ "declarations": [],
4984
+ "exports": [
4985
+ {
4986
+ "kind": "js",
4987
+ "name": "*",
4988
+ "declaration": {
4989
+ "name": "*",
4990
+ "package": "./sync"
4991
+ }
4992
+ }
4993
+ ]
4994
+ },
4995
+ {
4996
+ "kind": "javascript-module",
4997
+ "path": "src/directives/sync/sync.ts",
4998
+ "declarations": [
4999
+ {
5000
+ "kind": "variable",
5001
+ "name": "defaultEventMap",
5002
+ "type": {
5003
+ "text": "Map<string, EventName>"
5004
+ },
5005
+ "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
5006
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
5007
+ "privacy": "public"
5008
+ },
5009
+ {
5010
+ "kind": "function",
5011
+ "name": "sync",
5012
+ "return": {
5013
+ "type": {
5014
+ "text": "CaptureType<TSource>"
5015
+ }
5016
+ },
5017
+ "parameters": [
5018
+ {
5019
+ "name": "binding",
5020
+ "type": {
5021
+ "text": "Binding<TSource, TReturn>"
5022
+ }
5023
+ },
5024
+ {
5025
+ "name": "conversionType",
5026
+ "default": "'string'",
5027
+ "type": {
5028
+ "text": "ConversionType"
5029
+ }
5030
+ },
5031
+ {
5032
+ "name": "eventName",
5033
+ "default": "'default'",
5034
+ "type": {
5035
+ "text": "EventName"
5036
+ }
5037
+ },
5038
+ {
5039
+ "name": "keyAttr",
5040
+ "optional": true,
5041
+ "type": {
5042
+ "text": "string"
5043
+ }
5044
+ }
5045
+ ],
5046
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
5047
+ "privacy": "public"
5048
+ }
5049
+ ],
5050
+ "exports": [
5051
+ {
5052
+ "kind": "js",
5053
+ "name": "defaultEventMap",
5054
+ "declaration": {
5055
+ "name": "defaultEventMap",
5056
+ "module": "src/directives/sync/sync.ts"
5057
+ }
5058
+ },
5059
+ {
5060
+ "kind": "js",
5061
+ "name": "sync",
5062
+ "declaration": {
5063
+ "name": "sync",
5064
+ "module": "src/directives/sync/sync.ts"
5065
+ }
5066
+ }
5067
+ ]
5068
+ },
5069
+ {
5070
+ "kind": "javascript-module",
5071
+ "path": "src/directives/when-else/index.ts",
5072
+ "declarations": [],
5073
+ "exports": [
5074
+ {
5075
+ "kind": "js",
5076
+ "name": "*",
5077
+ "declaration": {
5078
+ "name": "*",
5079
+ "package": "./when-else"
5080
+ }
5081
+ }
5082
+ ]
5083
+ },
5084
+ {
5085
+ "kind": "javascript-module",
5086
+ "path": "src/directives/when-else/when-else.ts",
5087
+ "declarations": [
5088
+ {
5089
+ "kind": "function",
5090
+ "name": "whenElse",
5091
+ "return": {
5092
+ "type": {
5093
+ "text": "CaptureType<TSource>"
5094
+ }
5095
+ },
5096
+ "parameters": [
5097
+ {
5098
+ "name": "binding",
5099
+ "type": {
5100
+ "text": "Binding<TSource, TReturn>"
5101
+ },
5102
+ "description": "The condition to test for rendering."
5103
+ },
5104
+ {
5105
+ "name": "trueTemplateOrTemplateBinding",
5106
+ "type": {
5107
+ "text": "WhenTemplate<TSource>"
5108
+ },
5109
+ "description": "The template or a binding that gets the template to render when the condition is true."
5110
+ },
5111
+ {
5112
+ "name": "falseTemplateOrTemplateBinding",
5113
+ "type": {
5114
+ "text": "WhenTemplate<TSource>"
5115
+ },
5116
+ "description": "The template or a binding that gets the template to render when the condition is false."
5117
+ }
5118
+ ],
5119
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
5120
+ "privacy": "public"
5121
+ }
5122
+ ],
5123
+ "exports": [
5124
+ {
5125
+ "kind": "js",
5126
+ "name": "whenElse",
5127
+ "declaration": {
5128
+ "name": "whenElse",
5129
+ "module": "src/directives/when-else/when-else.ts"
5130
+ }
5131
+ }
5132
+ ]
5133
+ },
5134
5134
  {
5135
5135
  "kind": "javascript-module",
5136
5136
  "path": "src/mappers/dto/index.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "14.451.2-FUI-2550.1",
4
+ "version": "14.451.2-FUI-2550.4",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,18 +29,18 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "14.451.2-FUI-2550.1",
33
- "@genesislcap/genx": "14.451.2-FUI-2550.1",
34
- "@genesislcap/rollup-builder": "14.451.2-FUI-2550.1",
35
- "@genesislcap/ts-builder": "14.451.2-FUI-2550.1",
36
- "@genesislcap/uvu-playwright-builder": "14.451.2-FUI-2550.1",
37
- "@genesislcap/vite-builder": "14.451.2-FUI-2550.1",
38
- "@genesislcap/webpack-builder": "14.451.2-FUI-2550.1",
32
+ "@genesislcap/foundation-testing": "14.451.2-FUI-2550.4",
33
+ "@genesislcap/genx": "14.451.2-FUI-2550.4",
34
+ "@genesislcap/rollup-builder": "14.451.2-FUI-2550.4",
35
+ "@genesislcap/ts-builder": "14.451.2-FUI-2550.4",
36
+ "@genesislcap/uvu-playwright-builder": "14.451.2-FUI-2550.4",
37
+ "@genesislcap/vite-builder": "14.451.2-FUI-2550.4",
38
+ "@genesislcap/webpack-builder": "14.451.2-FUI-2550.4",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.451.2-FUI-2550.1",
43
- "@genesislcap/foundation-logger": "14.451.2-FUI-2550.1",
42
+ "@genesislcap/expression-builder": "14.451.2-FUI-2550.4",
43
+ "@genesislcap/foundation-logger": "14.451.2-FUI-2550.4",
44
44
  "@microsoft/fast-components": "2.30.6",
45
45
  "@microsoft/fast-element": "1.14.0",
46
46
  "@microsoft/fast-foundation": "2.50.0",
@@ -58,5 +58,5 @@
58
58
  "access": "public"
59
59
  },
60
60
  "customElements": "dist/custom-elements.json",
61
- "gitHead": "66dcfaa6711a02dc94ffc5934a69d312054dfe0b"
61
+ "gitHead": "eec1ec9a43449a08439095922d329f5fe851b50e"
62
62
  }