@genesislcap/foundation-utils 14.400.0 → 14.401.0-TPD-4881.2

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.
@@ -127,6 +127,14 @@
127
127
  "package": "./resource"
128
128
  }
129
129
  },
130
+ {
131
+ "kind": "js",
132
+ "name": "*",
133
+ "declaration": {
134
+ "name": "*",
135
+ "package": "./route"
136
+ }
137
+ },
130
138
  {
131
139
  "kind": "js",
132
140
  "name": "*",
@@ -391,126 +399,6 @@
391
399
  }
392
400
  ]
393
401
  },
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
- },
514
402
  {
515
403
  "kind": "javascript-module",
516
404
  "path": "src/decorators/index.ts",
@@ -564,6 +452,21 @@
564
452
  }
565
453
  ]
566
454
  },
455
+ {
456
+ "kind": "javascript-module",
457
+ "path": "src/encoding/index.ts",
458
+ "declarations": [],
459
+ "exports": [
460
+ {
461
+ "kind": "js",
462
+ "name": "*",
463
+ "declaration": {
464
+ "name": "*",
465
+ "package": "./base64"
466
+ }
467
+ }
468
+ ]
469
+ },
567
470
  {
568
471
  "kind": "javascript-module",
569
472
  "path": "src/directives/index.ts",
@@ -1064,78 +967,198 @@
1064
967
  },
