@genesislcap/foundation-utils 15.37.0 → 15.39.0-rollup-removal.1
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.
- package/dist/custom-elements.json +406 -406
- package/package.json +9 -10
|
@@ -250,227 +250,6 @@
|
|
|
250
250
|
}
|
|
251
251
|
]
|
|
252
252
|
},
|
|
253
|
-
{
|
|
254
|
-
"kind": "javascript-module",
|
|
255
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
256
|
-
"declarations": [
|
|
257
|
-
{
|
|
258
|
-
"kind": "class",
|
|
259
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
260
|
-
"name": "InMemoryDatabase",
|
|
261
|
-
"members": [
|
|
262
|
-
{
|
|
263
|
-
"kind": "field",
|
|
264
|
-
"name": "isWorking",
|
|
265
|
-
"type": {
|
|
266
|
-
"text": "boolean"
|
|
267
|
-
},
|
|
268
|
-
"privacy": "public",
|
|
269
|
-
"default": "false"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"kind": "field",
|
|
273
|
-
"name": "records",
|
|
274
|
-
"type": {
|
|
275
|
-
"text": "Record<string, T>"
|
|
276
|
-
},
|
|
277
|
-
"privacy": "private",
|
|
278
|
-
"default": "{}"
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"kind": "field",
|
|
282
|
-
"name": "beforeUpdateListeners",
|
|
283
|
-
"privacy": "private"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"kind": "field",
|
|
287
|
-
"name": "afterUpdateListeners",
|
|
288
|
-
"privacy": "private"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"kind": "method",
|
|
292
|
-
"name": "create",
|
|
293
|
-
"privacy": "public",
|
|
294
|
-
"return": {
|
|
295
|
-
"type": {
|
|
296
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
"parameters": [
|
|
300
|
-
{
|
|
301
|
-
"name": "newValue",
|
|
302
|
-
"type": {
|
|
303
|
-
"text": "Omit<T, 'id'>"
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
]
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"kind": "method",
|
|
310
|
-
"name": "read",
|
|
311
|
-
"privacy": "public",
|
|
312
|
-
"return": {
|
|
313
|
-
"type": {
|
|
314
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
"parameters": [
|
|
318
|
-
{
|
|
319
|
-
"name": "id",
|
|
320
|
-
"type": {
|
|
321
|
-
"text": "string"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"kind": "method",
|
|
328
|
-
"name": "update",
|
|
329
|
-
"privacy": "public",
|
|
330
|
-
"return": {
|
|
331
|
-
"type": {
|
|
332
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
"parameters": [
|
|
336
|
-
{
|
|
337
|
-
"name": "id",
|
|
338
|
-
"type": {
|
|
339
|
-
"text": "string"
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"name": "newValue",
|
|
344
|
-
"type": {
|
|
345
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
]
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"kind": "method",
|
|
352
|
-
"name": "delete",
|
|
353
|
-
"privacy": "public",
|
|
354
|
-
"return": {
|
|
355
|
-
"type": {
|
|
356
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
"parameters": [
|
|
360
|
-
{
|
|
361
|
-
"name": "id",
|
|
362
|
-
"type": {
|
|
363
|
-
"text": "string"
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
]
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
"kind": "method",
|
|
370
|
-
"name": "visit",
|
|
371
|
-
"privacy": "public",
|
|
372
|
-
"return": {
|
|
373
|
-
"type": {
|
|
374
|
-
"text": "Promise<void>"
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
"parameters": [
|
|
378
|
-
{
|
|
379
|
-
"name": "visitor",
|
|
380
|
-
"type": {
|
|
381
|
-
"text": "(record: T) => void"
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
]
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"kind": "method",
|
|
388
|
-
"name": "onBeforeUpdate",
|
|
389
|
-
"privacy": "public",
|
|
390
|
-
"return": {
|
|
391
|
-
"type": {
|
|
392
|
-
"text": "() => void"
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
"parameters": [
|
|
396
|
-
{
|
|
397
|
-
"name": "listener",
|
|
398
|
-
"type": {
|
|
399
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
]
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"kind": "method",
|
|
406
|
-
"name": "onAfterUpdate",
|
|
407
|
-
"privacy": "public",
|
|
408
|
-
"return": {
|
|
409
|
-
"type": {
|
|
410
|
-
"text": "() => void"
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
"parameters": [
|
|
414
|
-
{
|
|
415
|
-
"name": "listener",
|
|
416
|
-
"type": {
|
|
417
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
]
|
|
421
|
-
}
|
|
422
|
-
]
|
|
423
|
-
}
|
|
424
|
-
],
|
|
425
|
-
"exports": [
|
|
426
|
-
{
|
|
427
|
-
"kind": "js",
|
|
428
|
-
"name": "InMemoryDatabase",
|
|
429
|
-
"declaration": {
|
|
430
|
-
"name": "InMemoryDatabase",
|
|
431
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
]
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
"kind": "javascript-module",
|
|
438
|
-
"path": "src/data/index.ts",
|
|
439
|
-
"declarations": [],
|
|
440
|
-
"exports": [
|
|
441
|
-
{
|
|
442
|
-
"kind": "js",
|
|
443
|
-
"name": "*",
|
|
444
|
-
"declaration": {
|
|
445
|
-
"name": "*",
|
|
446
|
-
"package": "./inMemoryDatabase"
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
]
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"kind": "javascript-module",
|
|
453
|
-
"path": "src/directives/index.ts",
|
|
454
|
-
"declarations": [],
|
|
455
|
-
"exports": [
|
|
456
|
-
{
|
|
457
|
-
"kind": "js",
|
|
458
|
-
"name": "*",
|
|
459
|
-
"declaration": {
|
|
460
|
-
"name": "*",
|
|
461
|
-
"package": "./sync"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
"kind": "js",
|
|
466
|
-
"name": "*",
|
|
467
|
-
"declaration": {
|
|
468
|
-
"name": "*",
|
|
469
|
-
"package": "./when-else"
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
]
|
|
473
|
-
},
|
|
474
253
|
{
|
|
475
254
|
"kind": "javascript-module",
|
|
476
255
|
"path": "src/design-system/design-system.ts",
|
|
@@ -688,6 +467,29 @@
|
|
|
688
467
|
}
|
|
689
468
|
]
|
|
690
469
|
},
|
|
470
|
+
{
|
|
471
|
+
"kind": "javascript-module",
|
|
472
|
+
"path": "src/directives/index.ts",
|
|
473
|
+
"declarations": [],
|
|
474
|
+
"exports": [
|
|
475
|
+
{
|
|
476
|
+
"kind": "js",
|
|
477
|
+
"name": "*",
|
|
478
|
+
"declaration": {
|
|
479
|
+
"name": "*",
|
|
480
|
+
"package": "./sync"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"kind": "js",
|
|
485
|
+
"name": "*",
|
|
486
|
+
"declaration": {
|
|
487
|
+
"name": "*",
|
|
488
|
+
"package": "./when-else"
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
},
|
|
691
493
|
{
|
|
692
494
|
"kind": "javascript-module",
|
|
693
495
|
"path": "src/env/index.ts",
|
|
@@ -1189,17 +991,215 @@
|
|
|
1189
991
|
},
|
|
1190
992
|
{
|
|
1191
993
|
"kind": "javascript-module",
|
|
1192
|
-
"path": "src/
|
|
1193
|
-
"declarations": [
|
|
1194
|
-
"exports": [
|
|
994
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
995
|
+
"declarations": [
|
|
1195
996
|
{
|
|
1196
|
-
"kind": "
|
|
1197
|
-
"
|
|
1198
|
-
"
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
997
|
+
"kind": "class",
|
|
998
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
999
|
+
"name": "InMemoryDatabase",
|
|
1000
|
+
"members": [
|
|
1001
|
+
{
|
|
1002
|
+
"kind": "field",
|
|
1003
|
+
"name": "isWorking",
|
|
1004
|
+
"type": {
|
|
1005
|
+
"text": "boolean"
|
|
1006
|
+
},
|
|
1007
|
+
"privacy": "public",
|
|
1008
|
+
"default": "false"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"kind": "field",
|
|
1012
|
+
"name": "records",
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "Record<string, T>"
|
|
1015
|
+
},
|
|
1016
|
+
"privacy": "private",
|
|
1017
|
+
"default": "{}"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"kind": "field",
|
|
1021
|
+
"name": "beforeUpdateListeners",
|
|
1022
|
+
"privacy": "private"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "field",
|
|
1026
|
+
"name": "afterUpdateListeners",
|
|
1027
|
+
"privacy": "private"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"kind": "method",
|
|
1031
|
+
"name": "create",
|
|
1032
|
+
"privacy": "public",
|
|
1033
|
+
"return": {
|
|
1034
|
+
"type": {
|
|
1035
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"parameters": [
|
|
1039
|
+
{
|
|
1040
|
+
"name": "newValue",
|
|
1041
|
+
"type": {
|
|
1042
|
+
"text": "Omit<T, 'id'>"
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
]
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"kind": "method",
|
|
1049
|
+
"name": "read",
|
|
1050
|
+
"privacy": "public",
|
|
1051
|
+
"return": {
|
|
1052
|
+
"type": {
|
|
1053
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
"parameters": [
|
|
1057
|
+
{
|
|
1058
|
+
"name": "id",
|
|
1059
|
+
"type": {
|
|
1060
|
+
"text": "string"
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
]
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "method",
|
|
1067
|
+
"name": "update",
|
|
1068
|
+
"privacy": "public",
|
|
1069
|
+
"return": {
|
|
1070
|
+
"type": {
|
|
1071
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"parameters": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "id",
|
|
1077
|
+
"type": {
|
|
1078
|
+
"text": "string"
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"name": "newValue",
|
|
1083
|
+
"type": {
|
|
1084
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
]
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"kind": "method",
|
|
1091
|
+
"name": "delete",
|
|
1092
|
+
"privacy": "public",
|
|
1093
|
+
"return": {
|
|
1094
|
+
"type": {
|
|
1095
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
"parameters": [
|
|
1099
|
+
{
|
|
1100
|
+
"name": "id",
|
|
1101
|
+
"type": {
|
|
1102
|
+
"text": "string"
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
]
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "method",
|
|
1109
|
+
"name": "visit",
|
|
1110
|
+
"privacy": "public",
|
|
1111
|
+
"return": {
|
|
1112
|
+
"type": {
|
|
1113
|
+
"text": "Promise<void>"
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
"parameters": [
|
|
1117
|
+
{
|
|
1118
|
+
"name": "visitor",
|
|
1119
|
+
"type": {
|
|
1120
|
+
"text": "(record: T) => void"
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
]
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"kind": "method",
|
|
1127
|
+
"name": "onBeforeUpdate",
|
|
1128
|
+
"privacy": "public",
|
|
1129
|
+
"return": {
|
|
1130
|
+
"type": {
|
|
1131
|
+
"text": "() => void"
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
"parameters": [
|
|
1135
|
+
{
|
|
1136
|
+
"name": "listener",
|
|
1137
|
+
"type": {
|
|
1138
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
]
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"kind": "method",
|
|
1145
|
+
"name": "onAfterUpdate",
|
|
1146
|
+
"privacy": "public",
|
|
1147
|
+
"return": {
|
|
1148
|
+
"type": {
|
|
1149
|
+
"text": "() => void"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
"parameters": [
|
|
1153
|
+
{
|
|
1154
|
+
"name": "listener",
|
|
1155
|
+
"type": {
|
|
1156
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
]
|
|
1160
|
+
}
|
|
1161
|
+
]
|
|
1162
|
+
}
|
|
1163
|
+
],
|
|
1164
|
+
"exports": [
|
|
1165
|
+
{
|
|
1166
|
+
"kind": "js",
|
|
1167
|
+
"name": "InMemoryDatabase",
|
|
1168
|
+
"declaration": {
|
|
1169
|
+
"name": "InMemoryDatabase",
|
|
1170
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
]
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"kind": "javascript-module",
|
|
1177
|
+
"path": "src/data/index.ts",
|
|
1178
|
+
"declarations": [],
|
|
1179
|
+
"exports": [
|
|
1180
|
+
{
|
|
1181
|
+
"kind": "js",
|
|
1182
|
+
"name": "*",
|
|
1183
|
+
"declaration": {
|
|
1184
|
+
"name": "*",
|
|
1185
|
+
"package": "./inMemoryDatabase"
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
]
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"kind": "javascript-module",
|
|
1192
|
+
"path": "src/decorators/index.ts",
|
|
1193
|
+
"declarations": [],
|
|
1194
|
+
"exports": [
|
|
1195
|
+
{
|
|
1196
|
+
"kind": "js",
|
|
1197
|
+
"name": "*",
|
|
1198
|
+
"declaration": {
|
|
1199
|
+
"name": "*",
|
|
1200
|
+
"package": "./renderOnChange"
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
1203
|
]
|
|
1204
1204
|
},
|
|
1205
1205
|
{
|
|
@@ -4904,165 +4904,78 @@
|
|
|
4904
4904
|
},
|
|
4905
4905
|
{
|
|
4906
4906
|
"kind": "javascript-module",
|
|
4907
|
-
"path": "src/
|
|
4908
|
-
"declarations": [],
|
|
4909
|
-
"exports": [
|
|
4910
|
-
{
|
|
4911
|
-
"kind": "js",
|
|
4912
|
-
"name": "*",
|
|
4913
|
-
"declaration": {
|
|
4914
|
-
"name": "*",
|
|
4915
|
-
"package": "./sync"
|
|
4916
|
-
}
|
|
4917
|
-
}
|
|
4918
|
-
]
|
|
4919
|
-
},
|
|
4920
|
-
{
|
|
4921
|
-
"kind": "javascript-module",
|
|
4922
|
-
"path": "src/directives/sync/sync.ts",
|
|
4907
|
+
"path": "src/encoding/base64/decode.ts",
|
|
4923
4908
|
"declarations": [
|
|
4924
4909
|
{
|
|
4925
|
-
"kind": "
|
|
4926
|
-
"name": "
|
|
4927
|
-
"
|
|
4928
|
-
"
|
|
4910
|
+
"kind": "function",
|
|
4911
|
+
"name": "decodeFromBase64",
|
|
4912
|
+
"return": {
|
|
4913
|
+
"type": {
|
|
4914
|
+
"text": ""
|
|
4915
|
+
}
|
|
4929
4916
|
},
|
|
4930
|
-
"
|
|
4931
|
-
|
|
4917
|
+
"parameters": [
|
|
4918
|
+
{
|
|
4919
|
+
"name": "base64Value",
|
|
4920
|
+
"type": {
|
|
4921
|
+
"text": "string"
|
|
4922
|
+
}
|
|
4923
|
+
},
|
|
4924
|
+
{
|
|
4925
|
+
"description": "The value to decode from base64.",
|
|
4926
|
+
"name": "value"
|
|
4927
|
+
}
|
|
4928
|
+
],
|
|
4929
|
+
"description": "Decodes a value from base64.",
|
|
4932
4930
|
"privacy": "public"
|
|
4933
4931
|
},
|
|
4934
4932
|
{
|
|
4935
4933
|
"kind": "function",
|
|
4936
|
-
"name": "
|
|
4934
|
+
"name": "decodeFromBase64WithPrefix",
|
|
4937
4935
|
"return": {
|
|
4938
4936
|
"type": {
|
|
4939
|
-
"text": "
|
|
4937
|
+
"text": ""
|
|
4940
4938
|
}
|
|
4941
4939
|
},
|
|
4942
4940
|
"parameters": [
|
|
4943
4941
|
{
|
|
4944
|
-
"name": "
|
|
4945
|
-
"type": {
|
|
4946
|
-
"text": "Binding<TSource, TReturn>"
|
|
4947
|
-
}
|
|
4948
|
-
},
|
|
4949
|
-
{
|
|
4950
|
-
"name": "conversionType",
|
|
4951
|
-
"default": "'string'",
|
|
4952
|
-
"type": {
|
|
4953
|
-
"text": "ConversionType"
|
|
4954
|
-
}
|
|
4955
|
-
},
|
|
4956
|
-
{
|
|
4957
|
-
"name": "eventName",
|
|
4958
|
-
"default": "'default'",
|
|
4959
|
-
"type": {
|
|
4960
|
-
"text": "EventName"
|
|
4961
|
-
}
|
|
4962
|
-
},
|
|
4963
|
-
{
|
|
4964
|
-
"name": "keyAttr",
|
|
4965
|
-
"optional": true,
|
|
4942
|
+
"name": "value",
|
|
4966
4943
|
"type": {
|
|
4967
4944
|
"text": "string"
|
|
4968
|
-
}
|
|
4945
|
+
},
|
|
4946
|
+
"description": "The value to decode from base64."
|
|
4969
4947
|
}
|
|
4970
4948
|
],
|
|
4971
|
-
"description": "
|
|
4949
|
+
"description": "Decodes a value from base64 with a prefix.",
|
|
4972
4950
|
"privacy": "public"
|
|
4973
4951
|
}
|
|
4974
4952
|
],
|
|
4975
4953
|
"exports": [
|
|
4976
4954
|
{
|
|
4977
4955
|
"kind": "js",
|
|
4978
|
-
"name": "
|
|
4956
|
+
"name": "decodeFromBase64",
|
|
4979
4957
|
"declaration": {
|
|
4980
|
-
"name": "
|
|
4981
|
-
"module": "src/
|
|
4958
|
+
"name": "decodeFromBase64",
|
|
4959
|
+
"module": "src/encoding/base64/decode.ts"
|
|
4982
4960
|
}
|
|
4983
4961
|
},
|
|
4984
4962
|
{
|
|
4985
4963
|
"kind": "js",
|
|
4986
|
-
"name": "
|
|
4987
|
-
"declaration": {
|
|
4988
|
-
"name": "sync",
|
|
4989
|
-
"module": "src/directives/sync/sync.ts"
|
|
4990
|
-
}
|
|
4991
|
-
}
|
|
4992
|
-
]
|
|
4993
|
-
},
|
|
4994
|
-
{
|
|
4995
|
-
"kind": "javascript-module",
|
|
4996
|
-
"path": "src/directives/when-else/index.ts",
|
|
4997
|
-
"declarations": [],
|
|
4998
|
-
"exports": [
|
|
4999
|
-
{
|
|
5000
|
-
"kind": "js",
|
|
5001
|
-
"name": "*",
|
|
5002
|
-
"declaration": {
|
|
5003
|
-
"name": "*",
|
|
5004
|
-
"package": "./when-else"
|
|
5005
|
-
}
|
|
5006
|
-
}
|
|
5007
|
-
]
|
|
5008
|
-
},
|
|
5009
|
-
{
|
|
5010
|
-
"kind": "javascript-module",
|
|
5011
|
-
"path": "src/directives/when-else/when-else.ts",
|
|
5012
|
-
"declarations": [
|
|
5013
|
-
{
|
|
5014
|
-
"kind": "function",
|
|
5015
|
-
"name": "whenElse",
|
|
5016
|
-
"return": {
|
|
5017
|
-
"type": {
|
|
5018
|
-
"text": "CaptureType<TSource>"
|
|
5019
|
-
}
|
|
5020
|
-
},
|
|
5021
|
-
"parameters": [
|
|
5022
|
-
{
|
|
5023
|
-
"name": "binding",
|
|
5024
|
-
"type": {
|
|
5025
|
-
"text": "Binding<TSource, TReturn>"
|
|
5026
|
-
},
|
|
5027
|
-
"description": "The condition to test for rendering."
|
|
5028
|
-
},
|
|
5029
|
-
{
|
|
5030
|
-
"name": "trueTemplateOrTemplateBinding",
|
|
5031
|
-
"type": {
|
|
5032
|
-
"text": "WhenTemplate<TSource>"
|
|
5033
|
-
},
|
|
5034
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
5035
|
-
},
|
|
5036
|
-
{
|
|
5037
|
-
"name": "falseTemplateOrTemplateBinding",
|
|
5038
|
-
"type": {
|
|
5039
|
-
"text": "WhenTemplate<TSource>"
|
|
5040
|
-
},
|
|
5041
|
-
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
5042
|
-
}
|
|
5043
|
-
],
|
|
5044
|
-
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
5045
|
-
"privacy": "public"
|
|
5046
|
-
}
|
|
5047
|
-
],
|
|
5048
|
-
"exports": [
|
|
5049
|
-
{
|
|
5050
|
-
"kind": "js",
|
|
5051
|
-
"name": "whenElse",
|
|
4964
|
+
"name": "decodeFromBase64WithPrefix",
|
|
5052
4965
|
"declaration": {
|
|
5053
|
-
"name": "
|
|
5054
|
-
"module": "src/
|
|
4966
|
+
"name": "decodeFromBase64WithPrefix",
|
|
4967
|
+
"module": "src/encoding/base64/decode.ts"
|
|
5055
4968
|
}
|
|
5056
4969
|
}
|
|
5057
4970
|
]
|
|
5058
4971
|
},
|
|
5059
4972
|
{
|
|
5060
4973
|
"kind": "javascript-module",
|
|
5061
|
-
"path": "src/encoding/base64/
|
|
4974
|
+
"path": "src/encoding/base64/encode.ts",
|
|
5062
4975
|
"declarations": [
|
|
5063
4976
|
{
|
|
5064
4977
|
"kind": "function",
|
|
5065
|
-
"name": "
|
|
4978
|
+
"name": "encodeToBase64",
|
|
5066
4979
|
"return": {
|
|
5067
4980
|
"type": {
|
|
5068
4981
|
"text": ""
|
|
@@ -5070,22 +4983,19 @@
|
|
|
5070
4983
|
},
|
|
5071
4984
|
"parameters": [
|
|
5072
4985
|
{
|
|
5073
|
-
"name": "
|
|
4986
|
+
"name": "value",
|
|
5074
4987
|
"type": {
|
|
5075
|
-
"text": "string"
|
|
5076
|
-
}
|
|
5077
|
-
|
|
5078
|
-
{
|
|
5079
|
-
"description": "The value to decode from base64.",
|
|
5080
|
-
"name": "value"
|
|
4988
|
+
"text": "string | ArrayBuffer"
|
|
4989
|
+
},
|
|
4990
|
+
"description": "The value to encode to base64."
|
|
5081
4991
|
}
|
|
5082
4992
|
],
|
|
5083
|
-
"description": "
|
|
4993
|
+
"description": "Encodes the given value to base64.",
|
|
5084
4994
|
"privacy": "public"
|
|
5085
4995
|
},
|
|
5086
4996
|
{
|
|
5087
4997
|
"kind": "function",
|
|
5088
|
-
"name": "
|
|
4998
|
+
"name": "encodeToBase64WithPrefix",
|
|
5089
4999
|
"return": {
|
|
5090
5000
|
"type": {
|
|
5091
5001
|
"text": ""
|
|
@@ -5095,101 +5005,149 @@
|
|
|
5095
5005
|
{
|
|
5096
5006
|
"name": "value",
|
|
5097
5007
|
"type": {
|
|
5098
|
-
"text": "string"
|
|
5008
|
+
"text": "string | ArrayBuffer"
|
|
5099
5009
|
},
|
|
5100
|
-
"description": "The value to
|
|
5010
|
+
"description": "The value to encode to base64."
|
|
5101
5011
|
}
|
|
5102
5012
|
],
|
|
5103
|
-
"description": "
|
|
5013
|
+
"description": "Encodes the given value with a prefix to base64.",
|
|
5104
5014
|
"privacy": "public"
|
|
5105
5015
|
}
|
|
5106
5016
|
],
|
|
5107
5017
|
"exports": [
|
|
5108
5018
|
{
|
|
5109
5019
|
"kind": "js",
|
|
5110
|
-
"name": "
|
|
5020
|
+
"name": "encodeToBase64",
|
|
5111
5021
|
"declaration": {
|
|
5112
|
-
"name": "
|
|
5113
|
-
"module": "src/encoding/base64/
|
|
5022
|
+
"name": "encodeToBase64",
|
|
5023
|
+
"module": "src/encoding/base64/encode.ts"
|
|
5114
5024
|
}
|
|
5115
5025
|
},
|
|
5116
5026
|
{
|
|
5117
5027
|
"kind": "js",
|
|
5118
|
-
"name": "
|
|
5028
|
+
"name": "encodeToBase64WithPrefix",
|
|
5119
5029
|
"declaration": {
|
|
5120
|
-
"name": "
|
|
5121
|
-
"module": "src/encoding/base64/
|
|
5030
|
+
"name": "encodeToBase64WithPrefix",
|
|
5031
|
+
"module": "src/encoding/base64/encode.ts"
|
|
5122
5032
|
}
|
|
5123
5033
|
}
|
|
5124
5034
|
]
|
|
5125
5035
|
},
|
|
5126
5036
|
{
|
|
5127
5037
|
"kind": "javascript-module",
|
|
5128
|
-
"path": "src/encoding/base64/
|
|
5038
|
+
"path": "src/encoding/base64/index.ts",
|
|
5039
|
+
"declarations": [],
|
|
5040
|
+
"exports": [
|
|
5041
|
+
{
|
|
5042
|
+
"kind": "js",
|
|
5043
|
+
"name": "*",
|
|
5044
|
+
"declaration": {
|
|
5045
|
+
"name": "*",
|
|
5046
|
+
"package": "./decode"
|
|
5047
|
+
}
|
|
5048
|
+
},
|
|
5049
|
+
{
|
|
5050
|
+
"kind": "js",
|
|
5051
|
+
"name": "*",
|
|
5052
|
+
"declaration": {
|
|
5053
|
+
"name": "*",
|
|
5054
|
+
"package": "./encode"
|
|
5055
|
+
}
|
|
5056
|
+
}
|
|
5057
|
+
]
|
|
5058
|
+
},
|
|
5059
|
+
{
|
|
5060
|
+
"kind": "javascript-module",
|
|
5061
|
+
"path": "src/directives/sync/index.ts",
|
|
5062
|
+
"declarations": [],
|
|
5063
|
+
"exports": [
|
|
5064
|
+
{
|
|
5065
|
+
"kind": "js",
|
|
5066
|
+
"name": "*",
|
|
5067
|
+
"declaration": {
|
|
5068
|
+
"name": "*",
|
|
5069
|
+
"package": "./sync"
|
|
5070
|
+
}
|
|
5071
|
+
}
|
|
5072
|
+
]
|
|
5073
|
+
},
|
|
5074
|
+
{
|
|
5075
|
+
"kind": "javascript-module",
|
|
5076
|
+
"path": "src/directives/sync/sync.ts",
|
|
5129
5077
|
"declarations": [
|
|
5130
5078
|
{
|
|
5131
|
-
"kind": "
|
|
5132
|
-
"name": "
|
|
5133
|
-
"
|
|
5134
|
-
"
|
|
5135
|
-
"text": ""
|
|
5136
|
-
}
|
|
5079
|
+
"kind": "variable",
|
|
5080
|
+
"name": "defaultEventMap",
|
|
5081
|
+
"type": {
|
|
5082
|
+
"text": "Map<string, EventName>"
|
|
5137
5083
|
},
|
|
5138
|
-
"
|
|
5139
|
-
|
|
5140
|
-
"name": "value",
|
|
5141
|
-
"type": {
|
|
5142
|
-
"text": "string | ArrayBuffer"
|
|
5143
|
-
},
|
|
5144
|
-
"description": "The value to encode to base64."
|
|
5145
|
-
}
|
|
5146
|
-
],
|
|
5147
|
-
"description": "Encodes the given value to base64.",
|
|
5084
|
+
"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])",
|
|
5085
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
5148
5086
|
"privacy": "public"
|
|
5149
5087
|
},
|
|
5150
5088
|
{
|
|
5151
5089
|
"kind": "function",
|
|
5152
|
-
"name": "
|
|
5090
|
+
"name": "sync",
|
|
5153
5091
|
"return": {
|
|
5154
5092
|
"type": {
|
|
5155
|
-
"text": ""
|
|
5093
|
+
"text": "CaptureType<TSource>"
|
|
5156
5094
|
}
|
|
5157
5095
|
},
|
|
5158
5096
|
"parameters": [
|
|
5159
5097
|
{
|
|
5160
|
-
"name": "
|
|
5098
|
+
"name": "binding",
|
|
5161
5099
|
"type": {
|
|
5162
|
-
"text": "
|
|
5163
|
-
}
|
|
5164
|
-
|
|
5100
|
+
"text": "Binding<TSource, TReturn>"
|
|
5101
|
+
}
|
|
5102
|
+
},
|
|
5103
|
+
{
|
|
5104
|
+
"name": "conversionType",
|
|
5105
|
+
"default": "'string'",
|
|
5106
|
+
"type": {
|
|
5107
|
+
"text": "ConversionType"
|
|
5108
|
+
}
|
|
5109
|
+
},
|
|
5110
|
+
{
|
|
5111
|
+
"name": "eventName",
|
|
5112
|
+
"default": "'default'",
|
|
5113
|
+
"type": {
|
|
5114
|
+
"text": "EventName"
|
|
5115
|
+
}
|
|
5116
|
+
},
|
|
5117
|
+
{
|
|
5118
|
+
"name": "keyAttr",
|
|
5119
|
+
"optional": true,
|
|
5120
|
+
"type": {
|
|
5121
|
+
"text": "string"
|
|
5122
|
+
}
|
|
5165
5123
|
}
|
|
5166
5124
|
],
|
|
5167
|
-
"description": "
|
|
5125
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
5168
5126
|
"privacy": "public"
|
|
5169
5127
|
}
|
|
5170
5128
|
],
|
|
5171
5129
|
"exports": [
|
|
5172
5130
|
{
|
|
5173
5131
|
"kind": "js",
|
|
5174
|
-
"name": "
|
|
5132
|
+
"name": "defaultEventMap",
|
|
5175
5133
|
"declaration": {
|
|
5176
|
-
"name": "
|
|
5177
|
-
"module": "src/
|
|
5134
|
+
"name": "defaultEventMap",
|
|
5135
|
+
"module": "src/directives/sync/sync.ts"
|
|
5178
5136
|
}
|
|
5179
5137
|
},
|
|
5180
5138
|
{
|
|
5181
5139
|
"kind": "js",
|
|
5182
|
-
"name": "
|
|
5140
|
+
"name": "sync",
|
|
5183
5141
|
"declaration": {
|
|
5184
|
-
"name": "
|
|
5185
|
-
"module": "src/
|
|
5142
|
+
"name": "sync",
|
|
5143
|
+
"module": "src/directives/sync/sync.ts"
|
|
5186
5144
|
}
|
|
5187
5145
|
}
|
|
5188
5146
|
]
|
|
5189
5147
|
},
|
|
5190
5148
|
{
|
|
5191
5149
|
"kind": "javascript-module",
|
|
5192
|
-
"path": "src/
|
|
5150
|
+
"path": "src/directives/when-else/index.ts",
|
|
5193
5151
|
"declarations": [],
|
|
5194
5152
|
"exports": [
|
|
5195
5153
|
{
|
|
@@ -5197,15 +5155,57 @@
|
|
|
5197
5155
|
"name": "*",
|
|
5198
5156
|
"declaration": {
|
|
5199
5157
|
"name": "*",
|
|
5200
|
-
"package": "./
|
|
5158
|
+
"package": "./when-else"
|
|
5201
5159
|
}
|
|
5202
|
-
}
|
|
5160
|
+
}
|
|
5161
|
+
]
|
|
5162
|
+
},
|
|
5163
|
+
{
|
|
5164
|
+
"kind": "javascript-module",
|
|
5165
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
5166
|
+
"declarations": [
|
|
5167
|
+
{
|
|
5168
|
+
"kind": "function",
|
|
5169
|
+
"name": "whenElse",
|
|
5170
|
+
"return": {
|
|
5171
|
+
"type": {
|
|
5172
|
+
"text": "CaptureType<TSource>"
|
|
5173
|
+
}
|
|
5174
|
+
},
|
|
5175
|
+
"parameters": [
|
|
5176
|
+
{
|
|
5177
|
+
"name": "binding",
|
|
5178
|
+
"type": {
|
|
5179
|
+
"text": "Binding<TSource, TReturn>"
|
|
5180
|
+
},
|
|
5181
|
+
"description": "The condition to test for rendering."
|
|
5182
|
+
},
|
|
5183
|
+
{
|
|
5184
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
5185
|
+
"type": {
|
|
5186
|
+
"text": "WhenTemplate<TSource>"
|
|
5187
|
+
},
|
|
5188
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
5189
|
+
},
|
|
5190
|
+
{
|
|
5191
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
5192
|
+
"type": {
|
|
5193
|
+
"text": "WhenTemplate<TSource>"
|
|
5194
|
+
},
|
|
5195
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
5196
|
+
}
|
|
5197
|
+
],
|
|
5198
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
5199
|
+
"privacy": "public"
|
|
5200
|
+
}
|
|
5201
|
+
],
|
|
5202
|
+
"exports": [
|
|
5203
5203
|
{
|
|
5204
5204
|
"kind": "js",
|
|
5205
|
-
"name": "
|
|
5205
|
+
"name": "whenElse",
|
|
5206
5206
|
"declaration": {
|
|
5207
|
-
"name": "
|
|
5208
|
-
"
|
|
5207
|
+
"name": "whenElse",
|
|
5208
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
5209
5209
|
}
|
|
5210
5210
|
}
|
|
5211
5211
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-utils",
|
|
3
3
|
"description": "Genesis Foundation Utils",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.39.0-rollup-removal.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -29,18 +29,17 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@genesislcap/foundation-testing": "15.
|
|
33
|
-
"@genesislcap/genx": "15.
|
|
34
|
-
"@genesislcap/
|
|
35
|
-
"@genesislcap/
|
|
36
|
-
"@genesislcap/
|
|
37
|
-
"@genesislcap/
|
|
38
|
-
"@genesislcap/webpack-builder": "15.37.0",
|
|
32
|
+
"@genesislcap/foundation-testing": "15.39.0-rollup-removal.1",
|
|
33
|
+
"@genesislcap/genx": "15.39.0-rollup-removal.1",
|
|
34
|
+
"@genesislcap/ts-builder": "15.39.0-rollup-removal.1",
|
|
35
|
+
"@genesislcap/uvu-playwright-builder": "15.39.0-rollup-removal.1",
|
|
36
|
+
"@genesislcap/vite-builder": "15.39.0-rollup-removal.1",
|
|
37
|
+
"@genesislcap/webpack-builder": "15.39.0-rollup-removal.1",
|
|
39
38
|
"@types/json-schema": "^7.0.11"
|
|
40
39
|
},
|
|
41
40
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "15.
|
|
43
|
-
"@genesislcap/foundation-logger": "15.
|
|
41
|
+
"@genesislcap/expression-builder": "15.39.0-rollup-removal.1",
|
|
42
|
+
"@genesislcap/foundation-logger": "15.39.0-rollup-removal.1",
|
|
44
43
|
"@microsoft/fast-components": "2.30.6",
|
|
45
44
|
"@microsoft/fast-element": "1.14.0",
|
|
46
45
|
"@microsoft/fast-foundation": "2.50.0",
|