@genesislcap/foundation-utils 14.333.2-alpha-4536c2c.0 → 14.333.2-alpha-ef4c015.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.
- package/dist/custom-elements.json +348 -348
- package/package.json +11 -11
@@ -383,6 +383,44 @@
|
|
383
383
|
}
|
384
384
|
]
|
385
385
|
},
|
386
|
+
{
|
387
|
+
"kind": "javascript-module",
|
388
|
+
"path": "src/encoding/index.ts",
|
389
|
+
"declarations": [],
|
390
|
+
"exports": [
|
391
|
+
{
|
392
|
+
"kind": "js",
|
393
|
+
"name": "*",
|
394
|
+
"declaration": {
|
395
|
+
"name": "*",
|
396
|
+
"package": "./base64"
|
397
|
+
}
|
398
|
+
}
|
399
|
+
]
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"kind": "javascript-module",
|
403
|
+
"path": "src/directives/index.ts",
|
404
|
+
"declarations": [],
|
405
|
+
"exports": [
|
406
|
+
{
|
407
|
+
"kind": "js",
|
408
|
+
"name": "*",
|
409
|
+
"declaration": {
|
410
|
+
"name": "*",
|
411
|
+
"package": "./sync"
|
412
|
+
}
|
413
|
+
},
|
414
|
+
{
|
415
|
+
"kind": "js",
|
416
|
+
"name": "*",
|
417
|
+
"declaration": {
|
418
|
+
"name": "*",
|
419
|
+
"package": "./when-else"
|
420
|
+
}
|
421
|
+
}
|
422
|
+
]
|
423
|
+
},
|
386
424
|
{
|
387
425
|
"kind": "javascript-module",
|
388
426
|
"path": "src/decorators/index.ts",
|
@@ -436,149 +474,6 @@
|
|
436
474
|
}
|
437
475
|
]
|
438
476
|
},
|
439
|
-
{
|
440
|
-
"kind": "javascript-module",
|
441
|
-
"path": "src/design-system/design-system.ts",
|
442
|
-
"declarations": [
|
443
|
-
{
|
444
|
-
"kind": "function",
|
445
|
-
"name": "assureDesignSystem",
|
446
|
-
"return": {
|
447
|
-
"type": {
|
448
|
-
"text": "DesignSystemModule"
|
449
|
-
}
|
450
|
-
},
|
451
|
-
"parameters": [
|
452
|
-
{
|
453
|
-
"name": "module",
|
454
|
-
"type": {
|
455
|
-
"text": "DesignSystemModule"
|
456
|
-
}
|
457
|
-
}
|
458
|
-
],
|
459
|
-
"description": "assureDesignSystem.",
|
460
|
-
"privacy": "public"
|
461
|
-
},
|
462
|
-
{
|
463
|
-
"kind": "function",
|
464
|
-
"name": "getCurrentDesignSystem",
|
465
|
-
"return": {
|
466
|
-
"type": {
|
467
|
-
"text": ""
|
468
|
-
}
|
469
|
-
},
|
470
|
-
"parameters": [
|
471
|
-
{
|
472
|
-
"name": "element",
|
473
|
-
"type": {
|
474
|
-
"text": "HTMLElement"
|
475
|
-
},
|
476
|
-
"description": "The starting HTML element"
|
477
|
-
},
|
478
|
-
{
|
479
|
-
"name": "fallbackPrefix",
|
480
|
-
"type": {
|
481
|
-
"text": "string"
|
482
|
-
},
|
483
|
-
"description": "The prefix to fallback to if the provider is not available"
|
484
|
-
}
|
485
|
-
],
|
486
|
-
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
487
|
-
"privacy": "public"
|
488
|
-
},
|
489
|
-
{
|
490
|
-
"kind": "function",
|
491
|
-
"name": "getCurrentDesignSystemPrefix",
|
492
|
-
"return": {
|
493
|
-
"type": {
|
494
|
-
"text": ""
|
495
|
-
}
|
496
|
-
},
|
497
|
-
"parameters": [
|
498
|
-
{
|
499
|
-
"name": "element",
|
500
|
-
"type": {
|
501
|
-
"text": "HTMLElement"
|
502
|
-
},
|
503
|
-
"description": "The starting HTML element"
|
504
|
-
},
|
505
|
-
{
|
506
|
-
"name": "fallbackPrefix",
|
507
|
-
"type": {
|
508
|
-
"text": "string"
|
509
|
-
},
|
510
|
-
"description": "The prefix to fallback to if the provider is not available"
|
511
|
-
}
|
512
|
-
],
|
513
|
-
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
514
|
-
"privacy": "public"
|
515
|
-
}
|
516
|
-
],
|
517
|
-
"exports": [
|
518
|
-
{
|
519
|
-
"kind": "js",
|
520
|
-
"name": "assureDesignSystem",
|
521
|
-
"declaration": {
|
522
|
-
"name": "assureDesignSystem",
|
523
|
-
"module": "src/design-system/design-system.ts"
|
524
|
-
}
|
525
|
-
},
|
526
|
-
{
|
527
|
-
"kind": "js",
|
528
|
-
"name": "getCurrentDesignSystem",
|
529
|
-
"declaration": {
|
530
|
-
"name": "getCurrentDesignSystem",
|
531
|
-
"module": "src/design-system/design-system.ts"
|
532
|
-
}
|
533
|
-
},
|
534
|
-
{
|
535
|
-
"kind": "js",
|
536
|
-
"name": "getCurrentDesignSystemPrefix",
|
537
|
-
"declaration": {
|
538
|
-
"name": "getCurrentDesignSystemPrefix",
|
539
|
-
"module": "src/design-system/design-system.ts"
|
540
|
-
}
|
541
|
-
}
|
542
|
-
]
|
543
|
-
},
|
544
|
-
{
|
545
|
-
"kind": "javascript-module",
|
546
|
-
"path": "src/design-system/index.ts",
|
547
|
-
"declarations": [],
|
548
|
-
"exports": [
|
549
|
-
{
|
550
|
-
"kind": "js",
|
551
|
-
"name": "*",
|
552
|
-
"declaration": {
|
553
|
-
"name": "*",
|
554
|
-
"package": "./design-system"
|
555
|
-
}
|
556
|
-
}
|
557
|
-
]
|
558
|
-
},
|
559
|
-
{
|
560
|
-
"kind": "javascript-module",
|
561
|
-
"path": "src/directives/index.ts",
|
562
|
-
"declarations": [],
|
563
|
-
"exports": [
|
564
|
-
{
|
565
|
-
"kind": "js",
|
566
|
-
"name": "*",
|
567
|
-
"declaration": {
|
568
|
-
"name": "*",
|
569
|
-
"package": "./sync"
|
570
|
-
}
|
571
|
-
},
|
572
|
-
{
|
573
|
-
"kind": "js",
|
574
|
-
"name": "*",
|
575
|
-
"declaration": {
|
576
|
-
"name": "*",
|
577
|
-
"package": "./when-else"
|
578
|
-
}
|
579
|
-
}
|
580
|
-
]
|
581
|
-
},
|
582
477
|
{
|
583
478
|
"kind": "javascript-module",
|
584
479
|
"path": "src/env/index.ts",
|
@@ -1255,100 +1150,205 @@
|
|
1255
1150
|
},
|
1256
1151
|
{
|
1257
1152
|
"kind": "javascript-module",
|
1258
|
-
"path": "src/
|
1259
|
-
"declarations": [],
|
1260
|
-
"exports": [
|
1261
|
-
{
|
1262
|
-
"kind": "js",
|
1263
|
-
"name": "*",
|
1264
|
-
"declaration": {
|
1265
|
-
"name": "*",
|
1266
|
-
"package": "./base64"
|
1267
|
-
}
|
1268
|
-
}
|
1269
|
-
]
|
1270
|
-
},
|
1271
|
-
{
|
1272
|
-
"kind": "javascript-module",
|
1273
|
-
"path": "src/formatters/datetime.ts",
|
1153
|
+
"path": "src/design-system/design-system.ts",
|
1274
1154
|
"declarations": [
|
1275
1155
|
{
|
1276
1156
|
"kind": "function",
|
1277
|
-
"name": "
|
1157
|
+
"name": "assureDesignSystem",
|
1278
1158
|
"return": {
|
1279
1159
|
"type": {
|
1280
|
-
"text": "
|
1160
|
+
"text": "DesignSystemModule"
|
1281
1161
|
}
|
1282
1162
|
},
|
1283
1163
|
"parameters": [
|
1284
1164
|
{
|
1285
|
-
"name": "
|
1165
|
+
"name": "module",
|
1286
1166
|
"type": {
|
1287
|
-
"text": "
|
1167
|
+
"text": "DesignSystemModule"
|
1288
1168
|
}
|
1289
1169
|
}
|
1290
1170
|
],
|
1291
|
-
"description": "
|
1171
|
+
"description": "assureDesignSystem.",
|
1292
1172
|
"privacy": "public"
|
1293
1173
|
},
|
1294
1174
|
{
|
1295
1175
|
"kind": "function",
|
1296
|
-
"name": "
|
1176
|
+
"name": "getCurrentDesignSystem",
|
1297
1177
|
"return": {
|
1298
1178
|
"type": {
|
1299
|
-
"text": "
|
1179
|
+
"text": ""
|
1300
1180
|
}
|
1301
1181
|
},
|
1302
1182
|
"parameters": [
|
1303
1183
|
{
|
1304
|
-
"name": "
|
1184
|
+
"name": "element",
|
1305
1185
|
"type": {
|
1306
|
-
"text": "
|
1307
|
-
}
|
1308
|
-
|
1309
|
-
|
1310
|
-
"description": "Formats [DATETIME] UNIX Timestamps (with time) to readable strings",
|
1311
|
-
"privacy": "public"
|
1312
|
-
},
|
1313
|
-
{
|
1314
|
-
"kind": "function",
|
1315
|
-
"name": "formatDateTimeTimestampWithMilliseconds",
|
1316
|
-
"return": {
|
1317
|
-
"type": {
|
1318
|
-
"text": "string"
|
1319
|
-
}
|
1320
|
-
},
|
1321
|
-
"parameters": [
|
1186
|
+
"text": "HTMLElement"
|
1187
|
+
},
|
1188
|
+
"description": "The starting HTML element"
|
1189
|
+
},
|
1322
1190
|
{
|
1323
|
-
"name": "
|
1191
|
+
"name": "fallbackPrefix",
|
1324
1192
|
"type": {
|
1325
|
-
"text": "
|
1326
|
-
}
|
1193
|
+
"text": "string"
|
1194
|
+
},
|
1195
|
+
"description": "The prefix to fallback to if the provider is not available"
|
1327
1196
|
}
|
1328
1197
|
],
|
1329
|
-
"description": "
|
1198
|
+
"description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
1330
1199
|
"privacy": "public"
|
1331
1200
|
},
|
1332
1201
|
{
|
1333
1202
|
"kind": "function",
|
1334
|
-
"name": "
|
1203
|
+
"name": "getCurrentDesignSystemPrefix",
|
1335
1204
|
"return": {
|
1336
1205
|
"type": {
|
1337
|
-
"text": "
|
1206
|
+
"text": ""
|
1338
1207
|
}
|
1339
1208
|
},
|
1340
1209
|
"parameters": [
|
1341
1210
|
{
|
1342
|
-
"name": "
|
1211
|
+
"name": "element",
|
1343
1212
|
"type": {
|
1344
|
-
"text": "
|
1213
|
+
"text": "HTMLElement"
|
1345
1214
|
},
|
1346
|
-
"description": "The
|
1215
|
+
"description": "The starting HTML element"
|
1347
1216
|
},
|
1348
1217
|
{
|
1349
|
-
"name": "
|
1218
|
+
"name": "fallbackPrefix",
|
1350
1219
|
"type": {
|
1351
|
-
"text": "
|
1220
|
+
"text": "string"
|
1221
|
+
},
|
1222
|
+
"description": "The prefix to fallback to if the provider is not available"
|
1223
|
+
}
|
1224
|
+
],
|
1225
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
1226
|
+
"privacy": "public"
|
1227
|
+
}
|
1228
|
+
],
|
1229
|
+
"exports": [
|
1230
|
+
{
|
1231
|
+
"kind": "js",
|
1232
|
+
"name": "assureDesignSystem",
|
1233
|
+
"declaration": {
|
1234
|
+
"name": "assureDesignSystem",
|
1235
|
+
"module": "src/design-system/design-system.ts"
|
1236
|
+
}
|
1237
|
+
},
|
1238
|
+
{
|
1239
|
+
"kind": "js",
|
1240
|
+
"name": "getCurrentDesignSystem",
|
1241
|
+
"declaration": {
|
1242
|
+
"name": "getCurrentDesignSystem",
|
1243
|
+
"module": "src/design-system/design-system.ts"
|
1244
|
+
}
|
1245
|
+
},
|
1246
|
+
{
|
1247
|
+
"kind": "js",
|
1248
|
+
"name": "getCurrentDesignSystemPrefix",
|
1249
|
+
"declaration": {
|
1250
|
+
"name": "getCurrentDesignSystemPrefix",
|
1251
|
+
"module": "src/design-system/design-system.ts"
|
1252
|
+
}
|
1253
|
+
}
|
1254
|
+
]
|
1255
|
+
},
|
1256
|
+
{
|
1257
|
+
"kind": "javascript-module",
|
1258
|
+
"path": "src/design-system/index.ts",
|
1259
|
+
"declarations": [],
|
1260
|
+
"exports": [
|
1261
|
+
{
|
1262
|
+
"kind": "js",
|
1263
|
+
"name": "*",
|
1264
|
+
"declaration": {
|
1265
|
+
"name": "*",
|
1266
|
+
"package": "./design-system"
|
1267
|
+
}
|
1268
|
+
}
|
1269
|
+
]
|
1270
|
+
},
|
1271
|
+
{
|
1272
|
+
"kind": "javascript-module",
|
1273
|
+
"path": "src/formatters/datetime.ts",
|
1274
|
+
"declarations": [
|
1275
|
+
{
|
1276
|
+
"kind": "function",
|
1277
|
+
"name": "formatDateTimestamp",
|
1278
|
+
"return": {
|
1279
|
+
"type": {
|
1280
|
+
"text": "string"
|
1281
|
+
}
|
1282
|
+
},
|
1283
|
+
"parameters": [
|
1284
|
+
{
|
1285
|
+
"name": "timestamp",
|
1286
|
+
"type": {
|
1287
|
+
"text": "number"
|
1288
|
+
}
|
1289
|
+
}
|
1290
|
+
],
|
1291
|
+
"description": "Formats [DATE] UNIX Timestamps (without time) to readable strings",
|
1292
|
+
"privacy": "public"
|
1293
|
+
},
|
1294
|
+
{
|
1295
|
+
"kind": "function",
|
1296
|
+
"name": "formatDateTimeTimestamp",
|
1297
|
+
"return": {
|
1298
|
+
"type": {
|
1299
|
+
"text": "string"
|
1300
|
+
}
|
1301
|
+
},
|
1302
|
+
"parameters": [
|
1303
|
+
{
|
1304
|
+
"name": "timestamp",
|
1305
|
+
"type": {
|
1306
|
+
"text": "number"
|
1307
|
+
}
|
1308
|
+
}
|
1309
|
+
],
|
1310
|
+
"description": "Formats [DATETIME] UNIX Timestamps (with time) to readable strings",
|
1311
|
+
"privacy": "public"
|
1312
|
+
},
|
1313
|
+
{
|
1314
|
+
"kind": "function",
|
1315
|
+
"name": "formatDateTimeTimestampWithMilliseconds",
|
1316
|
+
"return": {
|
1317
|
+
"type": {
|
1318
|
+
"text": "string"
|
1319
|
+
}
|
1320
|
+
},
|
1321
|
+
"parameters": [
|
1322
|
+
{
|
1323
|
+
"name": "timestamp",
|
1324
|
+
"type": {
|
1325
|
+
"text": "number"
|
1326
|
+
}
|
1327
|
+
}
|
1328
|
+
],
|
1329
|
+
"description": "Formats [DATETIME] UNIX Timestamps (with time and milliseconds) to readable strings",
|
1330
|
+
"privacy": "public"
|
1331
|
+
},
|
1332
|
+
{
|
1333
|
+
"kind": "function",
|
1334
|
+
"name": "formatTimestamp",
|
1335
|
+
"return": {
|
1336
|
+
"type": {
|
1337
|
+
"text": "string"
|
1338
|
+
}
|
1339
|
+
},
|
1340
|
+
"parameters": [
|
1341
|
+
{
|
1342
|
+
"name": "timestamp",
|
1343
|
+
"type": {
|
1344
|
+
"text": "number"
|
1345
|
+
},
|
1346
|
+
"description": "The UNIX Timestamp."
|
1347
|
+
},
|
1348
|
+
{
|
1349
|
+
"name": "withTime",
|
1350
|
+
"type": {
|
1351
|
+
"text": "boolean"
|
1352
1352
|
},
|
1353
1353
|
"description": "The flag to determine if formatted value should contain 'time' info."
|
1354
1354
|
}
|
@@ -3955,160 +3955,6 @@
|
|
3955
3955
|
}
|
3956
3956
|
]
|
3957
3957
|
},
|
3958
|
-
{
|
3959
|
-
"kind": "javascript-module",
|
3960
|
-
"path": "src/directives/sync/index.ts",
|
3961
|
-
"declarations": [],
|
3962
|
-
"exports": [
|
3963
|
-
{
|
3964
|
-
"kind": "js",
|
3965
|
-
"name": "*",
|
3966
|
-
"declaration": {
|
3967
|
-
"name": "*",
|
3968
|
-
"package": "./sync"
|
3969
|
-
}
|
3970
|
-
}
|
3971
|
-
]
|
3972
|
-
},
|
3973
|
-
{
|
3974
|
-
"kind": "javascript-module",
|
3975
|
-
"path": "src/directives/sync/sync.ts",
|
3976
|
-
"declarations": [
|
3977
|
-
{
|
3978
|
-
"kind": "variable",
|
3979
|
-
"name": "defaultEventMap",
|
3980
|
-
"type": {
|
3981
|
-
"text": "Map<string, EventName>"
|
3982
|
-
},
|
3983
|
-
"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])",
|
3984
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
3985
|
-
"privacy": "public"
|
3986
|
-
},
|
3987
|
-
{
|
3988
|
-
"kind": "function",
|
3989
|
-
"name": "sync",
|
3990
|
-
"return": {
|
3991
|
-
"type": {
|
3992
|
-
"text": "CaptureType<TSource>"
|
3993
|
-
}
|
3994
|
-
},
|
3995
|
-
"parameters": [
|
3996
|
-
{
|
3997
|
-
"name": "binding",
|
3998
|
-
"type": {
|
3999
|
-
"text": "Binding<TSource, TReturn>"
|
4000
|
-
}
|
4001
|
-
},
|
4002
|
-
{
|
4003
|
-
"name": "conversionType",
|
4004
|
-
"default": "'string'",
|
4005
|
-
"type": {
|
4006
|
-
"text": "ConversionType"
|
4007
|
-
}
|
4008
|
-
},
|
4009
|
-
{
|
4010
|
-
"name": "eventName",
|
4011
|
-
"default": "'default'",
|
4012
|
-
"type": {
|
4013
|
-
"text": "EventName"
|
4014
|
-
}
|
4015
|
-
},
|
4016
|
-
{
|
4017
|
-
"name": "keyAttr",
|
4018
|
-
"optional": true,
|
4019
|
-
"type": {
|
4020
|
-
"text": "string"
|
4021
|
-
}
|
4022
|
-
}
|
4023
|
-
],
|
4024
|
-
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
4025
|
-
"privacy": "public"
|
4026
|
-
}
|
4027
|
-
],
|
4028
|
-
"exports": [
|
4029
|
-
{
|
4030
|
-
"kind": "js",
|
4031
|
-
"name": "defaultEventMap",
|
4032
|
-
"declaration": {
|
4033
|
-
"name": "defaultEventMap",
|
4034
|
-
"module": "src/directives/sync/sync.ts"
|
4035
|
-
}
|
4036
|
-
},
|
4037
|
-
{
|
4038
|
-
"kind": "js",
|
4039
|
-
"name": "sync",
|
4040
|
-
"declaration": {
|
4041
|
-
"name": "sync",
|
4042
|
-
"module": "src/directives/sync/sync.ts"
|
4043
|
-
}
|
4044
|
-
}
|
4045
|
-
]
|
4046
|
-
},
|
4047
|
-
{
|
4048
|
-
"kind": "javascript-module",
|
4049
|
-
"path": "src/directives/when-else/index.ts",
|
4050
|
-
"declarations": [],
|
4051
|
-
"exports": [
|
4052
|
-
{
|
4053
|
-
"kind": "js",
|
4054
|
-
"name": "*",
|
4055
|
-
"declaration": {
|
4056
|
-
"name": "*",
|
4057
|
-
"package": "./when-else"
|
4058
|
-
}
|
4059
|
-
}
|
4060
|
-
]
|
4061
|
-
},
|
4062
|
-
{
|
4063
|
-
"kind": "javascript-module",
|
4064
|
-
"path": "src/directives/when-else/when-else.ts",
|
4065
|
-
"declarations": [
|
4066
|
-
{
|
4067
|
-
"kind": "function",
|
4068
|
-
"name": "whenElse",
|
4069
|
-
"return": {
|
4070
|
-
"type": {
|
4071
|
-
"text": "CaptureType<TSource>"
|
4072
|
-
}
|
4073
|
-
},
|
4074
|
-
"parameters": [
|
4075
|
-
{
|
4076
|
-
"name": "binding",
|
4077
|
-
"type": {
|
4078
|
-
"text": "Binding<TSource, TReturn>"
|
4079
|
-
},
|
4080
|
-
"description": "The condition to test for rendering."
|
4081
|
-
},
|
4082
|
-
{
|
4083
|
-
"name": "trueTemplateOrTemplateBinding",
|
4084
|
-
"type": {
|
4085
|
-
"text": "WhenTemplate<TSource>"
|
4086
|
-
},
|
4087
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
4088
|
-
},
|
4089
|
-
{
|
4090
|
-
"name": "falseTemplateOrTemplateBinding",
|
4091
|
-
"type": {
|
4092
|
-
"text": "WhenTemplate<TSource>"
|
4093
|
-
},
|
4094
|
-
"description": "The template or a binding that gets the template to render when the condition is false."
|
4095
|
-
}
|
4096
|
-
],
|
4097
|
-
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
4098
|
-
"privacy": "public"
|
4099
|
-
}
|
4100
|
-
],
|
4101
|
-
"exports": [
|
4102
|
-
{
|
4103
|
-
"kind": "js",
|
4104
|
-
"name": "whenElse",
|
4105
|
-
"declaration": {
|
4106
|
-
"name": "whenElse",
|
4107
|
-
"module": "src/directives/when-else/when-else.ts"
|
4108
|
-
}
|
4109
|
-
}
|
4110
|
-
]
|
4111
|
-
},
|
4112
3958
|
{
|
4113
3959
|
"kind": "javascript-module",
|
4114
3960
|
"path": "src/encoding/base64/decode.ts",
|
@@ -4263,6 +4109,160 @@
|
|
4263
4109
|
}
|
4264
4110
|
]
|
4265
4111
|
},
|
4112
|
+
{
|
4113
|
+
"kind": "javascript-module",
|
4114
|
+
"path": "src/directives/sync/index.ts",
|
4115
|
+
"declarations": [],
|
4116
|
+
"exports": [
|
4117
|
+
{
|
4118
|
+
"kind": "js",
|
4119
|
+
"name": "*",
|
4120
|
+
"declaration": {
|
4121
|
+
"name": "*",
|
4122
|
+
"package": "./sync"
|
4123
|
+
}
|
4124
|
+
}
|
4125
|
+
]
|
4126
|
+
},
|
4127
|
+
{
|
4128
|
+
"kind": "javascript-module",
|
4129
|
+
"path": "src/directives/sync/sync.ts",
|
4130
|
+
"declarations": [
|
4131
|
+
{
|
4132
|
+
"kind": "variable",
|
4133
|
+
"name": "defaultEventMap",
|
4134
|
+
"type": {
|
4135
|
+
"text": "Map<string, EventName>"
|
4136
|
+
},
|
4137
|
+
"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])",
|
4138
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
4139
|
+
"privacy": "public"
|
4140
|
+
},
|
4141
|
+
{
|
4142
|
+
"kind": "function",
|
4143
|
+
"name": "sync",
|
4144
|
+
"return": {
|
4145
|
+
"type": {
|
4146
|
+
"text": "CaptureType<TSource>"
|
4147
|
+
}
|
4148
|
+
},
|
4149
|
+
"parameters": [
|
4150
|
+
{
|
4151
|
+
"name": "binding",
|
4152
|
+
"type": {
|
4153
|
+
"text": "Binding<TSource, TReturn>"
|
4154
|
+
}
|
4155
|
+
},
|
4156
|
+
{
|
4157
|
+
"name": "conversionType",
|
4158
|
+
"default": "'string'",
|
4159
|
+
"type": {
|
4160
|
+
"text": "ConversionType"
|
4161
|
+
}
|
4162
|
+
},
|
4163
|
+
{
|
4164
|
+
"name": "eventName",
|
4165
|
+
"default": "'default'",
|
4166
|
+
"type": {
|
4167
|
+
"text": "EventName"
|
4168
|
+
}
|
4169
|
+
},
|
4170
|
+
{
|
4171
|
+
"name": "keyAttr",
|
4172
|
+
"optional": true,
|
4173
|
+
"type": {
|
4174
|
+
"text": "string"
|
4175
|
+
}
|
4176
|
+
}
|
4177
|
+
],
|
4178
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
4179
|
+
"privacy": "public"
|
4180
|
+
}
|
4181
|
+
],
|
4182
|
+
"exports": [
|
4183
|
+
{
|
4184
|
+
"kind": "js",
|
4185
|
+
"name": "defaultEventMap",
|
4186
|
+
"declaration": {
|
4187
|
+
"name": "defaultEventMap",
|
4188
|
+
"module": "src/directives/sync/sync.ts"
|
4189
|
+
}
|
4190
|
+
},
|
4191
|
+
{
|
4192
|
+
"kind": "js",
|
4193
|
+
"name": "sync",
|
4194
|
+
"declaration": {
|
4195
|
+
"name": "sync",
|
4196
|
+
"module": "src/directives/sync/sync.ts"
|
4197
|
+
}
|
4198
|
+
}
|
4199
|
+
]
|
4200
|
+
},
|
4201
|
+
{
|
4202
|
+
"kind": "javascript-module",
|
4203
|
+
"path": "src/directives/when-else/index.ts",
|
4204
|
+
"declarations": [],
|
4205
|
+
"exports": [
|
4206
|
+
{
|
4207
|
+
"kind": "js",
|
4208
|
+
"name": "*",
|
4209
|
+
"declaration": {
|
4210
|
+
"name": "*",
|
4211
|
+
"package": "./when-else"
|
4212
|
+
}
|
4213
|
+
}
|
4214
|
+
]
|
4215
|
+
},
|
4216
|
+
{
|
4217
|
+
"kind": "javascript-module",
|
4218
|
+
"path": "src/directives/when-else/when-else.ts",
|
4219
|
+
"declarations": [
|
4220
|
+
{
|
4221
|
+
"kind": "function",
|
4222
|
+
"name": "whenElse",
|
4223
|
+
"return": {
|
4224
|
+
"type": {
|
4225
|
+
"text": "CaptureType<TSource>"
|
4226
|
+
}
|
4227
|
+
},
|
4228
|
+
"parameters": [
|
4229
|
+
{
|
4230
|
+
"name": "binding",
|
4231
|
+
"type": {
|
4232
|
+
"text": "Binding<TSource, TReturn>"
|
4233
|
+
},
|
4234
|
+
"description": "The condition to test for rendering."
|
4235
|
+
},
|
4236
|
+
{
|
4237
|
+
"name": "trueTemplateOrTemplateBinding",
|
4238
|
+
"type": {
|
4239
|
+
"text": "WhenTemplate<TSource>"
|
4240
|
+
},
|
4241
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
4242
|
+
},
|
4243
|
+
{
|
4244
|
+
"name": "falseTemplateOrTemplateBinding",
|
4245
|
+
"type": {
|
4246
|
+
"text": "WhenTemplate<TSource>"
|
4247
|
+
},
|
4248
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
4249
|
+
}
|
4250
|
+
],
|
4251
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
4252
|
+
"privacy": "public"
|
4253
|
+
}
|
4254
|
+
],
|
4255
|
+
"exports": [
|
4256
|
+
{
|
4257
|
+
"kind": "js",
|
4258
|
+
"name": "whenElse",
|
4259
|
+
"declaration": {
|
4260
|
+
"name": "whenElse",
|
4261
|
+
"module": "src/directives/when-else/when-else.ts"
|
4262
|
+
}
|
4263
|
+
}
|
4264
|
+
]
|
4265
|
+
},
|
4266
4266
|
{
|
4267
4267
|
"kind": "javascript-module",
|
4268
4268
|
"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.333.2-alpha-
|
4
|
+
"version": "14.333.2-alpha-ef4c015.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -27,18 +27,18 @@
|
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"devDependencies": {
|
30
|
-
"@genesislcap/foundation-testing": "14.333.2-alpha-
|
31
|
-
"@genesislcap/genx": "14.333.2-alpha-
|
32
|
-
"@genesislcap/rollup-builder": "14.333.2-alpha-
|
33
|
-
"@genesislcap/ts-builder": "14.333.2-alpha-
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.333.2-alpha-
|
35
|
-
"@genesislcap/vite-builder": "14.333.2-alpha-
|
36
|
-
"@genesislcap/webpack-builder": "14.333.2-alpha-
|
30
|
+
"@genesislcap/foundation-testing": "14.333.2-alpha-ef4c015.0",
|
31
|
+
"@genesislcap/genx": "14.333.2-alpha-ef4c015.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.333.2-alpha-ef4c015.0",
|
33
|
+
"@genesislcap/ts-builder": "14.333.2-alpha-ef4c015.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.333.2-alpha-ef4c015.0",
|
35
|
+
"@genesislcap/vite-builder": "14.333.2-alpha-ef4c015.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.333.2-alpha-ef4c015.0",
|
37
37
|
"@types/json-schema": "^7.0.11"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/expression-builder": "14.333.2-alpha-
|
41
|
-
"@genesislcap/foundation-logger": "14.333.2-alpha-
|
40
|
+
"@genesislcap/expression-builder": "14.333.2-alpha-ef4c015.0",
|
41
|
+
"@genesislcap/foundation-logger": "14.333.2-alpha-ef4c015.0",
|
42
42
|
"@microsoft/fast-components": "2.30.6",
|
43
43
|
"@microsoft/fast-element": "1.14.0",
|
44
44
|
"@microsoft/fast-foundation": "2.49.6",
|
@@ -56,5 +56,5 @@
|
|
56
56
|
"access": "public"
|
57
57
|
},
|
58
58
|
"customElements": "dist/custom-elements.json",
|
59
|
-
"gitHead": "
|
59
|
+
"gitHead": "85307b366996a4d08248bb4430d44833a9c8a74f"
|
60
60
|
}
|