@genesislcap/foundation-utils 14.482.2-alpha-397d953.0 → 14.483.1-alpha-aaddab2.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +507 -507
  2. package/package.json +11 -11
@@ -250,257 +250,6 @@
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
- },
504
253
  {
505
254
  "kind": "javascript-module",
506
255
  "path": "src/design-system/design-system.ts",
@@ -705,7 +454,7 @@
705
454
  },
706
455
  {
707
456
  "kind": "javascript-module",
708
- "path": "src/encoding/index.ts",
457
+ "path": "src/directives/index.ts",
709
458
  "declarations": [],
710
459
  "exports": [
711
460
  {
@@ -713,9 +462,32 @@
713
462
  "name": "*",
714
463
  "declaration": {
715
464
  "name": "*",
716
- "package": "./base64"
465
+ "package": "./sync"
717
466
  }
718
- }
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"
489
+ }
490
+ }
719
491
  ]
720
492
  },
721
493
  {
@@ -1195,7 +967,7 @@
1195
967
  },
1196
968
  {
1197
969
  "kind": "javascript-module",
1198
- "path": "src/directives/index.ts",
970
+ "path": "src/decorators/index.ts",
1199
971
  "declarations": [],
1200
972
  "exports": [
1201
973
  {
@@ -1203,192 +975,420 @@
1203
975
  "name": "*",
1204
976
  "declaration": {
1205
977
  "name": "*",
1206
- "package": "./sync"
978
+ "package": "./renderOnChange"
1207
979
  }
1208
- },
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": [
1209
1011
  {
1210
1012
  "kind": "js",
1211
- "name": "*",
1013
+ "name": "renderOnChange",
1212
1014
  "declaration": {
1213
- "name": "*",
1214
- "package": "./when-else"
1015
+ "name": "renderOnChange",
1016
+ "module": "src/decorators/renderOnChange.ts"
1215
1017
  }
1216
1018
  }
1217
1019
  ]
1218
1020
  },
1219
1021
  {
1220
1022
  "kind": "javascript-module",
1221
- "path": "src/error/errorMap.ts",
1023
+ "path": "src/data/inMemoryDatabase.ts",
1222
1024
  "declarations": [
1223
1025
  {
1224
1026
  "kind": "class",
1225
- "description": "",
1226
- "name": "DefaultErrorMap",
1027
+ "description": "An in memory database of specific DatabaseRecord types.",
1028
+ "name": "InMemoryDatabase",
1227
1029
  "members": [
1228
1030
  {
1229
1031
  "kind": "field",
1230
- "name": "map",
1231
- "privacy": "private",
1232
- "default": "new Map<keyof TErrorDetailMap, Error>()"
1032
+ "name": "isWorking",
1033
+ "type": {
1034
+ "text": "boolean"
1035
+ },
1036
+ "privacy": "public",
1037
+ "default": "false"
1233
1038
  },
1234
1039
  {
1235
1040
  "kind": "field",
1236
- "name": "lastError",
1041
+ "name": "records",
1237
1042
  "type": {
1238
- "text": "Error"
1043
+ "text": "Record<string, T>"
1239
1044
  },
1240
- "description": "{@inheritDoc ErrorMap.lastError}"
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"
1241
1057
  },
1242
1058
  {
1243
1059
  "kind": "method",
1244
- "name": "set",
1060
+ "name": "create",
1061
+ "privacy": "public",
1245
1062
  "return": {
1246
1063
  "type": {
1247
- "text": "void"
1064
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
1248
1065
  }
1249
1066
  },
1250
1067
  "parameters": [
1251
1068
  {
1252
- "name": "key",
1253
- "type": {
1254
- "text": "keyof TErrorDetailMap"
1255
- }
1256
- },
1257
- {
1258
- "name": "error",
1069
+ "name": "newValue",
1259
1070
  "type": {
1260
- "text": "Error"
1071
+ "text": "Omit<T, 'id'>"
1261
1072
  }
1262
1073
  }
1263
- ],
1264
- "description": "{@inheritDoc ErrorMap.set}"
1074
+ ]
1265
1075
  },
1266
1076
  {
1267
1077
  "kind": "method",
1268
- "name": "get",
1078
+ "name": "read",
1079
+ "privacy": "public",
1269
1080
  "return": {
1270
1081
  "type": {
1271
- "text": ""
1082
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
1272
1083
  }
1273
1084
  },
1274
1085
  "parameters": [
1275
1086
  {
1276
- "name": "key",
1087
+ "name": "id",
1277
1088
  "type": {
1278
- "text": "keyof TErrorDetailMap"
1279
- },
1280
- "description": "The key."
1089
+ "text": "string"
1090
+ }
1281
1091
  }
1282
- ],
1283
- "description": "Get an error by key.",
1284
- "privacy": "public"
1092
+ ]
1285
1093
  },
1286
1094
  {
1287
1095
  "kind": "method",
1288
- "name": "has",
1096
+ "name": "update",
1097
+ "privacy": "public",
1289
1098
  "return": {
1290
1099
  "type": {
1291
- "text": ""
1100
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
1292
1101
  }
1293
1102
  },
1294
1103
  "parameters": [
1295
1104
  {
1296
- "name": "key",
1105
+ "name": "id",
1297
1106
  "type": {
1298
- "text": "keyof TErrorDetailMap"
1299
- },
1300
- "description": "The key."
1107
+ "text": "string"
1108
+ }
1109
+ },
1110
+ {
1111
+ "name": "newValue",
1112
+ "type": {
1113
+ "text": "Omit<Partial<T>, 'id'>"
1114
+ }
1301
1115
  }
1302
- ],
1303
- "description": "Has an error for key.",
1304
- "privacy": "public"
1116
+ ]
1305
1117
  },