1065
968
  {
1066
969
  "kind": "javascript-module",
1067
- "path": "src/error/errorMap.ts",
970
+ "path": "src/design-system/design-system.ts",
1068
971
  "declarations": [
1069
972
  {
1070
- "kind": "class",
1071
- "description": "",
1072
- "name": "DefaultErrorMap",
1073
- "members": [
973
+ "kind": "function",
974
+ "name": "assureDesignSystem",
975
+ "return": {
976
+ "type": {
977
+ "text": "DesignSystemModule"
978
+ }
979
+ },
980
+ "parameters": [
1074
981
  {
1075
- "kind": "field",
1076
- "name": "map",
1077
- "privacy": "private",
1078
- "default": "new Map<keyof TErrorDetailMap, Error>()"
1079
- },
982
+ "name": "module",
983
+ "type": {
984
+ "text": "DesignSystemModule"
985
+ }
986
+ }
987
+ ],
988
+ "description": "assureDesignSystem.",
989
+ "privacy": "public"
990
+ },
991
+ {
992
+ "kind": "function",
993
+ "name": "getCurrentDesignSystem",
994
+ "return": {
995
+ "type": {
996
+ "text": ""
997
+ }
998
+ },
999
+ "parameters": [
1080
1000
  {
1081
- "kind": "field",
1082
- "name": "lastError",
1001
+ "name": "element",
1083
1002
  "type": {
1084
- "text": "Error"
1003
+ "text": "HTMLElement"
1085
1004
  },
1086
- "description": "{@inheritDoc ErrorMap.lastError}"
1005
+ "description": "The starting HTML element"
1087
1006
  },
1088
1007
  {
1089
- "kind": "method",
1090
- "name": "set",
1091
- "return": {
1092
- "type": {
1093
- "text": "void"
1094
- }
1008
+ "name": "fallbackPrefix",
1009
+ "type": {
1010
+ "text": "string"
1095
1011
  },
1096
- "parameters": [
1097
- {
1098
- "name": "key",
1099
- "type": {
1100
- "text": "keyof TErrorDetailMap"
1101
- }
1102
- },
1103
- {
1104
- "name": "error",
1105
- "type": {
1106
- "text": "Error"
1107
- }
1108
- }
1109
- ],
1110
- "description": "{@inheritDoc ErrorMap.set}"
1111
- },
1012
+ "description": "The prefix to fallback to if the provider is not available"
1013
+ }
1014
+ ],
1015
+ "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.",
1016
+ "privacy": "public"
1017
+ },
1018
+ {
1019
+ "kind": "function",
1020
+ "name": "getCurrentDesignSystemPrefix",
1021
+ "return": {
1022
+ "type": {
1023
+ "text": ""
1024
+ }
1025
+ },
1026
+ "parameters": [
1112
1027
  {
1113
- "kind": "method",
1114
- "name": "get",
1115
- "return": {
1116
- "type": {
1117
- "text": ""
1118
- }
1028
+ "name": "element",
1029
+ "type": {
1030
+ "text": "HTMLElement"
1119
1031
  },
1120
- "parameters": [
1121
- {
1122
- "name": "key",
1123
- "type": {
1124
- "text": "keyof TErrorDetailMap"
1125
- },
1126
- "description": "The key."
1127
- }
1128
- ],
1129
- "description": "Get an error by key.",
1130
- "privacy": "public"
1032
+ "description": "The starting HTML element"
1131
1033
  },
1132
1034
  {
1133
- "kind": "method",
1134
- "name": "has",
1135
- "return": {
1136
- "type": {
1137
- "text": ""
1138
- }
1035
+ "name": "fallbackPrefix",
1036
+ "type": {
1037
+ "text": "string"
1038
+ },
1039
+ "description": "The prefix to fallback to if the provider is not available"
1040
+ }
1041
+ ],
1042
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1043
+ "privacy": "public"
1044
+ }
1045
+ ],
1046
+ "exports": [
1047
+ {
1048
+ "kind": "js",
1049
+ "name": "assureDesignSystem",
1050
+ "declaration": {
1051
+ "name": "assureDesignSystem",
1052
+ "module": "src/design-system/design-system.ts"
1053
+ }
1054
+ },
1055
+ {
1056
+ "kind": "js",
1057
+ "name": "getCurrentDesignSystem",
1058
+ "declaration": {
1059
+ "name": "getCurrentDesignSystem",
1060
+ "module": "src/design-system/design-system.ts"
1061
+ }
1062
+ },
1063
+ {
1064
+ "kind": "js",
1065
+ "name": "getCurrentDesignSystemPrefix",
1066
+ "declaration": {
1067
+ "name": "getCurrentDesignSystemPrefix",
1068
+ "module": "src/design-system/design-system.ts"
1069
+ }
1070
+ }
1071
+ ]
1072
+ },
1073
+ {
1074
+ "kind": "javascript-module",
1075
+ "path": "src/design-system/index.ts",
1076
+ "declarations": [],
1077
+ "exports": [
1078
+ {
1079
+ "kind": "js",
1080
+ "name": "*",
1081
+ "declaration": {
1082
+ "name": "*",
1083
+ "package": "./design-system"
1084
+ }
1085
+ }
1086
+ ]
1087
+ },
1088
+ {
1089
+ "kind": "javascript-module",
1090
+ "path": "src/error/errorMap.ts",
1091
+ "declarations": [
1092
+ {
1093
+ "kind": "class",
1094
+ "description": "",
1095
+ "name": "DefaultErrorMap",
1096
+ "members": [
1097
+ {
1098
+ "kind": "field",
1099
+ "name": "map",
1100
+ "privacy": "private",
1101
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
1102
+ },
1103
+ {
1104
+ "kind": "field",
1105
+ "name": "lastError",
1106
+ "type": {
1107
+ "text": "Error"
1108
+ },
1109
+ "description": "{@inheritDoc ErrorMap.lastError}"
1110
+ },
1111
+ {
1112
+ "kind": "method",
1113
+ "name": "set",
1114
+ "return": {
1115
+ "type": {
1116
+ "text": "void"
1117
+ }
1118
+ },
1119
+ "parameters": [
1120
+ {
1121
+ "name": "key",
1122
+ "type": {
1123
+ "text": "keyof TErrorDetailMap"
1124
+ }
1125
+ },
1126
+ {
1127
+ "name": "error",
1128
+ "type": {
1129
+ "text": "Error"
1130
+ }
1131
+ }
1132
+ ],
1133
+ "description": "{@inheritDoc ErrorMap.set}"
1134
+ },
1135
+ {
1136
+ "kind": "method",
1137
+ "name": "get",
1138
+ "return": {
1139
+ "type": {
1140
+ "text": ""
1141
+ }
1142
+ },
1143
+ "parameters": [
1144
+ {
1145
+ "name": "key",
1146
+ "type": {
1147
+ "text": "keyof TErrorDetailMap"
1148
+ },
1149
+ "description": "The key."
1150
+ }
1151
+ ],
1152
+ "description": "Get an error by key.",
1153
+ "privacy": "public"
1154
+ },
1155
+ {
1156
+ "kind": "method",
1157
+ "name": "has",
1158
+ "return": {
1159
+ "type": {
1160
+ "text": ""
1161
+ }
1139
1162
  },
1140
1163
  "parameters": [
1141
1164
  {
@@ -1261,21 +1284,6 @@
1261
1284
  }
1262
1285
  ]
1263
1286
  },
1264
- {
1265
- "kind": "javascript-module",
1266
- "path": "src/encoding/index.ts",
1267
- "declarations": [],
1268
- "exports": [
1269
- {
1270
- "kind": "js",
1271
- "name": "*",
1272
- "declaration": {
1273
- "name": "*",
1274
- "package": "./base64"
1275
- }
1276
- }
1277
- ]
1278
- },
1279
1287
  {
1280
1288
  "kind": "javascript-module",
1281
1289
  "path": "src/feature-flags/featureFlags.ts",
@@ -2562,6 +2570,114 @@
2562
2570
  }
2563
2571
  ]
2564
2572
  },
2573
+ {
2574
+ "kind": "javascript-module",
2575
+ "path": "src/route/index.ts",
2576
+ "declarations": [],
2577
+ "exports": [
2578
+ {
2579
+ "kind": "js",
2580
+ "name": "*",
2581
+ "declaration": {
2582
+ "name": "*",
2583
+ "package": "./route"
2584
+ }
2585
+ }
2586
+ ]
2587
+ },
2588
+ {
2589
+ "kind": "javascript-module",
2590
+ "path": "src/route/route.ts",
2591
+ "declarations": [
2592
+ {
2593
+ "kind": "class",
2594
+ "description": "A singleton utility to observe and notify about route changes.\nIt uses both polling and popstate events to detect changes.",
2595
+ "name": "RouteUtil",
2596
+ "members": [
2597
+ {
2598
+ "kind": "field",
2599
+ "name": "pathName",
2600
+ "type": {
2601
+ "text": "string"
2602
+ },
2603
+ "description": "The current pathname of the window location."
2604
+ },
2605
+ {
2606
+ "kind": "field",
2607
+ "name": "routeCheckInterval",
2608
+ "type": {
2609
+ "text": "number | null"
2610
+ },
2611
+ "privacy": "private",
2612
+ "default": "null"
2613
+ },
2614
+ {
2615
+ "kind": "field",
2616
+ "name": "instance",
2617
+ "type": {
2618
+ "text": "RouteUtil"
2619
+ },
2620
+ "privacy": "private",
2621
+ "static": true
2622
+ },
2623
+ {
2624
+ "kind": "field",
2625
+ "name": "shared",
2626
+ "type": {
2627
+ "text": "RouteUtil"
2628
+ },
2629
+ "privacy": "public",
2630
+ "static": true,
2631
+ "description": "Gets the singleton instance of RouteUtil.",
2632
+ "readonly": true
2633
+ },
2634
+ {
2635
+ "kind": "method",
2636
+ "name": "initializeRouteDetection",
2637
+ "privacy": "private",
2638
+ "return": {
2639
+ "type": {
2640
+ "text": "void"
2641
+ }
2642
+ },
2643
+ "description": "Initialize framework-agnostic route detection"
2644
+ },
2645
+ {
2646
+ "kind": "method",
2647
+ "name": "handleRouteChange",
2648
+ "privacy": "private",
2649
+ "return": {
2650
+ "type": {
2651
+ "text": "void"
2652
+ }
2653
+ },
2654
+ "description": "Handle route changes by updating the pathName observable"
2655
+ },
2656
+ {
2657
+ "kind": "method",
2658
+ "name": "destroy",
2659
+ "privacy": "public",
2660
+ "return": {
2661
+ "type": {
2662
+ "text": "void"
2663
+ }
2664
+ },
2665
+ "description": "Clean up route detection listeners and polling."
2666
+ }
2667
+ ]
2668
+ }
2669
+ ],
2670
+ "exports": [
2671
+ {
2672
+ "kind": "js",
2673
+ "name": "RouteUtil",
2674
+ "declaration": {
2675
+ "name": "RouteUtil",
2676
+ "module": "src/route/route.ts"
2677
+ }
2678
+ }
2679
+ ]
2680
+ },
2565
2681
  {
2566
2682
  "kind": "javascript-module",
2567
2683
  "path": "src/serializers/index.ts",
@@ -4145,168 +4261,14 @@
4145
4261
  },
4146
4262
  {
4147
4263
  "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",
4264
+ "path": "src/encoding/base64/decode.ts",
4164
4265
  "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
4266
  {
4176
4267
  "kind": "function",
4177
- "name": "sync",
4268
+ "name": "decodeFromBase64",
4178
4269
  "return": {
4179
4270
  "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
- {
4301
- "kind": "javascript-module",
4302
- "path": "src/encoding/base64/decode.ts",
4303
- "declarations": [
4304
- {
4305
- "kind": "function",
4306
- "name": "decodeFromBase64",
4307
- "return": {
4308
- "type": {
4309
- "text": ""
4271
+ "text": ""
4310
4272
  }
4311
4273
  },
4312
4274
  "parameters": [
@@ -4451,6 +4413,160 @@
4451
4413
  }
4452
4414
  ]
4453
4415
  },
4416
+ {
4417
+ "kind": "javascript-module",
4418
+ "path": "src/directives/sync/index.ts",
4419
+ "declarations": [],
4420
+ "exports": [
4421
+ {
4422
+ "kind": "js",
4423
+ "name": "*",
4424
+ "declaration": {
4425
+ "name": "*",
4426
+ "package": "./sync"
4427
+ }
4428
+ }
4429
+ ]
4430
+ },
4431
+ {
4432
+ "kind": "javascript-module",
4433
+ "path": "src/directives/sync/sync.ts",
4434
+ "declarations": [
4435
+ {
4436
+ "kind": "variable",
4437
+ "name": "defaultEventMap",
4438
+ "type": {
4439
+ "text": "Map<string, EventName>"
4440
+ },
4441
+ "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])",
4442
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4443
+ "privacy": "public"
4444
+ },
4445
+ {
4446
+ "kind": "function",
4447
+ "name": "sync",
4448
+ "return": {
4449
+ "type": {
4450
+ "text": "CaptureType<TSource>"
4451
+ }
4452
+ },
4453
+ "parameters": [
4454
+ {
4455
+ "name": "binding",
4456
+ "type": {
4457
+ "text": "Binding<TSource, TReturn>"
4458
+ }
4459
+ },
4460
+ {
4461
+ "name": "conversionType",
4462
+ "default": "'string'",
4463
+ "type": {
4464
+ "text": "ConversionType"
4465
+ }
4466
+ },
4467
+ {
4468
+ "name": "eventName",
4469
+ "default": "'default'",
4470
+ "type": {
4471
+ "text": "EventName"
4472
+ }
4473
+ },
4474
+ {
4475
+ "name": "keyAttr",
4476
+ "optional": true,
4477
+ "type": {
4478
+ "text": "string"
4479
+ }
4480
+ }
4481
+ ],
4482
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4483
+ "privacy": "public"
4484
+ }
4485
+ ],
4486
+ "exports": [
4487
+ {
4488
+ "kind": "js",
4489
+ "name": "defaultEventMap",
4490
+ "declaration": {
4491
+ "name": "defaultEventMap",
4492
+ "module": "src/directives/sync/sync.ts"
4493
+ }
4494
+ },
4495
+ {
4496
+ "kind": "js",
4497
+ "name": "sync",
4498
+ "declaration": {
4499
+ "name": "sync",
4500
+ "module": "src/directives/sync/sync.ts"
4501
+ }
4502
+ }
4503
+ ]
4504
+ },
4505
+ {
4506
+ "kind": "javascript-module",
4507
+ "path": "src/directives/when-else/index.ts",
4508
+ "declarations": [],
4509
+ "exports": [
4510
+ {
4511
+ "kind": "js",
4512
+ "name": "*",
4513
+ "declaration": {
4514
+ "name": "*",
4515
+ "package": "./when-else"
4516
+ }
4517
+ }
4518
+ ]
4519
+ },
4520
+ {
4521
+ "kind": "javascript-module",
4522
+ "path": "src/directives/when-else/when-else.ts",
4523
+ "declarations": [
4524
+ {
4525
+ "kind": "function",
4526
+ "name": "whenElse",
4527
+ "return": {
4528
+ "type": {
4529
+ "text": "CaptureType<TSource>"
4530
+ }
4531
+ },
4532
+ "parameters": [
4533
+ {
4534
+ "name": "binding",
4535
+ "type": {
4536
+ "text": "Binding<TSource, TReturn>"
4537
+ },
4538
+ "description": "The condition to test for rendering."
4539
+ },
4540
+ {
4541
+ "name": "trueTemplateOrTemplateBinding",
4542
+ "type": {
4543
+ "text": "WhenTemplate<TSource>"
4544
+ },
4545
+ "description": "The template or a binding that gets the template to render when the condition is true."
4546
+ },
4547
+ {
4548
+ "name": "falseTemplateOrTemplateBinding",
4549
+ "type": {
4550
+ "text": "WhenTemplate<TSource>"
4551
+ },
4552
+ "description": "The template or a binding that gets the template to render when the condition is false."
4553
+ }
4554
+ ],
4555
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4556
+ "privacy": "public"
4557
+ }
4558
+ ],
4559
+ "exports": [
4560
+ {
4561
+ "kind": "js",
4562
+ "name": "whenElse",
4563
+ "declaration": {
4564
+ "name": "whenElse",
4565
+ "module": "src/directives/when-else/when-else.ts"
4566
+ }
4567
+ }
4568
+ ]
4569
+ },
4454
4570
  {
4455
4571
  "kind": "javascript-module",
4456
4572
  "path": "src/mappers/dto/index.ts",