@genesislcap/foundation-utils 14.162.1 → 14.162.2-alpha-3bdf355.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.
- package/dist/custom-elements.json +251 -251
- package/package.json +10 -10
|
@@ -151,6 +151,59 @@
|
|
|
151
151
|
}
|
|
152
152
|
]
|
|
153
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"kind": "javascript-module",
|
|
156
|
+
"path": "src/decorators/index.ts",
|
|
157
|
+
"declarations": [],
|
|
158
|
+
"exports": [
|
|
159
|
+
{
|
|
160
|
+
"kind": "js",
|
|
161
|
+
"name": "*",
|
|
162
|
+
"declaration": {
|
|
163
|
+
"name": "*",
|
|
164
|
+
"package": "./renderOnChange"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"kind": "javascript-module",
|
|
171
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
172
|
+
"declarations": [
|
|
173
|
+
{
|
|
174
|
+
"kind": "function",
|
|
175
|
+
"name": "renderOnChange",
|
|
176
|
+
"parameters": [
|
|
177
|
+
{
|
|
178
|
+
"name": "target",
|
|
179
|
+
"type": {
|
|
180
|
+
"text": "FASTElement & { render(): void }"
|
|
181
|
+
},
|
|
182
|
+
"description": "The target to define the property change handler on."
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "name",
|
|
186
|
+
"type": {
|
|
187
|
+
"text": "string"
|
|
188
|
+
},
|
|
189
|
+
"description": "The property name."
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
193
|
+
"privacy": "public"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"exports": [
|
|
197
|
+
{
|
|
198
|
+
"kind": "js",
|
|
199
|
+
"name": "renderOnChange",
|
|
200
|
+
"declaration": {
|
|
201
|
+
"name": "renderOnChange",
|
|
202
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
154
207
|
{
|
|
155
208
|
"kind": "javascript-module",
|
|
156
209
|
"path": "src/directives/index.ts",
|
|
@@ -397,257 +450,6 @@
|
|
|
397
450
|
}
|
|
398
451
|
]
|
|
399
452
|
},
|
|
400
|
-
{
|
|
401
|
-
"kind": "javascript-module",
|
|
402
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
403
|
-
"declarations": [
|
|
404
|
-
{
|
|
405
|
-
"kind": "class",
|
|
406
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
407
|
-
"name": "InMemoryDatabase",
|
|
408
|
-
"members": [
|
|
409
|
-
{
|
|
410
|
-
"kind": "field",
|
|
411
|
-
"name": "isWorking",
|
|
412
|
-
"type": {
|
|
413
|
-
"text": "boolean"
|
|
414
|
-
},
|
|
415
|
-
"privacy": "public",
|
|
416
|
-
"default": "false"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"kind": "field",
|
|
420
|
-
"name": "records",
|
|
421
|
-
"type": {
|
|
422
|
-
"text": "Record<string, T>"
|
|
423
|
-
},
|
|
424
|
-
"privacy": "private",
|
|
425
|
-
"default": "{}"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"kind": "field",
|
|
429
|
-
"name": "beforeUpdateListeners",
|
|
430
|
-
"privacy": "private"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"kind": "field",
|
|
434
|
-
"name": "afterUpdateListeners",
|
|
435
|
-
"privacy": "private"
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"kind": "method",
|
|
439
|
-
"name": "create",
|
|
440
|
-
"privacy": "public",
|
|
441
|
-
"return": {
|
|
442
|
-
"type": {
|
|
443
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
"parameters": [
|
|
447
|
-
{
|
|
448
|
-
"name": "newValue",
|
|
449
|
-
"type": {
|
|
450
|
-
"text": "Omit<T, 'id'>"
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
]
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"kind": "method",
|
|
457
|
-
"name": "read",
|
|
458
|
-
"privacy": "public",
|
|
459
|
-
"return": {
|
|
460
|
-
"type": {
|
|
461
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
"parameters": [
|
|
465
|
-
{
|
|
466
|
-
"name": "id",
|
|
467
|
-
"type": {
|
|
468
|
-
"text": "string"
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
]
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
"kind": "method",
|
|
475
|
-
"name": "update",
|
|
476
|
-
"privacy": "public",
|
|
477
|
-
"return": {
|
|
478
|
-
"type": {
|
|
479
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
480
|
-
}
|
|
481
|
-
},
|
|
482
|
-
"parameters": [
|
|
483
|
-
{
|
|
484
|
-
"name": "id",
|
|
485
|
-
"type": {
|
|
486
|
-
"text": "string"
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"name": "newValue",
|
|
491
|
-
"type": {
|
|
492
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
]
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"kind": "method",
|
|
499
|
-
"name": "delete",
|
|
500
|
-
"privacy": "public",
|
|
501
|
-
"return": {
|
|
502
|
-
"type": {
|
|
503
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
"parameters": [
|
|
507
|
-
{
|
|
508
|
-
"name": "id",
|
|
509
|
-
"type": {
|
|
510
|
-
"text": "string"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
]
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"kind": "method",
|
|
517
|
-
"name": "visit",
|
|
518
|
-
"privacy": "public",
|
|
519
|
-
"return": {
|
|
520
|
-
"type": {
|
|
521
|
-
"text": "Promise<void>"
|
|
522
|
-
}
|
|
523
|
-
},
|
|
524
|
-
"parameters": [
|
|
525
|
-
{
|
|
526
|
-
"name": "visitor",
|
|
527
|
-
"type": {
|
|
528
|
-
"text": "(record: T) => void"
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
]
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"kind": "method",
|
|
535
|
-
"name": "onBeforeUpdate",
|
|
536
|
-
"privacy": "public",
|
|
537
|
-
"return": {
|
|
538
|
-
"type": {
|
|
539
|
-
"text": "() => void"
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
"parameters": [
|
|
543
|
-
{
|
|
544
|
-
"name": "listener",
|
|
545
|
-
"type": {
|
|
546
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
]
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"kind": "method",
|
|
553
|
-
"name": "onAfterUpdate",
|
|
554
|
-
"privacy": "public",
|
|
555
|
-
"return": {
|
|
556
|
-
"type": {
|
|
557
|
-
"text": "() => void"
|
|
558
|
-
}
|
|
559
|
-
},
|
|
560
|
-
"parameters": [
|
|
561
|
-
{
|
|
562
|
-
"name": "listener",
|
|
563
|
-
"type": {
|
|
564
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
]
|
|
568
|
-
}
|
|
569
|
-
]
|
|
570
|
-
}
|
|
571
|
-
],
|
|
572
|
-
"exports": [
|
|
573
|
-
{
|
|
574
|
-
"kind": "js",
|
|
575
|
-
"name": "InMemoryDatabase",
|
|
576
|
-
"declaration": {
|
|
577
|
-
"name": "InMemoryDatabase",
|
|
578
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
]
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
"kind": "javascript-module",
|
|
585
|
-
"path": "src/data/index.ts",
|
|
586
|
-
"declarations": [],
|
|
587
|
-
"exports": [
|
|
588
|
-
{
|
|
589
|
-
"kind": "js",
|
|
590
|
-
"name": "*",
|
|
591
|
-
"declaration": {
|
|
592
|
-
"name": "*",
|
|
593
|
-
"package": "./inMemoryDatabase"
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
]
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"kind": "javascript-module",
|
|
600
|
-
"path": "src/decorators/index.ts",
|
|
601
|
-
"declarations": [],
|
|
602
|
-
"exports": [
|
|
603
|
-
{
|
|
604
|
-
"kind": "js",
|
|
605
|
-
"name": "*",
|
|
606
|
-
"declaration": {
|
|
607
|
-
"name": "*",
|
|
608
|
-
"package": "./renderOnChange"
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
]
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
"kind": "javascript-module",
|
|
615
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
616
|
-
"declarations": [
|
|
617
|
-
{
|
|
618
|
-
"kind": "function",
|
|
619
|
-
"name": "renderOnChange",
|
|
620
|
-
"parameters": [
|
|
621
|
-
{
|
|
622
|
-
"name": "target",
|
|
623
|
-
"type": {
|
|
624
|
-
"text": "FASTElement & { render(): void }"
|
|
625
|
-
},
|
|
626
|
-
"description": "The target to define the property change handler on."
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"name": "name",
|
|
630
|
-
"type": {
|
|
631
|
-
"text": "string"
|
|
632
|
-
},
|
|
633
|
-
"description": "The property name."
|
|
634
|
-
}
|
|
635
|
-
],
|
|
636
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
637
|
-
"privacy": "public"
|
|
638
|
-
}
|
|
639
|
-
],
|
|
640
|
-
"exports": [
|
|
641
|
-
{
|
|
642
|
-
"kind": "js",
|
|
643
|
-
"name": "renderOnChange",
|
|
644
|
-
"declaration": {
|
|
645
|
-
"name": "renderOnChange",
|
|
646
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
]
|
|
650
|
-
},
|
|
651
453
|
{
|
|
652
454
|
"kind": "javascript-module",
|
|
653
455
|
"path": "src/error/errorMap.ts",
|
|
@@ -1109,6 +911,204 @@
|
|
|
1109
911
|
}
|
|
1110
912
|
]
|
|
1111
913
|
},
|
|
914
|
+
{
|
|
915
|
+
"kind": "javascript-module",
|
|
916
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
917
|
+
"declarations": [
|
|
918
|
+
{
|
|
919
|
+
"kind": "class",
|
|
920
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
921
|
+
"name": "InMemoryDatabase",
|
|
922
|
+
"members": [
|
|
923
|
+
{
|
|
924
|
+
"kind": "field",
|
|
925
|
+
"name": "isWorking",
|
|
926
|
+
"type": {
|
|
927
|
+
"text": "boolean"
|
|
928
|
+
},
|
|
929
|
+
"privacy": "public",
|
|
930
|
+
"default": "false"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"kind": "field",
|
|
934
|
+
"name": "records",
|
|
935
|
+
"type": {
|
|
936
|
+
"text": "Record<string, T>"
|
|
937
|
+
},
|
|
938
|
+
"privacy": "private",
|
|
939
|
+
"default": "{}"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"kind": "field",
|
|
943
|
+
"name": "beforeUpdateListeners",
|
|
944
|
+
"privacy": "private"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"kind": "field",
|
|
948
|
+
"name": "afterUpdateListeners",
|
|
949
|
+
"privacy": "private"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"kind": "method",
|
|
953
|
+
"name": "create",
|
|
954
|
+
"privacy": "public",
|
|
955
|
+
"return": {
|
|
956
|
+
"type": {
|
|
957
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"parameters": [
|
|
961
|
+
{
|
|
962
|
+
"name": "newValue",
|
|
963
|
+
"type": {
|
|
964
|
+
"text": "Omit<T, 'id'>"
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
]
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"kind": "method",
|
|
971
|
+
"name": "read",
|
|
972
|
+
"privacy": "public",
|
|
973
|
+
"return": {
|
|
974
|
+
"type": {
|
|
975
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"parameters": [
|
|
979
|
+
{
|
|
980
|
+
"name": "id",
|
|
981
|
+
"type": {
|
|
982
|
+
"text": "string"
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
]
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"kind": "method",
|
|
989
|
+
"name": "update",
|
|
990
|
+
"privacy": "public",
|
|
991
|
+
"return": {
|
|
992
|
+
"type": {
|
|
993
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
"parameters": [
|
|
997
|
+
{
|
|
998
|
+
"name": "id",
|
|
999
|
+
"type": {
|
|
1000
|
+
"text": "string"
|
|
1001
|
+
}
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"name": "newValue",
|
|
1005
|
+
"type": {
|
|
1006
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
]
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"kind": "method",
|
|
1013
|
+
"name": "delete",
|
|
1014
|
+
"privacy": "public",
|
|
1015
|
+
"return": {
|
|
1016
|
+
"type": {
|
|
1017
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
1018
|
+
}
|
|
1019
|
+
},
|
|
1020
|
+
"parameters": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "id",
|
|
1023
|
+
"type": {
|
|
1024
|
+
"text": "string"
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
]
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"kind": "method",
|
|
1031
|
+
"name": "visit",
|
|
1032
|
+
"privacy": "public",
|
|
1033
|
+
"return": {
|
|
1034
|
+
"type": {
|
|
1035
|
+
"text": "Promise<void>"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"parameters": [
|
|
1039
|
+
{
|
|
1040
|
+
"name": "visitor",
|
|
1041
|
+
"type": {
|
|
1042
|
+
"text": "(record: T) => void"
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
]
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"kind": "method",
|
|
1049
|
+
"name": "onBeforeUpdate",
|
|
1050
|
+
"privacy": "public",
|
|
1051
|
+
"return": {
|
|
1052
|
+
"type": {
|
|
1053
|
+
"text": "() => void"
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
"parameters": [
|
|
1057
|
+
{
|
|
1058
|
+
"name": "listener",
|
|
1059
|
+
"type": {
|
|
1060
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
]
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"kind": "method",
|
|
1067
|
+
"name": "onAfterUpdate",
|
|
1068
|
+
"privacy": "public",
|
|
1069
|
+
"return": {
|
|
1070
|
+
"type": {
|
|
1071
|
+
"text": "() => void"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"parameters": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "listener",
|
|
1077
|
+
"type": {
|
|
1078
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
]
|
|
1082
|
+
}
|
|
1083
|
+
]
|
|
1084
|
+
}
|
|
1085
|
+
],
|
|
1086
|
+
"exports": [
|
|
1087
|
+
{
|
|
1088
|
+
"kind": "js",
|
|
1089
|
+
"name": "InMemoryDatabase",
|
|
1090
|
+
"declaration": {
|
|
1091
|
+
"name": "InMemoryDatabase",
|
|
1092
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
]
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"kind": "javascript-module",
|
|
1099
|
+
"path": "src/data/index.ts",
|
|
1100
|
+
"declarations": [],
|
|
1101
|
+
"exports": [
|
|
1102
|
+
{
|
|
1103
|
+
"kind": "js",
|
|
1104
|
+
"name": "*",
|
|
1105
|
+
"declaration": {
|
|
1106
|
+
"name": "*",
|
|
1107
|
+
"package": "./inMemoryDatabase"
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
]
|
|
1111
|
+
},
|
|
1112
1112
|
{
|
|
1113
1113
|
"kind": "javascript-module",
|
|
1114
1114
|
"path": "src/logger/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.162.
|
|
4
|
+
"version": "14.162.2-alpha-3bdf355.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
"test": "genx test"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@genesislcap/foundation-testing": "14.162.
|
|
23
|
-
"@genesislcap/genx": "14.162.
|
|
24
|
-
"@genesislcap/rollup-builder": "14.162.
|
|
25
|
-
"@genesislcap/ts-builder": "14.162.
|
|
26
|
-
"@genesislcap/uvu-playwright-builder": "14.162.
|
|
27
|
-
"@genesislcap/vite-builder": "14.162.
|
|
28
|
-
"@genesislcap/webpack-builder": "14.162.
|
|
22
|
+
"@genesislcap/foundation-testing": "14.162.2-alpha-3bdf355.0",
|
|
23
|
+
"@genesislcap/genx": "14.162.2-alpha-3bdf355.0",
|
|
24
|
+
"@genesislcap/rollup-builder": "14.162.2-alpha-3bdf355.0",
|
|
25
|
+
"@genesislcap/ts-builder": "14.162.2-alpha-3bdf355.0",
|
|
26
|
+
"@genesislcap/uvu-playwright-builder": "14.162.2-alpha-3bdf355.0",
|
|
27
|
+
"@genesislcap/vite-builder": "14.162.2-alpha-3bdf355.0",
|
|
28
|
+
"@genesislcap/webpack-builder": "14.162.2-alpha-3bdf355.0",
|
|
29
29
|
"rimraf": "^3.0.2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@genesislcap/foundation-logger": "14.162.
|
|
32
|
+
"@genesislcap/foundation-logger": "14.162.2-alpha-3bdf355.0",
|
|
33
33
|
"@microsoft/fast-components": "^2.30.6",
|
|
34
34
|
"@microsoft/fast-element": "^1.12.0",
|
|
35
35
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"customElements": "dist/custom-elements.json",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "d076373b92d17c4c8d5f0e504b6ee97f28b5b787"
|
|
51
51
|
}
|