@genesislcap/foundation-utils 14.450.1-alpha-19ffad5.0 → 14.451.1-alpha-3c3e1d3.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 +223 -223
- package/package.json +11 -11
|
@@ -250,29 +250,6 @@
|
|
|
250
250
|
}
|
|
251
251
|
]
|
|
252
252
|
},
|
|
253
|
-
{
|
|
254
|
-
"kind": "javascript-module",
|
|
255
|
-
"path": "src/directives/index.ts",
|
|
256
|
-
"declarations": [],
|
|
257
|
-
"exports": [
|
|
258
|
-
{
|
|
259
|
-
"kind": "js",
|
|
260
|
-
"name": "*",
|
|
261
|
-
"declaration": {
|
|
262
|
-
"name": "*",
|
|
263
|
-
"package": "./sync"
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"kind": "js",
|
|
268
|
-
"name": "*",
|
|
269
|
-
"declaration": {
|
|
270
|
-
"name": "*",
|
|
271
|
-
"package": "./when-else"
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
]
|
|
275
|
-
},
|
|
276
253
|
{
|
|
277
254
|
"kind": "javascript-module",
|
|
278
255
|
"path": "src/design-system/design-system.ts",
|
|
@@ -477,7 +454,190 @@
|
|
|
477
454
|
},
|
|
478
455
|
{
|
|
479
456
|
"kind": "javascript-module",
|
|
480
|
-
"path": "src/
|
|
457
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
458
|
+
"declarations": [
|
|
459
|
+
{
|
|
460
|
+
"kind": "class",
|
|
461
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
462
|
+
"name": "InMemoryDatabase",
|
|
463
|
+
"members": [
|
|
464
|
+
{
|
|
465
|
+
"kind": "field",
|
|
466
|
+
"name": "isWorking",
|
|
467
|
+
"type": {
|
|
468
|
+
"text": "boolean"
|
|
469
|
+
},
|
|
470
|
+
"privacy": "public",
|
|
471
|
+
"default": "false"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"kind": "field",
|
|
475
|
+
"name": "records",
|
|
476
|
+
"type": {
|
|
477
|
+
"text": "Record<string, T>"
|
|
478
|
+
},
|
|
479
|
+
"privacy": "private",
|
|
480
|
+
"default": "{}"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"kind": "field",
|
|
484
|
+
"name": "beforeUpdateListeners",
|
|
485
|
+
"privacy": "private"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"kind": "field",
|
|
489
|
+
"name": "afterUpdateListeners",
|
|
490
|
+
"privacy": "private"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"kind": "method",
|
|
494
|
+
"name": "create",
|
|
495
|
+
"privacy": "public",
|
|
496
|
+
"return": {
|
|
497
|
+
"type": {
|
|
498
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"parameters": [
|
|
502
|
+
{
|
|
503
|
+
"name": "newValue",
|
|
504
|
+
"type": {
|
|
505
|
+
"text": "Omit<T, 'id'>"
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
]
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"kind": "method",
|
|
512
|
+
"name": "read",
|
|
513
|
+
"privacy": "public",
|
|
514
|
+
"return": {
|
|
515
|
+
"type": {
|
|
516
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"parameters": [
|
|
520
|
+
{
|
|
521
|
+
"name": "id",
|
|
522
|
+
"type": {
|
|
523
|
+
"text": "string"
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
]
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"kind": "method",
|
|
530
|
+
"name": "update",
|
|
531
|
+
"privacy": "public",
|
|
532
|
+
"return": {
|
|
533
|
+
"type": {
|
|
534
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"parameters": [
|
|
538
|
+
{
|
|
539
|
+
"name": "id",
|
|
540
|
+
"type": {
|
|
541
|
+
"text": "string"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "newValue",
|
|
546
|
+
"type": {
|
|
547
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
]
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"kind": "method",
|
|
554
|
+
"name": "delete",
|
|
555
|
+
"privacy": "public",
|
|
556
|
+
"return": {
|
|
557
|
+
"type": {
|
|
558
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
"parameters": [
|
|
562
|
+
{
|
|
563
|
+
"name": "id",
|
|
564
|
+
"type": {
|
|
565
|
+
"text": "string"
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
]
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"kind": "method",
|
|
572
|
+
"name": "visit",
|
|
573
|
+
"privacy": "public",
|
|
574
|
+
"return": {
|
|
575
|
+
"type": {
|
|
576
|
+
"text": "Promise<void>"
|
|
577
|
+
}
|
|
578
|
+
},
|
|
579
|
+
"parameters": [
|
|
580
|
+
{
|
|
581
|
+
"name": "visitor",
|
|
582
|
+
"type": {
|
|
583
|
+
"text": "(record: T) => void"
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
]
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"kind": "method",
|
|
590
|
+
"name": "onBeforeUpdate",
|
|
591
|
+
"privacy": "public",
|
|
592
|
+
"return": {
|
|
593
|
+
"type": {
|
|
594
|
+
"text": "() => void"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"parameters": [
|
|
598
|
+
{
|
|
599
|
+
"name": "listener",
|
|
600
|
+
"type": {
|
|
601
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
]
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"kind": "method",
|
|
608
|
+
"name": "onAfterUpdate",
|
|
609
|
+
"privacy": "public",
|
|
610
|
+
"return": {
|
|
611
|
+
"type": {
|
|
612
|
+
"text": "() => void"
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
"parameters": [
|
|
616
|
+
{
|
|
617
|
+
"name": "listener",
|
|
618
|
+
"type": {
|
|
619
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
]
|
|
623
|
+
}
|
|
624
|
+
]
|
|
625
|
+
}
|
|
626
|
+
],
|
|
627
|
+
"exports": [
|
|
628
|
+
{
|
|
629
|
+
"kind": "js",
|
|
630
|
+
"name": "InMemoryDatabase",
|
|
631
|
+
"declaration": {
|
|
632
|
+
"name": "InMemoryDatabase",
|
|
633
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
]
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"kind": "javascript-module",
|
|
640
|
+
"path": "src/data/index.ts",
|
|
481
641
|
"declarations": [],
|
|
482
642
|
"exports": [
|
|
483
643
|
{
|
|
@@ -485,7 +645,30 @@
|
|
|
485
645
|
"name": "*",
|
|
486
646
|
"declaration": {
|
|
487
647
|
"name": "*",
|
|
488
|
-
"package": "./
|
|
648
|
+
"package": "./inMemoryDatabase"
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
]
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"kind": "javascript-module",
|
|
655
|
+
"path": "src/directives/index.ts",
|
|
656
|
+
"declarations": [],
|
|
657
|
+
"exports": [
|
|
658
|
+
{
|
|
659
|
+
"kind": "js",
|
|
660
|
+
"name": "*",
|
|
661
|
+
"declaration": {
|
|
662
|
+
"name": "*",
|
|
663
|
+
"package": "./sync"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"kind": "js",
|
|
668
|
+
"name": "*",
|
|
669
|
+
"declaration": {
|
|
670
|
+
"name": "*",
|
|
671
|
+
"package": "./when-else"
|
|
489
672
|
}
|
|
490
673
|
}
|
|
491
674
|
]
|
|
@@ -543,6 +726,21 @@
|
|
|
543
726
|
}
|
|
544
727
|
]
|
|
545
728
|
},
|
|
729
|
+
{
|
|
730
|
+
"kind": "javascript-module",
|
|
731
|
+
"path": "src/encoding/index.ts",
|
|
732
|
+
"declarations": [],
|
|
733
|
+
"exports": [
|
|
734
|
+
{
|
|
735
|
+
"kind": "js",
|
|
736
|
+
"name": "*",
|
|
737
|
+
"declaration": {
|
|
738
|
+
"name": "*",
|
|
739
|
+
"package": "./base64"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
]
|
|
743
|
+
},
|
|
546
744
|
{
|
|
547
745
|
"kind": "javascript-module",
|
|
548
746
|
"path": "src/env/index.ts",
|
|
@@ -1018,204 +1216,6 @@
|
|
|
1018
1216
|
}
|
|
1019
1217
|
]
|
|
1020
1218
|
},
|
|
1021
|
-
{
|
|
1022
|
-
"kind": "javascript-module",
|
|
1023
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
1024
|
-
"declarations": [
|
|
1025
|
-
{
|
|
1026
|
-
"kind": "class",
|
|
1027
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
1028
|
-
"name": "InMemoryDatabase",
|
|
1029
|
-
"members": [
|
|
1030
|
-
{
|
|
1031
|
-
"kind": "field",
|
|
1032
|
-
"name": "isWorking",
|
|
1033
|
-
"type": {
|
|
1034
|
-
"text": "boolean"
|
|
1035
|
-
},
|
|
1036
|
-
"privacy": "public",
|
|
1037
|
-
"default": "false"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"kind": "field",
|
|
1041
|
-
"name": "records",
|
|
1042
|
-
"type": {
|
|
1043
|
-
"text": "Record<string, T>"
|
|
1044
|
-
},
|
|
1045
|
-
"privacy": "private",
|
|
1046
|
-
"default": "{}"
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
"kind": "field",
|
|
1050
|
-
"name": "beforeUpdateListeners",
|
|
1051
|
-
"privacy": "private"
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"kind": "field",
|
|
1055
|
-
"name": "afterUpdateListeners",
|
|
1056
|
-
"privacy": "private"
|
|
1057
|
-
},
|
|
1058
|
-
{
|
|
1059
|
-
"kind": "method",
|
|
1060
|
-
"name": "create",
|
|
1061
|
-
"privacy": "public",
|
|
1062
|
-
"return": {
|
|
1063
|
-
"type": {
|
|
1064
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
1065
|
-
}
|
|
1066
|
-
},
|
|
1067
|
-
"parameters": [
|
|
1068
|
-
{
|
|
1069
|
-
"name": "newValue",
|
|
1070
|
-
"type": {
|
|
1071
|
-
"text": "Omit<T, 'id'>"
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
]
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
"kind": "method",
|
|
1078
|
-
"name": "read",
|
|
1079
|
-
"privacy": "public",
|
|
1080
|
-
"return": {
|
|
1081
|
-
"type": {
|
|
1082
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
1083
|
-
}
|
|
1084
|
-
},
|
|
1085
|
-
"parameters": [
|
|
1086
|
-
{
|
|
1087
|
-
"name": "id",
|
|
1088
|
-
"type": {
|
|
1089
|
-
"text": "string"
|
|
1090
|
-
}
|
|
1091
|
-
}
|
|
1092
|
-
]
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
"kind": "method",
|
|
1096
|
-
"name": "update",
|
|
1097
|
-
"privacy": "public",
|
|
1098
|
-
"return": {
|
|
1099
|
-
"type": {
|
|
1100
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
1101
|
-
}
|
|
1102
|
-
},
|
|
1103
|
-
"parameters": [
|
|
1104
|
-
{
|
|
1105
|
-
"name": "id",
|
|
1106
|
-
"type": {
|
|
1107
|
-
"text": "string"
|
|
1108
|
-
}
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"name": "newValue",
|
|
1112
|
-
"type": {
|
|
1113
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
1114
|
-
}
|
|
1115
|
-
}
|
|
1116
|
-
]
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
"kind": "method",
|
|
1120
|
-
"name": "delete",
|
|
1121
|
-
"privacy": "public",
|
|
1122
|
-
"return": {
|
|
1123
|
-
"type": {
|
|
1124
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
1125
|
-
}
|
|
1126
|
-
},
|
|
1127
|
-
"parameters": [
|
|
1128
|
-
{
|
|
1129
|
-
"name": "id",
|
|
1130
|
-
"type": {
|
|
1131
|
-
"text": "string"
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
]
|
|
1135
|
-
},
|
|
1136
|
-
{
|
|
1137
|
-
"kind": "method",
|
|
1138
|
-
"name": "visit",
|
|
1139
|
-
"privacy": "public",
|
|
1140
|
-
"return": {
|
|
1141
|
-
"type": {
|
|
1142
|
-
"text": "Promise<void>"
|
|
1143
|
-
}
|
|
1144
|
-
},
|
|
1145
|
-
"parameters": [
|
|
1146
|
-
{
|
|
1147
|
-
"name": "visitor",
|
|
1148
|
-
"type": {
|
|
1149
|
-
"text": "(record: T) => void"
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
]
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
"kind": "method",
|
|
1156
|
-
"name": "onBeforeUpdate",
|
|
1157
|
-
"privacy": "public",
|
|
1158
|
-
"return": {
|
|
1159
|
-
"type": {
|
|
1160
|
-
"text": "() => void"
|
|
1161
|
-
}
|
|
1162
|
-
},
|
|
1163
|
-
"parameters": [
|
|
1164
|
-
{
|
|
1165
|
-
"name": "listener",
|
|
1166
|
-
"type": {
|
|
1167
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
]
|
|
1171
|
-
},
|
|
1172
|
-
{
|
|
1173
|
-
"kind": "method",
|
|
1174
|
-
"name": "onAfterUpdate",
|
|
1175
|
-
"privacy": "public",
|
|
1176
|
-
"return": {
|
|
1177
|
-
"type": {
|
|
1178
|
-
"text": "() => void"
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
"parameters": [
|
|
1182
|
-
{
|
|
1183
|
-
"name": "listener",
|
|
1184
|
-
"type": {
|
|
1185
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
]
|
|
1189
|
-
}
|
|
1190
|
-
]
|
|
1191
|
-
}
|
|
1192
|
-
],
|
|
1193
|
-
"exports": [
|
|
1194
|
-
{
|
|
1195
|
-
"kind": "js",
|
|
1196
|
-
"name": "InMemoryDatabase",
|
|
1197
|
-
"declaration": {
|
|
1198
|
-
"name": "InMemoryDatabase",
|
|
1199
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
]
|
|
1203
|
-
},
|
|
1204
|
-
{
|
|
1205
|
-
"kind": "javascript-module",
|
|
1206
|
-
"path": "src/data/index.ts",
|
|
1207
|
-
"declarations": [],
|
|
1208
|
-
"exports": [
|
|
1209
|
-
{
|
|
1210
|
-
"kind": "js",
|
|
1211
|
-
"name": "*",
|
|
1212
|
-
"declaration": {
|
|
1213
|
-
"name": "*",
|
|
1214
|
-
"package": "./inMemoryDatabase"
|
|
1215
|
-
}
|
|
1216
|
-
}
|
|
1217
|
-
]
|
|
1218
|
-
},
|
|
1219
1219
|
{
|
|
1220
1220
|
"kind": "javascript-module",
|
|
1221
1221
|
"path": "src/error/errorMap.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.
|
|
4
|
+
"version": "14.451.1-alpha-3c3e1d3.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.
|
|
33
|
-
"@genesislcap/genx": "14.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.
|
|
35
|
-
"@genesislcap/ts-builder": "14.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
37
|
-
"@genesislcap/vite-builder": "14.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.451.1-alpha-3c3e1d3.0",
|
|
33
|
+
"@genesislcap/genx": "14.451.1-alpha-3c3e1d3.0",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.451.1-alpha-3c3e1d3.0",
|
|
35
|
+
"@genesislcap/ts-builder": "14.451.1-alpha-3c3e1d3.0",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.451.1-alpha-3c3e1d3.0",
|
|
37
|
+
"@genesislcap/vite-builder": "14.451.1-alpha-3c3e1d3.0",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.451.1-alpha-3c3e1d3.0",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.
|
|
42
|
+
"@genesislcap/expression-builder": "14.451.1-alpha-3c3e1d3.0",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.451.1-alpha-3c3e1d3.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": "
|
|
61
|
+
"gitHead": "71f52da6801da778a24804715814985bf09b074c"
|
|
62
62
|
}
|