@genesislcap/foundation-utils 14.488.2-GENC-1351.5 → 14.488.2-GENC-1351.7

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +428 -428
  2. package/package.json +11 -11
@@ -250,6 +250,261 @@
250
250
  }
251
251
  ]
252
252
  },
253
+ {
254
+ "kind": "javascript-module",
255
+ "path": "src/decorators/index.ts",
256
+ "declarations": [],
257
+ "exports": [
258
+ {
259
+ "kind": "js",
260
+ "name": "*",
261
+ "declaration": {
262
+ "name": "*",
263
+ "package": "./renderOnChange"
264
+ }
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "kind": "javascript-module",
270
+ "path": "src/decorators/renderOnChange.ts",
271
+ "declarations": [
272
+ {
273
+ "kind": "function",
274
+ "name": "renderOnChange",
275
+ "parameters": [
276
+ {
277
+ "name": "target",
278
+ "type": {
279
+ "text": "FASTElement & { render(): void }"
280
+ },
281
+ "description": "The target to define the property change handler on."
282
+ },
283
+ {
284
+ "name": "name",
285
+ "type": {
286
+ "text": "string"
287
+ },
288
+ "description": "The property name."
289
+ }
290
+ ],
291
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
292
+ "privacy": "public"
293
+ }
294
+ ],
295
+ "exports": [
296
+ {
297
+ "kind": "js",
298
+ "name": "renderOnChange",
299
+ "declaration": {
300
+ "name": "renderOnChange",
301
+ "module": "src/decorators/renderOnChange.ts"
302
+ }
303
+ }
304
+ ]
305
+ },
306
+ {
307
+ "kind": "javascript-module",
308
+ "path": "src/design-system/design-system.ts",
309
+ "declarations": [
310
+ {
311
+ "kind": "function",
312
+ "name": "assureDesignSystem",
313
+ "return": {
314
+ "type": {
315
+ "text": "DesignSystemModule"
316
+ }
317
+ },
318
+ "parameters": [
319
+ {
320
+ "name": "module",
321
+ "type": {
322
+ "text": "DesignSystemModule"
323
+ }
324
+ }
325
+ ],
326
+ "description": "assureDesignSystem.",
327
+ "privacy": "public"
328
+ },
329
+ {
330
+ "kind": "function",
331
+ "name": "getCurrentDesignSystem",
332
+ "return": {
333
+ "type": {
334
+ "text": ""
335
+ }
336
+ },
337
+ "parameters": [
338
+ {
339
+ "name": "element",
340
+ "type": {
341
+ "text": "HTMLElement"
342
+ },
343
+ "description": "The starting HTML element"
344
+ },
345
+ {
346
+ "name": "fallbackPrefix",
347
+ "type": {
348
+ "text": "string"
349
+ },
350
+ "description": "The prefix to fallback to if the provider is not available"
351
+ }
352
+ ],
353
+ "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.",
354
+ "privacy": "public"
355
+ },
356
+ {
357
+ "kind": "function",
358
+ "name": "getCurrentDesignSystemPrefix",
359
+ "return": {
360
+ "type": {
361
+ "text": ""
362
+ }
363
+ },
364
+ "parameters": [
365
+ {
366
+ "name": "element",
367
+ "type": {
368
+ "text": "HTMLElement"
369
+ },
370
+ "description": "The starting HTML element"
371
+ },
372
+ {
373
+ "name": "fallbackPrefix",
374
+ "type": {
375
+ "text": "string"
376
+ },
377
+ "description": "The prefix to fallback to if the provider is not available"
378
+ }
379
+ ],
380
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
381
+ "privacy": "public"
382
+ }
383
+ ],
384
+ "exports": [
385
+ {
386
+ "kind": "js",
387
+ "name": "assureDesignSystem",
388
+ "declaration": {
389
+ "name": "assureDesignSystem",
390
+ "module": "src/design-system/design-system.ts"
391
+ }
392
+ },
393
+ {
394
+ "kind": "js",
395
+ "name": "getCurrentDesignSystem",
396
+ "declaration": {
397
+ "name": "getCurrentDesignSystem",
398
+ "module": "src/design-system/design-system.ts"
399
+ }
400
+ },
401
+ {
402
+ "kind": "js",
403
+ "name": "getCurrentDesignSystemPrefix",
404
+ "declaration": {
405
+ "name": "getCurrentDesignSystemPrefix",
406
+ "module": "src/design-system/design-system.ts"
407
+ }
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "kind": "javascript-module",
413
+ "path": "src/design-system/editable-elements.ts",
414
+ "declarations": [
415
+ {
416
+ "kind": "variable",
417
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
418
+ "type": {
419
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
420
+ },
421
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
422
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
423
+ },
424
+ {
425
+ "kind": "variable",
426
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
427
+ "type": {
428
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
429
+ },
430
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
431
+ "description": "Design-system specific editable host selectors."
432
+ },
433
+ {
434
+ "kind": "function",
435
+ "name": "buildEditableElementSelector",
436
+ "return": {
437
+ "type": {
438
+ "text": "string"
439
+ }
440
+ },
441
+ "parameters": [
442
+ {
443
+ "name": "designSystems",
444
+ "type": {
445
+ "text": "readonly EditableDesignSystemPrefix[]"
446
+ }
447
+ },
448
+ {
449
+ "name": "customEditableSelectors",
450
+ "default": "[]",
451
+ "type": {
452
+ "text": "readonly string[]"
453
+ }
454
+ }
455
+ ]
456
+ }
457
+ ],
458
+ "exports": [
459
+ {
460
+ "kind": "js",
461
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
462
+ "declaration": {
463
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
464
+ "module": "src/design-system/editable-elements.ts"
465
+ }
466
+ },
467
+ {
468
+ "kind": "js",
469
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
470
+ "declaration": {
471
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
472
+ "module": "src/design-system/editable-elements.ts"
473
+ }
474
+ },
475
+ {
476
+ "kind": "js",
477
+ "name": "buildEditableElementSelector",
478
+ "declaration": {
479
+ "name": "buildEditableElementSelector",
480
+ "module": "src/design-system/editable-elements.ts"
481
+ }
482
+ }
483
+ ]
484
+ },
485
+ {
486
+ "kind": "javascript-module",
487
+ "path": "src/design-system/index.ts",
488
+ "declarations": [],
489
+ "exports": [
490
+ {
491
+ "kind": "js",
492
+ "name": "*",
493
+ "declaration": {
494
+ "name": "*",
495
+ "package": "./design-system"
496
+ }
497
+ },
498
+ {
499
+ "kind": "js",
500
+ "name": "*",
501
+ "declaration": {
502
+ "name": "*",
503
+ "package": "./editable-elements"
504
+ }
505
+ }
506
+ ]
507
+ },
253
508
  {
254
509
  "kind": "javascript-module",
255
510
  "path": "src/data/inMemoryDatabase.ts",
@@ -448,82 +703,6 @@
448
703
  }
449
704
  ]
450
705
  },
451
- {
452
- "kind": "javascript-module",
453
- "path": "src/decorators/index.ts",
454
- "declarations": [],
455
- "exports": [
456
- {
457
- "kind": "js",
458
- "name": "*",
459
- "declaration": {
460
- "name": "*",
461
- "package": "./renderOnChange"
462
- }
463
- }
464
- ]
465
- },
466
- {
467
- "kind": "javascript-module",
468
- "path": "src/decorators/renderOnChange.ts",
469
- "declarations": [
470
- {
471
- "kind": "function",
472
- "name": "renderOnChange",
473
- "parameters": [
474
- {
475
- "name": "target",
476
- "type": {
477
- "text": "FASTElement & { render(): void }"
478
- },
479
- "description": "The target to define the property change handler on."
480
- },
481
- {
482
- "name": "name",
483
- "type": {
484
- "text": "string"
485
- },
486
- "description": "The property name."
487
- }
488
- ],
489
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
490
- "privacy": "public"
491
- }
492
- ],
493
- "exports": [
494
- {
495
- "kind": "js",
496
- "name": "renderOnChange",
497
- "declaration": {
498
- "name": "renderOnChange",
499
- "module": "src/decorators/renderOnChange.ts"
500
- }
501
- }
502
- ]
503
- },
504
- {
505
- "kind": "javascript-module",
506
- "path": "src/directives/index.ts",
507
- "declarations": [],
508
- "exports": [
509
- {
510
- "kind": "js",
511
- "name": "*",
512
- "declaration": {
513
- "name": "*",
514
- "package": "./sync"
515
- }
516
- },
517
- {
518
- "kind": "js",
519
- "name": "*",
520
- "declaration": {
521
- "name": "*",
522
- "package": "./when-else"
523
- }
524
- }
525
- ]
526
- },
527
706
  {
528
707
  "kind": "javascript-module",
529
708
  "path": "src/encoding/index.ts",
@@ -1016,224 +1195,45 @@
1016
1195
  },
1017
1196
  {
1018
1197
  "kind": "javascript-module",
1019
- "path": "src/design-system/design-system.ts",
1020
- "declarations": [
1021
- {
1022
- "kind": "function",
1023
- "name": "assureDesignSystem",
1024
- "return": {
1025
- "type": {
1026
- "text": "DesignSystemModule"
1027
- }
1028
- },
1029
- "parameters": [
1030
- {
1031
- "name": "module",
1032
- "type": {
1033
- "text": "DesignSystemModule"
1034
- }
1035
- }
1036
- ],
1037
- "description": "assureDesignSystem.",
1038
- "privacy": "public"
1039
- },
1040
- {
1041
- "kind": "function",
1042
- "name": "getCurrentDesignSystem",
1043
- "return": {
1044
- "type": {
1045
- "text": ""
1046
- }
1047
- },
1048
- "parameters": [
1049
- {
1050
- "name": "element",
1051
- "type": {
1052
- "text": "HTMLElement"
1053
- },
1054
- "description": "The starting HTML element"
1055
- },
1056
- {
1057
- "name": "fallbackPrefix",
1058
- "type": {
1059
- "text": "string"
1060
- },
1061
- "description": "The prefix to fallback to if the provider is not available"
1062
- }
1063
- ],
1064
- "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.",
1065
- "privacy": "public"
1066
- },
1067
- {
1068
- "kind": "function",
1069
- "name": "getCurrentDesignSystemPrefix",
1070
- "return": {
1071
- "type": {
1072
- "text": ""
1073
- }
1074
- },
1075
- "parameters": [
1076
- {
1077
- "name": "element",
1078
- "type": {
1079
- "text": "HTMLElement"
1080
- },
1081
- "description": "The starting HTML element"
1082
- },
1083
- {
1084
- "name": "fallbackPrefix",
1085
- "type": {
1086
- "text": "string"
1087
- },
1088
- "description": "The prefix to fallback to if the provider is not available"
1089
- }
1090
- ],
1091
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1092
- "privacy": "public"
1093
- }
1094
- ],
1198
+ "path": "src/directives/index.ts",
1199
+ "declarations": [],
1095
1200
  "exports": [
1096
1201
  {
1097
1202
  "kind": "js",
1098
- "name": "assureDesignSystem",
1099
- "declaration": {
1100
- "name": "assureDesignSystem",
1101
- "module": "src/design-system/design-system.ts"
1102
- }
1103
- },
1104
- {
1105
- "kind": "js",
1106
- "name": "getCurrentDesignSystem",
1203
+ "name": "*",
1107
1204
  "declaration": {
1108
- "name": "getCurrentDesignSystem",
1109
- "module": "src/design-system/design-system.ts"
1205
+ "name": "*",
1206
+ "package": "./sync"
1110
1207
  }
1111
1208
  },
1112
1209
  {
1113
1210
  "kind": "js",
1114
- "name": "getCurrentDesignSystemPrefix",
1211
+ "name": "*",
1115
1212
  "declaration": {
1116
- "name": "getCurrentDesignSystemPrefix",
1117
- "module": "src/design-system/design-system.ts"
1213
+ "name": "*",
1214
+ "package": "./when-else"
1118
1215
  }
1119
1216
  }
1120
1217
  ]
1121
1218
  },
1122
1219
  {
1123
1220
  "kind": "javascript-module",
1124
- "path": "src/design-system/editable-elements.ts",
1221
+ "path": "src/error/errorMap.ts",
1125
1222
  "declarations": [
1126
1223
  {
1127
- "kind": "variable",
1128
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1129
- "type": {
1130
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
1131
- },
1132
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
1133
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
1134
- },
1135
- {
1136
- "kind": "variable",
1137
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1138
- "type": {
1139
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
1140
- },
1141
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
1142
- "description": "Design-system specific editable host selectors."
1143
- },
1144
- {
1145
- "kind": "function",
1146
- "name": "buildEditableElementSelector",
1147
- "return": {
1148
- "type": {
1149
- "text": "string"
1150
- }
1151
- },
1152
- "parameters": [
1224
+ "kind": "class",
1225
+ "description": "",
1226
+ "name": "DefaultErrorMap",
1227
+ "members": [
1153
1228
  {
1154
- "name": "designSystems",
1155
- "type": {
1156
- "text": "readonly EditableDesignSystemPrefix[]"
1157
- }
1229
+ "kind": "field",
1230
+ "name": "map",
1231
+ "privacy": "private",
1232
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
1158
1233
  },
1159
1234
  {
1160
- "name": "customEditableSelectors",
1161
- "default": "[]",
1162
- "type": {
1163
- "text": "readonly string[]"
1164
- }
1165
- }
1166
- ]
1167
- }
1168
- ],
1169
- "exports": [
1170
- {
1171
- "kind": "js",
1172
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1173
- "declaration": {
1174
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1175
- "module": "src/design-system/editable-elements.ts"
1176
- }
1177
- },
1178
- {
1179
- "kind": "js",
1180
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1181
- "declaration": {
1182
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1183
- "module": "src/design-system/editable-elements.ts"
1184
- }
1185
- },
1186
- {
1187
- "kind": "js",
1188
- "name": "buildEditableElementSelector",
1189
- "declaration": {
1190
- "name": "buildEditableElementSelector",
1191
- "module": "src/design-system/editable-elements.ts"
1192
- }
1193
- }
1194
- ]
1195
- },
1196
- {
1197
- "kind": "javascript-module",
1198
- "path": "src/design-system/index.ts",
1199
- "declarations": [],
1200
- "exports": [
1201
- {
1202
- "kind": "js",
1203
- "name": "*",
1204
- "declaration": {
1205
- "name": "*",
1206
- "package": "./design-system"
1207
- }
1208
- },
1209
- {
1210
- "kind": "js",
1211
- "name": "*",
1212
- "declaration": {
1213
- "name": "*",
1214
- "package": "./editable-elements"
1215
- }
1216
- }
1217
- ]
1218
- },
1219
- {
1220
- "kind": "javascript-module",
1221
- "path": "src/error/errorMap.ts",
1222
- "declarations": [
1223
- {
1224
- "kind": "class",
1225
- "description": "",
1226
- "name": "DefaultErrorMap",
1227
- "members": [
1228
- {
1229
- "kind": "field",
1230
- "name": "map",
1231
- "privacy": "private",
1232
- "default": "new Map<keyof TErrorDetailMap, Error>()"
1233
- },
1234
- {
1235
- "kind": "field",
1236
- "name": "lastError",
1235
+ "kind": "field",
1236
+ "name": "lastError",
1237
1237
  "type": {
1238
1238
  "text": "Error"
1239
1239
  },
@@ -4823,160 +4823,6 @@
4823
4823
  }
4824
4824
  ]
4825
4825
  },
4826
- {
4827
- "kind": "javascript-module",
4828
- "path": "src/directives/sync/index.ts",
4829
- "declarations": [],
4830
- "exports": [
4831
- {
4832
- "kind": "js",
4833
- "name": "*",
4834
- "declaration": {
4835
- "name": "*",
4836
- "package": "./sync"
4837
- }
4838
- }
4839
- ]
4840
- },
4841
- {
4842
- "kind": "javascript-module",
4843
- "path": "src/directives/sync/sync.ts",
4844
- "declarations": [
4845
- {
4846
- "kind": "variable",
4847
- "name": "defaultEventMap",
4848
- "type": {
4849
- "text": "Map<string, EventName>"
4850
- },
4851
- "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])",
4852
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4853
- "privacy": "public"
4854
- },
4855
- {
4856
- "kind": "function",
4857
- "name": "sync",
4858
- "return": {
4859
- "type": {
4860
- "text": "CaptureType<TSource>"
4861
- }
4862
- },
4863
- "parameters": [
4864
- {
4865
- "name": "binding",
4866
- "type": {
4867
- "text": "Binding<TSource, TReturn>"
4868
- }
4869
- },
4870
- {
4871
- "name": "conversionType",
4872
- "default": "'string'",
4873
- "type": {
4874
- "text": "ConversionType"
4875
- }
4876
- },
4877
- {
4878
- "name": "eventName",
4879
- "default": "'default'",
4880
- "type": {
4881
- "text": "EventName"
4882
- }
4883
- },
4884
- {
4885
- "name": "keyAttr",
4886
- "optional": true,
4887
- "type": {
4888
- "text": "string"
4889
- }
4890
- }
4891
- ],
4892
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4893
- "privacy": "public"
4894
- }
4895
- ],
4896
- "exports": [
4897
- {
4898
- "kind": "js",
4899
- "name": "defaultEventMap",
4900
- "declaration": {
4901
- "name": "defaultEventMap",
4902
- "module": "src/directives/sync/sync.ts"
4903
- }
4904
- },
4905
- {
4906
- "kind": "js",
4907
- "name": "sync",
4908
- "declaration": {
4909
- "name": "sync",
4910
- "module": "src/directives/sync/sync.ts"
4911
- }
4912
- }
4913
- ]
4914
- },
4915
- {
4916
- "kind": "javascript-module",
4917
- "path": "src/directives/when-else/index.ts",
4918
- "declarations": [],
4919
- "exports": [
4920
- {
4921
- "kind": "js",
4922
- "name": "*",
4923
- "declaration": {
4924
- "name": "*",
4925
- "package": "./when-else"
4926
- }
4927
- }
4928
- ]
4929
- },
4930
- {
4931
- "kind": "javascript-module",
4932
- "path": "src/directives/when-else/when-else.ts",
4933
- "declarations": [
4934
- {
4935
- "kind": "function",
4936
- "name": "whenElse",
4937
- "return": {
4938
- "type": {
4939
- "text": "CaptureType<TSource>"
4940
- }
4941
- },
4942
- "parameters": [
4943
- {
4944
- "name": "binding",
4945
- "type": {
4946
- "text": "Binding<TSource, TReturn>"
4947
- },
4948
- "description": "The condition to test for rendering."
4949
- },
4950
- {
4951
- "name": "trueTemplateOrTemplateBinding",
4952
- "type": {
4953
- "text": "WhenTemplate<TSource>"
4954
- },
4955
- "description": "The template or a binding that gets the template to render when the condition is true."
4956
- },
4957
- {
4958
- "name": "falseTemplateOrTemplateBinding",
4959
- "type": {
4960
- "text": "WhenTemplate<TSource>"
4961
- },
4962
- "description": "The template or a binding that gets the template to render when the condition is false."
4963
- }
4964
- ],
4965
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4966
- "privacy": "public"
4967
- }
4968
- ],
4969
- "exports": [
4970
- {
4971
- "kind": "js",
4972
- "name": "whenElse",
4973
- "declaration": {
4974
- "name": "whenElse",
4975
- "module": "src/directives/when-else/when-else.ts"
4976
- }
4977
- }
4978
- ]
4979
- },
4980
4826
  {
4981
4827
  "kind": "javascript-module",
4982
4828
  "path": "src/encoding/base64/decode.ts",
@@ -5131,6 +4977,160 @@
5131
4977
  }
5132
4978
  ]
5133
4979
  },
4980
+ {
4981
+ "kind": "javascript-module",
4982
+ "path": "src/directives/sync/index.ts",
4983
+ "declarations": [],
4984
+ "exports": [
4985
+ {
4986
+ "kind": "js",
4987
+ "name": "*",
4988
+ "declaration": {
4989
+ "name": "*",
4990
+ "package": "./sync"
4991
+ }
4992
+ }
4993
+ ]
4994
+ },
4995
+ {
4996
+ "kind": "javascript-module",
4997
+ "path": "src/directives/sync/sync.ts",
4998
+ "declarations": [
4999
+ {
5000
+ "kind": "variable",
5001
+ "name": "defaultEventMap",
5002
+ "type": {
5003
+ "text": "Map<string, EventName>"
5004
+ },
5005
+ "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])",
5006
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
5007
+ "privacy": "public"
5008
+ },
5009
+ {
5010
+ "kind": "function",
5011
+ "name": "sync",
5012
+ "return": {
5013
+ "type": {
5014
+ "text": "CaptureType<TSource>"
5015
+ }
5016
+ },
5017
+ "parameters": [
5018
+ {
5019
+ "name": "binding",
5020
+ "type": {
5021
+ "text": "Binding<TSource, TReturn>"
5022
+ }
5023
+ },
5024
+ {
5025
+ "name": "conversionType",
5026
+ "default": "'string'",
5027
+ "type": {
5028
+ "text": "ConversionType"
5029
+ }
5030
+ },
5031
+ {
5032
+ "name": "eventName",
5033
+ "default": "'default'",
5034
+ "type": {
5035
+ "text": "EventName"
5036
+ }
5037
+ },
5038
+ {
5039
+ "name": "keyAttr",
5040
+ "optional": true,
5041
+ "type": {
5042
+ "text": "string"
5043
+ }
5044
+ }
5045
+ ],
5046
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
5047
+ "privacy": "public"
5048
+ }
5049
+ ],
5050
+ "exports": [
5051
+ {
5052
+ "kind": "js",
5053
+ "name": "defaultEventMap",
5054
+ "declaration": {
5055
+ "name": "defaultEventMap",
5056
+ "module": "src/directives/sync/sync.ts"
5057
+ }
5058
+ },
5059
+ {
5060
+ "kind": "js",
5061
+ "name": "sync",
5062
+ "declaration": {
5063
+ "name": "sync",
5064
+ "module": "src/directives/sync/sync.ts"
5065
+ }
5066
+ }
5067
+ ]
5068
+ },
5069
+ {
5070
+ "kind": "javascript-module",
5071
+ "path": "src/directives/when-else/index.ts",
5072
+ "declarations": [],
5073
+ "exports": [
5074
+ {
5075
+ "kind": "js",
5076
+ "name": "*",
5077
+ "declaration": {
5078
+ "name": "*",
5079
+ "package": "./when-else"
5080
+ }
5081
+ }
5082
+ ]
5083
+ },
5084
+ {
5085
+ "kind": "javascript-module",
5086
+ "path": "src/directives/when-else/when-else.ts",
5087
+ "declarations": [
5088
+ {
5089
+ "kind": "function",
5090
+ "name": "whenElse",
5091
+ "return": {
5092
+ "type": {
5093
+ "text": "CaptureType<TSource>"
5094
+ }
5095
+ },
5096
+ "parameters": [
5097
+ {
5098
+ "name": "binding",
5099
+ "type": {
5100
+ "text": "Binding<TSource, TReturn>"
5101
+ },
5102
+ "description": "The condition to test for rendering."
5103
+ },
5104
+ {
5105
+ "name": "trueTemplateOrTemplateBinding",
5106
+ "type": {
5107
+ "text": "WhenTemplate<TSource>"
5108
+ },
5109
+ "description": "The template or a binding that gets the template to render when the condition is true."
5110
+ },
5111
+ {
5112
+ "name": "falseTemplateOrTemplateBinding",
5113
+ "type": {
5114
+ "text": "WhenTemplate<TSource>"
5115
+ },
5116
+ "description": "The template or a binding that gets the template to render when the condition is false."
5117
+ }
5118
+ ],
5119
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
5120
+ "privacy": "public"
5121
+ }
5122
+ ],
5123
+ "exports": [
5124
+ {
5125
+ "kind": "js",
5126
+ "name": "whenElse",
5127
+ "declaration": {
5128
+ "name": "whenElse",
5129
+ "module": "src/directives/when-else/when-else.ts"
5130
+ }
5131
+ }
5132
+ ]
5133
+ },
5134
5134
  {
5135
5135
  "kind": "javascript-module",
5136
5136
  "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.488.2-GENC-1351.5",
4
+ "version": "14.488.2-GENC-1351.7",
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.488.2-GENC-1351.5",
33
- "@genesislcap/genx": "14.488.2-GENC-1351.5",
34
- "@genesislcap/rollup-builder": "14.488.2-GENC-1351.5",
35
- "@genesislcap/ts-builder": "14.488.2-GENC-1351.5",
36
- "@genesislcap/uvu-playwright-builder": "14.488.2-GENC-1351.5",
37
- "@genesislcap/vite-builder": "14.488.2-GENC-1351.5",
38
- "@genesislcap/webpack-builder": "14.488.2-GENC-1351.5",
32
+ "@genesislcap/foundation-testing": "14.488.2-GENC-1351.7",
33
+ "@genesislcap/genx": "14.488.2-GENC-1351.7",
34
+ "@genesislcap/rollup-builder": "14.488.2-GENC-1351.7",
35
+ "@genesislcap/ts-builder": "14.488.2-GENC-1351.7",
36
+ "@genesislcap/uvu-playwright-builder": "14.488.2-GENC-1351.7",
37
+ "@genesislcap/vite-builder": "14.488.2-GENC-1351.7",
38
+ "@genesislcap/webpack-builder": "14.488.2-GENC-1351.7",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.488.2-GENC-1351.5",
43
- "@genesislcap/foundation-logger": "14.488.2-GENC-1351.5",
42
+ "@genesislcap/expression-builder": "14.488.2-GENC-1351.7",
43
+ "@genesislcap/foundation-logger": "14.488.2-GENC-1351.7",
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": "877f17fcecc59966205045d553025de1ef3437b5"
61
+ "gitHead": "b2013094950d7c3a0d9fccaaf23cc6e55ac30a0b"
62
62
  }