1306
1118
  {
1307
1119
  "kind": "method",
1308
1120
  "name": "delete",
1121
+ "privacy": "public",
1309
1122
  "return": {
1310
1123
  "type": {
1311
- "text": ""
1124
+ "text": "Promise<DatabaseAccessResult.Delete>"
1312
1125
  }
1313
1126
  },
1314
1127
  "parameters": [
1315
1128
  {
1316
- "name": "key",
1129
+ "name": "id",
1317
1130
  "type": {
1318
- "text": "keyof TErrorDetailMap"
1319
- },
1320
- "description": "The key."
1131
+ "text": "string"
1132
+ }
1321
1133
  }
1322
- ],
1323
- "description": "Delete an error.",
1324
- "privacy": "public"
1134
+ ]
1325
1135
  },
1326
1136
  {
1327
1137
  "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.",
1138
+ "name": "visit",
1139
+ "privacy": "public",
1339
1140
  "return": {
1340
1141
  "type": {
1341
- "text": ""
1142
+ "text": "Promise<void>"
1342
1143
  }
1343
1144
  },
1344
- "privacy": "public",
1345
- "readonly": true
1145
+ "parameters": [
1146
+ {
1147
+ "name": "visitor",
1148
+ "type": {
1149
+ "text": "(record: T) => void"
1150
+ }
1151
+ }
1152
+ ]
1346
1153
  },
1347
1154
  {
1348
1155
  "kind": "method",
1349
- "name": "values",
1350
- "privacy": "public"
1156
+ "name": "onBeforeUpdate",
1157
+ "privacy": "public",
1158
+ "return": {
1159
+ "type": {
1160
+ "text": "() => void"
1161
+ }
1162
+ },
1163
+ "parameters": [
1164
+ {
1165
+ "name": "listener",
1166
+ "type": {
1167
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1168
+ }
1169
+ }
1170
+ ]
1351
1171
  },
