@genesislcap/foundation-utils 14.401.3 → 14.401.4
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 +11 -11
|
@@ -201,6 +201,257 @@
|
|
|
201
201
|
}
|
|
202
202
|
]
|
|
203
203
|
},
|
|
204
|
+
{
|
|
205
|
+
"kind": "javascript-module",
|
|
206
|
+
"path": "src/data/inMemoryDatabase.ts",
|
|
207
|
+
"declarations": [
|
|
208
|
+
{
|
|
209
|
+
"kind": "class",
|
|
210
|
+
"description": "An in memory database of specific DatabaseRecord types.",
|
|
211
|
+
"name": "InMemoryDatabase",
|
|
212
|
+
"members": [
|
|
213
|
+
{
|
|
214
|
+
"kind": "field",
|
|
215
|
+
"name": "isWorking",
|
|
216
|
+
"type": {
|
|
217
|
+
"text": "boolean"
|
|
218
|
+
},
|
|
219
|
+
"privacy": "public",
|
|
220
|
+
"default": "false"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"kind": "field",
|
|
224
|
+
"name": "records",
|
|
225
|
+
"type": {
|
|
226
|
+
"text": "Record<string, T>"
|
|
227
|
+
},
|
|
228
|
+
"privacy": "private",
|
|
229
|
+
"default": "{}"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"kind": "field",
|
|
233
|
+
"name": "beforeUpdateListeners",
|
|
234
|
+
"privacy": "private"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"kind": "field",
|
|
238
|
+
"name": "afterUpdateListeners",
|
|
239
|
+
"privacy": "private"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"kind": "method",
|
|
243
|
+
"name": "create",
|
|
244
|
+
"privacy": "public",
|
|
245
|
+
"return": {
|
|
246
|
+
"type": {
|
|
247
|
+
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"parameters": [
|
|
251
|
+
{
|
|
252
|
+
"name": "newValue",
|
|
253
|
+
"type": {
|
|
254
|
+
"text": "Omit<T, 'id'>"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"kind": "method",
|
|
261
|
+
"name": "read",
|
|
262
|
+
"privacy": "public",
|
|
263
|
+
"return": {
|
|
264
|
+
"type": {
|
|
265
|
+
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"parameters": [
|
|
269
|
+
{
|
|
270
|
+
"name": "id",
|
|
271
|
+
"type": {
|
|
272
|
+
"text": "string"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"kind": "method",
|
|
279
|
+
"name": "update",
|
|
280
|
+
"privacy": "public",
|
|
281
|
+
"return": {
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"parameters": [
|
|
287
|
+
{
|
|
288
|
+
"name": "id",
|
|
289
|
+
"type": {
|
|
290
|
+
"text": "string"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "newValue",
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "Omit<Partial<T>, 'id'>"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"kind": "method",
|
|
303
|
+
"name": "delete",
|
|
304
|
+
"privacy": "public",
|
|
305
|
+
"return": {
|
|
306
|
+
"type": {
|
|
307
|
+
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"parameters": [
|
|
311
|
+
{
|
|
312
|
+
"name": "id",
|
|
313
|
+
"type": {
|
|
314
|
+
"text": "string"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "method",
|
|
321
|
+
"name": "visit",
|
|
322
|
+
"privacy": "public",
|
|
323
|
+
"return": {
|
|
324
|
+
"type": {
|
|
325
|
+
"text": "Promise<void>"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"parameters": [
|
|
329
|
+
{
|
|
330
|
+
"name": "visitor",
|
|
331
|
+
"type": {
|
|
332
|
+
"text": "(record: T) => void"
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"kind": "method",
|
|
339
|
+
"name": "onBeforeUpdate",
|
|
340
|
+
"privacy": "public",
|
|
341
|
+
"return": {
|
|
342
|
+
"type": {
|
|
343
|
+
"text": "() => void"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"parameters": [
|
|
347
|
+
{
|
|
348
|
+
"name": "listener",
|
|
349
|
+
"type": {
|
|
350
|
+
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"kind": "method",
|
|
357
|
+
"name": "onAfterUpdate",
|
|
358
|
+
"privacy": "public",
|
|
359
|
+
"return": {
|
|
360
|
+
"type": {
|
|
361
|
+
"text": "() => void"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"parameters": [
|
|
365
|
+
{
|
|
366
|
+
"name": "listener",
|
|
367
|
+
"type": {
|
|
368
|
+
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
]
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"exports": [
|
|
377
|
+
{
|
|
378
|
+
"kind": "js",
|
|
379
|
+
"name": "InMemoryDatabase",
|
|
380
|
+
"declaration": {
|
|
381
|
+
"name": "InMemoryDatabase",
|
|
382
|
+
"module": "src/data/inMemoryDatabase.ts"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
]
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"kind": "javascript-module",
|
|
389
|
+
"path": "src/data/index.ts",
|
|
390
|
+
"declarations": [],
|
|
391
|
+
"exports": [
|
|
392
|
+
{
|
|
393
|
+
"kind": "js",
|
|
394
|
+
"name": "*",
|
|
395
|
+
"declaration": {
|
|
396
|
+
"name": "*",
|
|
397
|
+
"package": "./inMemoryDatabase"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"kind": "javascript-module",
|
|
404
|
+
"path": "src/decorators/index.ts",
|
|
405
|
+
"declarations": [],
|
|
406
|
+
"exports": [
|
|
407
|
+
{
|
|
408
|
+
"kind": "js",
|
|
409
|
+
"name": "*",
|
|
410
|
+
"declaration": {
|
|
411
|
+
"name": "*",
|
|
412
|
+
"package": "./renderOnChange"
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
]
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"kind": "javascript-module",
|
|
419
|
+
"path": "src/decorators/renderOnChange.ts",
|
|
420
|
+
"declarations": [
|
|
421
|
+
{
|
|
422
|
+
"kind": "function",
|
|
423
|
+
"name": "renderOnChange",
|
|
424
|
+
"parameters": [
|
|
425
|
+
{
|
|
426
|
+
"name": "target",
|
|
427
|
+
"type": {
|
|
428
|
+
"text": "FASTElement & { render(): void }"
|
|
429
|
+
},
|
|
430
|
+
"description": "The target to define the property change handler on."
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "name",
|
|
434
|
+
"type": {
|
|
435
|
+
"text": "string"
|
|
436
|
+
},
|
|
437
|
+
"description": "The property name."
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
441
|
+
"privacy": "public"
|
|
442
|
+
}
|
|
443
|
+
],
|
|
444
|
+
"exports": [
|
|
445
|
+
{
|
|
446
|
+
"kind": "js",
|
|
447
|
+
"name": "renderOnChange",
|
|
448
|
+
"declaration": {
|
|
449
|
+
"name": "renderOnChange",
|
|
450
|
+
"module": "src/decorators/renderOnChange.ts"
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
]
|
|
454
|
+
},
|
|
204
455
|
{
|
|
205
456
|
"kind": "javascript-module",
|
|
206
457
|
"path": "src/directives/index.ts",
|
|
@@ -714,257 +965,6 @@
|
|
|
714
965
|
}
|
|
715
966
|
]
|
|
716
967
|
},
|
|
717
|
-
{
|
|
718
|
-
"kind": "javascript-module",
|
|
719
|
-
"path": "src/data/inMemoryDatabase.ts",
|
|
720
|
-
"declarations": [
|
|
721
|
-
{
|
|
722
|
-
"kind": "class",
|
|
723
|
-
"description": "An in memory database of specific DatabaseRecord types.",
|
|
724
|
-
"name": "InMemoryDatabase",
|
|
725
|
-
"members": [
|
|
726
|
-
{
|
|
727
|
-
"kind": "field",
|
|
728
|
-
"name": "isWorking",
|
|
729
|
-
"type": {
|
|
730
|
-
"text": "boolean"
|
|
731
|
-
},
|
|
732
|
-
"privacy": "public",
|
|
733
|
-
"default": "false"
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
"kind": "field",
|
|
737
|
-
"name": "records",
|
|
738
|
-
"type": {
|
|
739
|
-
"text": "Record<string, T>"
|
|
740
|
-
},
|
|
741
|
-
"privacy": "private",
|
|
742
|
-
"default": "{}"
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
"kind": "field",
|
|
746
|
-
"name": "beforeUpdateListeners",
|
|
747
|
-
"privacy": "private"
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"kind": "field",
|
|
751
|
-
"name": "afterUpdateListeners",
|
|
752
|
-
"privacy": "private"
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"kind": "method",
|
|
756
|
-
"name": "create",
|
|
757
|
-
"privacy": "public",
|
|
758
|
-
"return": {
|
|
759
|
-
"type": {
|
|
760
|
-
"text": "Promise<DatabaseAccessResult.Create<T>>"
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
"parameters": [
|
|
764
|
-
{
|
|
765
|
-
"name": "newValue",
|
|
766
|
-
"type": {
|
|
767
|
-
"text": "Omit<T, 'id'>"
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
]
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
"kind": "method",
|
|
774
|
-
"name": "read",
|
|
775
|
-
"privacy": "public",
|
|
776
|
-
"return": {
|
|
777
|
-
"type": {
|
|
778
|
-
"text": "Promise<DatabaseAccessResult.Read<T>>"
|
|
779
|
-
}
|
|
780
|
-
},
|
|
781
|
-
"parameters": [
|
|
782
|
-
{
|
|
783
|
-
"name": "id",
|
|
784
|
-
"type": {
|
|
785
|
-
"text": "string"
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
]
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
"kind": "method",
|
|
792
|
-
"name": "update",
|
|
793
|
-
"privacy": "public",
|
|
794
|
-
"return": {
|
|
795
|
-
"type": {
|
|
796
|
-
"text": "Promise<DatabaseAccessResult.Update<T>>"
|
|
797
|
-
}
|
|
798
|
-
},
|
|
799
|
-
"parameters": [
|
|
800
|
-
{
|
|
801
|
-
"name": "id",
|
|
802
|
-
"type": {
|
|
803
|
-
"text": "string"
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"name": "newValue",
|
|
808
|
-
"type": {
|
|
809
|
-
"text": "Omit<Partial<T>, 'id'>"
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
]
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
"kind": "method",
|
|
816
|
-
"name": "delete",
|
|
817
|
-
"privacy": "public",
|
|
818
|
-
"return": {
|
|
819
|
-
"type": {
|
|
820
|
-
"text": "Promise<DatabaseAccessResult.Delete>"
|
|
821
|
-
}
|
|
822
|
-
},
|
|
823
|
-
"parameters": [
|
|
824
|
-
{
|
|
825
|
-
"name": "id",
|
|
826
|
-
"type": {
|
|
827
|
-
"text": "string"
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
]
|
|
831
|
-
},
|
|
832
|
-
{
|
|
833
|
-
"kind": "method",
|
|
834
|
-
"name": "visit",
|
|
835
|
-
"privacy": "public",
|
|
836
|
-
"return": {
|
|
837
|
-
"type": {
|
|
838
|
-
"text": "Promise<void>"
|
|
839
|
-
}
|
|
840
|
-
},
|
|
841
|
-
"parameters": [
|
|
842
|
-
{
|
|
843
|
-
"name": "visitor",
|
|
844
|
-
"type": {
|
|
845
|
-
"text": "(record: T) => void"
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
]
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
"kind": "method",
|
|
852
|
-
"name": "onBeforeUpdate",
|
|
853
|
-
"privacy": "public",
|
|
854
|
-
"return": {
|
|
855
|
-
"type": {
|
|
856
|
-
"text": "() => void"
|
|
857
|
-
}
|
|
858
|
-
},
|
|
859
|
-
"parameters": [
|
|
860
|
-
{
|
|
861
|
-
"name": "listener",
|
|
862
|
-
"type": {
|
|
863
|
-
"text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
]
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
"kind": "method",
|
|
870
|
-
"name": "onAfterUpdate",
|
|
871
|
-
"privacy": "public",
|
|
872
|
-
"return": {
|
|
873
|
-
"type": {
|
|
874
|
-
"text": "() => void"
|
|
875
|
-
}
|
|
876
|
-
},
|
|
877
|
-
"parameters": [
|
|
878
|
-
{
|
|
879
|
-
"name": "listener",
|
|
880
|
-
"type": {
|
|
881
|
-
"text": "Listener<DatabaseEvent.AfterUpdate<T>>"
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
]
|
|
885
|
-
}
|
|
886
|
-
]
|
|
887
|
-
}
|
|
888
|
-
],
|
|
889
|
-
"exports": [
|
|
890
|
-
{
|
|
891
|
-
"kind": "js",
|
|
892
|
-
"name": "InMemoryDatabase",
|
|
893
|
-
"declaration": {
|
|
894
|
-
"name": "InMemoryDatabase",
|
|
895
|
-
"module": "src/data/inMemoryDatabase.ts"
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
]
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
"kind": "javascript-module",
|
|
902
|
-
"path": "src/data/index.ts",
|
|
903
|
-
"declarations": [],
|
|
904
|
-
"exports": [
|
|
905
|
-
{
|
|
906
|
-
"kind": "js",
|
|
907
|
-
"name": "*",
|
|
908
|
-
"declaration": {
|
|
909
|
-
"name": "*",
|
|
910
|
-
"package": "./inMemoryDatabase"
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
]
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
"kind": "javascript-module",
|
|
917
|
-
"path": "src/decorators/index.ts",
|
|
918
|
-
"declarations": [],
|
|
919
|
-
"exports": [
|
|
920
|
-
{
|
|
921
|
-
"kind": "js",
|
|
922
|
-
"name": "*",
|
|
923
|
-
"declaration": {
|
|
924
|
-
"name": "*",
|
|
925
|
-
"package": "./renderOnChange"
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
]
|
|
929
|
-
},
|
|
930
|
-
{
|
|
931
|
-
"kind": "javascript-module",
|
|
932
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
933
|
-
"declarations": [
|
|
934
|
-
{
|
|
935
|
-
"kind": "function",
|
|
936
|
-
"name": "renderOnChange",
|
|
937
|
-
"parameters": [
|
|
938
|
-
{
|
|
939
|
-
"name": "target",
|
|
940
|
-
"type": {
|
|
941
|
-
"text": "FASTElement & { render(): void }"
|
|
942
|
-
},
|
|
943
|
-
"description": "The target to define the property change handler on."
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
"name": "name",
|
|
947
|
-
"type": {
|
|
948
|
-
"text": "string"
|
|
949
|
-
},
|
|
950
|
-
"description": "The property name."
|
|
951
|
-
}
|
|
952
|
-
],
|
|
953
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
954
|
-
"privacy": "public"
|
|
955
|
-
}
|
|
956
|
-
],
|
|
957
|
-
"exports": [
|
|
958
|
-
{
|
|
959
|
-
"kind": "js",
|
|
960
|
-
"name": "renderOnChange",
|
|
961
|
-
"declaration": {
|
|
962
|
-
"name": "renderOnChange",
|
|
963
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
]
|
|
967
|
-
},
|
|
968
968
|
{
|
|
969
969
|
"kind": "javascript-module",
|
|
970
970
|
"path": "src/design-system/design-system.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.401.
|
|
4
|
+
"version": "14.401.4",
|
|
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.401.
|
|
33
|
-
"@genesislcap/genx": "14.401.
|
|
34
|
-
"@genesislcap/rollup-builder": "14.401.
|
|
35
|
-
"@genesislcap/ts-builder": "14.401.
|
|
36
|
-
"@genesislcap/uvu-playwright-builder": "14.401.
|
|
37
|
-
"@genesislcap/vite-builder": "14.401.
|
|
38
|
-
"@genesislcap/webpack-builder": "14.401.
|
|
32
|
+
"@genesislcap/foundation-testing": "14.401.4",
|
|
33
|
+
"@genesislcap/genx": "14.401.4",
|
|
34
|
+
"@genesislcap/rollup-builder": "14.401.4",
|
|
35
|
+
"@genesislcap/ts-builder": "14.401.4",
|
|
36
|
+
"@genesislcap/uvu-playwright-builder": "14.401.4",
|
|
37
|
+
"@genesislcap/vite-builder": "14.401.4",
|
|
38
|
+
"@genesislcap/webpack-builder": "14.401.4",
|
|
39
39
|
"@types/json-schema": "^7.0.11"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@genesislcap/expression-builder": "14.401.
|
|
43
|
-
"@genesislcap/foundation-logger": "14.401.
|
|
42
|
+
"@genesislcap/expression-builder": "14.401.4",
|
|
43
|
+
"@genesislcap/foundation-logger": "14.401.4",
|
|
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": "9cb3e4e65da820acbd373f6524d0452e8cb6d613"
|
|
62
62
|
}
|