@genesislcap/foundation-utils 14.461.0 → 14.461.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.
@@ -250,204 +250,6 @@
250
250
  }
251
251
  ]
252
252
  },
253
- {
254
- "kind": "javascript-module",
255
- "path": "src/data/inMemoryDatabase.ts",
256
- "declarations": [
257
- {
258
- "kind": "class",
259
- "description": "An in memory database of specific DatabaseRecord types.",
260
- "name": "InMemoryDatabase",
261
- "members": [
262
- {
263
- "kind": "field",
264
- "name": "isWorking",
265
- "type": {
266
- "text": "boolean"
267
- },
268
- "privacy": "public",
269
- "default": "false"
270
- },
271
- {
272
- "kind": "field",
273
- "name": "records",
274
- "type": {
275
- "text": "Record<string, T>"
276
- },
277
- "privacy": "private",
278
- "default": "{}"
279
- },
280
- {
281
- "kind": "field",
282
- "name": "beforeUpdateListeners",
283
- "privacy": "private"
284
- },
285
- {
286
- "kind": "field",
287
- "name": "afterUpdateListeners",
288
- "privacy": "private"
289
- },
290
- {
291
- "kind": "method",
292
- "name": "create",
293
- "privacy": "public",
294
- "return": {
295
- "type": {
296
- "text": "Promise<DatabaseAccessResult.Create<T>>"
297
- }
298
- },
299
- "parameters": [
300
- {
301
- "name": "newValue",
302
- "type": {
303
- "text": "Omit<T, 'id'>"
304
- }
305
- }
306
- ]
307
- },
308
- {
309
- "kind": "method",
310
- "name": "read",
311
- "privacy": "public",
312
- "return": {
313
- "type": {
314
- "text": "Promise<DatabaseAccessResult.Read<T>>"
315
- }
316
- },
317
- "parameters": [
318
- {
319
- "name": "id",
320
- "type": {
321
- "text": "string"
322
- }
323
- }
324
- ]
325
- },
326
- {
327
- "kind": "method",
328
- "name": "update",
329
- "privacy": "public",
330
- "return": {
331
- "type": {
332
- "text": "Promise<DatabaseAccessResult.Update<T>>"
333
- }
334
- },
335
- "parameters": [
336
- {
337
- "name": "id",
338
- "type": {
339
- "text": "string"
340
- }
341
- },
342
- {
343
- "name": "newValue",
344
- "type": {
345
- "text": "Omit<Partial<T>, 'id'>"
346
- }
347
- }
348
- ]
349
- },
350
- {
351
- "kind": "method",
352
- "name": "delete",
353
- "privacy": "public",
354
- "return": {
355
- "type": {
356
- "text": "Promise<DatabaseAccessResult.Delete>"
357
- }
358
- },
359
- "parameters": [
360
- {
361
- "name": "id",
362
- "type": {
363
- "text": "string"
364
- }
365
- }
366
- ]
367
- },
368
- {
369
- "kind": "method",
370
- "name": "visit",
371
- "privacy": "public",
372
- "return": {
373
- "type": {
374
- "text": "Promise<void>"
375
- }
376
- },
377
- "parameters": [
378
- {
379
- "name": "visitor",
380
- "type": {
381
- "text": "(record: T) => void"
382
- }
383
- }
384
- ]
385
- },
386
- {
387
- "kind": "method",
388
- "name": "onBeforeUpdate",
389
- "privacy": "public",
390
- "return": {
391
- "type": {
392
- "text": "() => void"
393
- }
394
- },
395
- "parameters": [
396
- {
397
- "name": "listener",
398
- "type": {
399
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
400
- }
401
- }
402
- ]
403
- },
404
- {
405
- "kind": "method",
406
- "name": "onAfterUpdate",
407
- "privacy": "public",
408
- "return": {
409
- "type": {
410
- "text": "() => void"
411
- }
412
- },
413
- "parameters": [
414
- {
415
- "name": "listener",
416
- "type": {
417
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
418
- }
419
- }
420
- ]
421
- }
422
- ]
423
- }
424
- ],
425
- "exports": [
426
- {
427
- "kind": "js",
428
- "name": "InMemoryDatabase",
429
- "declaration": {
430
- "name": "InMemoryDatabase",
431
- "module": "src/data/inMemoryDatabase.ts"
432
- }
433
- }
434
- ]
435
- },
436
- {
437
- "kind": "javascript-module",
438
- "path": "src/data/index.ts",
439
- "declarations": [],
440
- "exports": [
441
- {
442
- "kind": "js",
443
- "name": "*",
444
- "declaration": {
445
- "name": "*",
446
- "package": "./inMemoryDatabase"
447
- }
448
- }
449
- ]
450
- },
451
253
  {
452
254
  "kind": "javascript-module",
453
255
  "path": "src/decorators/index.ts",
@@ -705,65 +507,255 @@
705
507
  },