1352
1172
  {
1353
- "kind": "field",
1354
- "name": "messages",
1355
- "type": {
1356
- "text": "string"
1173
+ "kind": "method",
1174
+ "name": "onAfterUpdate",
1175
+ "privacy": "public",
1176
+ "return": {
1177
+ "type": {
1178
+ "text": "() => void"
1179
+ }
1357
1180
  },
1358
- "description": "{@inheritDoc ErrorMap.messages}",
1359
- "readonly": true
1181
+ "parameters": [
1182
+ {
1183
+ "name": "listener",
1184
+ "type": {
1185
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1186
+ }
1187
+ }
1188
+ ]
1360
1189
  }
1361
1190
  ]
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
1191
  }
1383
1192
  ],
1384
1193
  "exports": [
1385
1194
  {
1386
1195
  "kind": "js",
1387
- "name": "DefaultErrorMap",
1196
+ "name": "InMemoryDatabase",
1388
1197
  "declaration": {
1389
- "name": "DefaultErrorMap",
1390
- "module": "src/error/errorMap.ts"
1391
- }
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"
1391
+ }
1392
1392
  },
1393
1393
  {
1394
1394
  "kind": "js",
@@ -4823,160 +4823,6 @@
4823
4823
  }
4824
4824
  ]
4825
4825
  },
4826
- {
4827
- "kind": "javascript-module",
4828
- "path": "src/encoding/base64/decode.ts",
4829
- "declarations": [
4830
- {
4831
- "kind": "function",
4832
- "name": "decodeFromBase64",
4833
- "return": {
4834
- "type": {
4835
- "text": ""
4836
- }
4837
- },
4838
- "parameters": [
4839
- {
4840
- "name": "base64Value",
4841
- "type": {
4842
- "text": "string"
4843
- }
4844
- },
4845
- {
4846
- "description": "The value to decode from base64.",
4847
- "name": "value"
4848
- }
4849
- ],
4850
- "description": "Decodes a value from base64.",
4851
- "privacy": "public"
4852
- },
4853
- {
4854
- "kind": "function",
4855
- "name": "decodeFromBase64WithPrefix",
4856
- "return": {
4857
- "type": {
4858
- "text": ""
4859
- }
4860
- },
4861
- "parameters": [
4862
- {
4863
- "name": "value",
4864
- "type": {
4865
- "text": "string"
4866
- },
4867
- "description": "The value to decode from base64."
4868
- }
4869
- ],
4870
- "description": "Decodes a value from base64 with a prefix.",
4871
- "privacy": "public"
4872
- }
4873
- ],
4874
- "exports": [
4875
- {
4876
- "kind": "js",
4877
- "name": "decodeFromBase64",
4878
- "declaration": {
4879
- "name": "decodeFromBase64",
4880
- "module": "src/encoding/base64/decode.ts"
4881
- }
4882
- },
4883
- {
4884
- "kind": "js",
4885
- "name": "decodeFromBase64WithPrefix",
4886
- "declaration": {
4887
- "name": "decodeFromBase64WithPrefix",
4888
- "module": "src/encoding/base64/decode.ts"
4889
- }
4890
- }
4891
- ]
4892
- },
4893
- {
4894
- "kind": "javascript-module",
4895
- "path": "src/encoding/base64/encode.ts",
4896
- "declarations": [
4897
- {
4898
- "kind": "function",
4899
- "name": "encodeToBase64",
4900
- "return": {
4901
- "type": {
4902
- "text": ""
4903
- }
4904
- },
4905
- "parameters": [
4906
- {
4907
- "name": "value",
4908
- "type": {
4909
- "text": "string | ArrayBuffer"
4910
- },
4911
- "description": "The value to encode to base64."
4912
- }
4913
- ],
4914
- "description": "Encodes the given value to base64.",
4915
- "privacy": "public"
4916
- },
4917
- {
4918
- "kind": "function",
4919
- "name": "encodeToBase64WithPrefix",
4920
- "return": {
4921
- "type": {
4922
- "text": ""
4923
- }
4924
- },
4925
- "parameters": [
4926
- {
4927
- "name": "value",
4928
- "type": {
4929
- "text": "string | ArrayBuffer"
4930
- },
4931
- "description": "The value to encode to base64."
4932
- }
4933
- ],
4934
- "description": "Encodes the given value with a prefix to base64.",
4935
- "privacy": "public"
4936
- }
4937
- ],
4938
- "exports": [
4939
- {
4940
- "kind": "js",
4941
- "name": "encodeToBase64",
4942
- "declaration": {
4943
- "name": "encodeToBase64",
4944
- "module": "src/encoding/base64/encode.ts"
4945
- }
4946
- },
4947
- {
4948
- "kind": "js",
4949
- "name": "encodeToBase64WithPrefix",
4950
- "declaration": {
4951
- "name": "encodeToBase64WithPrefix",
4952
- "module": "src/encoding/base64/encode.ts"
4953
- }
4954
- }
4955
- ]
4956
- },
4957
- {
4958
- "kind": "javascript-module",
4959
- "path": "src/encoding/base64/index.ts",
4960
- "declarations": [],
4961
- "exports": [
4962
- {
4963
- "kind": "js",
4964
- "name": "*",
4965
- "declaration": {
4966
- "name": "*",
4967
- "package": "./decode"
4968
- }
4969
- },
4970
- {
4971
- "kind": "js",
4972
- "name": "*",
4973
- "declaration": {
4974
- "name": "*",
4975
- "package": "./encode"
4976
- }
4977
- }
4978
- ]
4979
- },
4980
4826
  {
4981
4827
  "kind": "javascript-module",
4982
4828
  "path": "src/directives/sync/index.ts",
@@ -5131,6 +4977,160 @@
5131
4977
  }
