@genesislcap/foundation-utils 14.461.1 → 14.461.2-GENC-1346.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.
- package/dist/custom-elements.json +239 -239
- package/dist/dts/react.d.ts +67 -0
- package/dist/react.cjs +32 -0
- package/dist/react.mjs +24 -0
- package/package.json +11 -11
|
@@ -209,47 +209,6 @@
|
|
|
209
209
|
}
|
|
210
210
|
]
|
|
211
211
|
},
|
|
212
|
-
{
|
|
213
|
-
"kind": "javascript-module",
|
|
214
|
-
"path": "src/converters/index.ts",
|
|
215
|
-
"declarations": [],
|
|
216
|
-
"exports": [
|
|
217
|
-
{
|
|
218
|
-
"kind": "js",
|
|
219
|
-
"name": "*",
|
|
220
|
-
"declaration": {
|
|
221
|
-
"name": "*",
|
|
222
|
-
"package": "./string-array-converter"
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
]
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"kind": "javascript-module",
|
|
229
|
-
"path": "src/converters/string-array-converter.ts",
|
|
230
|
-
"declarations": [
|
|
231
|
-
{
|
|
232
|
-
"kind": "variable",
|
|
233
|
-
"name": "stringArrayConverter",
|
|
234
|
-
"type": {
|
|
235
|
-
"text": "ValueConverter"
|
|
236
|
-
},
|
|
237
|
-
"default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
|
|
238
|
-
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
239
|
-
"privacy": "public"
|
|
240
|
-
}
|
|
241
|
-
],
|
|
242
|
-
"exports": [
|
|
243
|
-
{
|
|
244
|
-
"kind": "js",
|
|
245
|
-
"name": "stringArrayConverter",
|
|
246
|
-
"declaration": {
|
|
247
|
-
"name": "stringArrayConverter",
|
|
248
|
-
"module": "src/converters/string-array-converter.ts"
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
]
|
|
252
|
-
},
|
|
253
212
|
{
|
|
254
213
|
"kind": "javascript-module",
|
|
255
214
|
"path": "src/decorators/index.ts",
|
|
@@ -303,204 +262,6 @@
|
|
|
303
262
|
}
|
|
304
263
|
]
|
|
305
264
|
},
|
|
306
|
-
{
|
|
307
|
-
"kind": "javascript-module",
|
|
308
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
309
|
-
"declarations": [
|
|
310
|
-
{
|
|
311
|
-
"kind": "class",
|
|
312
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
313
|
-
"name": "InMemoryDatabase",
|
|
314
|
-
"members": [
|
|
315
|
-
{
|
|
316
|
-
"kind": "field",
|
|
317
|
-
"name": "isWorking",
|
|
318
|
-
"type": {
|
|
319
|
-
"text": "boolean"
|
|
320
|
-
},
|
|
321
|
-
"privacy": "public",
|
|
322
|
-
"default": "false"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"kind": "field",
|
|
326
|
-
"name": "records",
|
|
327
|
-
"type": {
|
|
328
|
-
"text": "Record<string, T>"
|
|
329
|
-
},
|
|
330
|
-
"privacy": "private",
|
|
331
|
-
"default": "{}"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"kind": "field",
|
|
335
|
-
"name": "beforeUpdateListeners",
|
|
336
|
-
"privacy": "private"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"kind": "field",
|
|
340
|
-
"name": "afterUpdateListeners",
|
|
341
|
-
"privacy": "private"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"kind": "method",
|
|
345
|
-
"name": "create",
|
|
346
|
-
"privacy": "public",
|
|
347
|
-
"return": {
|
|
348
|
-
"type": {
|
|
349
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
"parameters": [
|
|
353
|
-
{
|
|
354
|
-
"name": "newValue",
|
|
355
|
-
"type": {
|
|
356
|
-
"text": "Omit<T, 'id'>"
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
]
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"kind": "method",
|
|
363
|
-
"name": "read",
|
|
364
|
-
"privacy": "public",
|
|
365
|
-
"return": {
|
|
366
|
-
"type": {
|
|
367
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
"parameters": [
|
|
371
|
-
{
|
|
372
|
-
"name": "id",
|
|
373
|
-
"type": {
|
|
374
|
-
"text": "string"
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
]
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"kind": "method",
|
|
381
|
-
"name": "update",
|
|
382
|
-
"privacy": "public",
|
|
383
|
-
"return": {
|
|
384
|
-
"type": {
|
|
385
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
386
|
-
}
|
|
387
|
-
},
|
|
388
|
-
"parameters": [
|
|
389
|
-
{
|
|
390
|
-
"name": "id",
|
|
391
|
-
"type": {
|
|
392
|
-
"text": "string"
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"name": "newValue",
|
|
397
|
-
"type": {
|
|
398
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
]
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"kind": "method",
|
|
405
|
-
"name": "delete",
|
|
406
|
-
"privacy": "public",
|
|
407
|
-
"return": {
|
|
408
|
-
"type": {
|
|
409
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
"parameters": [
|
|
413
|
-
{
|
|
414
|
-
"name": "id",
|
|
415
|
-
"type": {
|
|
416
|
-
"text": "string"
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
]
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
"kind": "method",
|
|
423
|
-
"name": "visit",
|
|
424
|
-
"privacy": "public",
|
|
425
|
-
"return": {
|
|
426
|
-
"type": {
|
|
427
|
-
"text": "Promise<void>"
|
|
428
|
-
}
|
|
429
|
-
},
|
|
430
|
-
"parameters": [
|
|
431
|
-
{
|
|
432
|
-
"name": "visitor",
|
|
433
|
-
"type": {
|
|
434
|
-
"text": "(record: T) => void"
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
]
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"kind": "method",
|
|
441
|
-
"name": "onBeforeUpdate",
|
|
442
|
-
"privacy": "public",
|
|
443
|
-
"return": {
|
|
444
|
-
"type": {
|
|
445
|
-
"text": "() => void"
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
"parameters": [
|
|
449
|
-
{
|
|
450
|
-
"name": "listener",
|
|
451
|
-
"type": {
|
|
452
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
]
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
"kind": "method",
|
|
459
|
-
"name": "onAfterUpdate",
|
|
460
|
-
"privacy": "public",
|
|
461
|
-
"return": {
|
|
462
|
-
"type": {
|
|
463
|
-
"text": "() => void"
|
|
464
|
-
}
|
|
465
|
-
},
|
|
466
|
-
"parameters": [
|
|
467
|
-
{
|
|
468
|
-
"name": "listener",
|
|
469
|
-
"type": {
|
|
470
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
]
|
|
474
|
-
}
|
|
475
|
-
]
|
|
476
|
-
}
|
|
477
|
-
],
|
|
478
|
-
"exports": [
|
|
479
|
-
{
|
|
480
|
-
"kind": "js",
|
|
481
|
-
"name": "InMemoryDatabase",
|
|
482
|
-
"declaration": {
|
|
483
|
-
"name": "InMemoryDatabase",
|
|
484
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
]
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"kind": "javascript-module",
|
|
491
|
-
"path": "src/data/index.ts",
|
|
492
|
-
"declarations": [],
|
|
493
|
-
"exports": [
|
|
494
|
-
{
|
|
495
|
-
"kind": "js",
|
|
496
|
-
"name": "*",
|
|
497
|
-
"declaration": {
|
|
498
|
-
"name": "*",
|
|
499
|
-
"package": "./inMemoryDatabase"
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
]
|
|
503
|
-
},
|
|
504
265
|
{
|
|
505
266
|
"kind": "javascript-module",
|
|
506
267
|
"path": "src/design-system/design-system.ts",
|
|
@@ -703,6 +464,47 @@
|
|
|
703
464
|
}
|
|
704
465
|
]
|
|
705
466
|
},
|
|
467
|
+
{
|
|
468
|
+
"kind": "javascript-module",
|
|
469
|
+
"path": "src/converters/index.ts",
|
|
470
|
+
"declarations": [],
|
|
471
|
+
"exports": [
|
|
472
|
+
{
|
|
473
|
+
"kind": "js",
|
|
474
|
+
"name": "*",
|
|
475
|
+
"declaration": {
|
|
476
|
+
"name": "*",
|
|
477
|
+
"package": "./string-array-converter"
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
]
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"kind": "javascript-module",
|
|
484
|
+
"path": "src/converters/string-array-converter.ts",
|
|
485
|
+
"declarations": [
|
|
486
|
+
{
|
|
487
|
+
"kind": "variable",
|
|
488
|
+
"name": "stringArrayConverter",
|
|
489
|
+
"type": {
|
|
490
|
+
"text": "ValueConverter"
|
|
491
|
+
},
|
|
492
|
+
"default": "{\n fromView(v: string): string | string[] | undefined {\n if (!v?.trim()) return undefined;\n return v.includes(',') ? v.split(',').map((s) => s.trim()) : v.trim();\n },\n toView(v: string | string[] | undefined): string {\n if (typeof v === 'string') return v;\n if (Array.isArray(v)) return v.join(',');\n return '';\n },\n}",
|
|
493
|
+
"description": "A @microsoft/fast-element#ValueConverter that converts between comma-separated string attributes\nand `string | string[]` properties.",
|
|
494
|
+
"privacy": "public"
|
|
495
|
+
}
|
|
496
|
+
],
|
|
497
|
+
"exports": [
|
|
498
|
+
{
|
|
499
|
+
"kind": "js",
|
|
500
|
+
"name": "stringArrayConverter",
|
|
501
|
+
"declaration": {
|
|
502
|
+
"name": "stringArrayConverter",
|
|
503
|
+
"module": "src/converters/string-array-converter.ts"
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
]
|
|
507
|
+
},
|
|
706
508
|
{
|
|
707
509
|
"kind": "javascript-module",
|
|
708
510
|
"path": "src/directives/index.ts",
|
|
@@ -726,6 +528,204 @@
|
|
|
726
528
|
}
|
|
727
529
|
]
|
|
728
530
|
},
|
|
531
|
+
{
|
|
532
|
+
"kind": "javascript-module",
|
|
533
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
534
|
+
"declarations": [
|
|
535
|
+
{
|
|
536
|
+
"kind": "class",
|
|
537
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
538
|
+
"name": "InMemoryDatabase",
|
|
539
|
+
"members": [
|
|
540
|
+
{
|
|
541
|
+
"kind": "field",
|
|
542
|
+
"name": "isWorking",
|
|
543
|
+
"type": {
|
|
544
|
+
"text": "boolean"
|
|
545
|
+
},
|
|
546
|
+
"privacy": "public",
|
|
547
|
+
"default": "false"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"kind": "field",
|
|
551
|
+
"name": "records",
|
|
552
|
+
"type": {
|
|
553
|
+
"text": "Record<string, T>"
|
|
554
|
+
},
|
|
555
|
+
"privacy": "private",
|
|
556
|
+
"default": "{}"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "field",
|
|
560
|
+
"name": "beforeUpdateListeners",
|
|
561
|
+
"privacy": "private"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"kind": "field",
|
|
565
|
+
"name": "afterUpdateListeners",
|
|
566
|
+
"privacy": "private"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"kind": "method",
|
|
570
|
+
"name": "create",
|
|
571
|
+
"privacy": "public",
|
|
572
|
+
"return": {
|
|
573
|
+
"type": {
|
|
574
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
"parameters": [
|
|
578
|
+
{
|
|
579
|
+
"name": "newValue",
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "Omit<T, 'id'>"
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
]
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"kind": "method",
|
|
588
|
+
"name": "read",
|
|
589
|
+
"privacy": "public",
|
|
590
|
+
"return": {
|
|
591
|
+
"type": {
|
|
592
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
"parameters": [
|
|
596
|
+
{
|
|
597
|
+
"name": "id",
|
|
598
|
+
"type": {
|
|
599
|
+
"text": "string"
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
]
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"kind": "method",
|
|
606
|
+
"name": "update",
|
|
607
|
+
"privacy": "public",
|
|
608
|
+
"return": {
|
|
609
|
+
"type": {
|
|
610
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"parameters": [
|
|
614
|
+
{
|
|
615
|
+
"name": "id",
|
|
616
|
+
"type": {
|
|
617
|
+
"text": "string"
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"name": "newValue",
|
|
622
|
+
"type": {
|
|
623
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
]
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"kind": "method",
|
|
630
|
+
"name": "delete",
|
|
631
|
+
"privacy": "public",
|
|
632
|
+
"return": {
|
|
633
|
+
"type": {
|
|
634
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
"parameters": [
|
|
638
|
+
{
|
|
639
|
+
"name": "id",
|
|
640
|
+
"type": {
|
|
641
|
+
"text": "string"
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
]
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"kind": "method",
|
|
648
|
+
"name": "visit",
|
|
649
|
+
"privacy": "public",
|
|
650
|
+
"return": {
|
|
651
|
+
"type": {
|
|
652
|
+
"text": "Promise<void>"
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"parameters": [
|
|
656
|
+
{
|
|
657
|
+
"name": "visitor",
|
|
658
|
+
"type": {
|
|
659
|
+
"text": "(record: T) => void"
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
]
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"kind": "method",
|
|
666
|
+
"name": "onBeforeUpdate",
|
|
667
|
+
"privacy": "public",
|
|
668
|
+
"return": {
|
|
669
|
+
"type": {
|
|
670
|
+
"text": "() => void"
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"parameters": [
|
|
674
|
+
{
|
|
675
|
+
"name": "listener",
|
|
676
|
+
"type": {
|
|
677
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
]
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"kind": "method",
|
|
684
|
+
"name": "onAfterUpdate",
|
|
685
|
+
"privacy": "public",
|
|
686
|
+
"return": {
|
|
687
|
+
"type": {
|
|
688
|
+
"text": "() => void"
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"parameters": [
|
|
692
|
+
{
|
|
693
|
+
"name": "listener",
|
|
694
|
+
"type": {
|
|
695
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
]
|
|
699
|
+
}
|
|
700
|
+
]
|
|
701
|
+
}
|
|
702
|
+
],
|
|
703
|
+
"exports": [
|
|
704
|
+
{
|
|
705
|
+
"kind": "js",
|
|
706
|
+
"name": "InMemoryDatabase",
|
|
707
|
+
"declaration": {
|
|
708
|
+
"name": "InMemoryDatabase",
|
|
709
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
]
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"kind": "javascript-module",
|
|
716
|
+
"path": "src/data/index.ts",
|
|
717
|
+
"declarations": [],
|
|
718
|
+
"exports": [
|
|
719
|
+
{
|
|
720
|
+
"kind": "js",
|
|
721
|
+
"name": "*",
|
|
722
|
+
"declaration": {
|
|
723
|
+
"name": "*",
|
|
724
|
+
"package": "./inMemoryDatabase"
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
]
|
|
728
|
+
},
|
|
729
729
|
{
|
|
730
730
|
"kind": "javascript-module",
|
|
731
731
|
"path": "src/encoding/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.
|
|
4
|
+
"version": "14.461.2-GENC-1346.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.
|
|
33
|
-
"@genesislcap/genx": "14.461.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.461.
|
|
35
|
-
"@genesislcap/ts-builder": "14.461.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.461.
|
|
37
|
-
"@genesislcap/vite-builder": "14.461.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.461.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.461.2-GENC-1346.2",
|
|
33
|
+
"@genesislcap/genx": "14.461.2-GENC-1346.2",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.461.2-GENC-1346.2",
|
|
35
|
+
"@genesislcap/ts-builder": "14.461.2-GENC-1346.2",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.461.2-GENC-1346.2",
|
|
37
|
+
"@genesislcap/vite-builder": "14.461.2-GENC-1346.2",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.461.2-GENC-1346.2",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.461.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.461.
|
|
42
|
+
"@genesislcap/expression-builder": "14.461.2-GENC-1346.2",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.461.2-GENC-1346.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": "
|
|
61
|
+
"gitHead": "3ec878a6b7ebccb132dd854250ca5abe8e4a337e"
|
|
62
62
|
}
|