706
508
  {
707
509
  "kind": "javascript-module",
708
- "path": "src/directives/index.ts",
709
- "declarations": [],
710
- "exports": [
711
- {
712
- "kind": "js",
713
- "name": "*",
714
- "declaration": {
715
- "name": "*",
716
- "package": "./sync"
717
- }
718
- },
719
- {
720
- "kind": "js",
721
- "name": "*",
722
- "declaration": {
723
- "name": "*",
724
- "package": "./when-else"
725
- }
726
- }
727
- ]
728
- },
729
- {
730
- "kind": "javascript-module",
731
- "path": "src/env/index.ts",
732
- "declarations": [],
733
- "exports": [
734
- {
735
- "kind": "js",
736
- "name": "*",
737
- "declaration": {
738
- "name": "*",
739
- "package": "./is-dev"
740
- }
741
- },
742
- {
743
- "kind": "js",
744
- "name": "*",
745
- "declaration": {
746
- "name": "*",
747
- "package": "./variables"
748
- }
749
- }
750
- ]
751
- },
752
- {
753
- "kind": "javascript-module",
754
- "path": "src/env/is-dev.ts",
510
+ "path": "src/data/inMemoryDatabase.ts",
755
511
  "declarations": [
756
512
  {
757
- "kind": "function",
758
- "name": "isDev",
759
- "description": "Determines if the current environment is a development environment.",
760
- "privacy": "public"
761
- }
762
- ],
763
- "exports": [
764
- {
765
- "kind": "js",
766
- "name": "isDev",
513
+ "kind": "class",
514
+ "description": "An in memory database of specific DatabaseRecord types.",
515
+ "name": "InMemoryDatabase",
516
+ "members": [
517
+ {
518
+ "kind": "field",
519
+ "name": "isWorking",
520
+ "type": {
521
+ "text": "boolean"
522
+ },
523
+ "privacy": "public",
524
+ "default": "false"
525
+ },
526
+ {
527
+ "kind": "field",
528
+ "name": "records",
529
+ "type": {
530
+ "text": "Record<string, T>"
531
+ },
532
+ "privacy": "private",
533
+ "default": "{}"
534
+ },
535
+ {
536
+ "kind": "field",
537
+ "name": "beforeUpdateListeners",
538
+ "privacy": "private"
539
+ },
540
+ {
541
+ "kind": "field",
542
+ "name": "afterUpdateListeners",
543
+ "privacy": "private"
544
+ },
545
+ {
546
+ "kind": "method",
547
+ "name": "create",
548
+ "privacy": "public",
549
+ "return": {
550
+ "type": {
551
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
552
+ }
553
+ },
554
+ "parameters": [
555
+ {
556
+ "name": "newValue",
557
+ "type": {
558
+ "text": "Omit<T, 'id'>"
559
+ }
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "kind": "method",
565
+ "name": "read",
566
+ "privacy": "public",
567
+ "return": {
568
+ "type": {
569
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
570
+ }
571
+ },
572
+ "parameters": [
573
+ {
574
+ "name": "id",
575
+ "type": {
576
+ "text": "string"
577
+ }
578
+ }
579
+ ]
580
+ },
581
+ {
582
+ "kind": "method",
583
+ "name": "update",
584
+ "privacy": "public",
585
+ "return": {
586
+ "type": {
587
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
588
+ }
589
+ },
590
+ "parameters": [
591
+ {
592
+ "name": "id",
593
+ "type": {
594
+ "text": "string"
595
+ }
596
+ },
597
+ {
598
+ "name": "newValue",
599
+ "type": {
600
+ "text": "Omit<Partial<T>, 'id'>"
601
+ }
602
+ }
603
+ ]
604
+ },
605
+ {
606
+ "kind": "method",
607
+ "name": "delete",
608
+ "privacy": "public",
609
+ "return": {
610
+ "type": {
611
+ "text": "Promise<DatabaseAccessResult.Delete>"
612
+ }
613
+ },
614
+ "parameters": [
615
+ {
616
+ "name": "id",
617
+ "type": {
618
+ "text": "string"
619
+ }
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ "kind": "method",
625
+ "name": "visit",
626
+ "privacy": "public",
627
+ "return": {
628
+ "type": {
629
+ "text": "Promise<void>"
630
+ }
631
+ },
632
+ "parameters": [
633
+ {
634
+ "name": "visitor",
635
+ "type": {
636
+ "text": "(record: T) => void"
637
+ }
638
+ }
639
+ ]
640
+ },
641
+ {
642
+ "kind": "method",
643
+ "name": "onBeforeUpdate",
644
+ "privacy": "public",
645
+ "return": {
646
+ "type": {
647
+ "text": "() => void"
648
+ }
649
+ },
650
+ "parameters": [
651
+ {
652
+ "name": "listener",
653
+ "type": {
654
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
655
+ }
656
+ }
657
+ ]
658
+ },
659
+ {
660
+ "kind": "method",
661
+ "name": "onAfterUpdate",
662
+ "privacy": "public",
663
+ "return": {
664
+ "type": {
665
+ "text": "() => void"
666
+ }
667
+ },
668
+ "parameters": [
669
+ {
670
+ "name": "listener",
671
+ "type": {
672
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
673
+ }
674
+ }
675
+ ]
676
+ }
677
+ ]
678
+ }
679
+ ],
680
+ "exports": [
681
+ {
682
+ "kind": "js",
683
+ "name": "InMemoryDatabase",
684
+ "declaration": {
685
+ "name": "InMemoryDatabase",
686
+ "module": "src/data/inMemoryDatabase.ts"
687
+ }
688
+ }
689
+ ]
690
+ },
691
+ {
692
+ "kind": "javascript-module",
693
+ "path": "src/data/index.ts",
694
+ "declarations": [],
695
+ "exports": [
696
+ {
697
+ "kind": "js",
698
+ "name": "*",
699
+ "declaration": {
700
+ "name": "*",
701
+ "package": "./inMemoryDatabase"
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
+ }
754
+ ],
755
+ "exports": [
756
+ {
757
+ "kind": "js",
758
+ "name": "isDev",
767
759
  "declaration": {
768
760
  "name": "isDev",
769
761
  "module": "src/env/is-dev.ts"
@@ -1203,7 +1195,7 @@
1203
1195
  },
1204
1196
  {
1205
1197
  "kind": "javascript-module",
1206
- "path": "src/encoding/index.ts",
1198
+ "path": "src/directives/index.ts",
1207
1199
  "declarations": [],
1208
1200
  "exports": [
1209
1201
  {
@@ -1211,14 +1203,22 @@
1211
1203
  "name": "*",
1212
1204
  "declaration": {
1213
1205
  "name": "*",
1214
- "package": "./base64"
1206
+ "package": "./sync"
1215
1207
  }
1216
- }
1217
- ]
1218
- },
1219
- {
1220
- "kind": "javascript-module",
1221
- "path": "src/error/errorMap.ts",
1208
+ },
1209
+ {
1210
+ "kind": "js",
1211
+ "name": "*",
1212
+ "declaration": {
1213
+ "name": "*",
1214
+ "package": "./when-else"
1215
+ }
1216
+ }
1217
+ ]
1218
+ },
1219
+ {
1220
+ "kind": "javascript-module",
1221
+ "path": "src/error/errorMap.ts",
1222
1222
  "declarations": [
1223
1223
  {
1224
1224
  "kind": "class",
@@ -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",
@@ -0,0 +1,67 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ import type React from 'react';
7
+ import type { InactivityDialog as InactivityDialogWC } from './inactivity/inactivity-dialog';
8
+ import type { FoundationShortcutListener as FoundationShortcutListenerWC } from './shortcut-manager/shortcut-listener';
9
+ import type { SlottedStyles as SlottedStylesWC } from './styles/slotted-styles';
10
+
11
+ /** @internal Maps a web component class to its public props only.
12
+ * keyof T skips private/protected members, so this avoids the TS error
13
+ * "property may not be private or protected" on exported anonymous types. */
14
+ type PublicOf<T> = { [K in keyof T]?: T[K] };
15
+
16
+ /** @internal Safe React HTML attributes for web component wrappers.
17
+ * onChange/onInput use method signatures for bivariant parameter checking so both
18
+ * native Event and CustomEvent callbacks are accepted. */
19
+ interface HTMLWCProps extends React.AriaAttributes {
20
+ className?: string; style?: React.CSSProperties; id?: string; slot?: string;
21
+ tabIndex?: number; dir?: string; lang?: string; title?: string;
22
+ onClick?: React.MouseEventHandler<HTMLElement>;
23
+ onDoubleClick?: React.MouseEventHandler<HTMLElement>;
24
+ onContextMenu?: React.MouseEventHandler<HTMLElement>;
25
+ onMouseEnter?: React.MouseEventHandler<HTMLElement>;
26
+ onMouseLeave?: React.MouseEventHandler<HTMLElement>;
27
+ onMouseDown?: React.MouseEventHandler<HTMLElement>;
28
+ onMouseUp?: React.MouseEventHandler<HTMLElement>;
29
+ onMouseMove?: React.MouseEventHandler<HTMLElement>;
30
+ onKeyDown?: React.KeyboardEventHandler<HTMLElement>;
31
+ onKeyUp?: React.KeyboardEventHandler<HTMLElement>;
32
+ onFocus?: React.FocusEventHandler<HTMLElement>;
33
+ onBlur?: React.FocusEventHandler<HTMLElement>;
34
+ onScroll?: React.UIEventHandler<HTMLElement>;
35
+ onWheel?: React.WheelEventHandler<HTMLElement>;
36
+ onChange?(e: Event): void;
37
+ onInput?(e: Event): void;
38
+ }
39
+
40
+ export declare const InactivityDialog: React.ForwardRefExoticComponent<
41
+ React.PropsWithChildren<
42
+ Omit<PublicOf<InactivityDialogWC>, 'children' | 'style'> &
43
+ HTMLWCProps & {
44
+ }
45
+ > & React.RefAttributes<InactivityDialogWC>
46
+ >;
47
+ export type InactivityDialogRef = InactivityDialogWC;
48
+
49
+ export declare const FoundationShortcutListener: React.ForwardRefExoticComponent<
50
+ React.PropsWithChildren<
51
+ Omit<PublicOf<FoundationShortcutListenerWC>, 'children' | 'style'> &
52
+ HTMLWCProps & {
53
+ }
54
+ > & React.RefAttributes<FoundationShortcutListenerWC>
55
+ >;
56
+ export type FoundationShortcutListenerRef = FoundationShortcutListenerWC;
57
+
58
+ export declare const SlottedStyles: React.ForwardRefExoticComponent<
59
+ React.PropsWithChildren<
60
+ Omit<PublicOf<SlottedStylesWC>, 'children' | 'style'> &
61
+ HTMLWCProps & {
62
+ }
63
+ > & React.RefAttributes<SlottedStylesWC>
64
+ >;
65
+ export type SlottedStylesRef = SlottedStylesWC;
66
+
67
+ export {};
package/dist/react.cjs ADDED
@@ -0,0 +1,32 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ 'use strict';
7
+
8
+ const React = require('react');
9
+ const { InactivityDialog: InactivityDialogWC } = require('./esm/inactivity/inactivity-dialog.js');
10
+ const { FoundationShortcutListener: FoundationShortcutListenerWC } = require('./esm/shortcut-manager/shortcut-listener.js');
11
+ const { SlottedStyles: SlottedStylesWC } = require('./esm/styles/slotted-styles.js');
12
+
13
+ const InactivityDialog = React.forwardRef(function InactivityDialog(props, ref) {
14
+ const { children, ...rest } = props;
15
+ return React.createElement(customElements.getName(InactivityDialogWC) ?? 'inactivity-dialog', { ...rest, ref }, children);
16
+ });
17
+
18
+ const FoundationShortcutListener = React.forwardRef(function FoundationShortcutListener(props, ref) {
19
+ const { children, ...rest } = props;
20
+ return React.createElement(customElements.getName(FoundationShortcutListenerWC) ?? 'foundation-shortcut-listener', { ...rest, ref }, children);
21
+ });
22
+
23
+ const SlottedStyles = React.forwardRef(function SlottedStyles(props, ref) {
24
+ const { children, ...rest } = props;
25
+ return React.createElement(customElements.getName(SlottedStylesWC) ?? 'slotted-styles', { ...rest, ref }, children);
26
+ });
27
+
28
+ module.exports = {
29
+ InactivityDialog,
30
+ FoundationShortcutListener,
31
+ SlottedStyles,
32
+ };
package/dist/react.mjs ADDED
@@ -0,0 +1,24 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ import React from 'react';
7
+ import { InactivityDialog as InactivityDialogWC } from './esm/inactivity/inactivity-dialog.js';
8
+ import { FoundationShortcutListener as FoundationShortcutListenerWC } from './esm/shortcut-manager/shortcut-listener.js';
9
+ import { SlottedStyles as SlottedStylesWC } from './esm/styles/slotted-styles.js';
10
+
11
+ export const InactivityDialog = React.forwardRef(function InactivityDialog(props, ref) {
12
+ const { children, ...rest } = props;
13
+ return React.createElement(customElements.getName(InactivityDialogWC) ?? 'inactivity-dialog', { ...rest, ref }, children);
14
+ });
15
+
16
+ export const FoundationShortcutListener = React.forwardRef(function FoundationShortcutListener(props, ref) {
17
+ const { children, ...rest } = props;
18
+ return React.createElement(customElements.getName(FoundationShortcutListenerWC) ?? 'foundation-shortcut-listener', { ...rest, ref }, children);
19
+ });
20
+
21
+ export const SlottedStyles = React.forwardRef(function SlottedStyles(props, ref) {
22
+ const { children, ...rest } = props;
23
+ return React.createElement(customElements.getName(SlottedStylesWC) ?? 'slotted-styles', { ...rest, ref }, children);
24
+ });
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.461.0",
4
+ "version": "14.461.2",
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.461.0",
33
- "@genesislcap/genx": "14.461.0",
34
- "@genesislcap/rollup-builder": "14.461.0",
35
- "@genesislcap/ts-builder": "14.461.0",
36
- "@genesislcap/uvu-playwright-builder": "14.461.0",
37
- "@genesislcap/vite-builder": "14.461.0",
38
- "@genesislcap/webpack-builder": "14.461.0",
32
+ "@genesislcap/foundation-testing": "14.461.2",
33
+ "@genesislcap/genx": "14.461.2",
34
+ "@genesislcap/rollup-builder": "14.461.2",
35
+ "@genesislcap/ts-builder": "14.461.2",
36
+ "@genesislcap/uvu-playwright-builder": "14.461.2",
37
+ "@genesislcap/vite-builder": "14.461.2",
38
+ "@genesislcap/webpack-builder": "14.461.2",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.461.0",
43
- "@genesislcap/foundation-logger": "14.461.0",
42
+ "@genesislcap/expression-builder": "14.461.2",
43
+ "@genesislcap/foundation-logger": "14.461.2",
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": "d87c27bf9e91f6f5d1cf51992e7892df9434c9be"
61
+ "gitHead": "7999f5af9df17157002c463d10fe75a14ac43521"
62
62
  }