5132
4978
  ]
5133
4979
  },
4980
+ {
4981
+ "kind": "javascript-module",
4982
+ "path": "src/encoding/base64/decode.ts",
4983
+ "declarations": [
4984
+ {
4985
+ "kind": "function",
4986
+ "name": "decodeFromBase64",
4987
+ "return": {
4988
+ "type": {
4989
+ "text": ""
4990
+ }
4991
+ },
4992
+ "parameters": [
4993
+ {
4994
+ "name": "base64Value",
4995
+ "type": {
4996
+ "text": "string"
4997
+ }
4998
+ },
4999
+ {
5000
+ "description": "The value to decode from base64.",
5001
+ "name": "value"
5002
+ }
5003
+ ],
5004
+ "description": "Decodes a value from base64.",
5005
+ "privacy": "public"
5006
+ },
5007
+ {
5008
+ "kind": "function",
5009
+ "name": "decodeFromBase64WithPrefix",
5010
+ "return": {
5011
+ "type": {
5012
+ "text": ""
5013
+ }
5014
+ },
5015
+ "parameters": [
5016
+ {
5017
+ "name": "value",
5018
+ "type": {
5019
+ "text": "string"
5020
+ },
5021
+ "description": "The value to decode from base64."
5022
+ }
5023
+ ],
5024
+ "description": "Decodes a value from base64 with a prefix.",
5025
+ "privacy": "public"
5026
+ }
5027
+ ],
5028
+ "exports": [
5029
+ {
5030
+ "kind": "js",
5031
+ "name": "decodeFromBase64",
5032
+ "declaration": {
5033
+ "name": "decodeFromBase64",
5034
+ "module": "src/encoding/base64/decode.ts"
5035
+ }
5036
+ },
5037
+ {
5038
+ "kind": "js",
5039
+ "name": "decodeFromBase64WithPrefix",
5040
+ "declaration": {
5041
+ "name": "decodeFromBase64WithPrefix",
5042
+ "module": "src/encoding/base64/decode.ts"
5043
+ }
5044
+ }
5045
+ ]
5046
+ },
5047
+ {
5048
+ "kind": "javascript-module",
5049
+ "path": "src/encoding/base64/encode.ts",
5050
+ "declarations": [
5051
+ {
5052
+ "kind": "function",
5053
+ "name": "encodeToBase64",
5054
+ "return": {
5055
+ "type": {
5056
+ "text": ""
5057
+ }
5058
+ },
5059
+ "parameters": [
5060
+ {
5061
+ "name": "value",
5062
+ "type": {
5063
+ "text": "string | ArrayBuffer"
5064
+ },
5065
+ "description": "The value to encode to base64."
5066
+ }
5067
+ ],
5068
+ "description": "Encodes the given value to base64.",
5069
+ "privacy": "public"
5070
+ },
5071
+ {
5072
+ "kind": "function",
5073
+ "name": "encodeToBase64WithPrefix",
5074
+ "return": {
5075
+ "type": {
5076
+ "text": ""
5077
+ }
5078
+ },
5079
+ "parameters": [
5080
+ {
5081
+ "name": "value",
5082
+ "type": {
5083
+ "text": "string | ArrayBuffer"
5084
+ },
5085
+ "description": "The value to encode to base64."
5086
+ }
5087
+ ],
5088
+ "description": "Encodes the given value with a prefix to base64.",
5089
+ "privacy": "public"
5090
+ }
5091
+ ],
5092
+ "exports": [
5093
+ {
5094
+ "kind": "js",
5095
+ "name": "encodeToBase64",
5096
+ "declaration": {
5097
+ "name": "encodeToBase64",
5098
+ "module": "src/encoding/base64/encode.ts"
5099
+ }
5100
+ },
5101
+ {
5102
+ "kind": "js",
5103
+ "name": "encodeToBase64WithPrefix",
5104
+ "declaration": {
5105
+ "name": "encodeToBase64WithPrefix",
5106
+ "module": "src/encoding/base64/encode.ts"
5107
+ }
5108
+ }
5109
+ ]
5110
+ },
5111
+ {
5112
+ "kind": "javascript-module",
5113
+ "path": "src/encoding/base64/index.ts",
5114
+ "declarations": [],
5115
+ "exports": [
5116
+ {
5117
+ "kind": "js",
5118
+ "name": "*",
5119
+ "declaration": {
5120
+ "name": "*",
5121
+ "package": "./decode"
5122
+ }
5123
+ },
5124
+ {
5125
+ "kind": "js",
5126
+ "name": "*",
5127
+ "declaration": {
5128
+ "name": "*",
5129
+ "package": "./encode"
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.482.2-alpha-397d953.0",
4
+ "version": "14.483.1-alpha-aaddab2.0",
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.482.2-alpha-397d953.0",
33
- "@genesislcap/genx": "14.482.2-alpha-397d953.0",
34
- "@genesislcap/rollup-builder": "14.482.2-alpha-397d953.0",
35
- "@genesislcap/ts-builder": "14.482.2-alpha-397d953.0",
36
- "@genesislcap/uvu-playwright-builder": "14.482.2-alpha-397d953.0",
37
- "@genesislcap/vite-builder": "14.482.2-alpha-397d953.0",
38
- "@genesislcap/webpack-builder": "14.482.2-alpha-397d953.0",
32
+ "@genesislcap/foundation-testing": "14.483.1-alpha-aaddab2.0",
33
+ "@genesislcap/genx": "14.483.1-alpha-aaddab2.0",
34
+ "@genesislcap/rollup-builder": "14.483.1-alpha-aaddab2.0",
35
+ "@genesislcap/ts-builder": "14.483.1-alpha-aaddab2.0",
36
+ "@genesislcap/uvu-playwright-builder": "14.483.1-alpha-aaddab2.0",
37
+ "@genesislcap/vite-builder": "14.483.1-alpha-aaddab2.0",
38
+ "@genesislcap/webpack-builder": "14.483.1-alpha-aaddab2.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.482.2-alpha-397d953.0",
43
- "@genesislcap/foundation-logger": "14.482.2-alpha-397d953.0",
42
+ "@genesislcap/expression-builder": "14.483.1-alpha-aaddab2.0",
43
+ "@genesislcap/foundation-logger": "14.483.1-alpha-aaddab2.0",
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": "0fa52f4b117022450df0e0d6dd738a1b3fa7098d"
61
+ "gitHead": "7cd35e0383007a499b423cbc84fd968a29507fa5"
62
62
  }