@genesislcap/foundation-utils 14.444.1-GENC-1262.1 → 14.445.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +426 -426
  2. package/package.json +11 -11
@@ -252,7 +252,7 @@
252
252
  },
253
253
  {
254
254
  "kind": "javascript-module",
255
- "path": "src/directives/index.ts",
255
+ "path": "src/decorators/index.ts",
256
256
  "declarations": [],
257
257
  "exports": [
258
258
  {
@@ -260,232 +260,45 @@
260
260
  "name": "*",
261
261
  "declaration": {
262
262
  "name": "*",
263
- "package": "./sync"
264
- }
265
- },
266
- {
267
- "kind": "js",
268
- "name": "*",
269
- "declaration": {
270
- "name": "*",
271
- "package": "./when-else"
263
+ "package": "./renderOnChange"
272
264
  }
273
265
  }
274
266
  ]
275
267
  },
276
268
  {
277
269
  "kind": "javascript-module",
278
- "path": "src/design-system/design-system.ts",
270
+ "path": "src/decorators/renderOnChange.ts",
279
271
  "declarations": [
280
272
  {
281
273
  "kind": "function",
282
- "name": "assureDesignSystem",
283
- "return": {
284
- "type": {
285
- "text": "DesignSystemModule"
286
- }
287
- },
288
- "parameters": [
289
- {
290
- "name": "module",
291
- "type": {
292
- "text": "DesignSystemModule"
293
- }
294
- }
295
- ],
296
- "description": "assureDesignSystem.",
297
- "privacy": "public"
298
- },
299
- {
300
- "kind": "function",
301
- "name": "getCurrentDesignSystem",
302
- "return": {
303
- "type": {
304
- "text": ""
305
- }
306
- },
307
- "parameters": [
308
- {
309
- "name": "element",
310
- "type": {
311
- "text": "HTMLElement"
312
- },
313
- "description": "The starting HTML element"
314
- },
315
- {
316
- "name": "fallbackPrefix",
317
- "type": {
318
- "text": "string"
319
- },
320
- "description": "The prefix to fallback to if the provider is not available"
321
- }
322
- ],
323
- "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.",
324
- "privacy": "public"
325
- },
326
- {
327
- "kind": "function",
328
- "name": "getCurrentDesignSystemPrefix",
329
- "return": {
330
- "type": {
331
- "text": ""
332
- }
333
- },
274
+ "name": "renderOnChange",
334
275
  "parameters": [
335
276
  {
336
- "name": "element",
277
+ "name": "target",
337
278
  "type": {
338
- "text": "HTMLElement"
279
+ "text": "FASTElement & { render(): void }"
339
280
  },
340
- "description": "The starting HTML element"
281
+ "description": "The target to define the property change handler on."
341
282
  },
342
283
  {
343
- "name": "fallbackPrefix",
284
+ "name": "name",
344
285
  "type": {
345
286
  "text": "string"
346
287
  },
347
- "description": "The prefix to fallback to if the provider is not available"
288
+ "description": "The property name."
348
289
  }
349
290
  ],
350
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
291
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
351
292
  "privacy": "public"
352
293
  }
353
294
  ],
354
295
  "exports": [
355
296
  {
356
297
  "kind": "js",
357
- "name": "assureDesignSystem",
358
- "declaration": {
359
- "name": "assureDesignSystem",
360
- "module": "src/design-system/design-system.ts"
361
- }
362
- },
363
- {
364
- "kind": "js",
365
- "name": "getCurrentDesignSystem",
366
- "declaration": {
367
- "name": "getCurrentDesignSystem",
368
- "module": "src/design-system/design-system.ts"
369
- }
370
- },
371
- {
372
- "kind": "js",
373
- "name": "getCurrentDesignSystemPrefix",
374
- "declaration": {
375
- "name": "getCurrentDesignSystemPrefix",
376
- "module": "src/design-system/design-system.ts"
377
- }
378
- }
379
- ]
380
- },
381
- {
382
- "kind": "javascript-module",
383
- "path": "src/design-system/editable-elements.ts",
384
- "declarations": [
385
- {
386
- "kind": "variable",
387
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
388
- "type": {
389
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
390
- },
391
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
392
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
393
- },
394
- {
395
- "kind": "variable",
396
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
397
- "type": {
398
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
399
- },
400
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
401
- "description": "Design-system specific editable host selectors."
402
- },
403
- {
404
- "kind": "function",
405
- "name": "buildEditableElementSelector",
406
- "return": {
407
- "type": {
408
- "text": "string"
409
- }
410
- },
411
- "parameters": [
412
- {
413
- "name": "designSystems",
414
- "type": {
415
- "text": "readonly EditableDesignSystemPrefix[]"
416
- }
417
- },
418
- {
419
- "name": "customEditableSelectors",
420
- "default": "[]",
421
- "type": {
422
- "text": "readonly string[]"
423
- }
424
- }
425
- ]
426
- }
427
- ],
428
- "exports": [
429
- {
430
- "kind": "js",
431
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
432
- "declaration": {
433
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
434
- "module": "src/design-system/editable-elements.ts"
435
- }
436
- },
437
- {
438
- "kind": "js",
439
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
440
- "declaration": {
441
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
442
- "module": "src/design-system/editable-elements.ts"
443
- }
444
- },
445
- {
446
- "kind": "js",
447
- "name": "buildEditableElementSelector",
448
- "declaration": {
449
- "name": "buildEditableElementSelector",
450
- "module": "src/design-system/editable-elements.ts"
451
- }
452
- }
453
- ]
454
- },
455
- {
456
- "kind": "javascript-module",
457
- "path": "src/design-system/index.ts",
458
- "declarations": [],
459
- "exports": [
460
- {
461
- "kind": "js",
462
- "name": "*",
463
- "declaration": {
464
- "name": "*",
465
- "package": "./design-system"
466
- }
467
- },
468
- {
469
- "kind": "js",
470
- "name": "*",
471
- "declaration": {
472
- "name": "*",
473
- "package": "./editable-elements"
474
- }
475
- }
476
- ]
477
- },
478
- {
479
- "kind": "javascript-module",
480
- "path": "src/encoding/index.ts",
481
- "declarations": [],
482
- "exports": [
483
- {
484
- "kind": "js",
485
- "name": "*",
298
+ "name": "renderOnChange",
486
299
  "declaration": {
487
- "name": "*",
488
- "package": "./base64"
300
+ "name": "renderOnChange",
301
+ "module": "src/decorators/renderOnChange.ts"
489
302
  }
490
303
  }
491
304
  ]
@@ -690,37 +503,254 @@
690
503
  },
