@genesislcap/foundation-utils 14.332.0 → 14.332.1-alpha-bc28201.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 +359 -359
- package/package.json +11 -11
@@ -383,149 +383,6 @@
|
|
383
383
|
}
|
384
384
|
]
|
385
385
|
},
|
386
|
-
{
|
387
|
-
"kind": "javascript-module",
|
388
|
-
"path": "src/design-system/design-system.ts",
|
389
|
-
"declarations": [
|
390
|
-
{
|
391
|
-
"kind": "function",
|
392
|
-
"name": "assureDesignSystem",
|
393
|
-
"return": {
|
394
|
-
"type": {
|
395
|
-
"text": "DesignSystemModule"
|
396
|
-
}
|
397
|
-
},
|
398
|
-
"parameters": [
|
399
|
-
{
|
400
|
-
"name": "module",
|
401
|
-
"type": {
|
402
|
-
"text": "DesignSystemModule"
|
403
|
-
}
|
404
|
-
}
|
405
|
-
],
|
406
|
-
"description": "assureDesignSystem.",
|
407
|
-
"privacy": "public"
|
408
|
-
},
|
409
|
-
{
|
410
|
-
"kind": "function",
|
411
|
-
"name": "getCurrentDesignSystem",
|
412
|
-
"return": {
|
413
|
-
"type": {
|
414
|
-
"text": ""
|
415
|
-
}
|
416
|
-
},
|
417
|
-
"parameters": [
|
418
|
-
{
|
419
|
-
"name": "element",
|
420
|
-
"type": {
|
421
|
-
"text": "HTMLElement"
|
422
|
-
},
|
423
|
-
"description": "The starting HTML element"
|
424
|
-
},
|
425
|
-
{
|
426
|
-
"name": "fallbackPrefix",
|
427
|
-
"type": {
|
428
|
-
"text": "string"
|
429
|
-
},
|
430
|
-
"description": "The prefix to fallback to if the provider is not available"
|
431
|
-
}
|
432
|
-
],
|
433
|
-
"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.",
|
434
|
-
"privacy": "public"
|
435
|
-
},
|
436
|
-
{
|
437
|
-
"kind": "function",
|
438
|
-
"name": "getCurrentDesignSystemPrefix",
|
439
|
-
"return": {
|
440
|
-
"type": {
|
441
|
-
"text": ""
|
442
|
-
}
|
443
|
-
},
|
444
|
-
"parameters": [
|
445
|
-
{
|
446
|
-
"name": "element",
|
447
|
-
"type": {
|
448
|
-
"text": "HTMLElement"
|
449
|
-
},
|
450
|
-
"description": "The starting HTML element"
|
451
|
-
},
|
452
|
-
{
|
453
|
-
"name": "fallbackPrefix",
|
454
|
-
"type": {
|
455
|
-
"text": "string"
|
456
|
-
},
|
457
|
-
"description": "The prefix to fallback to if the provider is not available"
|
458
|
-
}
|
459
|
-
],
|
460
|
-
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
461
|
-
"privacy": "public"
|
462
|
-
}
|
463
|
-
],
|
464
|
-
"exports": [
|
465
|
-
{
|
466
|
-
"kind": "js",
|
467
|
-
"name": "assureDesignSystem",
|
468
|
-
"declaration": {
|
469
|
-
"name": "assureDesignSystem",
|
470
|
-
"module": "src/design-system/design-system.ts"
|
471
|
-
}
|
472
|
-
},
|
473
|
-
{
|
474
|
-
"kind": "js",
|
475
|
-
"name": "getCurrentDesignSystem",
|
476
|
-
"declaration": {
|
477
|
-
"name": "getCurrentDesignSystem",
|
478
|
-
"module": "src/design-system/design-system.ts"
|
479
|
-
}
|
480
|
-
},
|
481
|
-
{
|
482
|
-
"kind": "js",
|
483
|
-
"name": "getCurrentDesignSystemPrefix",
|
484
|
-
"declaration": {
|
485
|
-
"name": "getCurrentDesignSystemPrefix",
|
486
|
-
"module": "src/design-system/design-system.ts"
|
487
|
-
}
|
488
|
-
}
|
489
|
-
]
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"kind": "javascript-module",
|
493
|
-
"path": "src/design-system/index.ts",
|
494
|
-
"declarations": [],
|
495
|
-
"exports": [
|
496
|
-
{
|
497
|
-
"kind": "js",
|
498
|
-
"name": "*",
|
499
|
-
"declaration": {
|
500
|
-
"name": "*",
|
501
|
-
"package": "./design-system"
|
502
|
-
}
|
503
|
-
}
|
504
|
-
]
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"kind": "javascript-module",
|
508
|
-
"path": "src/directives/index.ts",
|
509
|
-
"declarations": [],
|
510
|
-
"exports": [
|
511
|
-
{
|
512
|
-
"kind": "js",
|
513
|
-
"name": "*",
|
514
|
-
"declaration": {
|
515
|
-
"name": "*",
|
516
|
-
"package": "./sync"
|
517
|
-
}
|
518
|
-
},
|
519
|
-
{
|
520
|
-
"kind": "js",
|
521
|
-
"name": "*",
|
522
|
-
"declaration": {
|
523
|
-
"name": "*",
|
524
|
-
"package": "./when-else"
|
525
|
-
}
|
526
|
-
}
|
527
|
-
]
|
528
|
-
},
|
529
386
|
{
|
530
387
|
"kind": "javascript-module",
|
531
388
|
"path": "src/decorators/index.ts",
|
@@ -594,6 +451,29 @@
|
|
594
451
|
}
|
595
452
|
]
|
596
453
|
},
|
454
|
+
{
|
455
|
+
"kind": "javascript-module",
|
456
|
+
"path": "src/directives/index.ts",
|
457
|
+
"declarations": [],
|
458
|
+
"exports": [
|
459
|
+
{
|
460
|
+
"kind": "js",
|
461
|
+
"name": "*",
|
462
|
+
"declaration": {
|
463
|
+
"name": "*",
|
464
|
+
"package": "./sync"
|
465
|
+
}
|
466
|
+
},
|
467
|
+
{
|
468
|
+
"kind": "js",
|
469
|
+
"name": "*",
|
470
|
+
"declaration": {
|
471
|
+
"name": "*",
|
472
|
+
"package": "./when-else"
|
473
|
+
}
|
474
|
+
}
|
475
|
+
]
|
476
|
+
},
|
597
477
|
{
|
598
478
|
"kind": "javascript-module",
|
599
479
|
"path": "src/env/index.ts",
|
@@ -1270,121 +1150,241 @@
|
|
1270
1150
|
},
|
1271
1151
|
{
|
1272
1152
|
"kind": "javascript-module",
|
1273
|
-
"path": "src/
|
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": "
|
1350
|
-
"type": {
|
1351
|
-
"text": "boolean"
|
1352
|
-
},
|
1353
|
-
"description": "The flag to determine if formatted value should contain 'time' info."
|
1354
|
-
}
|
1355
|
-
],
|
1356
|
-
"description": "Formats [DATE|DATETIME] Unix Timestamps to readable strings",
|
1357
|
-
"privacy": "public"
|
1358
|
-
},
|
1359
|
-
{
|
1360
|
-
"kind": "function",
|
1361
|
-
"name": "getDateFormatter",
|
1362
|
-
"parameters": [
|
1363
|
-
{
|
1364
|
-
"name": "locale",
|
1365
|
-
"default": "'en-GB'",
|
1218
|
+
"name": "fallbackPrefix",
|
1366
1219
|
"type": {
|
1367
1220
|
"text": "string"
|
1368
|
-
}
|
1369
|
-
|
1370
|
-
{
|
1371
|
-
"name": "options",
|
1372
|
-
"default": "defaultDateOptions",
|
1373
|
-
"type": {
|
1374
|
-
"text": "Intl.DateTimeFormatOptions"
|
1375
|
-
}
|
1221
|
+
},
|
1222
|
+
"description": "The prefix to fallback to if the provider is not available"
|
1376
1223
|
}
|
1377
1224
|
],
|
1225
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
1378
1226
|
"privacy": "public"
|
1379
1227
|
}
|
1380
1228
|
],
|
1381
1229
|
"exports": [
|
1382
1230
|
{
|
1383
1231
|
"kind": "js",
|
1384
|
-
"name": "
|
1232
|
+
"name": "assureDesignSystem",
|
1385
1233
|
"declaration": {
|
1386
|
-
"name": "
|
1387
|
-
"module": "src/
|
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
|
+
},
|
1353
|
+
"description": "The flag to determine if formatted value should contain 'time' info."
|
1354
|
+
}
|
1355
|
+
],
|
1356
|
+
"description": "Formats [DATE|DATETIME] Unix Timestamps to readable strings",
|
1357
|
+
"privacy": "public"
|
1358
|
+
},
|
1359
|
+
{
|
1360
|
+
"kind": "function",
|
1361
|
+
"name": "getDateFormatter",
|
1362
|
+
"parameters": [
|
1363
|
+
{
|
1364
|
+
"name": "locale",
|
1365
|
+
"default": "'en-GB'",
|
1366
|
+
"type": {
|
1367
|
+
"text": "string"
|
1368
|
+
}
|
1369
|
+
},
|
1370
|
+
{
|
1371
|
+
"name": "options",
|
1372
|
+
"default": "defaultDateOptions",
|
1373
|
+
"type": {
|
1374
|
+
"text": "Intl.DateTimeFormatOptions"
|
1375
|
+
}
|
1376
|
+
}
|
1377
|
+
],
|
1378
|
+
"privacy": "public"
|
1379
|
+
}
|
1380
|
+
],
|
1381
|
+
"exports": [
|
1382
|
+
{
|
1383
|
+
"kind": "js",
|
1384
|
+
"name": "formatDateTimestamp",
|
1385
|
+
"declaration": {
|
1386
|
+
"name": "formatDateTimestamp",
|
1387
|
+
"module": "src/formatters/datetime.ts"
|
1388
1388
|
}
|
1389
1389
|
},
|
1390
1390
|
{
|
@@ -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.332.0",
|
4
|
+
"version": "14.332.1-alpha-bc28201.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.332.0",
|
31
|
-
"@genesislcap/genx": "14.332.0",
|
32
|
-
"@genesislcap/rollup-builder": "14.332.0",
|
33
|
-
"@genesislcap/ts-builder": "14.332.0",
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.332.0",
|
35
|
-
"@genesislcap/vite-builder": "14.332.0",
|
36
|
-
"@genesislcap/webpack-builder": "14.332.0",
|
30
|
+
"@genesislcap/foundation-testing": "14.332.1-alpha-bc28201.0",
|
31
|
+
"@genesislcap/genx": "14.332.1-alpha-bc28201.0",
|
32
|
+
"@genesislcap/rollup-builder": "14.332.1-alpha-bc28201.0",
|
33
|
+
"@genesislcap/ts-builder": "14.332.1-alpha-bc28201.0",
|
34
|
+
"@genesislcap/uvu-playwright-builder": "14.332.1-alpha-bc28201.0",
|
35
|
+
"@genesislcap/vite-builder": "14.332.1-alpha-bc28201.0",
|
36
|
+
"@genesislcap/webpack-builder": "14.332.1-alpha-bc28201.0",
|
37
37
|
"@types/json-schema": "^7.0.11"
|
38
38
|
},
|
39
39
|
"dependencies": {
|
40
|
-
"@genesislcap/expression-builder": "14.332.0",
|
41
|
-
"@genesislcap/foundation-logger": "14.332.0",
|
40
|
+
"@genesislcap/expression-builder": "14.332.1-alpha-bc28201.0",
|
41
|
+
"@genesislcap/foundation-logger": "14.332.1-alpha-bc28201.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": "714190a3b185e87f935b488606815305438824b3"
|
60
60
|
}
|