@genesislcap/foundation-utils 14.398.0 → 14.399.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 +350 -350
- package/package.json +11 -11
|
@@ -391,6 +391,126 @@
|
|
|
391
391
|
}
|
|
392
392
|
]
|
|
393
393
|
},
|
|
394
|
+
{
|
|
395
|
+
"kind": "javascript-module",
|
|
396
|
+
"path": "src/design-system/design-system.ts",
|
|
397
|
+
"declarations": [
|
|
398
|
+
{
|
|
399
|
+
"kind": "function",
|
|
400
|
+
"name": "assureDesignSystem",
|
|
401
|
+
"return": {
|
|
402
|
+
"type": {
|
|
403
|
+
"text": "DesignSystemModule"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"parameters": [
|
|
407
|
+
{
|
|
408
|
+
"name": "module",
|
|
409
|
+
"type": {
|
|
410
|
+
"text": "DesignSystemModule"
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
],
|
|
414
|
+
"description": "assureDesignSystem.",
|
|
415
|
+
"privacy": "public"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"kind": "function",
|
|
419
|
+
"name": "getCurrentDesignSystem",
|
|
420
|
+
"return": {
|
|
421
|
+
"type": {
|
|
422
|
+
"text": ""
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"parameters": [
|
|
426
|
+
{
|
|
427
|
+
"name": "element",
|
|
428
|
+
"type": {
|
|
429
|
+
"text": "HTMLElement"
|
|
430
|
+
},
|
|
431
|
+
"description": "The starting HTML element"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "fallbackPrefix",
|
|
435
|
+
"type": {
|
|
436
|
+
"text": "string"
|
|
437
|
+
},
|
|
438
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
"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.",
|
|
442
|
+
"privacy": "public"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"kind": "function",
|
|
446
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
447
|
+
"return": {
|
|
448
|
+
"type": {
|
|
449
|
+
"text": ""
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
"parameters": [
|
|
453
|
+
{
|
|
454
|
+
"name": "element",
|
|
455
|
+
"type": {
|
|
456
|
+
"text": "HTMLElement"
|
|
457
|
+
},
|
|
458
|
+
"description": "The starting HTML element"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"name": "fallbackPrefix",
|
|
462
|
+
"type": {
|
|
463
|
+
"text": "string"
|
|
464
|
+
},
|
|
465
|
+
"description": "The prefix to fallback to if the provider is not available"
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
|
|
469
|
+
"privacy": "public"
|
|
470
|
+
}
|
|
471
|
+
],
|
|
472
|
+
"exports": [
|
|
473
|
+
{
|
|
474
|
+
"kind": "js",
|
|
475
|
+
"name": "assureDesignSystem",
|
|
476
|
+
"declaration": {
|
|
477
|
+
"name": "assureDesignSystem",
|
|
478
|
+
"module": "src/design-system/design-system.ts"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"kind": "js",
|
|
483
|
+
"name": "getCurrentDesignSystem",
|
|
484
|
+
"declaration": {
|
|
485
|
+
"name": "getCurrentDesignSystem",
|
|
486
|
+
"module": "src/design-system/design-system.ts"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"kind": "js",
|
|
491
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
492
|
+
"declaration": {
|
|
493
|
+
"name": "getCurrentDesignSystemPrefix",
|
|
494
|
+
"module": "src/design-system/design-system.ts"
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
]
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"kind": "javascript-module",
|
|
501
|
+
"path": "src/design-system/index.ts",
|
|
502
|
+
"declarations": [],
|
|
503
|
+
"exports": [
|
|
504
|
+
{
|
|
505
|
+
"kind": "js",
|
|
506
|
+
"name": "*",
|
|
507
|
+
"declaration": {
|
|
508
|
+
"name": "*",
|
|
509
|
+
"package": "./design-system"
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
]
|
|
513
|
+
},
|
|
394
514
|
{
|
|
395
515
|
"kind": "javascript-module",
|
|
396
516
|
"path": "src/decorators/index.ts",
|
|
@@ -444,29 +564,6 @@
|
|
|
444
564
|
}
|
|
445
565
|
]
|
|
446
566
|
},
|
|
447
|
-
{
|
|
448
|
-
"kind": "javascript-module",
|
|
449
|
-
"path": "src/directives/index.ts",
|
|
450
|
-
"declarations": [],
|
|
451
|
-
"exports": [
|
|
452
|
-
{
|
|
453
|
-
"kind": "js",
|
|
454
|
-
"name": "*",
|
|
455
|
-
"declaration": {
|
|
456
|
-
"name": "*",
|
|
457
|
-
"package": "./sync"
|
|
458
|
-
}
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
"kind": "js",
|
|
462
|
-
"name": "*",
|
|
463
|
-
"declaration": {
|
|
464
|
-
"name": "*",
|
|
465
|
-
"package": "./when-else"
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
]
|
|
469
|
-
},
|
|
470
567
|
{
|
|
471
568
|
"kind": "javascript-module",
|
|
472
569
|
"path": "src/encoding/index.ts",
|
|
@@ -959,190 +1056,70 @@
|
|
|
959
1056
|
},
|
|
960
1057
|
{
|
|
961
1058
|
"kind": "javascript-module",
|
|
962
|
-
"path": "src/
|
|
1059
|
+
"path": "src/error/errorMap.ts",
|
|
963
1060
|
"declarations": [
|
|
964
1061
|
{
|
|
965
|
-
"kind": "
|
|
966
|
-
"
|
|
967
|
-
"
|
|
968
|
-
|
|
969
|
-
"text": "DesignSystemModule"
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
|
-
"parameters": [
|
|
1062
|
+
"kind": "class",
|
|
1063
|
+
"description": "",
|
|
1064
|
+
"name": "DefaultErrorMap",
|
|
1065
|
+
"members": [
|
|
973
1066
|
{
|
|
974
|
-
"
|
|
975
|
-
"
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
}
|
|
979
|
-
],
|
|
980
|
-
"description": "assureDesignSystem.",
|
|
981
|
-
"privacy": "public"
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
"kind": "function",
|
|
985
|
-
"name": "getCurrentDesignSystem",
|
|
986
|
-
"return": {
|
|
987
|
-
"type": {
|
|
988
|
-
"text": ""
|
|
989
|
-
}
|
|
990
|
-
},
|
|
991
|
-
"parameters": [
|
|
1067
|
+
"kind": "field",
|
|
1068
|
+
"name": "map",
|
|
1069
|
+
"privacy": "private",
|
|
1070
|
+
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
1071
|
+
},
|
|
992
1072
|
{
|
|
993
|
-
"
|
|
1073
|
+
"kind": "field",
|
|
1074
|
+
"name": "lastError",
|
|
994
1075
|
"type": {
|
|
995
|
-
"text": "
|
|
1076
|
+
"text": "Error"
|
|
996
1077
|
},
|
|
997
|
-
"description": "
|
|
1078
|
+
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
998
1079
|
},
|
|
999
1080
|
{
|
|
1000
|
-
"
|
|
1001
|
-
"
|
|
1002
|
-
|
|
1081
|
+
"kind": "method",
|
|
1082
|
+
"name": "set",
|
|
1083
|
+
"return": {
|
|
1084
|
+
"type": {
|
|
1085
|
+
"text": "void"
|
|
1086
|
+
}
|
|
1003
1087
|
},
|
|
1004
|
-
"
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1088
|
+
"parameters": [
|
|
1089
|
+
{
|
|
1090
|
+
"name": "key",
|
|
1091
|
+
"type": {
|
|
1092
|
+
"text": "keyof TErrorDetailMap"
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"name": "error",
|
|
1097
|
+
"type": {
|
|
1098
|
+
"text": "Error"
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
],
|
|
1102
|
+
"description": "{@inheritDoc ErrorMap.set}"
|
|
1103
|
+
},
|
|
1019
1104
|
{
|
|
1020
|
-
"
|
|
1021
|
-
"
|
|
1022
|
-
|
|
1105
|
+
"kind": "method",
|
|
1106
|
+
"name": "get",
|
|
1107
|
+
"return": {
|
|
1108
|
+
"type": {
|
|
1109
|
+
"text": ""
|
|
1110
|
+
}
|
|
1023
1111
|
},
|
|
1024
|
-
"
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
"privacy": "public"
|
|
1036
|
-
}
|
|
1037
|
-
],
|
|
1038
|
-
"exports": [
|
|
1039
|
-
{
|
|
1040
|
-
"kind": "js",
|
|
1041
|
-
"name": "assureDesignSystem",
|
|
1042
|
-
"declaration": {
|
|
1043
|
-
"name": "assureDesignSystem",
|
|
1044
|
-
"module": "src/design-system/design-system.ts"
|
|
1045
|
-
}
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"kind": "js",
|
|
1049
|
-
"name": "getCurrentDesignSystem",
|
|
1050
|
-
"declaration": {
|
|
1051
|
-
"name": "getCurrentDesignSystem",
|
|
1052
|
-
"module": "src/design-system/design-system.ts"
|
|
1053
|
-
}
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
"kind": "js",
|
|
1057
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
1058
|
-
"declaration": {
|
|
1059
|
-
"name": "getCurrentDesignSystemPrefix",
|
|
1060
|
-
"module": "src/design-system/design-system.ts"
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
]
|
|
1064
|
-
},
|
|
1065
|
-
{
|
|
1066
|
-
"kind": "javascript-module",
|
|
1067
|
-
"path": "src/design-system/index.ts",
|
|
1068
|
-
"declarations": [],
|
|
1069
|
-
"exports": [
|
|
1070
|
-
{
|
|
1071
|
-
"kind": "js",
|
|
1072
|
-
"name": "*",
|
|
1073
|
-
"declaration": {
|
|
1074
|
-
"name": "*",
|
|
1075
|
-
"package": "./design-system"
|
|
1076
|
-
}
|
|
1077
|
-
}
|
|
1078
|
-
]
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"kind": "javascript-module",
|
|
1082
|
-
"path": "src/error/errorMap.ts",
|
|
1083
|
-
"declarations": [
|
|
1084
|
-
{
|
|
1085
|
-
"kind": "class",
|
|
1086
|
-
"description": "",
|
|
1087
|
-
"name": "DefaultErrorMap",
|
|
1088
|
-
"members": [
|
|
1089
|
-
{
|
|
1090
|
-
"kind": "field",
|
|
1091
|
-
"name": "map",
|
|
1092
|
-
"privacy": "private",
|
|
1093
|
-
"default": "new Map<keyof TErrorDetailMap, Error>()"
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
"kind": "field",
|
|
1097
|
-
"name": "lastError",
|
|
1098
|
-
"type": {
|
|
1099
|
-
"text": "Error"
|
|
1100
|
-
},
|
|
1101
|
-
"description": "{@inheritDoc ErrorMap.lastError}"
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
"kind": "method",
|
|
1105
|
-
"name": "set",
|
|
1106
|
-
"return": {
|
|
1107
|
-
"type": {
|
|
1108
|
-
"text": "void"
|
|
1109
|
-
}
|
|
1110
|
-
},
|
|
1111
|
-
"parameters": [
|
|
1112
|
-
{
|
|
1113
|
-
"name": "key",
|
|
1114
|
-
"type": {
|
|
1115
|
-
"text": "keyof TErrorDetailMap"
|
|
1116
|
-
}
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
"name": "error",
|
|
1120
|
-
"type": {
|
|
1121
|
-
"text": "Error"
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
],
|
|
1125
|
-
"description": "{@inheritDoc ErrorMap.set}"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"kind": "method",
|
|
1129
|
-
"name": "get",
|
|
1130
|
-
"return": {
|
|
1131
|
-
"type": {
|
|
1132
|
-
"text": ""
|
|
1133
|
-
}
|
|
1134
|
-
},
|
|
1135
|
-
"parameters": [
|
|
1136
|
-
{
|
|
1137
|
-
"name": "key",
|
|
1138
|
-
"type": {
|
|
1139
|
-
"text": "keyof TErrorDetailMap"
|
|
1140
|
-
},
|
|
1141
|
-
"description": "The key."
|
|
1142
|
-
}
|
|
1143
|
-
],
|
|
1144
|
-
"description": "Get an error by key.",
|
|
1145
|
-
"privacy": "public"
|
|
1112
|
+
"parameters": [
|
|
1113
|
+
{
|
|
1114
|
+
"name": "key",
|
|
1115
|
+
"type": {
|
|
1116
|
+
"text": "keyof TErrorDetailMap"
|
|
1117
|
+
},
|
|
1118
|
+
"description": "The key."
|
|
1119
|
+
}
|
|
1120
|
+
],
|
|
1121
|
+
"description": "Get an error by key.",
|
|
1122
|
+
"privacy": "public"
|
|
1146
1123
|
},
|
|
1147
1124
|
{
|
|
1148
1125
|
"kind": "method",
|
|
@@ -1276,6 +1253,29 @@
|
|
|
1276
1253
|
}
|
|
1277
1254
|
]
|
|
1278
1255
|
},
|
|
1256
|
+
{
|
|
1257
|
+
"kind": "javascript-module",
|
|
1258
|
+
"path": "src/directives/index.ts",
|
|
1259
|
+
"declarations": [],
|
|
1260
|
+
"exports": [
|
|
1261
|
+
{
|
|
1262
|
+
"kind": "js",
|
|
1263
|
+
"name": "*",
|
|
1264
|
+
"declaration": {
|
|
1265
|
+
"name": "*",
|
|
1266
|
+
"package": "./sync"
|
|
1267
|
+
}
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"kind": "js",
|
|
1271
|
+
"name": "*",
|
|
1272
|
+
"declaration": {
|
|
1273
|
+
"name": "*",
|
|
1274
|
+
"package": "./when-else"
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
]
|
|
1278
|
+
},
|
|
1279
1279
|
{
|
|
1280
1280
|
"kind": "javascript-module",
|
|
1281
1281
|
"path": "src/feature-flags/featureFlags.ts",
|
|
@@ -4143,160 +4143,6 @@
|
|
|
4143
4143
|
}
|
|
4144
4144
|
]
|
|
4145
4145
|
},
|
|
4146
|
-
{
|
|
4147
|
-
"kind": "javascript-module",
|
|
4148
|
-
"path": "src/directives/sync/index.ts",
|
|
4149
|
-
"declarations": [],
|
|
4150
|
-
"exports": [
|
|
4151
|
-
{
|
|
4152
|
-
"kind": "js",
|
|
4153
|
-
"name": "*",
|
|
4154
|
-
"declaration": {
|
|
4155
|
-
"name": "*",
|
|
4156
|
-
"package": "./sync"
|
|
4157
|
-
}
|
|
4158
|
-
}
|
|
4159
|
-
]
|
|
4160
|
-
},
|
|
4161
|
-
{
|
|
4162
|
-
"kind": "javascript-module",
|
|
4163
|
-
"path": "src/directives/sync/sync.ts",
|
|
4164
|
-
"declarations": [
|
|
4165
|
-
{
|
|
4166
|
-
"kind": "variable",
|
|
4167
|
-
"name": "defaultEventMap",
|
|
4168
|
-
"type": {
|
|
4169
|
-
"text": "Map<string, EventName>"
|
|
4170
|
-
},
|
|
4171
|
-
"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])",
|
|
4172
|
-
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
4173
|
-
"privacy": "public"
|
|
4174
|
-
},
|
|
4175
|
-
{
|
|
4176
|
-
"kind": "function",
|
|
4177
|
-
"name": "sync",
|
|
4178
|
-
"return": {
|
|
4179
|
-
"type": {
|
|
4180
|
-
"text": "CaptureType<TSource>"
|
|
4181
|
-
}
|
|
4182
|
-
},
|
|
4183
|
-
"parameters": [
|
|
4184
|
-
{
|
|
4185
|
-
"name": "binding",
|
|
4186
|
-
"type": {
|
|
4187
|
-
"text": "Binding<TSource, TReturn>"
|
|
4188
|
-
}
|
|
4189
|
-
},
|
|
4190
|
-
{
|
|
4191
|
-
"name": "conversionType",
|
|
4192
|
-
"default": "'string'",
|
|
4193
|
-
"type": {
|
|
4194
|
-
"text": "ConversionType"
|
|
4195
|
-
}
|
|
4196
|
-
},
|
|
4197
|
-
{
|
|
4198
|
-
"name": "eventName",
|
|
4199
|
-
"default": "'default'",
|
|
4200
|
-
"type": {
|
|
4201
|
-
"text": "EventName"
|
|
4202
|
-
}
|
|
4203
|
-
},
|
|
4204
|
-
{
|
|
4205
|
-
"name": "keyAttr",
|
|
4206
|
-
"optional": true,
|
|
4207
|
-
"type": {
|
|
4208
|
-
"text": "string"
|
|
4209
|
-
}
|
|
4210
|
-
}
|
|
4211
|
-
],
|
|
4212
|
-
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
4213
|
-
"privacy": "public"
|
|
4214
|
-
}
|
|
4215
|
-
],
|
|
4216
|
-
"exports": [
|
|
4217
|
-
{
|
|
4218
|
-
"kind": "js",
|
|
4219
|
-
"name": "defaultEventMap",
|
|
4220
|
-
"declaration": {
|
|
4221
|
-
"name": "defaultEventMap",
|
|
4222
|
-
"module": "src/directives/sync/sync.ts"
|
|
4223
|
-
}
|
|
4224
|
-
},
|
|
4225
|
-
{
|
|
4226
|
-
"kind": "js",
|
|
4227
|
-
"name": "sync",
|
|
4228
|
-
"declaration": {
|
|
4229
|
-
"name": "sync",
|
|
4230
|
-
"module": "src/directives/sync/sync.ts"
|
|
4231
|
-
}
|
|
4232
|
-
}
|
|
4233
|
-
]
|
|
4234
|
-
},
|
|
4235
|
-
{
|
|
4236
|
-
"kind": "javascript-module",
|
|
4237
|
-
"path": "src/directives/when-else/index.ts",
|
|
4238
|
-
"declarations": [],
|
|
4239
|
-
"exports": [
|
|
4240
|
-
{
|
|
4241
|
-
"kind": "js",
|
|
4242
|
-
"name": "*",
|
|
4243
|
-
"declaration": {
|
|
4244
|
-
"name": "*",
|
|
4245
|
-
"package": "./when-else"
|
|
4246
|
-
}
|
|
4247
|
-
}
|
|
4248
|
-
]
|
|
4249
|
-
},
|
|
4250
|
-
{
|
|
4251
|
-
"kind": "javascript-module",
|
|
4252
|
-
"path": "src/directives/when-else/when-else.ts",
|
|
4253
|
-
"declarations": [
|
|
4254
|
-
{
|
|
4255
|
-
"kind": "function",
|
|
4256
|
-
"name": "whenElse",
|
|
4257
|
-
"return": {
|
|
4258
|
-
"type": {
|
|
4259
|
-
"text": "CaptureType<TSource>"
|
|
4260
|
-
}
|
|
4261
|
-
},
|
|
4262
|
-
"parameters": [
|
|
4263
|
-
{
|
|
4264
|
-
"name": "binding",
|
|
4265
|
-
"type": {
|
|
4266
|
-
"text": "Binding<TSource, TReturn>"
|
|
4267
|
-
},
|
|
4268
|
-
"description": "The condition to test for rendering."
|
|
4269
|
-
},
|
|
4270
|
-
{
|
|
4271
|
-
"name": "trueTemplateOrTemplateBinding",
|
|
4272
|
-
"type": {
|
|
4273
|
-
"text": "WhenTemplate<TSource>"
|
|
4274
|
-
},
|
|
4275
|
-
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
4276
|
-
},
|
|
4277
|
-
{
|
|
4278
|
-
"name": "falseTemplateOrTemplateBinding",
|
|
4279
|
-
"type": {
|
|
4280
|
-
"text": "WhenTemplate<TSource>"
|
|
4281
|
-
},
|
|
4282
|
-
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
4283
|
-
}
|
|
4284
|
-
],
|
|
4285
|
-
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
4286
|
-
"privacy": "public"
|
|
4287
|
-
}
|
|
4288
|
-
],
|
|
4289
|
-
"exports": [
|
|
4290
|
-
{
|
|
4291
|
-
"kind": "js",
|
|
4292
|
-
"name": "whenElse",
|
|
4293
|
-
"declaration": {
|
|
4294
|
-
"name": "whenElse",
|
|
4295
|
-
"module": "src/directives/when-else/when-else.ts"
|
|
4296
|
-
}
|
|
4297
|
-
}
|
|
4298
|
-
]
|
|
4299
|
-
},
|
|
4300
4146
|
{
|
|
4301
4147
|
"kind": "javascript-module",
|
|
4302
4148
|
"path": "src/encoding/base64/decode.ts",
|
|
@@ -4451,6 +4297,160 @@
|
|
|
4451
4297
|
}
|
|
4452
4298
|
]
|
|
4453
4299
|
},
|
|
4300
|
+
{
|
|
4301
|
+
"kind": "javascript-module",
|
|
4302
|
+
"path": "src/directives/sync/index.ts",
|
|
4303
|
+
"declarations": [],
|
|
4304
|
+
"exports": [
|
|
4305
|
+
{
|
|
4306
|
+
"kind": "js",
|
|
4307
|
+
"name": "*",
|
|
4308
|
+
"declaration": {
|
|
4309
|
+
"name": "*",
|
|
4310
|
+
"package": "./sync"
|
|
4311
|
+
}
|
|
4312
|
+
}
|
|
4313
|
+
]
|
|
4314
|
+
},
|
|
4315
|
+
{
|
|
4316
|
+
"kind": "javascript-module",
|
|
4317
|
+
"path": "src/directives/sync/sync.ts",
|
|
4318
|
+
"declarations": [
|
|
4319
|
+
{
|
|
4320
|
+
"kind": "variable",
|
|
4321
|
+
"name": "defaultEventMap",
|
|
4322
|
+
"type": {
|
|
4323
|
+
"text": "Map<string, EventName>"
|
|
4324
|
+
},
|
|
4325
|
+
"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])",
|
|
4326
|
+
"description": "A map that associates specific HTML element tags with their corresponding default event names.",
|
|
4327
|
+
"privacy": "public"
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
"kind": "function",
|
|
4331
|
+
"name": "sync",
|
|
4332
|
+
"return": {
|
|
4333
|
+
"type": {
|
|
4334
|
+
"text": "CaptureType<TSource>"
|
|
4335
|
+
}
|
|
4336
|
+
},
|
|
4337
|
+
"parameters": [
|
|
4338
|
+
{
|
|
4339
|
+
"name": "binding",
|
|
4340
|
+
"type": {
|
|
4341
|
+
"text": "Binding<TSource, TReturn>"
|
|
4342
|
+
}
|
|
4343
|
+
},
|
|
4344
|
+
{
|
|
4345
|
+
"name": "conversionType",
|
|
4346
|
+
"default": "'string'",
|
|
4347
|
+
"type": {
|
|
4348
|
+
"text": "ConversionType"
|
|
4349
|
+
}
|
|
4350
|
+
},
|
|
4351
|
+
{
|
|
4352
|
+
"name": "eventName",
|
|
4353
|
+
"default": "'default'",
|
|
4354
|
+
"type": {
|
|
4355
|
+
"text": "EventName"
|
|
4356
|
+
}
|
|
4357
|
+
},
|
|
4358
|
+
{
|
|
4359
|
+
"name": "keyAttr",
|
|
4360
|
+
"optional": true,
|
|
4361
|
+
"type": {
|
|
4362
|
+
"text": "string"
|
|
4363
|
+
}
|
|
4364
|
+
}
|
|
4365
|
+
],
|
|
4366
|
+
"description": "Creates a synchronization directive that binds a data source to an HTML element,",
|
|
4367
|
+
"privacy": "public"
|
|
4368
|
+
}
|
|
4369
|
+
],
|
|
4370
|
+
"exports": [
|
|
4371
|
+
{
|
|
4372
|
+
"kind": "js",
|
|
4373
|
+
"name": "defaultEventMap",
|
|
4374
|
+
"declaration": {
|
|
4375
|
+
"name": "defaultEventMap",
|
|
4376
|
+
"module": "src/directives/sync/sync.ts"
|
|
4377
|
+
}
|
|
4378
|
+
},
|
|
4379
|
+
{
|
|
4380
|
+
"kind": "js",
|
|
4381
|
+
"name": "sync",
|
|
4382
|
+
"declaration": {
|
|
4383
|
+
"name": "sync",
|
|
4384
|
+
"module": "src/directives/sync/sync.ts"
|
|
4385
|
+
}
|
|
4386
|
+
}
|
|
4387
|
+
]
|
|
4388
|
+
},
|
|
4389
|
+
{
|
|
4390
|
+
"kind": "javascript-module",
|
|
4391
|
+
"path": "src/directives/when-else/index.ts",
|
|
4392
|
+
"declarations": [],
|
|
4393
|
+
"exports": [
|
|
4394
|
+
{
|
|
4395
|
+
"kind": "js",
|
|
4396
|
+
"name": "*",
|
|
4397
|
+
"declaration": {
|
|
4398
|
+
"name": "*",
|
|
4399
|
+
"package": "./when-else"
|
|
4400
|
+
}
|
|
4401
|
+
}
|
|
4402
|
+
]
|
|
4403
|
+
},
|
|
4404
|
+
{
|
|
4405
|
+
"kind": "javascript-module",
|
|
4406
|
+
"path": "src/directives/when-else/when-else.ts",
|
|
4407
|
+
"declarations": [
|
|
4408
|
+
{
|
|
4409
|
+
"kind": "function",
|
|
4410
|
+
"name": "whenElse",
|
|
4411
|
+
"return": {
|
|
4412
|
+
"type": {
|
|
4413
|
+
"text": "CaptureType<TSource>"
|
|
4414
|
+
}
|
|
4415
|
+
},
|
|
4416
|
+
"parameters": [
|
|
4417
|
+
{
|
|
4418
|
+
"name": "binding",
|
|
4419
|
+
"type": {
|
|
4420
|
+
"text": "Binding<TSource, TReturn>"
|
|
4421
|
+
},
|
|
4422
|
+
"description": "The condition to test for rendering."
|
|
4423
|
+
},
|
|
4424
|
+
{
|
|
4425
|
+
"name": "trueTemplateOrTemplateBinding",
|
|
4426
|
+
"type": {
|
|
4427
|
+
"text": "WhenTemplate<TSource>"
|
|
4428
|
+
},
|
|
4429
|
+
"description": "The template or a binding that gets the template to render when the condition is true."
|
|
4430
|
+
},
|
|
4431
|
+
{
|
|
4432
|
+
"name": "falseTemplateOrTemplateBinding",
|
|
4433
|
+
"type": {
|
|
4434
|
+
"text": "WhenTemplate<TSource>"
|
|
4435
|
+
},
|
|
4436
|
+
"description": "The template or a binding that gets the template to render when the condition is false."
|
|
4437
|
+
}
|
|
4438
|
+
],
|
|
4439
|
+
"description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
|
|
4440
|
+
"privacy": "public"
|
|
4441
|
+
}
|
|
4442
|
+
],
|
|
4443
|
+
"exports": [
|
|
4444
|
+
{
|
|
4445
|
+
"kind": "js",
|
|
4446
|
+
"name": "whenElse",
|
|
4447
|
+
"declaration": {
|
|
4448
|
+
"name": "whenElse",
|
|
4449
|
+
"module": "src/directives/when-else/when-else.ts"
|
|
4450
|
+
}
|
|
4451
|
+
}
|
|
4452
|
+
]
|
|
4453
|
+
},
|
|
4454
4454
|
{
|
|
4455
4455
|
"kind": "javascript-module",
|
|
4456
4456
|
"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.
|
|
4
|
+
"version": "14.399.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.
|
|
33
|
-
"@genesislcap/genx": "14.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.
|
|
35
|
-
"@genesislcap/ts-builder": "14.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
37
|
-
"@genesislcap/vite-builder": "14.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.399.0",
|
|
33
|
+
"@genesislcap/genx": "14.399.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.399.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.399.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.399.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.399.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.399.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.
|
|
42
|
+
"@genesislcap/expression-builder": "14.399.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.399.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": "
|
|
61
|
+
"gitHead": "e356bc87abc6cd0a5d6e7a493ecd74dcf544d49c"
|
|
62
62
|
}
|