691
504
  {
692
505
  "kind": "javascript-module",
693
- "path": "src/env/index.ts",
694
- "declarations": [],
695
- "exports": [
696
- {
697
- "kind": "js",
698
- "name": "*",
699
- "declaration": {
700
- "name": "*",
701
- "package": "./is-dev"
702
- }
703
- },
704
- {
705
- "kind": "js",
706
- "name": "*",
707
- "declaration": {
708
- "name": "*",
709
- "package": "./variables"
710
- }
711
- }
712
- ]
713
- },
714
- {
715
- "kind": "javascript-module",
716
- "path": "src/env/is-dev.ts",
506
+ "path": "src/design-system/design-system.ts",
717
507
  "declarations": [
718
508
  {
719
509
  "kind": "function",
720
- "name": "isDev",
721
- "description": "Determines if the current environment is a development environment.",
510
+ "name": "assureDesignSystem",
511
+ "return": {
512
+ "type": {
513
+ "text": "DesignSystemModule"
514
+ }
515
+ },
516
+ "parameters": [
517
+ {
518
+ "name": "module",
519
+ "type": {
520
+ "text": "DesignSystemModule"
521
+ }
522
+ }
523
+ ],
524
+ "description": "assureDesignSystem.",
722
525
  "privacy": "public"
723
- }
526
+ },
527
+ {
528
+ "kind": "function",
529
+ "name": "getCurrentDesignSystem",
530
+ "return": {
531
+ "type": {
532
+ "text": ""
533
+ }
534
+ },
535
+ "parameters": [
536
+ {
537
+ "name": "element",
538
+ "type": {
539
+ "text": "HTMLElement"
540
+ },
541
+ "description": "The starting HTML element"
542
+ },
543
+ {
544
+ "name": "fallbackPrefix",
545
+ "type": {
546
+ "text": "string"
547
+ },
548
+ "description": "The prefix to fallback to if the provider is not available"
549
+ }
550
+ ],
551
+ "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.",
552
+ "privacy": "public"
553
+ },
554
+ {
555
+ "kind": "function",
556
+ "name": "getCurrentDesignSystemPrefix",
557
+ "return": {
558
+ "type": {
559
+ "text": ""
560
+ }
561
+ },
562
+ "parameters": [
563
+ {
564
+ "name": "element",
565
+ "type": {
566
+ "text": "HTMLElement"
567
+ },
568
+ "description": "The starting HTML element"
569
+ },
570
+ {
571
+ "name": "fallbackPrefix",
572
+ "type": {
573
+ "text": "string"
574
+ },
575
+ "description": "The prefix to fallback to if the provider is not available"
576
+ }
577
+ ],
578
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
579
+ "privacy": "public"
580
+ }
581
+ ],
582
+ "exports": [
583
+ {
584
+ "kind": "js",
585
+ "name": "assureDesignSystem",
586
+ "declaration": {
587
+ "name": "assureDesignSystem",
588
+ "module": "src/design-system/design-system.ts"
589
+ }
590
+ },
591
+ {
592
+ "kind": "js",
593
+ "name": "getCurrentDesignSystem",
594
+ "declaration": {
595
+ "name": "getCurrentDesignSystem",
596
+ "module": "src/design-system/design-system.ts"
597
+ }
598
+ },
599
+ {
600
+ "kind": "js",
601
+ "name": "getCurrentDesignSystemPrefix",
602
+ "declaration": {
603
+ "name": "getCurrentDesignSystemPrefix",
604
+ "module": "src/design-system/design-system.ts"
605
+ }
606
+ }
607
+ ]
608
+ },
609
+ {
610
+ "kind": "javascript-module",
611
+ "path": "src/design-system/editable-elements.ts",
612
+ "declarations": [
613
+ {
614
+ "kind": "variable",
615
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
616
+ "type": {
617
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
618
+ },
619
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
620
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
621
+ },
622
+ {
623
+ "kind": "variable",
624
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
625
+ "type": {
626
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
627
+ },
628
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
629
+ "description": "Design-system specific editable host selectors."
630
+ },
631
+ {
632
+ "kind": "function",
633
+ "name": "buildEditableElementSelector",
634
+ "return": {
635
+ "type": {
636
+ "text": "string"
637
+ }
638
+ },
639
+ "parameters": [
640
+ {
641
+ "name": "designSystems",
642
+ "type": {
643
+ "text": "readonly EditableDesignSystemPrefix[]"
644
+ }
645
+ },
646
+ {
647
+ "name": "customEditableSelectors",
648
+ "default": "[]",
649
+ "type": {
650
+ "text": "readonly string[]"
651
+ }
652
+ }
653
+ ]
654
+ }
655
+ ],
656
+ "exports": [
657
+ {
658
+ "kind": "js",
659
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
660
+ "declaration": {
661
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
662
+ "module": "src/design-system/editable-elements.ts"
663
+ }
664
+ },
665
+ {
666
+ "kind": "js",
667
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
668
+ "declaration": {
669
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
670
+ "module": "src/design-system/editable-elements.ts"
671
+ }
672
+ },
673
+ {
674
+ "kind": "js",
675
+ "name": "buildEditableElementSelector",
676
+ "declaration": {
677
+ "name": "buildEditableElementSelector",
678
+ "module": "src/design-system/editable-elements.ts"
679
+ }
680
+ }
681
+ ]
682
+ },
683
+ {
684
+ "kind": "javascript-module",
685
+ "path": "src/design-system/index.ts",
686
+ "declarations": [],
687
+ "exports": [
688
+ {
689
+ "kind": "js",
690
+ "name": "*",
691
+ "declaration": {
692
+ "name": "*",
693
+ "package": "./design-system"
694
+ }
695
+ },
696
+ {
697
+ "kind": "js",
698
+ "name": "*",
699
+ "declaration": {
700
+ "name": "*",
701
+ "package": "./editable-elements"
702
+ }
703
+ }
704
+ ]
705
+ },
706
+ {
707
+ "kind": "javascript-module",
708
+ "path": "src/encoding/index.ts",
709
+ "declarations": [],
710
+ "exports": [
711
+ {
712
+ "kind": "js",
713
+ "name": "*",
714
+ "declaration": {
715
+ "name": "*",
716
+ "package": "./base64"
717
+ }
718
+ }
719
+ ]
720
+ },
721
+ {
722
+ "kind": "javascript-module",
723
+ "path": "src/env/index.ts",
724
+ "declarations": [],
725
+ "exports": [
726
+ {
727
+ "kind": "js",
728
+ "name": "*",
729
+ "declaration": {
730
+ "name": "*",
731
+ "package": "./is-dev"
732
+ }
733
+ },
734
+ {
735
+ "kind": "js",
736
+ "name": "*",
737
+ "declaration": {
738
+ "name": "*",
739
+ "package": "./variables"
740
+ }
741
+ }
742
+ ]
743
+ },
744
+ {
745
+ "kind": "javascript-module",
746
+ "path": "src/env/is-dev.ts",
747
+ "declarations": [
748
+ {
749
+ "kind": "function",
750
+ "name": "isDev",
751
+ "description": "Determines if the current environment is a development environment.",
752
+ "privacy": "public"
753
+ }
724
754
  ],
725
755
  "exports": [
726
756
  {
@@ -1165,7 +1195,7 @@
1165
1195
  },
1166
1196
  {
1167
1197
  "kind": "javascript-module",
1168
- "path": "src/decorators/index.ts",
1198
+ "path": "src/directives/index.ts",
1169
1199
  "declarations": [],
1170
1200
  "exports": [
1171
1201
  {
@@ -1173,58 +1203,28 @@
1173
1203
  "name": "*",
1174
1204
  "declaration": {
1175
1205
  "name": "*",
1176
- "package": "./renderOnChange"
1206
+ "package": "./sync"
1207
+ }
1208
+ },
1209
+ {
1210
+ "kind": "js",
1211
+ "name": "*",
1212
+ "declaration": {
1213
+ "name": "*",
1214
+ "package": "./when-else"
1177
1215
  }
1178
1216
  }
1179
1217
  ]
1180
1218
  },
1181
1219
  {
1182
1220
  "kind": "javascript-module",
1183
- "path": "src/decorators/renderOnChange.ts",
1221
+ "path": "src/error/errorMap.ts",
1184
1222
  "declarations": [
1185
1223
  {
1186
- "kind": "function",
1187
- "name": "renderOnChange",
1188
- "parameters": [
1189
- {
1190
- "name": "target",
1191
- "type": {
1192
- "text": "FASTElement & { render(): void }"
1193
- },
1194
- "description": "The target to define the property change handler on."
1195
- },
1196
- {
1197
- "name": "name",
1198
- "type": {
1199
- "text": "string"
1200
- },
1201
- "description": "The property name."
1202
- }
1203
- ],
1204
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1205
- "privacy": "public"
1206
- }
1207
- ],
1208
- "exports": [
1209
- {
1210
- "kind": "js",
1211
- "name": "renderOnChange",
1212
- "declaration": {
1213
- "name": "renderOnChange",
1214
- "module": "src/decorators/renderOnChange.ts"
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": [
1224
+ "kind": "class",
1225
+ "description": "",
1226
+ "name": "DefaultErrorMap",
1227
+ "members": [
1228
1228
  {
1229
1229
  "kind": "field",
1230
1230
  "name": "map",
@@ -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.444.1-GENC-1262.1",
4
+ "version": "14.445.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.444.1-GENC-1262.1",
33
- "@genesislcap/genx": "14.444.1-GENC-1262.1",
34
- "@genesislcap/rollup-builder": "14.444.1-GENC-1262.1",
35
- "@genesislcap/ts-builder": "14.444.1-GENC-1262.1",
36
- "@genesislcap/uvu-playwright-builder": "14.444.1-GENC-1262.1",
37
- "@genesislcap/vite-builder": "14.444.1-GENC-1262.1",
38
- "@genesislcap/webpack-builder": "14.444.1-GENC-1262.1",
32
+ "@genesislcap/foundation-testing": "14.445.0",
33
+ "@genesislcap/genx": "14.445.0",
34
+ "@genesislcap/rollup-builder": "14.445.0",
35
+ "@genesislcap/ts-builder": "14.445.0",
36
+ "@genesislcap/uvu-playwright-builder": "14.445.0",
37
+ "@genesislcap/vite-builder": "14.445.0",
38
+ "@genesislcap/webpack-builder": "14.445.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.444.1-GENC-1262.1",
43
- "@genesislcap/foundation-logger": "14.444.1-GENC-1262.1",
42
+ "@genesislcap/expression-builder": "14.445.0",
43
+ "@genesislcap/foundation-logger": "14.445.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": "02c0cf4af9330e5dfd78d9ef6b481192ba87d6a5"
61
+ "gitHead": "ab4f2ce242dedb41dcd82795abf7e0acaf14979c"
62
62
  }